aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-2021-142/+117
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avcodec: add a cook parser to get subpacket duration FATE: allow lavf tests to alter input parameters FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum test FATE: replace the acodec-g726 test with 4 new encode/decode tests FATE: replace current g722 encoding tests with an encode/decode test FATE: add a pattern rule for generating asynth wav files FATE: optionally write a WAVE header in audiogen avutil: add audio fifo buffer Conflicts: doc/APIchanges libavcodec/version.h libavutil/avutil.h tests/Makefile tests/codec-regression.sh tests/fate/voice.mak tests/lavf-regression.sh tests/ref/acodec/g722 tests/ref/acodec/g726 tests/ref/acodec/pcm_s24daud tests/ref/lavf/dv_fmt tests/ref/lavf/gxf tests/ref/lavf/mxf tests/ref/lavf/mxf_d10 tests/ref/seek/lavf_dv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: allow lavf tests to alter input parametersJustin Ruggles2012-04-206-36/+36
| | | | | | | | Change some lavf tests to avoid resampling and channel mixing.
| * FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum testJustin Ruggles2012-04-205-34/+6
| | | | | | | | | | This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.
| * FATE: replace the acodec-g726 test with 4 new encode/decode testsJustin Ruggles2012-04-208-62/+27
| | | | | | | | | | | | Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
| * FATE: replace current g722 encoding tests with an encode/decode testJustin Ruggles2012-04-206-17/+9
| | | | | | | | | | | | Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
| * FATE: add a pattern rule for generating asynth wav filesJustin Ruggles2012-04-201-1/+4
| |
| * FATE: optionally write a WAVE header in audiogenJustin Ruggles2012-04-201-8/+48
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-195-11/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dv: Initialize encoder tables during encoder init. dv: Replace some magic numbers by the appropriate #define. FATE: pass the decoded output format and audio source file to enc_dec_pcm FATE: specify the input format when decoding in enc_dec_pcm() x86inc: support AVX abstraction for 2-operand instructions configure: detect PGI compiler and set suitable flags avconv: check for an incompatible changing channel layout avio: make AVIOContext.av_class pointer to const nutdec: add malloc check and fix const to non-const conversion warnings Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: pass the decoded output format and audio source file to enc_dec_pcmJustin Ruggles2012-04-183-8/+16
| | | | | | | | | | | | | | This will allow decoding to md5 and doing a diff comparison to a reference checksum instead of a fuzzy stddev or oneoff comparison. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * FATE: specify the input format when decoding in enc_dec_pcm()Justin Ruggles2012-04-181-1/+1
| | | | | | | | | | | | The output format is not always the same as the file extension, which is sometimes required for correct probing. We can avoid probing by specifying the format since it is already known.
* | fate: libavutil tests do not require SAMPLES.Nicolas George2012-04-172-1/+1
| |
* | ffmpeg: make max frames work again, after mergeMichael Niedermayer2012-04-171-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_thumbnail: colorspace changed from yv12 to rgbMichael Niedermayer2012-04-171-1/+1
| | | | | | | | | | | | | | Not fully investigated but thumbnail supports rgb and not yv12 so this is better ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: fix vp8 size change regressionMichael Niedermayer2012-04-171-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: gif: change checksum to bgr8 from rgb8 as thats what gets selected nowMichael Niedermayer2012-04-171-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3b266da3d35f3f7a61258b78384dfe920d875d29'Michael Niedermayer2012-04-174-57/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3b266da3d35f3f7a61258b78384dfe920d875d29': avconv: add support for complex filtergraphs. avconv: make filtergraphs global. avconv: move filtered_frame from InputStream to OutputStream. avconv: don't set output width/height directly from input value. avconv: move resample_{width,height,pix_fmt} to InputStream. avconv: remove a useless variable from OutputStream. avconv: get output pixel format from lavfi. graphparser: fix the order in which unlabeled input links are returned. avconv: change {input,output}_{streams,files} into arrays of pointers. avconv: don't pass input/output streams to some functions. Conflicts: cmdutils.c cmdutils.h doc/ffmpeg.texi ffmpeg.c ffplay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avconv: get output pixel format from lavfi.Anton Khirnov2012-04-151-3/+3
| | | | | | | | | | | | | | This way we don't require a clearly defined corresponding input stream. The result for the xwd test changes because rgb24 is now chosen instead of bgra.
* | Set bits_per_coded_sample when encoding Microsoft Video-1.Carl Eugen Hoyos2012-04-152-2/+2
| | | | | | | | Fixes ticket #1193.
* | tiny_psnr: reindent after last commit.Nicolas George2012-04-151-17/+16
| |
* | tiny_psnr: support unseekable raw files.Nicolas George2012-04-151-2/+6
| | | | | | | | | | | | | | If either one of the files if not seekable, do not try to read headers. It allows to use it with pipes on whole rawvideo data.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-141-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vsrc_buffer: fix check from 7ae7c41. libxvid: Reorder functions to avoid forward declarations; make functions static. libxvid: drop some pointless dead code wmal: vertical alignment cosmetics wmal: Warn about missing bitstream splicing feature and ask for sample. wmal: Skip seekable_frame_in_packet. wmal: Drop unused variable num_possible_block_size. avfiltergraph: make the AVFilterInOut alloc/free API public graphparser: allow specifying sws flags in the graph description. graphparser: fix the order of connecting unlabeled links. graphparser: add avfilter_graph_parse2(). vsrc_buffer: allow using a NULL buffer to signal EOF. swscale: handle last pixel if lines have an odd width. qdm2: fix a dubious pointer cast WMAL: Do not try to read rawpcm coefficients if bits is invalid mov: Fix detecting there is no sync sample. tiffdec: K&R cosmetics avf: has_duration does not check the global one dsputil: fix optimized emu_edge function on Win64. Conflicts: doc/APIchanges libavcodec/libxvid_rc.c libavcodec/libxvidff.c libavcodec/tiff.c libavcodec/wmalosslessdec.c libavfilter/avfiltergraph.h libavfilter/graphparser.c libavfilter/version.h libavfilter/vsrc_buffer.c libswscale/output.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | latmenc: copy pce config from proper location.Reimar Döffinger2012-04-121-3/+3
| | | | | | | | | | | | | | | | | | For the FATE test sample used, this only avoids a warning message. However for other samples like al05_44.mp4 the converted file can be played only after this fix. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | latmenc: fix muxing of byte-aligned DSE.Reimar Döffinger2012-04-122-0/+7
| | | | | | | | | | | | | | | | This will only work for DSEs that are first in a packet, but that is enough to fix handling of the reference files in fate-suite/aac (though most of them still have other issues). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavf: always call avio_flush in av_write_trailer.Reimar Döffinger2012-04-122-6/+6
| | | | | | | | | | | | | | | | | | | | Otherwise for muxers like e.g. latmenc that never call avio_flush (and do not have a write_trailer function) a part of the data will always be missing. Also update references for the voc muxer, which was also buggy before and did not write out all data. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-106-7/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) rv40dsp x86: use only one register, for both increment and loop counter rv40dsp: implement prescaled versions for biweight. avconv: use default channel layouts when they are unknown avconv: parse channel layout string nutdec: K&R formatting cosmetics vda: Signal 4 byte NAL headers to the decoder regardless of what's in the extradata mem: Consistently return NULL for av_malloc(0) vf_overlay: implement poll_frame() vf_scale: support named constants for sws flags. lavc doxy: add all installed headers to doxy groups. lavc doxy: add avfft to the main lavc group. lavc doxy: add remaining avcodec.h functions to a misc doxygen group. lavc doxy: add AVPicture functions to a doxy group. lavc doxy: add resampling functions to a doxy group. lavc doxy: replace \ with / lavc doxy: add encoding functions to a doxy group. lavc doxy: add decoding functions to a doxy group. lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO} lavc doxy: add AVPacket-related stuff to a separate doxy group. lavc doxy: add core functions/definitions to a doxy group. ... Conflicts: ffmpeg.c libavcodec/avcodec.h libavcodec/vda.c libavcodec/x86/rv40dsp.asm libavfilter/vf_scale.c libavformat/nutdec.c libavutil/mem.c tests/ref/acodec/pcm_s24daud Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avconv: use default channel layouts when they are unknownJustin Ruggles2012-04-105-5/+5
| | | | | | | | | | | | | | | | | | If either input or output layout is known and the channel counts match, use the known layout for both. Otherwise choose the default layout based on av_get_default_channel_layout(). Changed some FATE references due to some WAVE files now having a non-zero channel mask.
* | Fix gif regression test on big-endian.Reimar Döffinger2012-04-092-14/+14
| | | | | | | | | | | | | | Decode output must be converted to rgb24 to avoid CRC difference due to palette being stored in machine endianness. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add gif and xbm regression tests.Reimar Döffinger2012-04-093-0/+37
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vf_scale: ensure the palette is set for output.Reimar Döffinger2012-04-096-8/+8
| | | | | | | | | | | | | | | | Since those are pseudo-palette formats, swscale does not write into data[1], swscale must initialize the palette properly itself. This lead to frames that actually decoded as all-gray before. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add v408 codec regression test.Reimar Döffinger2012-04-093-0/+13
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add roqaudio regression test.Reimar Döffinger2012-04-092-0/+9
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Allow running fate-wmv8-x8intra manually.Reimar Döffinger2012-04-081-1/+2
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Allow manually running disabled FATE tests.Reimar Döffinger2012-04-081-1/+1
| | | | | | | | | | | | | | | | This makes it easy to allow people to run tests that are disabled (e.g. because they are broken) without having to hack Makefiles by adding the test name to FATE_TESTS-no. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Update reference for disabled fate-wmv8-x8intra test to new format.Reimar Döffinger2012-04-081-473/+474
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add nellymoser "fuzzy" FATE test.Reimar Döffinger2012-04-085-2/+16
| | | | | | | | | | | | | | | | Since we cannot specify decode parameters (and also because it is better in principle) the 1-channel reference file needs to be enabled, too. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Fixes for third argument do_image_formats.Reimar Döffinger2012-04-081-4/+4
| | | | | | | | | | | | | | | | | | Remove it from two places where it is useless, do not apply it to the encode command and make it apply to the output instead of the input of the decode command. Should fix the dpx test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Do not decode the mp3 data in lavf test since that is not bit-exact.Reimar Döffinger2012-04-072-2/+2
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | dcaenc: Allow encoding without specifying a channel_layout.Reimar Döffinger2012-04-071-1/+1
| | | | | | | | | | | | | | It will print a warning, making the behaviour consistent with the AC3 encoder. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Test mp3 container muxing (and thus ID3 writing).Reimar Döffinger2012-04-072-0/+7
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Fix DCA regression test to work across architectures.Reimar Döffinger2012-04-073-2/+7
| | | | | | | | | | | | Only the decoding step is not bit-exact, so avoid checksum for that. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | fate: try to force le for the dpx decoder side tooMichael Niedermayer2012-04-071-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add AAC FATE encode tests.Reimar Döffinger2012-04-072-2/+20
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Remove AAC and nellymoser tests that do not work.Reimar Döffinger2012-04-073-21/+2
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add tests for audio encoders: aac, dca, ra144 and nellymoser.Reimar Döffinger2012-04-076-1/+45
| | | | | | | | | | | | | | | | | | | | | | The PSNR values are of varying usefulness, though at least the DTS and AAC ones are useful with the right shift value. Note: due to usage of floats some of these may fail on other architectures. In that case they should be converted into a CMD = stddev FATE test, but it seems useful to try this way first. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | adpcmenc: fix encoded s_0 value.Michael Niedermayer2012-04-071-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: try to fix >8bit dpx reg testMichael Niedermayer2012-04-071-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiny_psnr: allow searching for optimal shift value.Reimar Döffinger2012-04-061-17/+39
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add regression test for mov rtp hinting.Reimar Döffinger2012-04-062-0/+4
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | dpxenc: also test 10 and 16 bit formats.Reimar Döffinger2012-04-062-0/+8
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | fix fate tests after 76c79aa28fc8cf0bfe52915317a3cfc72383d0efMichael Niedermayer2012-04-066-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>