summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* jpeg2000dec: Use correct printf length modifier for pointer differencesDiego Biurrun2013-05-14
| | | | | Also eliminate an unnecessary cast. Fixes the following warning: jpeg2000dec.c:1200:20: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’
* vc1dec: Don't apply the loop filter on fieldsMartin Storsjö2013-05-14
| | | | | | | | Fixes read of uninitialized memory. Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: implement frame interlaced b-frame header parsingHendrik Leppkes2013-05-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Don't attempt error concealment on field picturesMichael Niedermayer2013-05-14
| | | | | | This is not implemented and doesn't work. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: fieldtx is only valid for interlaced frame picturesSebastian Sandberg2013-05-14
| | | | | | The fieldtx_plane is not cleared for interlaced fields. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacenc: Fix erasure of surround channelsClaudio Freire2013-05-14
| | | | | | | This was due to a miscomputation of s->cur_channel, which led to psy-based encoders using the psy coefficients for the wrong channel. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacenc: Fix target bitrate for twoloop quantiser searchClaudio Freire2013-05-14
| | | | | | | This fixes a case where multichannel bitrate isn't accurately targetted by psy model alone, never achieving the target bitrate. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacenc: Fix a rounding bug in aacpsy channel bitrate computationClaudio Freire2013-05-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)Matt Wolenetz2013-05-14
| | | | | | This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.hDiego Biurrun2013-05-12
| | | | The header is not (anymore) MMX-specific.
* x86: dsputil: Split inline assembly from init codeDiego Biurrun2013-05-12
| | | | Also remove some pointless comments.
* x86: dsputil: Refactor pixels16 wrapper functions with a macroDiego Biurrun2013-05-12
|
* configure: Rename cmov processor capability to i686Diego Biurrun2013-05-12
| | | | | The goal is to make the capapility slightly more general and have it cover the availability of the nopl instruction in addition to cmov.
* indeo3: avoid writes without necessary alignment in copy_cell()Janne Grunau2013-05-10
| | | | | | | Cells starting at a position aligned to 8 pixels but wider than 4 blocks are copied with 3 blocks per loop. This creates problems on the next loop iterations since the routine copying 2 blocks requires the same alignment on some architectures like ARM NEON.
* x86: sbrdsp: implement SSE2 qmf_pre_shuffleChristophe Gisquet2013-05-10
| | | | | | | From 253 to 51 cycles on Arrandale and Win64. 44 cycles on SandyBridge. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: dsputil: Remove unused argument from QPEL_OP macroDiego Biurrun2013-05-08
|
* x86: dsputil: Move TRANSPOSE4 macro to the only place it is usedDiego Biurrun2013-05-08
|
* x86: dsputil: Move constant declarations into separate headerDiego Biurrun2013-05-08
|
* x86: dsputil: Group all assembly constants together in constants.cDiego Biurrun2013-05-08
|
* x86: dsputil: Move ff_pd assembly constants to the only place they are usedDiego Biurrun2013-05-08
|
* x86: dsputil: Remove unused ff_pb_3F constantDiego Biurrun2013-05-07
|
* x86: dsputil: Remove unused MOVQ_BONE macroDiego Biurrun2013-05-07
|
* x86: dsputil: Move rv40-specific functions where they belongDiego Biurrun2013-05-07
|
* x86: dsputil hpeldsp: Move shared template functions into separate objectDiego Biurrun2013-05-07
|
* x86: rnd_template: Eliminate pointless OP_AVG macro indirectionDiego Biurrun2013-05-07
|
* lavc: do not leak frames in avcodec_decode_audio4Luca Barbato2013-05-07
| | | | | | | Notwithstanding the return value the frame should be freed if is not going to be used. Reported-by: Matthew Wolenetz <wolenetz@chromium.org>
* indeo3: use unaligned reads on reference blocks.Anton Khirnov2013-05-07
| | | | | | | They are not guaranteed to be aligned. Fixes Bug 503. CC:libav-stable@libav.org
* jpeg2000dec: initialize static data just onceJanne Grunau2013-05-06
|
* jpeg2000dec: cleanup properly after decoding errorsJanne Grunau2013-05-06
| | | | Fixes memory leak in fate-redcode-demux.
* jpeg2000: Fix uninitialized data errors pointed out by valgrind/memcheckNicolas Bertrand2013-05-06
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.cDiego Biurrun2013-05-06
| | | | | The function is only instantiated once, so there is no point in keeping it in a template file.
* x86: hpeldsp: Only compile MMX hpeldsp code if MMX is enabledDiego Biurrun2013-05-06
|
* x86: More specific ifdefs for dsputil/hpeldsp init functionsDiego Biurrun2013-05-06
|
* bgmc: Do not mark ff_bgmc_decode_init() as av_coldDiego Biurrun2013-05-05
| | | | The function is possibly called once per block.
* avcodec: Add av_cold attributes to end functions missing themDiego Biurrun2013-05-05
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* silly typo fixesDiego Biurrun2013-05-03
|
* sbrdsp: Unroll and use integer operationsChristophe Gisquet2013-05-03
| | | | | | | | | | | | This patch can be controversial, by assuming floats are IEEE-754 and particular behaviour of the FPU will get in the way. Timing on Arrandale and Win32 (thus, x87 FPU is used in the reference). sbr_qmf_pre_shuffle_c: 115 to 76 sbr_neg_odd_64_c: 84 to 55 sbr_qmf_post_shuffle_c: 112 to 83 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* sbrdsp: Unroll sbr_autocorrelate_cChristophe Gisquet2013-05-03
| | | | | | 1410 cycles to 1148 on Arrandale/Win64 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: sbrdsp: Implement SSE2 qmf_deint_bflyChristophe Gisquet2013-05-03
| | | | | | | | | | Sandybridge: 47 cycles Having a loop counter is a 7 cycle gain. Unrolling is another 7 cycle gain. Working in reverse scan is another 6 cycles. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1_parser: Set field_order.Masaki Tanaka2013-05-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo_parser: Set field_order.Masaki Tanaka2013-05-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Add field order information to AVCodecParserContext.Masaki Tanaka2013-05-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: schedule AVCodecContext.lowres for removal on next bump.Anton Khirnov2013-05-03
| | | | | It has been deprecated some time ago, but was forgotten during the last bump.
* aac: Remove aacpsy.h header, unused since 78e65cd7726Diego Biurrun2013-05-02
|
* cavs: Remove cavsdata.h header, unused since 88386feefdDiego Biurrun2013-05-02
|
* x86: dsputil: Move cavs and vc1-specific functions where they belongDiego Biurrun2013-05-02
|
* x86: dsputil: Move avg_pixels16_mmx() out of rnd_template.cDiego Biurrun2013-05-02
| | | | | The function does not do any rounding, so there is no point in keeping it in a round template file.
* x86: dsputil: Move avg_pixels8_mmx() out of rnd_template.cDiego Biurrun2013-05-02
| | | | | The function is only instantiated once, so there is no point in keeping it in a template file.
* x86: Move duplicated put_pixels{8|16}_mmx functions into their own fileDiego Biurrun2013-05-02
|