summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* x86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponentsDiego Biurrun2013-04-262-37/+0
| | | | | | | The function requires increasing the fuzz factor for the ac3/eac3 encode tests and even so makes fate fail. It only provides a slight encoding speedup for legacy CPUs that do not support SS2. Thus its benefit is not worth the trouble it creates and fixing it would be a waste of time.
* x86: Rename dsputil_rnd_template.c to rnd_template.cMartin Storsjö2013-04-253-2/+2
| | | | | | | This makes it less confusing when this template is shared both by dsputil and by hpeldsp. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Get rid of duplication between *_rnd_template.cMartin Storsjö2013-04-232-197/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: unref cur/next/prev frames when flushingHendrik Leppkes2013-04-231-0/+4
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: Factorize duplicated inline assembly snippetsMartin Storsjö2013-04-233-130/+76
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* jpeg2000: Add mutlti-threading support to decoderNicolas Bertrand2013-04-231-2/+5
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: Move some conditional code around to avoid unused variable warningsDiego Biurrun2013-04-223-17/+15
|
* jpeg2kdec: output is native endian AV_PIX_FMT_XYZ12Janne Grunau2013-04-221-1/+1
|
* threads: always call thread_finish_setup for intra codecsJanne Grunau2013-04-221-2/+2
| | | | | | | Intra codecs do not need an update_thread_context() function and never call ff_thread_finish_setup(). They rely on ff_thread_get_buffer() calling it. So call it even if the get_buffer2 function pointer is avcodec_default_get_buffer2 and it has not been called before.
* avcodec: Bump minor for JPEG 2000 decoderDiego Biurrun2013-04-221-1/+1
|
* JPEG 2000 decoder for DCinemaNicolas Bertrand2013-04-2211-0/+2804
| | | | | | | | Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl> Updated to current programming standards, style and many more small fixes by Diego Biurrun <diego@biurrun.de>. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* sh4: Remove dubious aligned dsputil codeDiego Biurrun2013-04-2211-1665/+1
| | | | | | The code represents a considerable maintenance burden and it is not clear that it gives a noticeable benefit to outweigh this after 10 years of improvements in compiler technology since its creation.
* x86: cavs: Refactor duplicate dspfunc macroDiego Biurrun2013-04-221-22/+14
|
* h264: Drop unused variableDiego Biurrun2013-04-221-1/+1
|
* x86: cavs: Put mmx-specific code into its own init functionDiego Biurrun2013-04-223-15/+31
| | | | | Before, this code was labeled as mmxext and enabled both for the 3dnow and the mmxext case.
* x86: Remove some duplicate function declarationsDiego Biurrun2013-04-222-7/+0
|
* ppc: hpeldsp: Include attributes.hMartin Storsjö2013-04-201-0/+1
| | | | | | This fixes building in configurations where altivec is disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Remove unused inline asm instruction definesMartin Storsjö2013-04-201-3/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Remove now unused variablesMartin Storsjö2013-04-201-2/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: bfin: Fix indentation in the dsputil init functionMartin Storsjö2013-04-191-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Remove non-8bpp draw_edgeRonald S. Bultje2013-04-192-10/+4
| | | | | | It is never used. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Merge 9-10 bpp functions for get_pixels and draw_edgeRonald S. Bultje2013-04-191-8/+2
| | | | | | | These only care about pixel storage unit size, not actual bits used (i.e. they don't clip). Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Remove unused 32-bit functionsRonald S. Bultje2013-04-192-46/+39
| | | | | | | | Previously, if dct_bits was set to 32, we used separate 32-bit versions of these functions. Since dct_bits now is removed, remove the unused 32-bit versions of the functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Remove dct_bitsRonald S. Bultje2013-04-193-16/+2
| | | | | | | dct_bits is never set except in h264, where it is never used, thus remove it. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Remove hpel functions (moved to hpeldsp)Ronald S. Bultje2013-04-195-227/+8
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* alpha: hpeldsp: Move half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-1910-290/+381
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sparc: hpeldsp: Move vis half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-196-3507/+3540
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sh4: hpeldsp: Move half-pel assembly from dsputil to hpeldspMichael Niedermayer2013-04-196-97/+373
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* bfin: hpeldsp: Move half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-199-465/+555
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: hpeldsp: Move half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-1916-1349/+1544
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ppc: hpeldsp: Move half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-195-421/+470
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: hpeldsp: Move half-pel assembly from dsputil to hpeldspRonald S. Bultje2013-04-1910-657/+962
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mjpeg: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-192-4/+7
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq1enc: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-191-6/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* svq3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-191-7/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-196-36/+40
| | | | | | 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-191-11/+11
| | | | | | 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-191-2/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* interplayvideo: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-191-5/+5
| | | | | | 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-191-7/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo3: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-191-8/+8
| | | | | | 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-192-9/+10
| | | | | | 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-191-4/+5
| | | | | | 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-196-6/+416
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: fully support cropping.Anton Khirnov2013-04-196-39/+105
| | | | | | 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-191-5/+13
| | | | Needed e.g. for h264 cropping to work properly.
* indeo3: check motion vectors.Anton Khirnov2013-04-171-5/+29
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* indeo3: fix data size checkAnton Khirnov2013-04-171-2/+1
| | | | | | | | | 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-171-17/+22
| | | | | | | | 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-171-0/+5
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
OpenPOWER on IntegriCloud