summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* twinvq: Split VQF-specific part from common TwinVQ decoder coreKostya Shishkov2013-08-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* twinvq: Prefix enums and defines shared with VoxWare MetaSoundDiego Biurrun2013-08-05
|
* twinvq: move all bitstream reading into single placeKostya Shishkov2013-08-05
| | | | | | | | This is required for the future addition of VoxWare MetaSound decoder, for its functions are mostly the same but bitstream reader is completely different and bitstream format is slightly different too. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegts: Remove one 64-bit integer modulus operation per packetBen Avison2013-08-05
| | | | | | | | | | | | | The common case of the pointer having increased by one packet (which results in no change to the modulus) can be detected with a 64-bit subtraction, which is far cheaper than a division on many platforms. Before After Mean StdDev Mean StdDev Change Divisions 248.3 8.8 51.5 7.4 +381.7% Overall 2773.2 25.6 2372.5 43.1 +16.9% Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: check mb_height validity.Luca Barbato2013-08-05
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vc1: check the source buffer in vc1_mc functionsLuca Barbato2013-08-05
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* bink: Bound check the quantization matrix.Luca Barbato2013-08-05
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* libx264: add shortcut for the bluray compatibility optionLuca Barbato2013-08-05
| | | | As for intra-refresh it is just a commodity.
* vdpau: deprecate bitstream buffers within the hardware contextRémi Denis-Courmont2013-08-05
| | | | | | | | The bitstream buffers are now private and freed by libavcodec. For backward compatibility, the hold bitstream buffer pointer is left NULL (applications were supposed to av_freep() it). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: store picture data in picture's rather than codec's contextRémi Denis-Courmont2013-08-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: deprecate VDPAU codec capabilityRémi Denis-Courmont2013-08-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: remove old-style decodersRémi Denis-Courmont2013-08-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aac: Forward errors properly in aac_decode_frame_intLuca Barbato2013-08-04
| | | | Incidentally also remove a warning.
* aac: Check init_get_bits return valueLuca Barbato2013-08-04
| | | | | | Some code paths can call it with invalid length. CC: libav-stable@libav.org
* avcodec: Add output_picture_number to AVCodecParserContextYusuke Nakamura2013-08-02
| | | | | | Set output_picture_number in H.264 parser. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
|
* Give less generic names to global library option arraysDiego Biurrun2013-08-02
|
* h264_sei: Return meaningful valuesVittorio Giovara2013-08-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264_sei: K&R formatting cosmeticsVittorio Giovara2013-08-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264_sei: Remove pointless old commentDiego Biurrun2013-08-01
|
* twinvq: Add proper twinvq prefixes to identifiersDiego Biurrun2013-08-01
|
* Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalentsDiego Biurrun2013-07-29
|
* huffyuvenc: BGRA supportMichael Niedermayer2013-07-29
| | | | | | Bug-Id: 452 Signed-off-by: Diego Biurrun <diego@biurrun.de>
* xl: Make sure the width is validLuca Barbato2013-07-28
| | | | | | And undo the wrong commit f1cb490d6d7391ff7e28cc376908cc98a652228d CC: libav-stable@libav.org
* utvideoenc: use av_image_copy_plane()Paul B Mahol2013-07-28
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* aasc: Check minimum buffer sizeLuca Barbato2013-07-28
| | | | | | | Prevent some overreads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: Whitespace cosmeticsLuca Barbato2013-07-28
|
* flac: use meaningful return valuesLuca Barbato2013-07-28
|
* xl: Fix the buffer size checkLuca Barbato2013-07-28
| | | | | | | Also make it the first check. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* xl: K&R formatting cosmeticsLuca Barbato2013-07-28
|
* Add missing deprecation attributesDiego Biurrun2013-07-27
|
* h264: K&R formatting cosmeticsDiego Biurrun2013-07-27
|
* miscellaneous typo fixesDiego Biurrun2013-07-25
|
* mpeg12: Ignore slice threading if hwaccel is activeRémi Denis-Courmont2013-07-25
| | | | | | | Slice threading does not work with hardware acceleration, as decoding is per-picture. This fixes Bugzilla #542. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vdpau: Fix VC-1 interlaced modeRainer Hochecker2013-07-25
| | | | | | | | VDPAU expects the bitstream value (0, 2 or 3). libavcodec uses an enum (0, 1 or 2). Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Add '0' to float constants ending in '.'.Diego Biurrun2013-07-25
|
* twinvq: K&R formatting cosmeticsDiego Biurrun2013-07-25
|
* arm: Comment out unused labels in simple_idct_armMartin Storsjö2013-07-24
| | | | | | | | | | | | | | | | | When building for iOS in thumb mode, gas-preprocessor.pl doesn't mark unused labels as thumb functions (as it does for other local labels, where it can figure out that they are functions due to being referenced in branch instructions). This leads to linker warnings for some of those local labels, such as: ld: warning: ARM function not 4-byte aligned: __a_evaluation from libavcodec/libavcodec.a(simple_idct_arm.o) Therefore, comment them out since they don't have any function. They do still have a value in documenting key points in the assembly source though. Signed-off-by: Martin Storsjö <martin@martin.st>
* 8bps: Make the bound-checks consistentLuca Barbato2013-07-23
|
* 8bps: Bound-check the input bufferLuca Barbato2013-07-23
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: Reject not a multiple of 16 dimensionLuca Barbato2013-07-23
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* alsdec: Clean up error pathsLuca Barbato2013-07-23
| | | | | | Fix at least a memory leak. CC: libav-stable@libav.org
* alsdec: Fix the clipping rangeLuca Barbato2013-07-23
| | | | | | | mcc_weightings is only 32 elements. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* arm: Mangle external symbols properly in new vfp assembly filesMartin Storsjö2013-07-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of qmf_32_subbandsBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1323.0 98.0 746.2 60.6 +77.3% Overall 15400.0 336.4 14147.5 288.4 +8.9% Signed-off-by: Martin Storsjö <martin@martin.st>
* dcadsp: Add a new method, qmf_32_subbandsBen Avison2013-07-22
| | | | | | | This does most of the work formerly carried out by the static function qmf_32_subbands() in dcadec.c. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of fft16Martin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1389.3 4.2 967.8 35.1 +43.6% Overall 15577.5 83.2 15400.0 336.4 +1.2% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of dca_lfe_firMartin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 868.2 33.5 436.0 27.0 +99.1% Overall 15973.0 223.2 15577.5 83.2 +2.5% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of imdct_halfMartin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 2653.0 28.5 1108.8 51.4 +139.3% Overall 17049.5 408.2 15973.0 223.2 +6.7% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of int32_to_float_fmul_array8Ben Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 366.2 18.3 277.8 13.7 +31.9% Overall 18420.5 489.1 17049.5 408.2 +8.0% Signed-off-by: Martin Storsjö <martin@martin.st>