summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* binkaudio: expand quant_table to accommodate all possible valuesJustin Ruggles2011-11-04
|
* libx264: Set the default of the rc_lookahead option to -1Martin Storsjö2011-11-04
| | | | | | | | This allows it to use the defaults specified by preset/tune, without overwriting it with the default value from the AVCodecContext field. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Set flags2 default value depending on availabilityMartin Storsjö2011-11-04
| | | | | | | This makes the code compile when FF_API_X264_GLOBAL_OPTS or FF_API_LAME_GLOBAL_OPTS is 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp6: Fix illegal read.Alex Converse2011-11-03
|
* avcodec: Make sure codec_type is set by avcodec_get_context_defaults2Martin Storsjö2011-11-03
| | | | | | | | | | This function used to set codec_type. With the current fallback implementation based on avcodec_get_context_defaults3, codec_type won't be set to the value passed in, but will be set to AVMEDIA_TYPE_UNKNOWN. Legacy callers of this function might expect this field to be set to the value passed in. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Remove a misplaced and useless attribute_deprecatedMartin Storsjö2011-11-03
| | | | | | | | | | | | | | | | | | | If attribute_deprecated is used in an enum declaration, it should follow the 'enum' keyword, otherwise it's ignored silently. This is the only case of attribute_deprecated for enum declarations currently. Currently, this attribute_deprecated doesn't have any effect. If moved to the right place, it emits a warning every single time avcodec.h is included, like this: avcodec.h:2827: warning: ‘AVLPCType’ is deprecated (declared at avcodec.h:543) There is already a working attribute_deprecated for the corresponding field in AVCodecContext, so therefore this one shouldn't be needed. Signed-off-by: Martin Storsjö <martin@martin.st>
* fmtconvert: fix int32_to_float_fmul_scalar() for windows x86_64Justin Ruggles2011-11-02
| | | | | | | The calling convention only allows 4 non-stack parameter, with each float or int register being skipped if not used. fixes Bug 64
* replacement Indeo 3 decoderMaxim Poliakovski2011-11-03
| | | | | | | The new decoder is much smaller and has better code quality. Cleanup and fixes courtesy of Kostya Shishkov. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ac3enc: doxygen update.Justin Ruggles2011-11-02
| | | | | | Add some parameters to existing function documentation. Remove some unneeded documentation. Convert some static function documentation to non-doxygen style.
* imc: return error codes instead of 0 for error conditions.Justin Ruggles2011-11-02
| | | | | This fixes a bug where the whole buffer was returned as decoded audio due to *data_size not being set to zero and the return value being >= 0.
* imc: return meaningful error codes instead of -1Justin Ruggles2011-11-02
|
* imc: do not set channel layout for stereoJustin Ruggles2011-11-02
| | | | we only support decoding of mono imc
* imc: validate channel countJustin Ruggles2011-11-02
| | | | ask for a sample if not mono
* imc: check for ff_fft_init() failureJustin Ruggles2011-11-02
|
* imc: check output buffer size before decodingJustin Ruggles2011-11-02
|
* imc: use DSPContext.bswap16_buf() to byte-swap packet dataJustin Ruggles2011-11-02
|
* libgsm: add flush function to reset the decoder state when seekingJustin Ruggles2011-11-02
|
* libgsm: simplify decoding by using a loopJustin Ruggles2011-11-02
|
* gsm: log error message when packet is too smallJustin Ruggles2011-11-02
|
* libgsmdec: do not needlessly set *data_size to 0Justin Ruggles2011-11-02
|
* gsmdec: do not needlessly set *data_size to 0Justin Ruggles2011-11-02
|
* gsmdec: add flush function to reset the decoder state when seekingJustin Ruggles2011-11-02
|
* libgsmdec: check output buffer size before decodingJustin Ruggles2011-11-02
|
* gsmdec: log error message when output buffer is too small.Justin Ruggles2011-11-02
| | | | also return AVERROR(EINVAL) instead of -1
* gsm: use av_get_bytes_per_sample() in frame_bytes calculationJustin Ruggles2011-11-02
|
* Replace some forgotten FFmpeg references by Libav.Diego Biurrun2011-11-02
|
* Replace ffmpeg references with more accurate libav* references.Diego Biurrun2011-11-02
|
* Replace outdated references to ffmpeg tool with avconv.Diego Biurrun2011-11-02
|
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-02
|
* vp3: remove some pointless commentsDiego Biurrun2011-11-02
|
* lavc: use designated initialisers for parsers.Anton Khirnov2011-11-02
|
* g726dec: add flush() function to reset state when seekingJustin Ruggles2011-11-01
|
* g726: don't pass index to g726_reset()Justin Ruggles2011-11-01
| | | | calculate it from c->code_size instead.
* g726enc: add private option for setting code size directly.Justin Ruggles2011-11-01
| | | | | This is an easy alternative to setting bit_rate. This patch also selects the closest bit_rate to the requested one rather than requiring an exact value.
* 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
|
* 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.
* 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
|