summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* | lavc/gif: crop image when possible.Clément Bœsch2013-04-181-9/+73
| | | | | | | | | | | | Increase compression when pictures are similar. -f lavfi testsrc=300: 61M -> 21M
* | Cleanse GIF muxer and encoder.Clément Bœsch2013-04-181-44/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the badly duplicated code between the encoder and the muxer. That may sound surprising, but the encoder is now responsible from the encoding of the picture when muxing to a .gif file. It also does not require anymore a manual user intervention such as a -pix_fmt rgb24 to work properly. To summarize, output gif are now easier to generate, code is saner and simpler, and files are smaller (thanks to the lzw encoding which was unused so far with the default .gif output). We can certainly make things even better, but this is the first step. FATE is updated because of the output being produced by the encoder and not the muxer (no lzw in the muxer), and in the seek test only the size mismatches. Fixes Ticket #2262
* | ra144: Try to fix int16/uint16 warnings from pgcMichael Niedermayer2013-04-173-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-04-171-29/+30
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: indeo3: check motion vectors. Conflicts: libavcodec/indeo3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * indeo3: check motion vectors.Anton Khirnov2013-04-171-5/+29
| | | | | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* | Merge commit '34e6af9e204ca6bb18d8cf8ec68fe19b0e083e95'Michael Niedermayer2013-04-171-3/+1
|\ \ | |/ | | | | | | | | | | * commit '34e6af9e204ca6bb18d8cf8ec68fe19b0e083e95': indeo3: fix data size check Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge commit '66531d634e75b834e89e4a6a0f7470ca018712a1'Michael Niedermayer2013-04-171-17/+22
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '66531d634e75b834e89e4a6a0f7470ca018712a1': indeo3: switch parsing the header to bytestream2 Conflicts: libavcodec/indeo3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge commit '01d376f598fe95478036f5d1e3e5e14ffe32d4bf'Michael Niedermayer2013-04-171-0/+5
|\ \ | |/ | | | | | | | | | | * commit '01d376f598fe95478036f5d1e3e5e14ffe32d4bf': rv10: check that extradata is large enough Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge commit 'bac8d38c0a716c8bdfdecf0ae545015c68f5df36'Michael Niedermayer2013-04-171-26/+26
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'bac8d38c0a716c8bdfdecf0ae545015c68f5df36': rv10: return meaningful error codes. Conflicts: libavcodec/rv10.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rv10: return meaningful error codes.Anton Khirnov2013-04-171-26/+26
| | | | | | | | Also improve some error messages.
* | Merge commit '69f6f03cd16a09e4e848b4e82bae4993bc361cd0'Michael Niedermayer2013-04-172-285/+279
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '69f6f03cd16a09e4e848b4e82bae4993bc361cd0': rv10: cosmetics, reformat qdm2: check that the FFT size is a power of 2 Conflicts: libavcodec/rv10.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rv10: cosmetics, reformatAnton Khirnov2013-04-171-265/+273
| |
| * qdm2: check that the FFT size is a power of 2Anton Khirnov2013-04-171-0/+4
| | | | | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* | Merge commit 'ecff5acb5a738fcb4f9e206a12070dac4bf259b3'Michael Niedermayer2013-04-171-15/+14
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'ecff5acb5a738fcb4f9e206a12070dac4bf259b3': svq1dec: clip motion vectors to the frame size. Conflicts: libavcodec/svq1dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * svq1dec: clip motion vectors to the frame size.Anton Khirnov2013-04-171-14/+13
| | | | | | | | | | | | | | Fixes invalid reads for corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* | Merge commit 'b1bb8fb860b47e90dd67f0c5740698128fc82dcc'Michael Niedermayer2013-04-171-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit 'b1bb8fb860b47e90dd67f0c5740698128fc82dcc': svq1dec: check that the reference frame has the same dimensions as the current one Conflicts: libavcodec/svq1dec.c See: 3b57bb478ff4455773378355e285877d757e151e Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * svq1dec: check that the reference frame has the same dimensions as the ↵Anton Khirnov2013-04-171-1/+2
| | | | | | | | | | | | | | | | | | | | 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
* | Remove two anonymous arrays.Carl Eugen Hoyos2013-04-171-1/+2
| | | | | | | | Fixes compilation of pngenc.c and flvdec.c with PGC 13.4-0.
* | ass_split: Do not use the function name as a parameter name in a declaration.Carl Eugen Hoyos2013-04-171-1/+1
| | | | | | | | Fixes compilation of srtenc.o with PGC 13.4-0.
* | libaacpluc: remove unused codePaul B Mahol2013-04-161-6/+0
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | sgirledec: remove unused headersPaul B Mahol2013-04-161-2/+0
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc: avcodec_open2(): pass context to av_log()Paul B Mahol2013-04-161-2/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | mjpegdec: fix overlapping memcpy with upscale_vMichael Niedermayer2013-04-161-3/+7
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libaacplus: support for float sample formatPaul B Mahol2013-04-161-1/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/c93: Check for block overlap.Michael Niedermayer2013-04-161-1/+8
| | | | | | | | | | | | | | Fixes overlapping memcpy() Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libaacplus: set supported profilesPaul B Mahol2013-04-161-0/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libaacplus: set supported channel_layoutsPaul B Mahol2013-04-161-0/+9
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libaacplus: remove FF_API_OLD_ENCODE_AUDIO cruftPaul B Mahol2013-04-161-8/+0
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '015821229f96bf7e677f2a711a58dbea3009f574'Michael Niedermayer2013-04-162-3/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '015821229f96bf7e677f2a711a58dbea3009f574': vp3: Use full transpose for all IDCTs Conflicts: libavcodec/vp3.c libavcodec/vp3dsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp3: Use full transpose for all IDCTsRonald S. Bultje2013-04-1512-117/+135
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9'Michael Niedermayer2013-04-161-8/+12
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9': vp3: bfin: Transpose the IDCTs Conflicts: libavcodec/bfin/vp3_bfin.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp3: bfin: Transpose the IDCTsMartin Storsjö2013-04-151-2/+8
| | | | | | | | | | | | | | | | | | 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>
* | Merge commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3'Michael Niedermayer2013-04-161-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3': x86: Move constants to the only place where they are used Conflicts: libavcodec/x86/vp3dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Move constants to the only place where they are usedRonald S. Bultje2013-04-153-9/+4
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * bfin: Match DEFUN_END macros to the right functionsMartin Storsjö2013-04-151-1/+2
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | dfa: support decoding version=1.0Michael Niedermayer2013-04-151-2/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add thread-safe wrapper for get_format().Reimar Döffinger2013-04-156-4/+64
| | | | | | | | | | | | | | Just like get_buffer, get_format should not be called from a different thread if thread_safe_callbacks is not set. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Fix compilation on ARM with android gcc 4.7Reimar Döffinger2013-04-151-38/+36
| | | | | | | | | | | | | | | | | | | | With the current code it fails due to running out of registers. So code the store offsets manually into the assembler instead. Passes "make fate-dts". Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add avpriv_dsputil_init() and use it in lavfi where relevant.Clément Bœsch2013-04-142-0/+6
| | | | | | | | | | | | | | | | dsputil_init() is deprecated and not meant to be exported. ff_dsputil_init() is internal to libavcodec and thus can not be used. avpriv_dsputil_init() is the version shared between libraries. This commit fixes 3 unjustified libavfilter deprecated warnings.
* | avcodec: fix ignorecrop AVOption offsetMichael Niedermayer2013-04-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-04-121-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: x86: dsputil: Move some ifdefs to avoid unused variable warnings Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Move some ifdefs to avoid unused variable warningsDiego Biurrun2013-04-121-2/+2
| |
* | Merge commit '2004c7c8f763280ff3ba675ea21cf25396528fd3'Michael Niedermayer2013-04-121-2/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '2004c7c8f763280ff3ba675ea21cf25396528fd3': x86: dsputil: cosmetics: Remove two pointless variable indirections Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: cosmetics: Remove two pointless variable indirectionsDiego Biurrun2013-04-121-4/+2
| |
* | Merge commit 'c51a3a5bd9a5b404176ff343ecadb80b2553b256'Michael Niedermayer2013-04-123-16/+7
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'c51a3a5bd9a5b404176ff343ecadb80b2553b256': x86: dsputil: Refactor some ff_{avg|put}_pixels function declarations Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: dsputil: Refactor some ff_{avg|put}_pixels function declarationsDiego Biurrun2013-04-123-15/+6
| |
* | Merge commit 'e027032fc6a49db5a4ce12fc3e09ffb86ff20522'Michael Niedermayer2013-04-121-5/+3
|\ \ | |/ | | | | | | | | | | * commit 'e027032fc6a49db5a4ce12fc3e09ffb86ff20522': x86: dsputil: ff_h263_*_loop_filter declarations to a more suitable place Merged-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud