summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
| * adpcm: convert ea_maxis_xa to bytestream2.Ronald S. Bultje2012-03-181-8/+10
| |
| * adpcm: convert adpcm_ea to bytestream2.Ronald S. Bultje2012-03-181-29/+24
| |
| * adpcm convert adpcm_ima_ea_sead to bytestream2.Ronald S. Bultje2012-03-181-3/+4
| |
| * adpcm: convert adpcm_ima_ea_eacs to bytestream2.Ronald S. Bultje2012-03-181-13/+17
| |
| * adpcm: convert adpcm_xa to bytestream2.Ronald S. Bultje2012-03-181-6/+5
| |
| * adpcm: convert ima_ws to bytestream2.Ronald S. Bultje2012-03-181-17/+18
| |
| * adpcm: convert adpcm_ima_apc to bytestream2.Ronald S. Bultje2012-03-181-2/+2
| |
| * adpcm: convert adpcm_ima_iss to bytestream2.Ronald S. Bultje2012-03-181-6/+10
| |
| * adpcm: convert adpcm_dk3 to bytestream2.Ronald S. Bultje2012-03-181-33/+26
| |
| * adpcm: convert adpcm_dk4 to bytestream2.Ronald S. Bultje2012-03-181-9/+11
| |
| * adpcm: convert adpcm_ms to bytestream2.Ronald S. Bultje2012-03-181-16/+24
| |
| * adpcm: use av_clip() in adpcm_ima_expand_nibble().Ronald S. Bultje2012-03-181-2/+1
| |
| * adpcm: convert adpcm_4xm to bytestream2.Ronald S. Bultje2012-03-181-5/+9
| |
| * adpcm: convert adpcm_ima_wav to bytestream2.Ronald S. Bultje2012-03-181-10/+7
| |
| * adpcm: convert adpcm_ima_qt to bytestream2.Ronald S. Bultje2012-03-181-13/+14
| |
| * adpcm: fix nb_samples rounding for adpcm_ima_dk3, and update reference.Ronald S. Bultje2012-03-182-2/+2
| |
* | snowenc: move runs from stack to heap.Michael Niedermayer2012-03-192-5/+8
| | | | | | | | | | | | Fixes ticket1082 Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec_encode_audio2: Increase the audio buffer size.Michael Niedermayer2012-03-191-1/+1
| | | | | | | | | | | | Fixes Ticket1104 Signed-off-by: Michael Niedermayer <[email protected]>
* | lavc/sunrastenc: consider cases with linesize < 0Stefano Sabatini2012-03-191-9/+8
| | | | | | | | | | Make sunrast_image_write_image() deal with cases when linesize is < 0. Fix trac ticket #1077.
* | Match documentation for transparency in BGR32 iff images.Carl Eugen Hoyos2012-03-191-0/+5
| |
* | h264: print the pps_id when its invalid.Michael Niedermayer2012-03-191-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | ZeroCodec DecoderDerek Buitenhuis2012-03-194-0/+185
| | | | | | | | | | | | | | | | An obscure Japanese lossless video codec, originally intended for use with a remote desktop application. Signed-off-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-1810-199/+305
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: make compare() function compatible with POSIX bc Update Janne's email address. APIchanges: Replace Subversion revision numbers by Git hashes. bytestream: Eliminate one level of pointless macro indirection. xwd: convert to bytestream2. vqavideo: port to bytestream2 API Read preset files with suffix .avpreset prores: allow user to set fixed quantiser lavf: remove some disabled code. lavf: only set average frame rate for video. lavf: remove a pointless check. avcodec: add XBM encoder Conflicts: Changelog cmdutils.c cmdutils.h doc/APIchanges libavcodec/Makefile libavcodec/avcodec.h libavcodec/version.h libavcodec/vqavideo.c libavformat/img2enc.c libavformat/utils.c Merged-by: Michael Niedermayer <[email protected]>
| * Update Janne's email address.Diego Biurrun2012-03-181-1/+1
| |
| * bytestream: Eliminate one level of pointless macro indirection.Diego Biurrun2012-03-181-19/+11
| |
| * xwd: convert to bytestream2.Ronald S. Bultje2012-03-181-32/+34
| |
| * vqavideo: port to bytestream2 APIPaul B Mahol2012-03-181-89/+97
| | | | | | | | | | | | | | Protects against overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * prores: allow user to set fixed quantiserKostya Shishkov2012-03-181-44/+70
| |
| * avcodec: add XBM encoderPaul B Mahol2012-03-175-1/+90
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
* | lavc/jpeglsenc: fix allocation in case of negative linesize, and add malloc ↵Stefano Sabatini2012-03-181-1/+3
| | | | | | | | | | | | check Fix crash with negative linesizes, fix trac ticket #1078.
* | pgmyuvenc: abort encoding if width is not evenPaul B Mahol2012-03-181-0/+4
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | indeo4: Skip null frames.Michael Niedermayer2012-03-181-0/+3
| | | | | | | | | | | | Fixes crashes from Ticket845 Signed-off-by: Michael Niedermayer <[email protected]>
* | jpg: fix colors for sequential RGBCarl Eugen Hoyos2012-03-181-0/+2
| | | | | | | | | | | | Fixes Ticket850 Signed-off-by: Michael Niedermayer <[email protected]>
* | vorbisenc: set quality to a reasonable default.Michael Niedermayer2012-03-181-1/+1
| | | | | | | | | | | | Fixed Ticket847 Signed-off-by: Michael Niedermayer <[email protected]>
* | dv: Fix streamcopy input.Michael Niedermayer2012-03-181-2/+11
| | | | | | | | | | | | Fixes Ticket1042 Signed-off-by: Michael Niedermayer <[email protected]>
* | pthread: Fix mixing of declarations and statements.Michael Niedermayer2012-03-171-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-178-149/+219
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: resample: allocate a large enough output buffer fate: fix enc_dec_pcm tests with remote target wmaenc: remove bit-exact hack FATE: remove WMA acodec tests FATE: add WMAv1 and WMAv2 encode/decode tests with fuzzy comparison FATE: add AC-3 and E-AC-3 encode/decode tests with fuzzy comparison qtrle: Use bytestream2 functions to prevent buffer overreads. vqavideo: check malloc return values x11grab: fix a memory leak exposed by valgrind threads: fix old frames returned after avcodec_flush_buffers() MPV: always mark dummy frames as reference h264: fix deadlocks on incomplete reference frame decoding. mpeg4: report frame decoding completion at ff_MPV_frame_end(). mimic: don't use self as reference, and report completion at end of decode(). Conflicts: libavcodec/h264.c libavcodec/qtrle.c libavcodec/resample.c libavcodec/vqavideo.c libavdevice/x11grab.c tests/ref/seek/wmav1_asf tests/ref/seek/wmav2_asf Merged-by: Michael Niedermayer <[email protected]>
| * resample: allocate a large enough output bufferJustin Ruggles2012-03-171-2/+4
| | | | | | | | | | Fixes invalid writes and crashes when doing conversions such as stereo to 5.1 channels or sample rate conversion on 5.1 channels.
| * wmaenc: remove bit-exact hackJustin Ruggles2012-03-171-4/+0
| | | | | | | | | | | | It may have improved cross-platform stability, but wasn't the only place in the encoder with bitexact issues. It is no longer needed because we have FATE tests for float encoders using fuzzy comparison.
| * qtrle: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-03-161-113/+74
| | | | | | | | Signed-off-by: Ronald S. Bultje <[email protected]>
| * vqavideo: check malloc return valuesPaul B Mahol2012-03-161-8/+19
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
| * threads: fix old frames returned after avcodec_flush_buffers()Uoti Urpala2012-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | Calling avcodec_flush_buffers() and then avcodec_decode_video2() with a 0-sized packet (to get remaining buffered frames) could incorrectly return an old frame from before the avcodec_flush_buffers() call. Add a loop in ff_thread_flush() to zero the got_frame field of each thread to ensure the old frames will not be returned. Signed-off-by: Ronald S. Bultje <[email protected]>
| * MPV: always mark dummy frames as referenceJanne Grunau2012-03-161-0/+2
| | | | | | | | | | | | | | If the dummy frame are not created from a reference frame they could be deleted untimely resulting in multithreaded decoder waiting on the current frame to finish. Noticed by Ronald S. Bultje in the RV34 decoder with a broken file.
| * h264: fix deadlocks on incomplete reference frame decoding.Ronald S. Bultje2012-03-161-18/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If decoding a second complementary field, and the first was decoded in our thread, mark decoding of that field as complete. If decoding fails, mark the decoded field/frame as complete. Do not allow switching between field modes or field/frame mode between slices within the same field/frame. Ensure that two subsequent fields cover top/bottom (rather than top/frame, bottom/frame or such nonsense situations). Fixes various deadlocks when decoding samples with errors in reference frames. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * mpeg4: report frame decoding completion at ff_MPV_frame_end().Ronald S. Bultje2012-03-161-2/+1
| | | | | | | | | | | | | | Prevents hangs on corrupt input. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * mimic: don't use self as reference, and report completion at end of decode().Ronald S. Bultje2012-03-161-6/+7
| | | | | | | | | | | | | | Fixes hangs on corrupt samples that reference self-frames. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
* | dsp: fix diff_bytes_mmx() with small widthMichael Niedermayer2012-03-171-0/+1
| | | | | | | | | | | | Fixes Ticket1068 Signed-off-by: Michael Niedermayer <[email protected]>
* | pcm: leave sample format conversion to libswresamplePaul B Mahol2012-03-171-20/+17
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-172-2085/+2426
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: K&R formatting cosmetics s3tc.h: Add missing #include to fix standalone header compilation. FATE: add capability for audio encode/decode tests with fuzzy psnr comparison FATE: allow a tolerance in the size comparison in do_tiny_psnr() FATE: use absolute difference from a target value in do_tiny_psnr() FATE: allow tests to set CMP_SHIFT to pass to tiny_psnr FATE: use $fuzz directly in do_tiny_psnr() instead of passing it around Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <[email protected]>
| * h264: K&R formatting cosmeticsDiego Biurrun2012-03-161-2106/+2448
| | | | | | | | Also remove some disabled code and fix a few comment typos.