summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* x86: fmtconvert: Refactor cvtps2pi emulation through cpuflagsDiego Biurrun2012-10-31
|
* x86: fmtconvert: port to cpuflagsDiego Biurrun2012-10-31
|
* x86: MMX2 ---> MMXEXT in macro namesDiego Biurrun2012-10-31
|
* x86: mmx2 ---> mmxext in comments and messagesDiego Biurrun2012-10-31
|
* x86: yasm: Use complete source path for macro helper %includesDiego Biurrun2012-10-31
| | | | | This is more consistent with the way we handle C #includes and it simplifies the build system.
* x86: include x86inc.asm in x86util.asmDiego Biurrun2012-10-31
| | | | This is necessary to allow refactoring some x86util macros with cpuflags.
* cng: Reindent some incorrectly indented linesMartin Storsjö2012-10-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Allow flushing the decoderMartin Storsjö2012-10-30
| | | | | | | | | | After a flush, don't average the output envelope and energy with previous iterations. Also start directly from the target values for the first iteration at startup. Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Make the dbov variable have the right unitMartin Storsjö2012-10-30
| | | | | | Previously the unit of the variable was Bov, not dBov. Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Fix the memset size to cover the full arrayMartin Storsjö2012-10-30
| | | | | | | This was a leftover from previous iterations of the code, where the refl coef arrays were statically allocated. Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Update the LPC coefficients after averaging the reflection coefficientsMartin Storsjö2012-10-30
| | | | | | I somehow messed up the placement of this one. Signed-off-by: Martin Storsjö <martin@martin.st>
* pixfmt: support more yuva formatsLuca Barbato2012-10-30
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Use ptrdiff_t instead of int for intra pred "stride" function parameter.Ronald S. Bultje2012-10-29
| | | | | This way, SIMD-optimized functions don't have to sign-extend their stride argument manually to be able to do pointer arithmetic.
* x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.Ronald S. Bultje2012-10-29
|
* Remove usage of INIT_AVX in h264_intrapred_10bit.asm.Ronald S. Bultje2012-10-29
| | | | | | | Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag based function declarations. Remove (now unused) cputype argument in function declaration macros. Change function prototypes to have mmx2 instead of mmxext as suffix, since that's required by cpuflags.
* avcodec: Add a RFC 3389 comfort noise codecMartin Storsjö2012-10-29
| | | | | | | | | | This isn't too useful as a normal codec, but can be used in voip style applications. The decoder updates the noise generator parameters when a packet is given to it for decoding, but if called with an empty packet, it generates more noise according to the last parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
* lpc: Add a function for calculating reflection coefficients from samplesMartin Storsjö2012-10-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lpc: Add a function for calculating reflection coefficients from ↵Justin Ruggles2012-10-29
| | | | | | autocorrelation coefficients Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: remove duplicate capabilities line.Anton Khirnov2012-10-29
|
* aacenc: Drop some unused function argumentsDiego Biurrun2012-10-29
|
* lavc: add CODEC_CAP_DR1 to all video decoders missing themAnton Khirnov2012-10-29
|
* vp8: fix memset() crossing array boundaryMans Rullgard2012-10-27
| | | | | | Indexing across array boundaries is not allowed by C99. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264: fix invalid pointer arithmeticMans Rullgard2012-10-27
| | | | | | | | | | | | Subtracting a (positive) value from the address of an array violates C99 section 6.5.6: If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined. Signed-off-by: Mans Rullgard <mans@mansr.com>
* amrwbdec: fix invalid pointer arithmeticMans Rullgard2012-10-27
| | | | | | | | | | | | Subtracting a (positive) value from the address of an array violates C99 section 6.5.6: If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ivi_common: Drop unused function parameter from decode_band()Diego Biurrun2012-10-26
|
* cook: Remove some silly Doxygen commentsDiego Biurrun2012-10-26
|
* cook: Remove senseless maybe_reformat_buffer32() functionDiego Biurrun2012-10-26
|
* cook: cosmetics: Better names for joint_decode() function parametersDiego Biurrun2012-10-26
|
* cook: cosmetics: Better name for ccpl COOKSubpacket memberDiego Biurrun2012-10-26
|
* h263: avoid memcpys over array bound in motion vector caching for obmcJanne Grunau2012-10-26
| | | | Fixes CID602232.
* ffv1: set the range coder state in decode_slice_headerLuca Barbato2001-01-01
|
* avutil: Move memcpy_backptr() to mem.cDiego Biurrun2012-10-25
| | | | The function is used elsewhere and does not belong with the LZO code.
* g.723.1: add missing CODEC_CAP_DR1Anton Khirnov2012-10-24
|
* lavc: initialize output AVFrame before decoding.Anton Khirnov2012-10-24
| | | | | | | Avoids memleaks with audio when extended_data is nontrivial and the user doesn't reset the frame. Shouldn't have any effect for video for now, but might be useful in the future.
* lavc: fix documentation for AVCodecContext.delayJustin Ruggles2012-10-23
|
* atrac3: return an error if extradata_size is not a specific known sizeJustin Ruggles2012-10-23
| | | | Also fixes 3 compiler warnings about using uninitialized variables.
* lavc: use the correct API version guard macro for avcodec_encode_audio()Justin Ruggles2012-10-23
|
* dfa: use av_memcpy_backptr() where previously impossibleMans Rullgard2012-10-23
| | | | | | | Since the requirement for output padding has been lifted, we can use av_memcpy_backptr() here as well. Signed-off-by: Mans Rullgard <mans@mansr.com>
* av_memcpy_backptr: Drop no longer necessary malloc paddingDiego Biurrun2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: Replace AV_WNxx(AV_RNxx()) combinations by AV_COPYxxUDiego Biurrun2012-10-23
|
* dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16Diego Biurrun2012-10-23
|
* mp3: properly forward mp_decode_frame errorsLuca Barbato2012-10-23
| | | | | The function can return either a parsing error or a memory management error.
* mp3: exit on parsing error in mp_decode_frameLuca Barbato2012-10-23
| | | | | | | Properly forward mp_decode_layer3 errors, mp_decode_layer1 and mp_decode_layer2 do not return errors. Based on a patch by Michael Niedermayer.
* libm: add fallbacks for various single-precision functionsMans Rullgard2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudiodec: Fix buffer handling on random accessMichael Niedermayer2012-10-23
|
* mpegaudio: Refactor mp3on4 flush functionDiego Biurrun2012-10-23
|
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-23
|
* Revert "avutil: Add a copy of ff_sqrt_tab back into avutil to restore ABI ↵Anton Khirnov2012-10-23
| | | | | | | | compatibility" This reverts commit d15c21e5fa3961f10026da1a3080a3aa3cf4cec9. After the major bump this is no longer necessary.
* atrac3: replace a calculation with FFALIGN()Justin Ruggles2012-10-22
| | | | | This allocates 4 bytes less than the previous code if avctx->block_align is a multiple of 4, but the extra 4 bytes is not really needed.
* atrac3: remove unused ATRAC3Context field, sample_rateJustin Ruggles2012-10-22
|