Commit Graph

989 Commits

Author SHA1 Message Date
Vitor Sessak 6b85316bd2 Test decoding in fate-lavf-gif
Originally committed as revision 25012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 17:55:31 +00:00
Vitor Sessak f5d4fc43bb PNG image regression testing
Originally committed as revision 25011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 17:53:48 +00:00
Vitor Sessak d81db9c7d1 Add RealVideo 3 FATE test
Originally committed as revision 25008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:15:04 +00:00
Vitor Sessak 61f89303c0 10l, add flags forgotten in last commit
Originally committed as revision 25007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:14:15 +00:00
Vitor Sessak 3e41fc623c Add Apple MJPEG-B decoder FATE test
Originally committed as revision 25006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:13:14 +00:00
Vitor Sessak 506c47a48e Add FATE test for ScummVM DXA flavor
Originally committed as revision 25005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:11:25 +00:00
Vitor Sessak 2d0cdf3cc0 Add fate test for Westwood SND1 codec
Originally committed as revision 24957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 14:51:51 +00:00
Vitor Sessak 0a24503d04 Remove CCITT fax G4 tests (partial revert of r24954). This test is
corrupting memory somehow and segfaulting in the BSDs.

Originally committed as revision 24956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 14:45:51 +00:00
Vitor Sessak 3b619cab31 CCITT Fax Group compression fate tests
Originally committed as revision 24954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 11:46:03 +00:00
Måns Rullgård 74c847e098 fate: build with --enable-gpl
Originally committed as revision 24930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25 18:37:38 +00:00
Vitor Sessak 4574b815cc VP3 fate test
Originally committed as revision 24928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25 17:23:38 +00:00
Vitor Sessak d21caa952c Renderware TeXture Dictionary FATE test
Originally committed as revision 24911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 20:48:58 +00:00
Måns Rullgård 078ae66b4b fate: set LC_ALL=C to avoid locale interference
Originally committed as revision 24889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 17:34:08 +00:00
Vitor Sessak 1ee39ebde2 BinkAudio FATE tests
Originally committed as revision 24888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 16:41:25 +00:00
Vitor Sessak c4ab519e00 Make "-fs ss" mean "make output file of size equals or less than ss"
instead of current "make output file of size less than ss".

Also use it to make MP3 tests more readable (using -fs xxx where xxx is
the requested output size, not something slightly lower).

Originally committed as revision 24884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 14:46:59 +00:00
Vitor Sessak 1c10978086 fix fate breakage, 10l to me (too much copy and pasting)
Originally committed as revision 24881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 12:27:27 +00:00
Vitor Sessak 680aefa2fe MP3 float decoder FATE tests
Originally committed as revision 24880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 12:17:03 +00:00
Vitor Sessak 07862680b5 Add FATE test for WMV8 DRM
Originally committed as revision 24874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 11:46:55 +00:00
Reimar Döffinger 620918e4bf Add truemotion1 tests.
Originally committed as revision 24872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 04:45:36 +00:00
Måns Rullgård b56a9c8eef fate: remove unused variable in fate.sh
Originally committed as revision 24870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 15:20:07 +00:00
Måns Rullgård 715e9be267 fate: remove pointless fate/fate2 separation
Originally committed as revision 24868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 14:24:58 +00:00
Måns Rullgård 8226e9779d fate: allow specifying relative path to config file in fate.sh
Originally committed as revision 24866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-22 11:53:02 +00:00
Vitor Sessak 3d6bd1c797 Add FATE test for ANSI/ASCII animation and TTY demuxer
Originally committed as revision 24865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-21 20:57:24 +00:00
Måns Rullgård b42c483f07 fate-run: use 'run' function in 'ffmpeg' function
Originally committed as revision 24837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 16:51:24 +00:00
Måns Rullgård 91de2c0a73 fate: add -v 0 to ffmpeg flags
Originally committed as revision 24836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 16:51:21 +00:00
Måns Rullgård 32a15a2441 fate: store last version in per-slot file
This allows the same workdir to be used by multiple slots.

Originally committed as revision 24819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 20:36:22 +00:00
Stefano Sabatini a1e171dfee Add hflip filter.
Originally committed as revision 24806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 14:59:12 +00:00
Måns Rullgård 4c3fbd4f93 fate: move some groups of related tests to their own files
This moves some groups of tests for single codecs to separate files,
and adds shorthands for running all tests in a group.

Originally committed as revision 24697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 18:47:20 +00:00
Måns Rullgård 49d63851cb fate: add fft tests
Originally committed as revision 24695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 06:57:02 +00:00
Måns Rullgård dff1fc51b2 fate-run: add helper to run things on target
Originally committed as revision 24694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 06:56:59 +00:00
Måns Rullgård 42907c6ab5 lavfi-regression: trim \r line ends from showfiltfmts output
This is required when cross-testing on dos-like targets.

Originally committed as revision 24667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 19:44:58 +00:00
Stefano Sabatini 546017fc79 Sort lavfi pixdesc tests.
Increase readability and robustness, as the test result is not going
to differ if the order of the pixfmts codes changes.

Originally committed as revision 24665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 11:56:51 +00:00
Måns Rullgård 9c87c03779 lavfi-regression: use different temp file names for each pixfmt test
Originally committed as revision 24658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:34:48 +00:00
Stefano Sabatini 213a4cbb39 Add lavfi-pixfmts LE tests.
The corresponding lavfi-pixfmts BE tests are not yet added, as there
are some bugs in the scaler (scaling rgba, argb, bgra, abgr, yuva420p)
which result in differences with the LE reference, and I cannot
visually check the generated files on BE.

Originally committed as revision 24657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:20:46 +00:00
Stefano Sabatini 043076975f Reindent.
Originally committed as revision 24655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:04:16 +00:00
Stefano Sabatini 73177b6c79 Split lavfi pixfmts test.
Introduce the function do_lavfi_pixfmts(), and use it for generating a
pixfmts test for each different filter.

Originally committed as revision 24654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:04:13 +00:00
Måns Rullgård 61a187b081 fate: fix non-standard use of bc
Originally committed as revision 24651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 15:28:42 +00:00
Måns Rullgård 5b60c29339 fate: fix signal name translation
Originally committed as revision 24650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 12:29:03 +00:00
Måns Rullgård 8b0816cbc3 fate: make tar command configurable
The 'tar' variable should be set to a command writing a tar archive
of the named files to stdout, typically "tar c" or "tar cf -"

Originally committed as revision 24649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 12:29:00 +00:00
Måns Rullgård 7e7fc4e9ee Simplify lavfi-pixfmts test script
Originally committed as revision 24648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 11:34:59 +00:00
Måns Rullgård 79ec38d154 Remove temporary files in lavfi-pixfmts test
Originally committed as revision 24646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 10:47:41 +00:00
Stefano Sabatini 43d2c6a511 Fix fate-lavfi-pixfmts test cross-compilation.
Add the lavfi-showfiltfmts dependency in the Makefile, and correctly
use the $target_exec and $target_path variables for invoking the
lavfi-showfiltfmts tool.

Originally committed as revision 24645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 10:27:04 +00:00
Stefano Sabatini 2b346e042e Use the ffmpeg specified in $ffmpeg in the pixfmts lavfi test,
otherwise the test will be running whatever ffmpeg is installed on the
host system.

Originally committed as revision 24644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 10:27:00 +00:00
Stefano Sabatini 0a87d541b7 Put the filter name before the pixel format name in the lavfi pixfmts
test output files, and add a prefix with the name of the test.
Make per-filter grouping of the generated output files easier, which
is more useful than per-pixel-format grouping.

Originally committed as revision 24643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:11 +00:00
Stefano Sabatini 65e17eae3c Introduce and use a variable $output in the lavfi pixfmts test code.
Consistent with the lavfi pixdesc test code, and slightly improve
readability.

Originally committed as revision 24642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:08 +00:00
Stefano Sabatini fc25373b1b Split the lavfi pixfmts tests in _le and _be, this is required as the
test results and references depend on machine endianess.

Originally committed as revision 24641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:06 +00:00
Stefano Sabatini 42bc7c8a60 Rename the not yet enabled test lavfi_pix_fmts to pixfmts, which is
simpler and consistent with the names of the other lavfi tests.

Originally committed as revision 24640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 00:46:03 +00:00
Måns Rullgård 4e705a6806 fate: translate exit status to signal name
Originally committed as revision 24623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-31 16:53:09 +00:00
Måns Rullgård 51124db8ea fate: clean up also after failed runs
Originally committed as revision 24542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 11:57:51 +00:00
Vitor Sessak cf0194a3f5 Increase error tolerance for RA288 and one vorbis test. Should fix some
failures in PPC and ARM.

Originally committed as revision 24541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 11:53:14 +00:00
Måns Rullgård 673fe599b3 fate: delete build and install dirs after session
Originally committed as revision 24531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 01:08:44 +00:00
Måns Rullgård a9dc611145 fate: add fate session script
Originally committed as revision 24530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:09 +00:00
Måns Rullgård b82be63688 fate: create report files
Originally committed as revision 24529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:44:06 +00:00
Måns Rullgård ce3a841da1 Add a simple base64 encoder for use in tests
Originally committed as revision 24526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:43:56 +00:00
Måns Rullgård e6e3069b54 Simplify lavfi test script a little
Originally committed as revision 24486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24 17:13:35 +00:00
Måns Rullgård 8fae6e7c11 Unbreak parallel lavfi testing
Originally committed as revision 24485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24 17:13:32 +00:00
Vitor Sessak a58ed9a2e7 Add VP8 sign bias code regtest. Not tested by the official conformance suite.
Originally committed as revision 24457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-23 10:09:46 +00:00
Vitor Sessak 0662bf22ec Add WMAPro regtests
Originally committed as revision 24404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 22:33:06 +00:00
Måns Rullgård a4e6fa86ce regtest: simplify cleanup after each test
Originally committed as revision 24396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 20:49:41 +00:00
Måns Rullgård 157c924176 fate: delete useless artifacts after running each test
Originally committed as revision 24395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 20:49:36 +00:00
Måns Rullgård bcb0a1546d fate: keep stderr from failing tests
Originally committed as revision 24394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 20:49:34 +00:00
Thierry Foucu 591db22dff gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
Patch by Thierry Foucu, tfoucu at gmail

Originally committed as revision 24379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 07:46:02 +00:00
Vitor Sessak 91c4d85f7b WMAVoice regtests
Originally committed as revision 24374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 20:47:47 +00:00
Rafaël Carré e8723e242d Lego Mindstorms RSO muxer and demuxer.
Patch by Rafaël Carré, rafael d carre a gmail

Originally committed as revision 24355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 14:13:24 +00:00
Måns Rullgård ffe72624e7 fate: run diff even if command fails
The diff may provide useful information even if the command was
unsuccessful.  The test is still treated as failed in this case.

Originally committed as revision 24353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 12:54:43 +00:00
Måns Rullgård c963e961ac Remove unused seek-regression.sh script
Originally committed as revision 24349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:19:35 +00:00
Måns Rullgård 9a3f31efcb fate: allow running regtests through fate frontend
Originally committed as revision 24347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:19:28 +00:00
Måns Rullgård f729c4aea8 regtest: rename seektest ref files using alphanumeric chars only
Originally committed as revision 24345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:09:54 +00:00
Carl Eugen Hoyos 2d91366cc2 Make MP43 the default fourcc for msmpeg4v3:
DIV3 is not supported on default XP and Vista installations (MP43 is).

Originally committed as revision 24343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 09:44:21 +00:00
Måns Rullgård 7c1bb9143e Fix lavfi pixdesc test
This test verifies the pixdesc code by comparing the output with and
without a filter which should have no effect on the image.  Since the
available pixel formats depend on the byte order of the machine, a
simple reference checksum is not possible.

The test originally tried to solve this by generating a reference file
on the fly.  The problem with this is that the test framework expects
the reference file in the source tree, and writing to the source tree
is not allowed.

To avoid complicating the test framework, we instead provide two
reference files and select which to use based on the byte order.

Originally committed as revision 24330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 17:17:49 +00:00
Måns Rullgård 77cce79aa7 fate: ensure all imported rules are handled by helpers
Originally committed as revision 24318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:50:03 +00:00
Måns Rullgård cdaf4b79bb fate: simplify test runner slightly
All tests use the provided helper functions so prepending $target_exec
and using eval is no longer required.

Originally committed as revision 24317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:46:44 +00:00
Måns Rullgård f366a6de31 fate: use helper functions in test rules
Originally committed as revision 24316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:46:42 +00:00
Måns Rullgård 2b18c451bd fate: add some helper functions to simplify test rules
Originally committed as revision 24314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:30 +00:00
Måns Rullgård f0388cf716 fate: apply TARGET_EXEC only to commands starting with absolute path
Originally committed as revision 24313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:25 +00:00
Måns Rullgård d2f33c8021 fate: use our variable names in test rules imported from Mike's db
Originally committed as revision 24312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:21 +00:00
Måns Rullgård 122a9af76b fate-run: rename some variables consistently with other files
Originally committed as revision 24311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:16 +00:00
Måns Rullgård ed62c6b624 fate: do not delete ref files when updating tests from db
Originally committed as revision 24310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 20:19:12 +00:00
Måns Rullgård e153cfa867 fate: add stddev comparator
This allows CMP=stddev in test rules.  The test passes if the reported
stddev is <= the FUZZ value (default 1).

Originally committed as revision 24289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 15:02:34 +00:00
Måns Rullgård 26e87a2261 fate: whitespace cosmetics
Originally committed as revision 24288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 15:02:32 +00:00
Vitor Sessak 7c06faf894 Undo my revert at r24260.
This is the only way by now to test this codec.

Originally committed as revision 24286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 10:50:25 +00:00
Måns Rullgård 6441d39d58 fate: update vc1 reference
Originally committed as revision 24263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 12:37:09 +00:00
Vitor Sessak 1c435a0d4e Vorbis regtests
Originally committed as revision 24262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 12:32:14 +00:00
Vitor Sessak 605014ca33 Revert r24258:
Log:
Add msmpeg4v1 regtest

Added:
   trunk/tests/ref/fate/msmpeg4v1
Modified:
   trunk/tests/fate2.mak

According to Mans, "make test" tests already msmpeg4v1.

Originally committed as revision 24260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:19:21 +00:00
Vitor Sessak 58c9c95c75 Add msmpeg4v1 regtest
Originally committed as revision 24258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:06:33 +00:00
Vitor Sessak abc152d78e Add MS-GSM regtest
Originally committed as revision 24257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:58:17 +00:00
Vitor Sessak 41511ae6cf ATRAC3 regtests
Originally committed as revision 24256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:41:53 +00:00
Vitor Sessak 6944215a2f Add ATRAC1 regtest
Originally committed as revision 24255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:35:26 +00:00
Vitor Sessak 044dadeff3 Add EAC3 regtests
Originally committed as revision 24254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:24:09 +00:00
Vitor Sessak cf39355978 Add AC3 regtests
Originally committed as revision 24253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:09:53 +00:00
Vitor Sessak 0dc5ca2e12 Add TrueSpeech regtest
Originally committed as revision 24221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:02:52 +00:00
Måns Rullgård 5ee08c8531 fate: add vp8 bilinear tests
Mike added these some time ago, and I forgot to update here.

Originally committed as revision 24220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 20:24:23 +00:00
Vitor Sessak e9e40c875e NellyMoser regtest
Originally committed as revision 24195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:13:23 +00:00
Vitor Sessak d4d5b66140 DTS Coherent Acoustics regtest
Originally committed as revision 24194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:05:38 +00:00
Vitor Sessak bb1e597736 Add Pictor/PC Paint PIC regtest
Originally committed as revision 24193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 12:44:32 +00:00
Vitor Sessak e798dbdd34 Psygnosis YOP demuxer and decoder test
Originally committed as revision 24181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 00:07:31 +00:00
Vitor Sessak e747ff1c63 Add Intel Music Coder regtest
Originally committed as revision 24180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 23:50:17 +00:00
Vitor Sessak 369b49630d Add QDM2 test
Originally committed as revision 24178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 23:41:26 +00:00
Vitor Sessak 827396688c Add QCELP regtest
Originally committed as revision 24176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 23:15:45 +00:00
Vitor Sessak 1d9a8c347a Add MPEG2 field encoding fate2 regtest
Originally committed as revision 24175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 22:57:19 +00:00