summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-163-142/+142
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: prores: get correct size for coded V plane if alpha is present prores: do not set pixel format on codec init pthread: prevent updating AVCodecContext from itself in frame_thread_free pthread: copy coded frame dimensions in update_context_from_thread vp8: prevent read from uninitialized memory in decode_mvs vp8: force reallocation in update_thread_context after frame size change vp8: fix return value if update_dimensions fails matroskadec: fix out of bounds write adpcmdec: calculate actual number of output samples for each decoder. adpcmdec: check remaining buffer size before decoding next block in the ADPCM IMA WAV decoder. adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder. adpcmdec: remove unneeded buf_size==0 check. adpcmdec: remove unneeded zeroing of *data_size dnxhdenc: fixed signed multiplication overflow Conflicts: tests/ref/fate/prores-alpha tests/ref/fate/truemotion1-24 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * prores: get correct size for coded V plane if alpha is presentMans Rullgard2011-10-151-2/+2
| | | | | | | | | | | | | | The size check must be updated to take into account both manners in which v_data_size might be set. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * prores: do not set pixel format on codec initMans Rullgard2011-10-151-1/+1
| | | | | | | | | | | | | | | | | | The pixel format is not known until the frame header is parsed. Guessing it here only causes trouble for the caller if the guess turns out to be wrong (and actually causes very wrong output by avconv/avplay). Signed-off-by: Mans Rullgard <mans@mansr.com>
| * adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder.Justin Ruggles2011-10-143-142/+142
| | | | | | | | | | There are still 2 nibbles to decode once the last byte in the packet has been read. Updated FATE reference.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-1423-256/+256
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: proresdsp: fix function prototypes. prores-idct: fix overflow in c code. fate: update prores-alpha ref after changing pix_fmt to yuv444p10le prores: add missing feature warning for alpha mov: 10l: Terminate string with 0 not '0' mov: Prevent illegal writes when chapter titles are very short. prores: add appropriate -fix_fmt parameter to FATE command riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header lavc: add a flag-based error_recognition field to AVCodecContext and deprecate non-flag-based ER field lavc: rename deprecation symbol FF_API_VERY_AGGRESSIVE to FF_API_ER Conflicts: libavcodec/avcodec.h libavformat/mov.c tests/fate/prores.mak tests/ref/acodec/g726 tests/ref/fate/prores-alpha Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * prores-idct: fix overflow in c code.Ronald S. Bultje2011-10-141-2/+2
| | | | | | | | | | | | | | Fix the fate ref for prores-422_proxy by reverting the changes to it in commit f492df0927c42da174edb674857670fc50abc5dc Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * fate: update prores-alpha ref after changing pix_fmt to yuv444p10leJanne Grunau2011-10-141-2/+2
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * prores: add appropriate -fix_fmt parameter to FATE commandDiego Biurrun2011-10-142-7/+7
| | | | | | | | | | Also correct CRCs for Sequence_1-Apple_ProRes_422_Proxy.mov, previous CRCs were generated with the non-bitexact x86_64 assembler IDCT.
| * riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_headerJohn Brooks2011-10-1420-248/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The cbSize field should be included in all cases, even with PCM where its value is ignored. Fixes encoding PCM audio in Matroska for some players which insist on a full WAVEFORMATEX structure for A_MS/ACM audio. Since fate uses wav files for the audio test a larger number of tests has changed checksums or shifted positions due to the 2 byte longer wave header. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | prores: use C idct for fate as the SSE code is not matching the SSE* code ↵Michael Niedermayer2011-10-146-15/+15
| | | | | | | | | | | | down at the bits Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: enable the prores testsMichael Niedermayer2011-10-146-11/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-147-0/+26
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) prores: add FATE tests id3v2: reduce the scope of some non-globally-used symbols/structures id3v2: cosmetics: move some declarations before the places they are used shorten: remove the flush function. shn: do not allow seeking in the raw shn demuxer. avformat: add AVInputFormat flag AVFMT_NO_BYTE_SEEK. avformat: update AVInputFormat allowed flags avformat: don't unconditionally call ff_read_frame_flush() when trying to seek. truespeech: use sizeof() instead of hardcoded sizes truespeech: remove unneeded variable, 'consumed' truespeech: simplify truespeech_read_frame() by using get_bits() truespeech: decode directly to output buffer instead of a temp buffer truespeech: check to make sure channels == 1 truespeech: check for large enough output buffer rather than truncating output truespeech: remove unneeded zero-size packet check. mlpdec: return meaningful error codes instead of -1 mlpdec: remove unnecessary wrapper function mlpdec: only calculate output size once mlpdec: validate that the reported channel count matches the actual output channel count pcm: reduce pointer type casting ... Conflicts: libavformat/avformat.h libavformat/id3v2.c libavformat/id3v2.h libavformat/utils.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * prores: add FATE testsDiego Biurrun2011-10-137-0/+26
| |
| * sws: support yuv444p9/10 output.Anton Khirnov2011-10-125-0/+20
| |
* | cdg: set timestampsMichael Niedermayer2011-10-121-175/+176
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-102-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header mpeg124: use sign_extend() function ac3dec: use get_sbits() instead of manually sign-extending 4xm: fix signed overflow wmavoice: fix a signed overflow mpegvideo_enc: fix a signed overflow crc: fix signed overflow fate: run avconv with -nostats flag avtools: add -v as alias for -loglevel avconv: always print stats with AV_LOG_INFO doc/avconv: add forgotten output/per-stream info to -filter avconv: add -stats option to enable/disable printing encoding progress avconv: in output_packet() don't set decoded_data_size for video. avconv: remove pointless always true condition avconv: factorize common code in transcode_init() zmbv: remove memcpy() of decoded frame mpeg12enc: use sign_extend() function h264pred: use unsigned types for pixel values, fix signed overflows h264: fix signed overflows in x*0x01010101 expressions h264pred: remove unused variables Conflicts: avconv.c tests/fate-run.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: run avconv with -nostats flagMans Rullgard2011-10-092-2/+2
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | reg tests: add g723.1Michael Niedermayer2011-10-102-0/+9
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-082-2/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (24 commits) mpegps: Use av_get_packet() instead of poorly emulating it. motionpixels: decode only the 111 complete frames for fate mpc8: Check out of bound bands limit xan: Prevent NULL dereference with missing palette xan: Check for out of bound reads in xan_huffman_decode() xan: Fixed out of bound accesses in xan_unpack() motionpixels: Prevent calling init_vlc() with invalid parameters shorten: Fix out of bound writes in fix_bitshift() dsicinav: Check for out of bounds writes tiertexseqv: Check for out of bound reads quickdraw: Check for out of bound reads dsicinav: Check for out of bounds reads motionpixels: Fix the size of workspace buffers motionpixels: Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffer wmavoice: Check for corrupted extra data wmavoice: Check for out of bound writes xan: Prevent NULL dereferences with missing reference frame bink: Prevent NULL dereferences with missing reference frame wavpack: Reset internal state on corrupted blocks wmapro: Validate the number of audio channels before using it ... Conflicts: libavcodec/h264.c libavcodec/xan.c tests/ref/fate/motionpixels Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * motionpixels: decode only the 111 complete frames for fateJanne Grunau2011-10-072-2/+1
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * motionpixels: Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the ↵Laurent Aimar2011-10-071-1/+1
| | | | | | | | | | | | temporary buffer Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | fate: fix due to new yuv444 formatsMichael Niedermayer2011-10-035-0/+20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffer ↵Laurent Aimar2011-09-301-1/+1
| | | | | | | | | | | | used in motion pixels decoder. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: only test 10seconds of the g729 data, the reference files are too huge ↵Michael Niedermayer2011-09-303-24981/+2
| | | | | | | | | | | | otherwise. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: g729 testMichael Niedermayer2011-09-303-0/+26983
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-291-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) avconv: Reformat s16 volume adjustment. ARM: NEON optimised vector_fmac_scalar() dca: use vector_fmac_scalar from dsputil dsputil: add vector_fmac_scalar() latmenc: Fix private options vf_unsharp: store hsub/vsub in the filter context vf_unsharp: adopt a more natural order of params in apply_unsharp() vf_unsharp: rename method "unsharpen" to "apply_unsharp" vf_scale: apply the same transform to the aspect during init that is applied per frame vf_pad: fix "vsub" variable value computation vf_scale: add a "sar" variable lavfi: fix realloc size computation in avfilter_add_format() vsrc_color: use internal timebase lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config() graphparser: prefer void * over AVClass * for log contexts avfiltergraph: use meaningful error codes avconv: Initialize return value for codec copy path. fate: use 'run' helper for seek-test fate: remove seek-mpeg2reuse test Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080. ... Conflicts: doc/filters.texi libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/avfiltergraph.h libavfilter/graphparser.c libavfilter/vf_scale.c libavfilter/vsrc_color.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: use 'run' helper for seek-testMans Rullgard2011-09-281-1/+1
| | | | | | | | | | | | This is simpler, and the actual seek-test command is printed with V=1. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * fate: remove seek-mpeg2reuse testMans Rullgard2011-09-281-46/+0
| | | | | | | | | | | | The input file for this test is no longer generated. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * avconv: use different variables for decoded and filtered frame.Anton Khirnov2011-09-273-13/+0
| | | | | | | | | | | | | | | | | | | | | | Makes the code less obfuscated and fixes encoding one video stream to several outputs. Also use avcodec_alloc_frame() instead of allocating AVFrame on stack. Breaks me_threshold in avconv, as motion vectors aren't passed through lavfi. They could be copied manually, but I don't think this misfeature is useful enough to justify ugly hacks.
* | regression tests: add jpeg2000Michael Niedermayer2011-09-273-0/+13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-272-3/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (21 commits) fate: allow testing with libavfilter disabled x86: XOP/FMA4 CPU detection support ws_snd: misc cosmetic clean-ups ws_snd: remove the 2-bit ADPCM table and just subtract 2 instead. ws_snd: use memcpy() and memset() instead of loops ws_snd: use samples pointer for loop termination instead of a separate iterator variable. ws_snd: make sure number of channels is 1 ws_snd: add some checks to prevent buffer overread or overwrite. ws_snd: decode to AV_SAMPLE_FMT_U8 instead of S16. flacdec: fix buffer size checking in get_metadata_size() rtp: Simplify ff_rtp_get_payload_type rtpenc: Add a payload type private option rtp: Correct ff_rtp_get_payload_type documentation avconv: replace all fprintf() by av_log(). avconv: change av_log verbosity from ERROR to FATAL for fatal errors. cmdutils: replace fprintf() by av_log() avtools: parse loglevel before all the other options. oggdec: add support for Xiph's CELT codec sol: return error if av_get_packet() fails. cosmetics: reindent and pretty-print ... Conflicts: avconv.c cmdutils.c libavcodec/avcodec.h libavcodec/version.h libavformat/oggparsecelt.c libavformat/utils.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: allow testing with libavfilter disabledMans Rullgard2011-09-272-3/+6
| | | | | | | | | | | | | | This declares dependencies to skip tests using libavfilter when it is disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * adpcmenc: fix QT IMA ADPCM encoderBaptiste Coudurier2011-09-231-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| * adpcmdec: Fix QT IMA ADPCM decoderBaptiste Coudurier2011-09-233-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix -b -ab mixes with -b overriding the audio bitrateMichael Niedermayer2011-09-261-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | regtests: amv video encoder testMichael Niedermayer2011-09-253-0/+13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-243-10/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtp: factorize dynamic payload type fallback flvdec: Ignore the index if it's from a creator known to be different cmdutils: move grow_array out of #if CONFIG_AVFILTER avconv: actually set InputFile.rate_emu ratecontrol: update last_qscale_for sooner Fix unnecessary shift with 9/10bit vertical scaling prores: mark prores as intra-only in libavformat/utils.c:is_intra_only() prores: return more meaningful error values prores: improve error message wording prores: cosmetics: prettyprinting, drop useless parentheses prores: lowercase AVCodec name entry Conflicts: cmdutils.c libavcodec/proresdec_lgpl.c tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix unnecessary shift with 9/10bit vertical scalingKieran Kunhya2011-09-233-10/+10
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-232-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add LATM demuxer avplay: flush audio decoder with empty packets at EOF if the decoder has CODEC_CAP_DELAY set. 8svx/iff: fix decoding of compressed stereo 8svx files. 8svx: log an error message if output buffer is too small 8svx: check packet size before reading the initial sample value. 8svx: output 8-bit samples instead of 16-bit. 8svx: split delta decoding into a separate function. mp4: Don't read an empty Decoder Config Descriptor fate.sh: Ignore errors from rm command during cleanup. fate.sh: Run git-pull in quiet mode to avoid console spam. Apple ProRes decoder rtmp: Make the input FLV parser handle data cut at any point rv34: Check for invalid slices offsets eval: test isnan(sqrt(-1)) instead of just sqrt(-1) Conflicts: Changelog libavcodec/8svx.c libavcodec/proresdec.c libavcodec/version.h libavformat/iff.c libavformat/version.h tests/ref/fate/eval Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate.sh: Ignore errors from rm command during cleanup.Diego Biurrun2011-09-221-1/+1
| | | | | | | | | | The install directory being deleted might not be present if the build failed. This can lead to annoying error output if the FATE client is run as a cronjob.
| * fate.sh: Run git-pull in quiet mode to avoid console spam.Diego Biurrun2011-09-221-1/+1
| | | | | | | | Since fate.sh can be run from cron, silent commands are preferrable.
| * eval: test isnan(sqrt(-1)) instead of just sqrt(-1)Anton Khirnov2011-09-221-2/+2
| | | | | | | | sqrt(-1) returns "some NaN", it's not specified which exactly.
| * eval: implement not() expressionStefano Sabatini2011-09-191-0/+9
| |
| * eval: add sqrt function for computing the square rootStefano Sabatini2011-09-191-0/+6
| |
* | regtests: add a flashsv2 decoder test limited to keyframesMichael Niedermayer2011-09-203-1/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rematrix: dont use floats for int16 code.Michael Niedermayer2011-09-193-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add libswresample.Michael Niedermayer2011-09-194-10/+10
| | | | | | | | | | | | | | | | | | Similar to libswscale this does resampling and format convertion, just for audio instead of video. changing sampling rate, sample formats, channel layouts and sample packing all in one with a very simple public interface. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-174-7/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: add select filter oggdec: fix out of bound write in the ogg demuxer movenc: create an alternate group for each media type lavd: add libcdio-paranoia input device for audio CD grabbing rawdec: refactor private option for raw video demuxers pcmdec: use unique classes for all pcm demuxers. rawdec: g722 is always 1 channel/16kHz Conflicts: Changelog configure doc/filters.texi libavdevice/avdevice.h libavfilter/avfilter.h libavfilter/vf_select.c tests/ref/lavf/mov Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * movenc: create an alternate group for each media typeAnton Khirnov2011-09-173-6/+6
| | | | | | | | Partially fixes bug 44.
| * rawdec: g722 is always 1 channel/16kHzAnton Khirnov2011-09-171-1/+1
| |
OpenPOWER on IntegriCloud