Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check | Justin Ruggles | 2011-11-01 |
| | |||
* | g726: group the g726_encoder AVCodec with the other encoding functions | Justin Ruggles | 2011-11-01 |
| | |||
* | g726: return AVERROR(EINVAL) instead of -1 for invalid channel count | Justin Ruggles | 2011-11-01 |
| | |||
* | g726enc: use av_assert0() for sample_rate validation | Justin Ruggles | 2011-11-01 |
| | | | | This should never happen, but the check avoids a divide-by-zero. | ||
* | g726: treat sample rates other than 8kHz as unofficial. | Justin Ruggles | 2011-11-01 |
| | |||
* | g726dec: remove the sample_rate validation | Justin Ruggles | 2011-11-01 |
| | |||
* | g726: use bits_per_coded_sample instead of bitrate to determine mode | Justin Ruggles | 2011-11-01 |
| | | | | | | | | | | This requires some workarounds in the WAV muxer and demuxer. We need to write the correct bits_per_coded_sample and block_align in the muxer. In the demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit rate and sample rate to determine the value. This avoids having the decoder rely on AVCodecContext.bit_rate, which is not required to be set by the user for decoding according to our API. | ||
* | g726: split the init function for the encoder and decoder | Justin Ruggles | 2011-11-01 |
| | | | | This also allows for not having a decoder close function. | ||
* | g726: pre-calculate the number of output samples. | Justin Ruggles | 2011-11-01 |
| | | | | Allows for checking output buffer size and simplification of decoding loop. | ||
* | g726: use int16_t instead of short | Justin Ruggles | 2011-11-01 |
| | |||
* | Enable w32threads automatically unless explicitly disabled | Martin Storsjö | 2011-11-01 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||
* | cmdutils: Rename read_file to cmdutils_read_file | Martin Storsjö | 2011-10-31 |
| | | | | | | | This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö <martin@martin.st> | ||
* | libdirac/libschroedinger: Drop unnecessary symbol prefixes. | Diego Biurrun | 2011-10-30 |
| | | | | | The names used in the libdirac/libschroedinger wrappers are long enough as-is. Bloating them with unnecessary prefixes makes them even more unwieldy. | ||
* | cmdutils: check fread() return value | Janne Grunau | 2011-10-30 |
| | |||
* | cin audio: use sign_extend() instead of casting to int16_t | Justin Ruggles | 2011-10-29 |
| | |||
* | cin audio: restructure decoding loop to avoid a separate counter variable | Justin Ruggles | 2011-10-29 |
| | | | | Also check output buffer size instead of truncating output. | ||
* | cin audio: use local variable for delta value | Justin Ruggles | 2011-10-29 |
| | |||
* | cin audio: remove unneeded cast from void* | Justin Ruggles | 2011-10-29 |
| | |||
* | cin audio: validate the channel count | Justin Ruggles | 2011-10-29 |
| | |||
* | cin audio: remove unneeded AVCodecContext pointer from CinAudioContext | Justin Ruggles | 2011-10-29 |
| | |||
* | dsicin: fix several audio-related fields in the CIN demuxer | Justin Ruggles | 2011-10-29 |
| | | | | | | | bits_per_coded_sample should be 8. block_align is calculated incorrectly, but it is not needed anyway. packet pts should be calculated in samples. packet duration can be set. | ||
* | flacdec: use av_get_bytes_per_sample() to get sample size | Justin Ruggles | 2011-10-29 |
| | |||
* | dca: handle errors from dca_decode_block() | Justin Ruggles | 2011-10-29 |
| | | | | | Return error if core block decoding fails. Do not enable XCh if XCh extension block decoding fails. | ||
* | dca: return error if the frame header is invalid | Justin Ruggles | 2011-10-29 |
| | |||
* | dca: return proper error codes instead of -1 | Justin Ruggles | 2011-10-29 |
| | |||
* | utvideo: handle empty Huffman trees | Kostya Shishkov | 2011-10-29 |
| | | | | | | | | | If the frame is filled with the same colour, encoder may produce no data and the fill value is indicated by zero code length (the rest of symbols will have 0xFF for code length, meaning invalid). So such Huffman trees should be treated specially. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||
* | binkaudio: change short to int16_t | Justin Ruggles | 2011-10-29 |
| | |||
* | binkaudio: only decode one block at a time. | Justin Ruggles | 2011-10-29 |
| | | | | | This prevents truncating output due to an output buffer that is too small for all blocks. There is no limit on the number of blocks in a packet. | ||
* | binkaudio: store interleaved overlap samples in BinkAudioContext. | Justin Ruggles | 2011-10-29 |
| | | | | | This fixes the requirement for the buffer size to be larger than the number of samples actually decoded. | ||
* | binkaudio: pre-calculate quantization factors | Justin Ruggles | 2011-10-29 |
| | |||
* | binkaudio: add some buffer overread checks. | Justin Ruggles | 2011-10-29 |
| | | | | This stops decoding before overreads instead of after. | ||
* | atrac3: support float or int16 output using request_sample_fmt | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: add CODEC_CAP_SUBFRAMES capability | Justin Ruggles | 2011-10-29 |
| | | | | the decoder can handle multiple frames in a packet | ||
* | atrac3: return appropriate error codes instead of -1 | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: make sure all memory is freed on init failure | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: add a couple macro constants | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: return error if packet is too small | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: check output buffer size before decoding | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: use separate pointers for each channel in decodeFrame() | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: use optimized float_interleave() function for stereo interleaving | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: decode mono directly to the output buffer | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac3: decode output to float samples instead of converting to s16 | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac1: return appropriate error codes instead of -1 | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac1: check for ff_mdct_init() failure | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac1: use optimized float_interleave() function for stereo interleaving | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac1: fix a typo | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac1: validate number of channels | Justin Ruggles | 2011-10-29 |
| | |||
* | atrac1: decode mono audio directly to output buffer | Justin Ruggles | 2011-10-29 |
| | | | | | For stereo we need to use intermediate planar buffers, but mono does not need to be deinterleaved so the output buffer can be used directly. | ||
* | atrac1: check output buffer size before decoding | Justin Ruggles | 2011-10-29 |
| | |||
* | cook: return AVERROR_PATCHWELCOME instead of ENOTSUP | Justin Ruggles | 2011-10-29 |
| | | | | ENOTSUP is not defined on some systems |