summaryrefslogtreecommitdiff
path: root/tests/regression-funcs.sh
Commit message (Collapse)AuthorAge
* fate: use PROGSSUFChristophe Gisquet2015-10-16
| | | | | | | May require exporting in the shell var PROGSUF when invoking a shell script. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/regression-funcs: Remove hardcoded threads 1Michael Niedermayer2015-01-03
| | | | | | | | | | | The tests which use encoders which either use slices or store the encoder thread count keep a hardcoded value of 1 This will help test more threading code like in filters Found-by: ubitux Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52'Michael Niedermayer2014-05-15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52': lavf: add AVFMT_FLAG_BITEXACT. Conflicts: doc/APIchanges libavformat/avformat.h libavformat/flacenc.c libavformat/movenc.c libavformat/oggenc.c libavformat/options_table.h libavformat/version.h tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add AVFMT_FLAG_BITEXACT.Anton Khirnov2014-05-15
| | | | | | | | | | | | | | | | Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's codec context. Using codec options inside lavf is fragile and can easily break when the muxing codec context is not the encoding context.
* | Fix TARGET_SAMPLES and TARGET_PATH for some fate tests.Carl Eugen Hoyos2014-03-18
| | | | | | | | | | This allows running more fate tests on remote targets without the source tree.
* | fate: remove unused functionsMichael Niedermayer2012-05-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725'Michael Niedermayer2012-05-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725': fate: fix acodec/vsynth tests for make 3.81 pcm_mpeg: fix number of consumed bytes to include the header. avfilter: include required header file avfilter.h in video.h x86: Avoid movs on BUTTERFLYPS when in AVX mode x86: use new schema for ASM macros fate: convert codec-regression.sh to makefile rules fate: allow tests to specify unit size for psnr comparison fate: teach videogen/rotozoom to output a single raw video stream http: Add support for reusing the http socket for subsequent requests http: Add support for using persistent connections Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: convert codec-regression.sh to makefile rulesMans Rullgard2012-05-29
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * fate: remove unused code from regressions-funcs.shMans Rullgard2012-05-18
| | | | | | | | | | | | | | The only uses of the do_avconv_nomd5() function were removed in 85cf49f. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | tests and tools: cleanup ffmpeg referenceMichael Niedermayer2012-05-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Work around non-standard wc implementations at more places fate: work around non-standard wc implementations x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions. ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16 fate: use standard diff options tta: Fix comment about channel number; TTA supports >2 channels. avfilter: Move ff_get_ref_perms_string() to where it is used. build: Add 'check' target to run all compile and test targets. indeo3: validate new frame size before resetting decoder indeo3: when freeing buffers, set pointers referencing them to NULL as well indeo3: initialise pixel planes on allocation indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder fate: rename psx-str-v3-mdec to mdec-v3 fate: convert psx-str to a demuxer test lavf: add mdec to is_intra_only() list Conflicts: doc/developer.texi libavcodec/indeo3.c libavfilter/video.c libavformat/utils.c tests/fate/demux.mak tests/fate/video.mak tests/lavf-regression.sh tests/ref/vsynth1/cljr tests/ref/vsynth1/ffvhuff tests/ref/vsynth2/cljr tests/ref/vsynth2/ffvhuff Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: work around non-standard wc implementationsMans Rullgard2012-05-16
| | | | | | | | | | | | | | | | On some systems, the wc command prints spaces before the first number causing mismatches with the test references. Using the output of wc as arguments to echo removes any extra whitespace. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Get rid of tests/data/asynth-%.sw rule.Reimar Döffinger2012-04-23
| | | | | | | | | | | | | | This also avoids an issue with parallel make in some cases never building asynth-16000-1.sw. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add nellymoser "fuzzy" FATE test.Reimar Döffinger2012-04-08
| | | | | | | | | | | | | | | | 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>
* | Fix DCA regression test to work across architectures.Reimar Döffinger2012-04-07
| | | | | | | | | | | | Only the decoding step is not bit-exact, so avoid checksum for that. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add tests for audio encoders: aac, dca, ra144 and nellymoser.Reimar Döffinger2012-04-07
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: SBR DSP: fix SSE code to not use SSE2 instructions. cpu: initialize mask to -1, so that by default, optimizations are used. error_resilience: initialize s->block_index[]. svq3: protect against negative quantizers. Don't use ff_cropTbl[] for IDCT. swscale: make filterPos 32bit. FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option. avconv: add -cpuflags option for setting supported cpuflags. cpu: add av_set_cpu_flags_mask(). libx264: Allow overriding the sliced threads option avconv: fix counting encoded video size. Conflicts: doc/APIchanges doc/fate.texi doc/ffmpeg.texi ffmpeg.c libavcodec/h264idct_template.c libavcodec/svq3.c libavutil/avutil.h libavutil/cpu.c libavutil/cpu.h libswscale/swscale.c tests/Makefile tests/fate-run.sh tests/regression-funcs.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.Anton Khirnov2012-03-06
| |
| * FATE: remove a bunch of useless -vsync 0Anton Khirnov2012-02-26
| | | | | | | | No changes in the test results.
* | Add muxer test based on stream-copy from FATE sample.Reimar Döffinger2012-02-18
| | | | | | | | | | | | This should test muxing Theora into Ogg. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Run zmbv regression without md5sum.Reimar Döffinger2011-12-10
| | | | | | | | | | | | | | Judging by the differences this should make all FATE machines pass the test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-09
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Revert "avconv: use stream copy by default when possible."Anton Khirnov2011-08-16
| | | | | | | | | | | | | | This reverts commit 4f4f33844a7369e5579912cc02f3c5376b1e6872. This commit has some ugly corner cases and needs to be discussed further.
| * avconv: use stream copy by default when possible.Anton Khirnov2011-08-16
| |
* | fate: more cases of avconv that should be conditionalMichael Niedermayer2011-08-16
|/ | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Make a copy of ffmpeg under a new name -- avconv.Anton Khirnov2011-08-12
| | | | | | | It will be further developed with a few incompatible changes. ffmpeg.c will stay as is for some time, so any scripts using it won't be broken.
* fate: remove output redirections from old regtest scriptsMans Rullgard2011-06-21
| | | | | | | | All tests are run through the fate-run.sh script which already sets up redirections. Using the outputs set there simplifies things somewhat. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: don't abuse a global for passing samplerate from input to outputAnton Khirnov2011-06-15
| | | | | | | It's broken with multiple files or audio streams. This removes the default samplerate of 44100 for raw input, hence all the FATE changes.
* H264/MPEG frame-level multi-threading.Alexander Strange2011-06-02
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* fate: disable threading for encodingMans Rullgard2011-05-20
| | | | | | | | This explicitly disables threading for encoding as slices are otherwise automatically activated. This should be dropped once option resetting between files is fully implemented. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: remove do_ffmpeg_nocheck functionMans Rullgard2011-05-18
| | | | | | | | This function is essentially an alias for run_ffmpeg and is only used in one place. This patch removes the function and replaces the call with the equivalent (simpler) run_ffmpeg call. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: do not collect -benchmark outputMans Rullgard2011-05-18
| | | | | | | The old regtest scripts pass -benchmark and collect the utime values. As these values are never used, this machinery can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* regtest: separate flags for encoding and decodingMans Rullgard2011-05-09
| | | | | | | | This separates encoding and decoding flags, and passes them together with the related file argument instead of all at the start of the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* regtest: simplify encoding functionsMans Rullgard2011-05-08
| | | | | | | | The video encoding options were needlessly split in two parameters which are merged. The do_audio_encoding function did not use its second argument, so this can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: simplify regression-funcs.shLuca Barbato2011-03-23
| | | | Factor ffmpeg calls using run_ffmpeg()
* fate: add support for multithread testingLuca Barbato2011-03-23
| | | | Add a THREADS variable to fate calls.
* fate: make lavfi tests output only md5Mans Rullgard2011-01-22
| | | | | | | Instead of saving huge raw files, use the md5: output pseudo-protocol to calculate the checksum of the file directly. This is especially useful when testing on remote targets as it avoids transferring 3.6GB over the network.
* fate: print commands being executed with V=1Måns Rullgård2010-09-23
| | | | Originally committed as revision 25161 to svn://svn.ffmpeg.org/ffmpeg/trunk
* regtest: simplify cleanup after each testMåns Rullgård2010-07-21
| | | | Originally committed as revision 24396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change names of regtest output files to closer match the reference filesMåns Rullgård2010-07-08
| | | | Originally committed as revision 24127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* regtest: move md5sum wrappers into separate fileMåns Rullgård2010-03-08
| | | | | | | | ffserver-regression.sh doesn't need anything else from regression-funcs.sh, and sourcing the entire file there breaks things. Originally committed as revision 22304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused argument to test scriptsMåns Rullgård2010-03-02
| | | | Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Place regression test output files in subdirs per familyMåns Rullgård2010-03-02
| | | | Originally committed as revision 22155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use stripped executable in regression testsMåns Rullgård2010-02-17
| | | | Originally committed as revision 21870 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate audio-only tests so they are only run onceMåns Rullgård2010-01-30
| | | | Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* regtest: suppress console output from testsMåns Rullgård2010-01-16
| | | | | | | | | This disables all console output from the *-regression.sh scripts by default. If the V environment variable is set to 1, ffmpeg commands are printed before being run. If V is greater than 1, ffmpeg output goes to the console, otherwise stderr is redirected to a file. Originally committed as revision 21253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace ` ` syntax by $( ) in regression test shell scripts.Diego Biurrun2009-12-26
| | | | | | The latter syntax variant is more readable and easier to nest. Originally committed as revision 20924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split codec-regression.sh, put all the code which can be shared byStefano Sabatini2009-10-23
other regression test scripts in the regression-funcs.sh file. Originally committed as revision 20359 to svn://svn.ffmpeg.org/ffmpeg/trunk