summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 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>
* dcadec: Use int32_to_float_fmul_array8Ben Avison2013-07-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fmtconvert: Add a new method, int32_to_float_fmul_array8Ben Avison2013-07-22
| | | | | | | | | | This is similar to int32_to_float_fmul_scalar, but loads a new scalar multiplier every 8 input samples. This enables the use of much larger input arrays, which is important for pipelining on some CPUs (such as ARMv6). Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of int32_to_float_fmul_scalarBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1175.0 4.4 366.2 18.3 +220.8% Overall 19285.5 292.0 18420.5 489.1 +4.7% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of synth_filter_floatBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 9295.0 114.9 4853.2 83.5 +91.5% Overall 23699.8 397.6 19285.5 292.0 +22.9% Signed-off-by: Martin Storsjö <martin@martin.st>
* libspeexdec: fix detection of final terminator codeJustin Ruggles2013-07-21
|
* libx264: Define X264_API_IMPORTS on MSVC/ICLDerek Buitenhuis2013-07-21
| | | | | | | | | | | | | | libx264 has a few data exports which require X264_API_IMPORTS to be defined if we link to libx264 dynamically on Windows. In a similar fashion to how we handle our compat snprintf implementation, if we define it all the time, the compiler will first try and link to __imp_x264_symbol_name, and failing that, as in the case of a static libx264, will attempt to link to the non-prefixed symbol, which has already been pulled in by other x264 functions' object files. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dsicinav: Clip the source size to the expected maximumLuca Barbato2013-07-19
| | | | | | | A packet larger than cin->bitmap_size does not make sense. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsicinav: Bound-check the source buffer when neededLuca Barbato2013-07-19
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsicinav: K&R formatting cosmeticsLuca Barbato2013-07-19
|
* Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
|
* fmtconvert: Explicitly use int32_t instead of intChristophe Gisquet2013-07-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* pthread: Rename thread_init to avoid symbol collisionSean McGovern2013-07-17
| | | | | | The AIX threads library exposes a function with the same name. Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3dec: Don't consume more data than the actual input packet sizeMartin Storsjö2013-07-15
| | | | | | | | | | | | | | | This was handled properly in the normal return case at the end of the function, but not in this special case. Returning a value larger than the input packet size can cause problems for certain library users. Returning the actual input buffer size unconditionally, since it is not guaranteed that frame_size is set to a sensible value at this point. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo: Reject impossible FRAMETYPE_NULLLuca Barbato2013-07-15
| | | | | | | | A frame marked FRAMETYPE_NULL cannot be scalable and requires a previous frame successfully decoded. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Do not reference mismatched tilesLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Sanitize ff_ivi_init_planes fail pathsLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo5: return proper error codesLuca Barbato2013-07-15
|
* indeo: Bound-check before applying motion compensationLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Bound-check before applying transformLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Validate scantable dimensionLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Check the quantization matrix indexLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org