summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER checkJustin Ruggles2011-11-01
|
* g726: group the g726_encoder AVCodec with the other encoding functionsJustin Ruggles2011-11-01
|
* g726: return AVERROR(EINVAL) instead of -1 for invalid channel countJustin Ruggles2011-11-01
|
* g726enc: use av_assert0() for sample_rate validationJustin Ruggles2011-11-01
| | | | This should never happen, but the check avoids a divide-by-zero.
* g726: treat sample rates other than 8kHz as unofficial.Justin Ruggles2011-11-01
|
* g726dec: remove the sample_rate validationJustin Ruggles2011-11-01
|
* g726: use bits_per_coded_sample instead of bitrate to determine modeJustin Ruggles2011-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 decoderJustin Ruggles2011-11-01
| | | | This also allows for not having a decoder close function.
* g726: pre-calculate the number of output samples.Justin Ruggles2011-11-01
| | | | Allows for checking output buffer size and simplification of decoding loop.
* g726: use int16_t instead of shortJustin Ruggles2011-11-01
|
* Enable w32threads automatically unless explicitly disabledMartin Storsjö2011-11-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Rename read_file to cmdutils_read_fileMartin 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 Biurrun2011-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 valueJanne Grunau2011-10-30
|
* cin audio: use sign_extend() instead of casting to int16_tJustin Ruggles2011-10-29
|
* cin audio: restructure decoding loop to avoid a separate counter variableJustin Ruggles2011-10-29
| | | | Also check output buffer size instead of truncating output.
* cin audio: use local variable for delta valueJustin Ruggles2011-10-29
|
* cin audio: remove unneeded cast from void*Justin Ruggles2011-10-29
|
* cin audio: validate the channel countJustin Ruggles2011-10-29
|
* cin audio: remove unneeded AVCodecContext pointer from CinAudioContextJustin Ruggles2011-10-29
|
* dsicin: fix several audio-related fields in the CIN demuxerJustin Ruggles2011-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 sizeJustin Ruggles2011-10-29
|
* dca: handle errors from dca_decode_block()Justin Ruggles2011-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 invalidJustin Ruggles2011-10-29
|
* dca: return proper error codes instead of -1Justin Ruggles2011-10-29
|
* utvideo: handle empty Huffman treesKostya Shishkov2011-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_tJustin Ruggles2011-10-29
|
* binkaudio: only decode one block at a time.Justin Ruggles2011-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 Ruggles2011-10-29
| | | | | This fixes the requirement for the buffer size to be larger than the number of samples actually decoded.
* binkaudio: pre-calculate quantization factorsJustin Ruggles2011-10-29
|
* binkaudio: add some buffer overread checks.Justin Ruggles2011-10-29
| | | | This stops decoding before overreads instead of after.
* atrac3: support float or int16 output using request_sample_fmtJustin Ruggles2011-10-29
|
* atrac3: add CODEC_CAP_SUBFRAMES capabilityJustin Ruggles2011-10-29
| | | | the decoder can handle multiple frames in a packet
* atrac3: return appropriate error codes instead of -1Justin Ruggles2011-10-29
|
* atrac3: make sure all memory is freed on init failureJustin Ruggles2011-10-29
|
* atrac3: add a couple macro constantsJustin Ruggles2011-10-29
|
* atrac3: return error if packet is too smallJustin Ruggles2011-10-29
|
* atrac3: check output buffer size before decodingJustin Ruggles2011-10-29
|
* atrac3: use separate pointers for each channel in decodeFrame()Justin Ruggles2011-10-29
|
* atrac3: use optimized float_interleave() function for stereo interleavingJustin Ruggles2011-10-29
|
* atrac3: decode mono directly to the output bufferJustin Ruggles2011-10-29
|
* atrac3: decode output to float samples instead of converting to s16Justin Ruggles2011-10-29
|
* atrac1: return appropriate error codes instead of -1Justin Ruggles2011-10-29
|
* atrac1: check for ff_mdct_init() failureJustin Ruggles2011-10-29
|
* atrac1: use optimized float_interleave() function for stereo interleavingJustin Ruggles2011-10-29
|
* atrac1: fix a typoJustin Ruggles2011-10-29
|
* atrac1: validate number of channelsJustin Ruggles2011-10-29
|
* atrac1: decode mono audio directly to output bufferJustin Ruggles2011-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 decodingJustin Ruggles2011-10-29
|
* cook: return AVERROR_PATCHWELCOME instead of ENOTSUPJustin Ruggles2011-10-29
| | | | ENOTSUP is not defined on some systems