summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* aacdec: Reduce the size of buf_mdct.Young Han Lee2011-02-21
| | | | | It was doubled in size for the LTP implementation. This brings it back down to its original size.
* vp8: ppc: fix invalid reads in altivec epel mcMans Rullgard2011-02-21
| | | | | | | The 4-tap filters should only access one row/column before the reference block. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: fix vc1 inverse transform, unbreak buildMans Rullgard2011-02-21
| | | | | | | | GCC 4.3 and later are more particular about signedness matching in vector operations. The operations under if(rangered) were missing assignments and thus had no effect. Signed-off-by: Mans Rullgard <mans@mansr.com>
* targa: prevent integer overflow in bufsize check.Ronald S. Bultje2011-02-21
|
* VC1: merge idct8x8, coeff adjustments and put_pixels.Ronald S. Bultje2011-02-21
| | | | | Merging these functions allows merging some loops, which makes the results (particularly after SIMD optimizations) much faster.
* dsputil: make {add/put/put_signed}_pixels_clamped() non-static.Ronald S. Bultje2011-02-21
|
* VC1: inline vc1_put_block() in vc1_decode_i_blocks().Ronald S. Bultje2011-02-21
| | | | | | Advantage is that it allows us to combine several loops into a single one, and these can eventually be merged into the IDCT itself. Also, it allows us to remove vc1_put_block(), and makes CODEC_FLAG_GRAY faster.
* amrnb: use correct size when copying lsf_r arrayMans Rullgard2011-02-20
| | | | | | lsf_r is an array of int16_t, not float. Signed-off-by: Mans Rullgard <mans@mansr.com>
* VC1: don't use vc1_put_block() in vc1_decode_i_blocks_adv().Ronald S. Bultje2011-02-20
| | | | | | | | Advanced profile never uses "range reduction", so vc1_put_block() quite literally just calls put_pixels_clamped() from vc1_decode_i_blocks_adv(). By inlining the function, we can prevent calling IDCT8x8 if CODEC_FLAG_GRAY is set, and we don't have to scale the coeffs in the [0,256] range, but can instead use put_signed_pixels_clamped().
* dsputil_mmx.c: remove ff_vector128.Ronald S. Bultje2011-02-19
| | | | Remove ff_vector128, it is identical to ff_pb_80.
* Fix invalid reads in VC1 decoderReimar Döffinger2011-02-19
| | | | Patch discussed and taken from https://roundup.ffmpeg.org/issue2584
* Fix VP3 edge emulationDavid Conrad2011-02-19
| | | | | | With negative stride, the start of the edge_emu buffer should be pointing to the last line, not the end of the buffer. With positive stride, pointing to the end of the buffer was completely wrong.
* aacdec: dsputilize the scalar multiplication in intensity stereoYoung Han Lee2011-02-19
|
* VP3: fix decoding of videos with stride > 2048Jason Garrett-Glaser2011-02-18
| | | | | Also remove qscale_table code; this didn't make sense anyways as VP3 doesn't use an MPEG-like quantizer scale.
* targa: fix potential buffer overreadsJean-Daniel Dupas2011-02-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix PPC build.Ronald S. Bultje2011-02-17
|
* VP8: init one less near_mvJason Garrett-Glaser2011-02-17
| | | | This one didn't actually need to be initialized.
* VP8: split out declarations to new headerJason Garrett-Glaser2011-02-17
|
* VP8: faster MV clippingJason Garrett-Glaser2011-02-17
|
* dsputil: move VC1-specific stuff into VC1DSPContext.Ronald S. Bultje2011-02-17
|
* VC1: simplify a calculation in a loop.Ronald S. Bultje2011-02-17
|
* VC1: transpose IDCT 8x8 coeffs while reading.Ronald S. Bultje2011-02-17
|
* mdct: remove unnecessary multiplicationYoung Han Lee2011-02-17
| | | | 3*n4 was already calculated in n3.
* ac3enc: fix bug in stereo rematrixing decision.Justin Ruggles2011-02-16
| | | | | | | The rematrixing strategy reuse flags are not reset between frames, so they need to be initialized for all blocks, not just block 0. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vbv_delay AVOption for ABI compatibilityMichael Niedermayer2011-02-16
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Set maximum lowres value for the MJPEG decoder to 3.Carl Eugen Hoyos2011-02-16
| | | | | | | While 4 works for some samples, 3 is the correct value since 8x8 DCT is used by (m)jpeg. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* ac3dsp: Change punpckhqdq to movhlps in ac3_max_msb_abs_int16().Justin Ruggles2011-02-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Document audio_resample_close().Stefano Sabatini2011-02-16
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Apply minor cosmetics fixes to the av_audio_resample_init() doxy.Stefano Sabatini2011-02-16
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* ac3enc: change default floor code to 7.Justin Ruggles2011-02-15
| | | | | | | This is to match the value in every (E-)AC-3 file from commercial sources. It has a negligible effect on audio quality. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Pass VBV delay to the calling application via ctxChristophe Massiot2011-02-15
| | | | | | | | VBV delay is useful for T-STD compliance in some TS muxers. It is certainly possible to retrieve it by parsing the output of FFmpeg, but getting it from the context makes it simpler and less error-prone. Signed-off-by: Mans Rullgard <mans@mansr.com>
* binkaudio: remove unused copy of AVCodecContext*Peter Ross2011-02-15
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* binkaudio: fix channel count checkPeter Ross2011-02-15
| | | | | | | | | Perform validity check on AVFormatContext.channels instead of uninitialised field. This fixes issue 2001. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacdec: Implement LTP support.Young Han Lee2011-02-14
| | | | Ported from gsoc svn.
* aac: remove dead SBR input scalingAlex Converse2011-02-14
| | | | | | It has been unused since 9d06d7bce3babb82ed650c13ed13a57f6f626a71 Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: Add x86-optimized function to speed up log2_tab().Justin Ruggles2011-02-13
| | | | | | | AC3DSPContext.ac3_max_msb_abs_int16() finds the maximum MSB of the absolute value of each element in an array of int16_t. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpeg4video: ignore broken GOP headersAnatoly Nenashev2011-02-13
| | | | | | | | | Some MPEG4 cameras produce files with empty GOP headers. This patch makes the decoder ignore such broken headers and proceed with the following I-frame. Without this change, the following start code is missed resulting in the entire I-frame being skipped. Signed-off-by: Mans Rullgard <mans@mansr.com>
* FFT: factor a shuffle out of the inner loop and merge it into fft_permute.Loren Merritt2011-02-13
| | | | | | 6% faster SSE FFT on Conroe, 2.5% on Penryn. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* bink: permute Bink version 'b' quant matrices by inverse scan orderPeter Ross2011-02-13
| | | | | | | This fixes visual glitches in Bink version 'b' files, as the quantization tables were not being permuted. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: simplify how quantization matrices are passed to read_dct_coeffs()Peter Ross2011-02-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make tables generation insensitive to floating-point implementationVitor Sessak2011-02-12
| | | | | | | Using doubles make the double -> int cast well defined for all the values used, with the exception of when s[i]==1.0, which is special-cased. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add missing terminating backslashRonald S. Bultje2011-02-11
|
* VP8: ARM optimised decode_block_coeffs_internalMans Rullgard2011-02-11
| | | | | | Approximately 5% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM optimised vp56_rac_get_prob()Mans Rullgard2011-02-11
| | | | | | Approximately 3% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bink: reindent after last commitPeter Ross2011-02-11
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Bink version 'b' video decoderPeter Ross2011-02-11
| | | | | | Based on original patch by Kostya Shishkov Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* vorbis dec: Remove obsolete commentAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbis dec: cosmetics: Indent consistentlyAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vorbis dec: cosmetics: Indent CPP cond properlyAlexander Strasser2011-02-10
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>