Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-09-12asfenc: properly write index informationRamiro Polla
The index must take into account the pre-roll time and must seek backwards, not forwards. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit bd603494f905a7db92fc04eab9c0f6793b0ed7d1) Conflicts: tests/ref/lavf/asf tests/ref/seek/lavf_asf Fixes Ticket1563 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-03Merge remote-tracking branch 'qatar/release/0.8' into release/0.10Michael Niedermayer
* qatar/release/0.8: (24 commits) apedec: check bits <= 32. truemotion: forbid invalid VLC bitsizes and token values. mov: don't overwrite existing indexes. truemotion2: handle out-of-frame motion vectors through edge extension. lzw: prevent buffer overreads. truemotion2: convert packet header reading to bytestream2. lagarith: fix buffer overreads. raw: forward avpicture_fill() error code in raw_decode(). vc1: Do not read from array if index is invalid. utvideo: port header reading to bytestream2. bytestream: add more unchecked variants for bytestream2 API bytestream: K&R formatting cosmetics bytestream: Add bytestream2 writing API. aac: Reset PS parameters on header decode failure. mov: Do not read past the end of the ctts_data table. xwma: Validate channels and bits_per_coded_sample. asf: reset side data elements on packet copy. vqa: check palette chunk size before reading data. vqavideo: port to bytestream2 API wmavoice: fix stack overread. ... Conflicts: cmdutils.c cmdutils.h libavcodec/lagarith.c libavcodec/truemotion2.c libavcodec/vqavideo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-16Merge remote-tracking branch 'qatar/release/0.8' into release/0.10Michael Niedermayer
* qatar/release/0.8: (154 commits) Update Changelog for the 0.8.1 Release dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2 dca: don't use av_clip_uintp2(). snow: check reference frame indices. snow: reject unsupported chroma shifts. xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns. h264: increase reference poc list from 16 to 32. h264: stricter reference limit enforcement. h264: improve parsing of broken AVC SPS Replace computations of remaining bits with calls to get_bits_left(). png: convert to bytestream2 API. roqvideo: convert to bytestream2 API. smc: port to bytestream2 API. tgq: convert to bytestream2 API. algmm: convert to bytestream2 API. jvdec: unbreak video decoding h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction. libx264: add 'stats' private option for setting 2pass stats filename. libx264: fix help text for slice-max-size option. avconv: reindent ... Conflicts: Changelog RELEASE avconv.c doc/APIchanges ffplay.c libavcodec/Makefile libavcodec/aacdec.c libavcodec/alsdec.c libavcodec/atrac3.c libavcodec/avcodec.h libavcodec/dvdata.c libavcodec/fraps.c libavcodec/golomb.h libavcodec/h264.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_direct.c libavcodec/h264_parser.c libavcodec/h264_ps.c libavcodec/h264idct_template.c libavcodec/indeo3.c libavcodec/kgv1dec.c libavcodec/kmvc.c libavcodec/mjpegbdec.c libavcodec/mmvideo.c libavcodec/mpegaudiodec.c libavcodec/mpegvideo.h libavcodec/options.c libavcodec/pngdec.c libavcodec/roqvideodec.c libavcodec/shorten.c libavcodec/svq3.c libavcodec/utils.c libavcodec/version.h libavcodec/wmadec.c libavcodec/xxan.c libavformat/Makefile libavformat/asfdec.c libavformat/dv.c libavformat/mov.c libavformat/nsvdec.c libavformat/utils.c libavformat/version.h libavutil/avutil.h libavutil/error.c libavutil/error.h libswscale/swscale.c libswscale/utils.c libswscale/x86/swscale_template.c tests/ref/acodec/g722 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-06g722: Fix the QMF scalingMartin Storsjö
This fixes clipping if the encoder input used the full 16 bit input range (samples with a magnitude below 16383 worked fine). The filtered subband samples should be 15 bit maximum, while the code earlier produced them scaled to 16 bit. This makes the decoder output have double the magnitude compared to before. The spec reference samples doesn't test the QMF at all, which was why this part slipped past initially. (cherry picked from commit b087ce2bee81db8cc5caffb8f0a4f6c7c92a30fe) Signed-off-by: Martin Storsjö <martin@martin.st>
2012-03-05wmaenc: fix m/s stereo encoding for the first frameJustin Ruggles
We need to set ms_stereo in encode_init() in order to avoid incorrectly encoding the first frame as non-m/s while flagging it as m/s. Fixes an uncomfortable pop in the left channel at the start of playback. CC:libav-stable@libav.org (cherry picked from commit 51ddf35c9017018e58c15275ff5b129647a0c94d) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-01-24movenc: Decrease default chunk merge limit to 1mb.Michael Niedermayer
This reduces the delay when opening the video with quicktime. Idea-by: Maksym Veremeyenko <verem@m1stereo.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-23Revert "movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs"Michael Niedermayer
This reverts commit 8e8c51318c1fe4ae61de578f0823b88aa3fe8222. Fixes Ticket873 Conflicts: tests/ref/acodec/pcm_s16be tests/ref/acodec/pcm_s24be tests/ref/acodec/pcm_s32be tests/ref/acodec/pcm_s8 tests/ref/lavf/mov Approved-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-21Add a --valgrind configure option.Reimar Döffinger
If specified runs "make fate" through valgrind using the given valgrind binary. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: mpeg12: check for available bits to avoid an infinite loop fate: add some shorthands to run groups of tests fate: Give some tests more sensible names. cosmetics: Rename ffsink to avsink. Conflicts: avconv.c cmdutils.c cmdutils.h ffmpeg.c ffplay.c tests/fate/audio.mak tests/fate/demux.mak tests/fate/dpcm.mak tests/fate/image.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/microsoft.mak tests/fate/pcm.mak tests/fate/real.mak tests/fate/screen.mak tests/fate/video.mak tests/fate/voice.mak tests/fate/wma.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-19Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avprobe, cmdutils: K&R formatting cosmetics tests: K&R formatting cosmetics for test programs lavf: free packets for muxers implementing interleave_packet(). lavf: fix and extend av_interleaved_write_frame() doxy. mov: Remove dead stores for spherical coordinates for channel position. error_resilience: K&R formatting cosmetics RELEASE_NOTES: mention hiding private symbols in shared builds. RELEASE_NOTES: mention some notable API changes in 0.8 Conflicts: cmdutils.h doc/RELEASE_NOTES ffprobe.c libavcodec/error_resilience.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-19fate: add some shorthands to run groups of testsDiego Biurrun
2012-01-19fate: Give some tests more sensible names.Diego Biurrun
2012-01-19tests: K&R formatting cosmetics for test programsGaurav Narula
2012-01-17lavu/eval: add if() and ifnot() eval functionsStefano Sabatini
They allow to implement the if/then/else logic, which cannot be implemented otherwise. For example the expression: A*B + not(A)*C always evaluates to NaN if B is NaN, even in the case where A is 0.
2012-01-17dpxenc: Dont store lavc indent when bitexact is set.Michael Niedermayer
This avoids fate breakage from bumping version. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-17fate: add GEN tag for mapchan sw tests.Clément Bœsch
2012-01-16Remove extraneous newline from dpx reference which breaks FATE.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-16Add dpx encoding regression test.Carl Eugen Hoyos
2012-01-16Add gray16 and rgb48 png encoding regression tests.Carl Eugen Hoyos
2012-01-16Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fate: split ADPCM and DPCM test references into separate files. mov, mxfdec: Employ more meaningful return values. lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer() wavpack: fix clipping for 32-bit lossy mode vb: Use bytestream2 functions Conflicts: libavcodec/utils.c libavcodec/vb.c libavformat/mxfdec.c tests/fate/dpcm.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-16fate: split ADPCM and DPCM test references into separate files.Diego Biurrun
2012-01-15Revert "buildsystem: add $EXESUF to the used tool for fate"Michael Niedermayer
This reverts commit 668a74e808dad06b15549ed05aa3a879f76c17c3. 10l, this change was unneeded, target_exec can be used to achive the same.
2012-01-15buildsystem: add $EXESUF to the used tool for fateMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: sgidec: Use bytestream2 functions to prevent buffer overreads. cosmetics: Move static and inline attributes to more standard places. configure: provide libavfilter/version.h header to get_version() swscale: change yuv2yuvX code to use cpuflag(). libx264: Don't leave max_b_frames as -1 if the user didn't set it FATE: convert output to rgba for the targa tests which currently output pal8 fate: add missing reference files for targa tests in 9c2f9b0e2 FATE: enable the 2 remaining targa conformance suite tests targa: add support for rgb555 palette FATE: fix targa tests on big-endian systems Conflicts: libavcodec/sgidec.c libavcodec/targa.c libswscale/x86/output.asm tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-14FATE: fix targa tests on big-endian systemsJustin Ruggles
2012-01-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: FATE: add tests for targa ARM: fix Thumb-mode simple_idct_arm ARM: 4-byte align start of all asm functions rgb2rgb: rgb12to15() swscale-test: fix stack overread. swscale: fix invalid conversions and memory problems. cabac: split cabac.h into declarations and function definitions cabac: Mark ff_h264_mps_state array as static, it is only used within cabac.c. cabac: Remove ff_h264_lps_state array. Conflicts: libswscale/rgb2rgb.h libswscale/swscale_unscaled.c tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-14FATE: convert output to rgba for the targa tests which currently output pal8Justin Ruggles
fixes the tests on big-endian systems
2012-01-14fate: add missing reference files for targa tests in 9c2f9b0e2Janne Grunau
Fixes fate-targa-conformance-CCM8 and fate-targa-conformance-UCM8.
2012-01-14FATE: enable the 2 remaining targa conformance suite testsJustin Ruggles
2012-01-14FATE: fix targa tests on big-endian systemsJustin Ruggles
2012-01-14FATE: add tests for targaJustin Ruggles
Based on a patch by Oana Stratulat <oanaandreeastratulat@gmail.com>
2012-01-11Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (22 commits) rv34: frame-level multi-threading mpegvideo: claim ownership of referenced pictures aacsbr: prevent out of bounds memcpy(). ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM sierravmd: fix audio pts bethsoftvideo: Use bytestream2 functions to prevent buffer overreads. bmpenc: support for PIX_FMT_RGB444 swscale: fix crash in fast_bilinear code when compiled with -mred-zone. swscale: specify register type. rv34: use get_bits_left() avconv: reinitialize the filtergraph on resolution change. vsrc_buffer: error on changing frame parameters. avconv: fix -copyinkf. fate: Update file checksums after the mov muxer change in a78dbada55d6 movenc: Don't store a nonzero creation time if nothing was set by the caller bmpdec: support for rgb444 with bitfields compression rgb2rgb: allow conversion for <15 bpp doc: fix stray reference to FFmpeg v4l2: use C99 struct initializer v4l2: poll the file descriptor ... Conflicts: avconv.c libavcodec/aacsbr.c libavcodec/bethsoftvideo.c libavcodec/kmvc.c libavdevice/v4l2.c libavfilter/vsrc_buffer.c libswscale/swscale_unscaled.c libswscale/x86/input.asm tests/ref/acodec/alac tests/ref/acodec/pcm_s16be tests/ref/acodec/pcm_s24be tests/ref/acodec/pcm_s32be tests/ref/acodec/pcm_s8 tests/ref/lavf/mov tests/ref/vsynth1/dnxhd_1080i tests/ref/vsynth1/mpeg4 tests/ref/vsynth1/qtrle tests/ref/vsynth1/svq1 tests/ref/vsynth2/dnxhd_1080i tests/ref/vsynth2/mpeg4 tests/ref/vsynth2/qtrle tests/ref/vsynth2/svq1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-10fate: Update file checksums after the mov muxer change in a78dbada55d6Martin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-10fate: Disable fate-wmv8-x8intraMichael Niedermayer
This test does not work on all platforms and until it does it just hides new failures, which is really bad. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-10Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fate: Add tests for more AAC features. aacps: Add missing newline in error message. fate: Add tests for vc1/wmapro in ism. aacdec: Add a fate test for 5.1 channel SBR. aacdec: Turn off PS for multichannel files that use PCE based configs. cabac: remove put_cabac_u/ueg from cabac-test. swscale: RGB4444 and BGR444 input FATE: add test for xWMA demuxer. FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder. mpegaudiodec: optimized iMDCT transform mpegaudiodec: change imdct window arrangment for better pointer alignment mpegaudiodec: move imdct and windowing function to mpegaudiodsp mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm. FATE: test to exercise WTV demuxer. mjpegdec: K&R formatting cosmetics swscale: K&R formatting cosmetics for code examples swscale: K&R reformatting cosmetics for header files FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised. Conflicts: libavcodec/cabac.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec.c libavcodec/mpegaudiodsp.c libavcodec/mpegaudiodsp.h libavcodec/mpegaudiodsp_template.c libavcodec/x86/Makefile libavcodec/x86/imdct36_sse.asm libavcodec/x86/mpegaudiodec_mmx.c libswscale/swscale-test.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c tests/fate/demux.mak tests/fate/microsoft.mak tests/fate/video.mak tests/fate/wma.mak tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-09fate: Add tests for more AAC features.Gaurav Narula
al15_44 uses independent coupling. al18_44 uses PNS (perceptual noise substitution). am05_44 uses main prediction and independent coupling. Signed-off-by: Alex Converse <alex.converse@gmail.com>
2012-01-09fate: Add tests for vc1/wmapro in ism.Alex Converse
2012-01-09aacdec: Add a fate test for 5.1 channel SBR.Alex Converse
2012-01-09swscale: RGB4444 and BGR444 inputPaul B Mahol
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-01-09fate: add bitexact and idct to x8intraMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-09FATE: add test for xWMA demuxer.Mike Melanson
(Does not attempt to decode percetual audio data inside.) Code coverage: libavformat/xwma.c: 3% -> 75% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-01-09FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.Mike Melanson
(Don't attempt to decode JPEG data.) Code coverage: libavformat/smjpeg.c: 0% -> 69% libavcodec/adpcm.c: 0% -> 10% (fresh run); 92.4% -> 93% following a FATE run Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-01-09FATE: test to exercise WTV demuxer.Mike Melanson
Does not attempt to decode perceptual codecs inside. Code coverage: libavformat/wtv.c: 0% -> 71% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-01-09FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is ↵Mike Melanson
exercised. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-01-08fate: add generic rules for most of the remaining tests/fate/*.mak files.Clément Bœsch
2012-01-08Add wmv8-x8intra fate test.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-01-08fate: enable wc4-xan test, the sample is now on our rsync server.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-08Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (29 commits) cabac: Move code only used within the CABAC test program into the test program. vp56: Drop unnecessary cabac.h #include. h264-test: Initialize AVCodecContext.av_class. build: Skip compiling network.h and rtsp.h if networking is not enabled. cosmetics: drop some pointless parentheses Disable annoying warning without changing behavior faq: Solutions for common problems with sample paths when running FATE. avcodec: attempt to clarify the CODEC_CAP_DELAY documentation avcodec: fix avcodec_encode_audio() documentation. FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside. vqf: recognize more metadata chunks FATE test: BMV demuxer and associated video and audio decoders. FATE: indeo4 video decoder test. FATE: update xxan-wc4 test to a sample with more code coverage. Change the recent h264_mp4toannexb bitstream filter test to output to an elementary stream rather than a program stream. g722enc: validate AVCodecContext.trellis g722enc: set frame_size, and also handle an odd number of input samples g722enc: split encoding into separate functions for trellis vs. no trellis mpegaudiodec: Use clearer pointer math tta: Fix returned error code at EOF ... Conflicts: libavcodec/h264.c libavcodec/indeo3.c libavcodec/interplayvideo.c libavcodec/ivi_common.c libavcodec/libxvidff.c libavcodec/mpegvideo.c libavcodec/ppc/mpegvideo_altivec.c libavcodec/tta.c libavcodec/utils.c libavfilter/vsrc_buffer.c libavformat/Makefile tests/fate/indeo.mak tests/ref/acodec/g722 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-07FATE: xmv-demux test; exercise the XMV demuxer without decoding the ↵Mike Melanson
perceptual codecs inside. Code coverage: libavformat/xmv.c: 3% -> 91% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-01-07FATE test: BMV demuxer and associated video and audio decoders.Mike Melanson
Code coverage: libavcodec/bmv.c: 0% -> 75% libavformat/bmv.c: 0% -> 85% Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>