summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* x86: hpeldsp: Move half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mjpeg: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1enc: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This also converts vc1, since that is mpegvideo-based. Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes svq1 independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* mimic: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* interplayvideo: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes interplayvideo independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* bink: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes the Indeo 3 decoder independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp56: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes vp5 and vp6 independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes vp3 independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* hpeldsp: Add half-pel functions (currently copies of dsputil)Ronald S. Bultje2013-04-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: fully support cropping.Anton Khirnov2013-04-19
| | | | | | Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com> Fixes Bug 378.
* ff_get_buffer(): allocate the frame for max(coded,display) dimensionsAnton Khirnov2013-04-19
| | | | Needed e.g. for h264 cropping to work properly.
* indeo3: check motion vectors.Anton Khirnov2013-04-17
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* indeo3: fix data size checkAnton Khirnov2013-04-17
| | | | | | | | | The data offsets are relative to the bistream header, which is 16 bytes after the start of the data. Fixes invalid reads with corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* indeo3: switch parsing the header to bytestream2Anton Khirnov2013-04-17
| | | | | | | | Also add an additional sanity check to the alt_quant table. Fixes invalid reads with corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* rv10: check that extradata is large enoughAnton Khirnov2013-04-17
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* rv10: return meaningful error codes.Anton Khirnov2013-04-17
| | | | Also improve some error messages.
* rv10: cosmetics, reformatAnton Khirnov2013-04-17
|
* qdm2: check that the FFT size is a power of 2Anton Khirnov2013-04-17
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* svq1dec: clip motion vectors to the frame size.Anton Khirnov2013-04-17
| | | | | | | Fixes invalid reads for corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* svq1dec: check that the reference frame has the same dimensions as the ↵Anton Khirnov2013-04-17
| | | | | | | | | | current one They can be different if the last keyframe failed to decode correctly. Fixes possible invalid reads in such a case. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* vp3: Use full transpose for all IDCTsRonald S. Bultje2013-04-15
| | | | | | | | | | | This way, the special IDCT permutations are no longer needed. This is similar to how H264 does it, and removes the dsputil dependency imposed by the scantable code. Also remove the unused type == 0 cases from the plain C version of the idct. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp3: bfin: Transpose the IDCTsMartin Storsjö2013-04-15
| | | | | | | | | While this change isn't bitexact, the IDCTs weren't bitexact to start with either. This simplifies decoupling vp3 from dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Move constants to the only place where they are usedRonald S. Bultje2013-04-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* bfin: Match DEFUN_END macros to the right functionsMartin Storsjö2013-04-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Move some ifdefs to avoid unused variable warningsDiego Biurrun2013-04-12
|
* x86: dsputil: cosmetics: Remove two pointless variable indirectionsDiego Biurrun2013-04-12
|
* x86: dsputil: Refactor some ff_{avg|put}_pixels function declarationsDiego Biurrun2013-04-12
|
* x86: dsputil: ff_h263_*_loop_filter declarations to a more suitable placeDiego Biurrun2013-04-12
|
* x86: h264qpel: int --> ptrdiff_t for some line_size parametersDiego Biurrun2013-04-12
|
* Move misplaced file author information where it belongsDiego Biurrun2013-04-11
|
* lavc: don't overwrite display dimensions with coded dimensions.Anton Khirnov2013-04-10
|
* lavc: extend / update the [coded_]{width,height} doxyAnton Khirnov2013-04-10
|
* h261: Move encoder/decoder shared table init to common codeDiego Biurrun2013-04-10
|
* h261: Move shared data tables from a header to a proper C fileDiego Biurrun2013-04-10
|
* dsputil: Make dsputil selectableRonald S. Bultje2013-04-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Only initialize dsputil if error resilience is enabledRonald S. Bultje2013-04-10
| | | | | | | It is only used for error resilience. This allows building the h264 decoder without dsputil, if error resilience is disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Integrate clear_blocks calls with IDCTRonald S. Bultje2013-04-10
| | | | | | | | | The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700 to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb (in the decode_slice loop) goes from 1759 to 1733 cycles on the clip tested (cathedral), i.e. almost 30 cycles per mb faster. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Clear the mb members via memset instead of using dsputilMartin Storsjö2013-04-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Make square put/avg_pixels functions local to h264qpelRonald S. Bultje2013-04-10
| | | | | | | Put a copy of the 8bit functions only in dsputil, where they are used for some other things (e.g. mpeg4qpel, mspel, cavsqpel). Signed-off-by: Martin Storsjö <martin@martin.st>
* dfa: implement missing TDLT coding methodKostya Shishkov2013-04-09
|
* h264pred: Add a few missing const declarations for ff_cropTbl derived pointersMartin Storsjö2013-04-08
| | | | | | | | The pointers that get assigned ff_cropTbl were made const in 9e0f14f1, but other variables that transitively are assigned based on these variables were missed. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtablesRonald S. Bultje2013-04-08
| | | | | | | | | These are widely used throughout libavcodec, nothing dsputil-specific. Change ff_cropTbl to a statically initialized table, to avoid initializing it with a function call. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-08
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp3: Embed idct_permutation array directly in VP3DecoderContextRonald S. Bultje2013-04-08
| | | | | | | This makes the vp3 decoder less dependent on dsputil, and will aid in making it (eventually) dsputil-independent. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: qpel: Move fullpel and l2 functions to a separate fileRonald S. Bultje2013-04-08
| | | | | | | This way, they can be shared between mpeg4qpel and h264qpel without requiring either one to be compiled unconditionally. Signed-off-by: Martin Storsjö <martin@martin.st>
* bfin: Make vp3 functions staticMartin Storsjö2013-04-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>