Kostya Shishkov
685e6f2e39
xxan: properly handle odd heights.
...
Duplicate the last one or two chroma lines.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org
2013-02-06 10:21:52 +01:00
Anton Khirnov
2cd4068071
fraps: fix off-by one bug for version 1.
...
CC:libav-stable@libav.org
2013-02-06 10:21:52 +01:00
Anton Khirnov
da7baaaae7
aasc: fix output for msrle compression.
...
The bottom line was invalid before.
CC:libav-stable@libav.org
2013-02-06 10:21:52 +01:00
Anton Khirnov
238614de67
cdgraphics: do not rely on get_buffer() initializing the frame.
...
Setting it to zero (instead of 128, as the default get_buffer() does)
also produces more correctly-looking output.
2013-02-06 10:21:52 +01:00
Michael Niedermayer
4eb93bed4e
swscale: GBRP output support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-01-27 15:28:07 -05:00
Anton Khirnov
69c25c9284
dnxhdenc: fix invalid reads in dnxhd_mb_var_thread().
...
Do not assume that frame dimensions are mod16 (or that height is mod32
for interlaced).
CC:libav-stable@libav.org
2013-01-26 12:30:08 +01:00
Luca Barbato
9146e872c6
Revert "fate: Use wmv2 IDCT for wmv2 tests"
...
This reverts commit ce378f0dd0
.
2013-01-21 19:43:53 +01:00
Ronald S. Bultje
ce378f0dd0
fate: Use wmv2 IDCT for wmv2 tests
2013-01-21 07:35:54 +01:00
Ronald S. Bultje
e6bc38fd49
wmv2: move IDCT to its own DSP context.
...
This allows us to remove FF_IDCT_WMV2, which serves no practical purpose
other than to be able to select the WMV2 IDCT for MPEG (or vice versa)
and get corrupt output.
Fate tests for all wmv2-related tests change, because (for some obscure
reason) they forced use of the MPEG IDCT. You would get the same changes
previously by not using -idct simple in the fate test (or replacing it
with -idct auto).
2013-01-20 22:12:35 -08:00
Martin Storsjö
ae01e8d295
srtp: Add tests for the crypto suite with 32/80 bit HMAC
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-01-21 00:13:43 +02:00
Mathias Rauen
04ea5491a8
ac3dec: fix non-optimal dithering of zero bit mantissas
...
Use a noise range of -0.707 to 0.707 instead of -0.5 to 0.5
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2013-01-20 14:20:47 -05:00
Luca Barbato
56ef1ef1f7
fate: update ref after rv30_loop_filter fix
2013-01-17 23:40:48 +01:00
Martin Storsjö
c2603aa25b
lavf: Add a fate test for the SRTP functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-01-15 23:18:08 +02:00
Martin Storsjö
3130fa51a5
lavu: Add a fate test for the HMAC API
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-01-15 23:18:07 +02:00
Diego Biurrun
0f94c0b1b6
fate: vp3: Fix fate-vp3-coeff-level64 test dependencies
...
Also rename the test to reflect that the video track is Theora, not VP3.
2013-01-12 17:19:27 +01:00
Diego Biurrun
4d3b144c5e
fate: cosmetics: Order some test entries
2013-01-12 17:19:27 +01:00
Diego Biurrun
f8936c6f90
fate: Split fate-siff test into demuxer and VB video decoder test
2013-01-10 17:54:47 +01:00
Justin Ruggles
5d0450461f
idcin: better error handling
...
Add some additional checks for EOF and print error messages on an incomplete
header or packet.
FATE reference updated for id-cin-video due to the demuxer no longer
returning a partial video packet at EOF.
2013-01-09 14:49:07 -05:00
Diego Biurrun
a0c5917f86
Drop Snow codec
...
Snow is a toy codec with no real-world use and horrible code.
2013-01-06 16:30:02 +01:00
Anton Khirnov
5e6ee38bd3
FATE: add cavs test
2012-12-30 18:52:51 +01:00
Anton Khirnov
99e36ddd3e
ansi: do not depend on get_buffer() initializing the frame.
...
The background changes from 128 (used by the default/cmdutils
get_buffer()) to 0. This looks more correct.
2012-12-24 09:17:45 +01:00
Anton Khirnov
c6303f8d70
yop: simplify/sanitize the decoding loop
...
Do not overwrite linesize set by get_buffer().
The last frame in the FATE test is not decoded anymore, since the file
is cut and a part of it is missing.
2012-12-24 09:16:51 +01:00
Diego Biurrun
511cf612ac
miscellaneous typo fixes
2012-12-21 00:18:34 +01:00
Diego Biurrun
4d6c96fd69
fate: Move RALF test into lossless audio group
2012-12-17 17:02:22 +01:00
Carl Eugen Hoyos
2ddf7c88d1
ZeroCodec: Flip output
...
The initial testing of the VFW binary codec was flawed,
likely due to an AviSynth bug.
Re-testing using VirtualDub and various professional editing
applications has revealed it should have been flipped.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-12-10 11:19:42 -05:00
Diego Biurrun
c25fc5c2bb
fate: dpcm: Add dependencies
2012-12-07 11:34:16 +01:00
Diego Biurrun
33086f9265
fate: image: Add dependencies
2012-12-07 10:14:31 +01:00
Paul B Mahol
b519298a15
pixdesc: fix yuva 10bit bit depth
...
It was wrongly set as the yuva 16bit one.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-12-05 17:52:55 +01:00
Justin Ruggles
5312268b34
eval: treat dB as decibels instead of decibytes
2012-12-05 11:23:36 -05:00
Mans Rullgard
da025d115a
fate: workaround for slighly broken 'test' shell builtin
...
Some shells, e.g. minix3, have a broken 'test' builtin which fails
if the first operand of a binary operator looks like a unary operator.
Prefixing the values with 'x' prevents this from happening.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-12-04 23:38:17 +00:00
Diego Biurrun
90153465b0
fate: Add dependencies for bmp, cdxl, dfa, mp3
2012-12-04 15:24:05 +01:00
Diego Biurrun
201628899b
fate: ea, h264: prettyprinting and ordering cosmetics
2012-12-03 15:34:37 +01:00
Diego Biurrun
eebc40e177
fate: fft: Fix libavcodec dependency
2012-12-03 01:34:14 +01:00
Janne Grunau
e816034a5f
fate-seek: remove use of gnu make 3.82 only private modifier
2012-12-03 00:37:07 +01:00
Janne Grunau
c8148e5c93
fate: move vsynth reference files to their own directory
2012-12-03 00:36:10 +01:00
Janne Grunau
337dbe2adb
fate: move fate-acodec reference files to their own dir
2012-12-03 00:29:35 +01:00
Janne Grunau
abab0435d4
fate: split dependencies for fate-seek tests
...
Each fate-seek test depends now only on the corresponding fate-acodec,
fate-vsynth2 or fate-lavf test which creates the file seek-tests
operates on. The tests and references are renamed to match the test they
depend on.
2012-12-02 23:25:41 +01:00
Diego Biurrun
e4d349b401
fate: h264: Add dependencies
2012-11-28 19:58:21 +01:00
Diego Biurrun
d2f576bd49
fate: ea: Add dependencies
2012-11-28 19:36:13 +01:00
Diego Biurrun
47e7fb8815
fate: Do not unconditionally run libavutil tests
...
Now that libavutil can be disabled, this should be conditional.
2012-11-28 19:36:13 +01:00
Diego Biurrun
db9dbfb72a
fate: vpx: Add dependencies
2012-11-28 16:19:55 +01:00
Diego Biurrun
a1d1fc9b4a
fate: Fix wavpack-matroskamode test dependencies
2012-11-28 16:05:44 +01:00
Diego Biurrun
1f3f896564
fate: Add dependencies for Vorbis, ProRes, QTRLE, utvideo tests
2012-11-28 14:45:28 +01:00
Diego Biurrun
5116ac7774
fate: real: Add dependencies
2012-11-28 14:45:28 +01:00
Diego Biurrun
9534e0f552
fate: lossless-audio: Add dependencies
2012-11-28 14:45:28 +01:00
Anton Khirnov
bb6c67bb36
lavfi: remove vf_slicify
...
The following commit will make it useless.
The crop_scale_vflip FATE test changes because of off-by-one differences
in output when vflipped slices are passed to sws.
2012-11-28 08:44:01 +01:00
Justin Ruggles
b353321caa
FATE: add 24-bit ALAC tests
2012-11-20 00:26:46 -05:00
Justin Ruggles
3e6c2a67a1
FATE: rename ALAC tests from alac-* to alac-16-*
...
This will distinguish ALAC 16-bit tests from ALAC tests with other bit
depths.
2012-11-20 00:26:45 -05:00
Anton Khirnov
da5408ede9
FATE: add a bink version 'b' test
2012-11-17 08:45:47 +01:00
Anton Khirnov
108bfe4e43
FATE: add a bink version 'i' test
2012-11-17 08:45:47 +01:00
Diego Biurrun
a3138ebfa8
fate: Add dependencies for aac, alac, amrnb, amrwb, atrac tests
2012-11-14 15:09:59 +01:00
Diego Biurrun
e6c4c0f7cf
fate: atrac: Place atrac1 and atrac3 tests in different groups
2012-11-06 13:47:53 +01:00
Diego Biurrun
06c7b33831
fate: aac: cosmetics: Group AAC LATM tests together
2012-11-06 13:37:36 +01:00
Justin Ruggles
8a58894fc6
FATE: add a 24-bit FLAC encoding test
2012-11-05 15:32:30 -05:00
Justin Ruggles
31c3b9c95e
FATE: rename FLAC tests from flac-* to flac-16-*
...
This will distinguish FLAC 16-bit tests from FLAC tests with other bit
depths.
2012-11-05 15:32:30 -05:00
Diego Biurrun
2253df76c1
fate: aac: Place LATM tests and general AAC tests in different groups
2012-11-05 20:48:50 +01:00
Janne Grunau
6b07830a77
fate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV
...
Fixes typo in 2cbdd7c929
.
2012-10-31 20:01:08 +01:00
Kostya Shishkov
38fdf72580
swscale: do not forget to swap data in formats with different endianness
...
Otherwise during scaling it will try to interpret input in the wrong way and
that leads to the test results disagreeing on different platforms and with
different optimizations.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-10-31 17:53:57 +01:00
Luca Barbato
7658295ba3
pixfmt: support more yuva formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-30 12:02:42 +01:00
Anton Khirnov
02e6364259
FATE: fix (AD)PCM test dependencies broken in e519990
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-10-30 03:13:41 +01:00
Diego Biurrun
2cbdd7c929
fate: ac3: Add dependencies
2012-10-29 19:07:58 +01:00
Diego Biurrun
381dc1a5ec
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
2012-10-29 19:07:58 +01:00
Diego Biurrun
e519990ced
fate: Add shorthands for acodec PCM and ADPCM tests
2012-10-29 19:07:58 +01:00
Mans Rullgard
2a222a7255
fate-lavfi: replace sed/grep/cut combos with awk
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 12:01:18 +01:00
Mans Rullgard
a1f6ad69c7
fate: check that dependencies actually exist
...
This causes make to exit with an error message if a nonexistent
dependency is specified rather than silently dropping the test.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 11:12:24 +01:00
Mans Rullgard
6f9018fc5e
fate: fix ENCMUX macro
...
This matches how it is actually being called.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 11:12:24 +01:00
Diego Biurrun
88bdec03b9
fate: Add dependencies for audio tests
2012-10-23 10:52:25 +02:00
Diego Biurrun
71f3eb4536
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
2012-10-23 10:52:15 +02:00
Diego Biurrun
7d420a4294
fate: More fine-grained dependencies for libavcodec test programs
2012-10-23 10:28:40 +02:00
Diego Biurrun
8b8899ac32
fate: Declare avcodec/avformat deps in the respective Makefile snippets
2012-10-23 10:28:40 +02:00
Diego Biurrun
e273a1a542
fate: Add dependencies for WMA and WavPack tests
2012-10-23 10:28:40 +02:00
Diego Biurrun
620345f930
fate: adpcm: cosmetics: Sort test entries
...
This also places tests of related formats together.
2012-10-20 21:10:21 +02:00
Diego Biurrun
2e0c410485
fate: adpcm: Add dependencies
2012-10-20 21:10:21 +02:00
Diego Biurrun
8860878291
fate: Introduce ENCMUX macro for tests that require encoders and a muxer
2012-10-20 21:10:21 +02:00
Mans Rullgard
c9ef43215c
fate-vc1: add dependencies
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-20 01:31:01 +01:00
Martin Storsjö
12549db653
fate: Add proper dependencies for the tests in video.mak
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-19 20:27:16 +03:00
Martin Storsjö
61cc99748c
fate: Add proper dependencies in qt.mak
...
The output of make fate-list is identical to before.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-19 10:43:14 +03:00
Martin Storsjö
91485e744f
fate: Add proper dependencies in lossless-video.mak
...
The output of make fate-list is identical to before.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-19 10:43:13 +03:00
Diego Biurrun
e8fe208be8
fate: dependencies for screen codec tests
2012-10-18 18:44:06 +02:00
Mans Rullgard
55351de9f4
fate: add dependencies for misc microsoft codecs
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:31 +01:00
Mans Rullgard
22f5149ec4
fate-twinvq: add dependencies
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
08c6a12a56
fate-mpc: add dependencies
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
2e05143a8d
fate-indeo: add dependencies
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
b55dda4a72
fate-als: add dependencies
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
eccd0671cc
fate: dependencies for demux tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
c0329748b0
fate: add a dependency helper macro
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
206a070dce
fate: list lavfi tests in a makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
36ac9a16a1
fate: dependencies for seek tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
fa26335003
fate: handle lavf test dependencies entirely in make
...
This makes the lavf tests depend on all codecs and formats they use.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
292d1e7874
fate: dependencies for acodec tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
b262e45597
fate: dependencies for vsynth tests
...
This makes the vsynth tests run only if the required codecs and
formats are enabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
21fed588cb
fate: add macros useful for conditionally enabling things
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Victor Vasiliev
0bca0283cc
riff: do not write empty INFO tags
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-10-16 18:51:16 +02:00
Diego Biurrun
c0a6cac292
fate: Add rangecoder test
2012-10-16 15:45:55 +02:00
Luca Barbato
21de6ba5c1
nut: export codec_tag provided by rawvideo
...
Raw audio does not provide valid audio tags while rawvideo does.
The fate refs have to be updated because it undoes the previous tag
change.
2012-10-16 15:26:31 +02:00
Mans Rullgard
bf868c4a9b
tiny_psnr: fix range calculation for sample size of 32 bits
...
For a sample size of 32 bits, the shift would overflow producing
undefined results. Incidentally, in the only test currently using
32-bit samples, the output matches the reference exactly on most
systems meaning the bad 'max' value is never used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-15 21:41:25 +01:00
Mans Rullgard
3dc06b6972
tiny_psnr: check for specified sample size less than 1
...
A zero or negative sample size is impossible and should be
reported as an error.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-15 21:40:18 +01:00
Mans Rullgard
099294577c
fate: improve md5sum utility selection
...
The 'md5sum' command is used with the -b flag so the presence test
must also use this flag.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-15 21:40:08 +01:00
Luca Barbato
1bd442c276
nut: prioritize native tags
...
Use native tags instead of avi ones, simplifies a lot raw video codecs
handling.
2012-10-13 12:33:18 +02:00
Diego Biurrun
9e6ea3cef9
fate: add avstring test
2012-10-12 20:56:54 +02:00
Luca Barbato
6d5600e855
avutil: add yuva422p and yuva444p formats
2012-10-12 15:09:51 +02:00
Janne Grunau
b404c66056
fate: add h263 obmc vsynth tests
2012-10-10 21:24:32 +02:00
Mans Rullgard
41e46a5fba
parseutils-test: do not print numerical error codes
...
The error codes differ between systems so printing the value makes
the fate test fail on some systems.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-10 13:33:45 +01:00
Diego Biurrun
096a5d76a5
fate: Refactor setting of environment variables for groups of tests
2012-10-10 10:49:51 +02:00
Martin Storsjö
7bc433b36d
fate: Add tests of the ff_make_absolute_url function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-09 14:16:34 +03:00
Justin Ruggles
11dcddb97b
ffm: do not write or read the audio sample format
2012-10-06 12:21:54 -04:00
Diego Biurrun
76f644d9f7
fate: Add parseutils test
2012-10-06 09:24:54 +02:00
Anton Khirnov
3b4bb19e63
lavf: flush the output AVIOContext in av_write_trailer().
...
This is consistent with stdio and is what we want to do in all cases.
Fixes a bug in the voc muxer which didn't flush in write_trailer()
previously. This is the cause of the change in the test results.
2012-09-15 18:25:07 +02:00
Mans Rullgard
07e87858d4
fate: ac3: add 4.0 and downmix tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-14 15:26:05 +01:00
Mans Rullgard
f181662db9
fate: mp3: drop redundant CMP setting
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-10 00:07:24 +01:00
Diego Biurrun
74c8414462
fate: Drop redundant setting of FUZZ to 1
2012-09-07 12:59:00 +02:00
Martin Storsjö
2b3660084f
fate: Allow setting the ld parameter from the config file
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-06 10:35:55 +03:00
Michael Niedermayer
aa264da5bf
adpcmenc: Calculate the IMA_QT predictor without overflow
...
Previously, the value given to put_bits was 10 bits long for positive
predictors, even though 9 bits were to be written. The extra bit could
in some cases overwrite existing bits in the bitstream writer cache.
This fixes a failed assert in put_bits.h, when running a version
built with -DDEBUG.
The fate test result gets slightly improved, thanks to getting rid
of the overwritten bits in the bitstream writer cache.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-04 15:30:58 +03:00
Kostya Shishkov
04fc5c6bde
g723_1: add comfort noise generation
2012-08-30 18:21:12 +02:00
Michael Niedermayer
6d35470063
utvideoenc: use ff_huff_gen_len_table
...
Avoid code duplication and provide faster and better compression.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-08-28 17:43:25 +02:00
Jan Ekström
09bd0ea94e
fate: Add a single symbol Ut Video decoder test
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-08-26 14:03:55 +02:00
Derek Buitenhuis
efab2e004a
FATE: Add Canopus Lossless tests
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-08-25 16:46:50 -04:00
Justin Ruggles
e981215944
FATE: add ALAC encoding tests
2012-08-22 16:41:57 -04:00
Diego Biurrun
efa4d6adf3
fate: flac: Only run tests requiring samples when samples are available
2012-08-22 00:58:44 +02:00
Jan Ekström
957521e7a4
fate: make Ut Video encoder tests use bitexact swscale flags
...
The failures on various architectures and compilers on the RGB(A)
tests seem to have been because of one-off YCbCr->RGB conversion
results. This should make the conversion results match on most if
not all code paths.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-21 09:45:01 +02:00
Mans Rullgard
d71e2c1775
fate: fix utvideoenc tests
...
For some reason, the prerequisites have to be specified like this.
Make works in mysterious ways.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-20 15:07:41 +01:00
Jan Ekström
b96509c93c
fate: Add FATE tests for the Ut Video encoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-08-20 11:23:10 +02:00
Diego Biurrun
e017c87552
fate: Only test enabled filters
...
This fixes running FATE without --enable-gpl.
2012-08-11 20:26:31 +02:00
Mans Rullgard
05c36e0e5f
g723.1: fix addition overflow
...
This addition must be done as 64-bit to avoid overflow and for
the subsequent clipping to be meaningful.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-10 12:18:38 +01:00
Kostya Shishkov
84f9d78a96
fate: add G.723.1 decoder tests
2012-08-09 19:35:47 +02:00
Janne Grunau
69ac6400b8
fate: add test for RTjpeg in nuv with frameheader
...
Renames the old test to allow using fate-nuv as group for all
nuv tests.
2012-08-08 15:06:46 +02:00
Mans Rullgard
add8f5eab7
fate: simplify variable setting filter.mak
...
This removes some needless indirection and duplication.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-06 10:19:27 +01:00
Mans Rullgard
73486e3b61
fate: force pix_fmt in lagarith-rgb32 test
...
This makes big and little endian systems use the same output
format.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-04 14:15:45 +01:00
Ronald S. Bultje
c5d5d17880
fate: add tests for lagarith lossless video codec.
...
Based on patch by Oana Stratulat <oanaandreeastratulat@gmail.com>.
2012-08-03 20:48:34 -07:00
Mans Rullgard
70c8753d33
fate: amix: specify f32 sample format for comparison
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-29 22:05:09 +01:00
Mans Rullgard
9f1280def4
tiny_psnr: support 32-bit float samples
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-29 22:05:09 +01:00
Anton Khirnov
aba232cfa9
lavf: deprecate r_frame_rate.
...
According to its description, it is supposed to be the LCM of all the
frame durations. The usability of such a thing is vanishingly small,
especially since we cannot determine it with any amount of reliability.
Therefore get rid of it after the next bump.
Replace it with the average framerate where it makes sense.
FATE results for the wtv and xmv demux tests change. In the wtv case
this is caused by the file being corrupted (or possibly badly cut) and
containing invalid timestamps. This results in lavf estimating the
framerate wrong and making up wrong frame durations.
In the xmv case the file contains pts jumps, so again the estimated
framerate is far from anything sane and lavf again makes up different
frame durations.
In some other tests lavf starts making up frame durations from different
frame.
2012-07-29 08:06:30 +02:00
Anton Khirnov
fe1c1198e6
lavf: use dts difference instead of AVPacket.duration in find_stream_info()
...
AVPacket.duration is mostly made up and thus completely useless, this is
especially true for video streams.
Therefore use dts difference for framerate estimation and
the max_analyze_duration check.
The asyncts test now needs -analyzeduration, because the default is 5
seconds and the audio stream in the sample appears at ~10 seconds.
2012-07-29 08:04:42 +02:00
Mans Rullgard
d905c64406
fate: make yadif tests consistent across systems
...
MMX-enabled systems by default use some dsputil functions differing
from the C versions. Adding these flags ensures accurate ones are
used everywhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-28 22:23:52 +01:00
Anton Khirnov
8f9537f314
FATE: add tests for yadif.
2012-07-28 14:33:44 +02:00
Anton Khirnov
8112710f17
FATE: add a test for delogo video filter.
2012-07-28 14:33:32 +02:00
Anton Khirnov
7339340787
FATE: add a test for amix audio filter.
2012-07-28 14:32:53 +02:00
Anton Khirnov
67ef5f4eb5
audiogen: allow specifying random seed as a commandline parameter.
2012-07-28 14:32:48 +02:00
Mans Rullgard
b9d3c37848
build: use COMPILE template for HOSTOBJS
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-26 23:58:59 +01:00
Mashiat Sarker Shakkhar
8d2e3fee0b
vc1: Add a test for interlaced field pictures
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-07-22 22:28:30 -04:00
Anton Khirnov
df53a4a7c1
FATE: fix the asyncts test
...
Nellymoser is float, so use oneoff comparison instead of md5.
2012-07-22 17:58:56 +02:00
Anton Khirnov
73cd131ebc
FATE: add a test for the asyncts audio filter.
2012-07-22 10:14:16 +02:00
Anton Khirnov
5eb9c495af
FATE: add a test for flac cover art.
2012-07-20 10:17:25 +02:00
Janne Grunau
2d497c141d
eval: add gt(), gte(), lt() and lte() fate tests
2012-07-14 13:43:10 +02:00
Max Lazarov
caac3ab6ef
eval: fix swapping of lt() and lte()
...
CC: libav-stable@libav.org
2012-07-14 13:33:25 +02:00
Anton Khirnov
8d18bc550e
fate-run: make avconv() properly deal with multiple inputs.
2012-07-09 08:22:38 +02:00
Mans Rullgard
7c29377b70
lavfi: reclassify showfiltfmts as a TESTPROG
...
This tool uses lavfi internal symbols not accessible in shared
libraries. TESTPROGS are linked statically to allow them use of
library internals not normally exported.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-04 17:48:25 +01:00
Samuel Pitoiset
8c14f7a593
Add XTEA encryption support in libavutil
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-04 15:10:57 +03:00
Samuel Pitoiset
bc3dbcc8e5
Add Blowfish encryption support in libavutil
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-04 15:10:57 +03:00
Martin Storsjö
143f1e9203
eval: Add the isinf() function and tests for it
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-04 15:10:56 +03:00
Anton Khirnov
1c840fa227
FATE: add a test for WMA cover art.
2012-07-04 05:59:14 +02:00
Anton Khirnov
8059d3b7d4
FATE: add a test for apetag cover art
2012-07-04 05:59:05 +02:00
Anton Khirnov
bf2a7f9161
FATE: add a test for itunes cover art.
2012-07-04 05:58:47 +02:00
Mans Rullgard
983fa8bc46
fate: add flac encode/decode tests with various options
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-04 01:22:40 +01:00
Alex Converse
a112822597
movenc: Add channel layouts for PCM.
2012-06-27 13:47:58 -07:00
Mans Rullgard
7457ebee3a
fate: vorbis: add 5.1 surround test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-18 11:47:08 +01:00
Mans Rullgard
16b8525963
fate: add snow hpel tests
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2012-06-15 19:10:58 +02:00
Diego Biurrun
a488028362
build: Do not delete tests/vsynth2 directory, which is no longer created.
2012-06-13 12:27:49 +02:00
Mans Rullgard
d0e9415d23
fate: avoid freopen(NULL) in videogen/rotozoom
...
A number of systems do not implement freopen() with a NULL filename
correctly. This changes these programs to output individual images
if opening a named output argument as a file fails, in this case
assuming it is a directory.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-07 11:28:39 +01:00
Alex Converse
41e9682af2
movenc: Write chan atom for all audio tracks in mov mode movies.
2012-06-04 10:08:31 -07:00
Michael Niedermayer
0fcf3013c4
fate: Fix fate-ac3-fixed-encode for pre-ssse3 x86 machines
...
The default mmxext and sse implementations of apply_window_int16
aren't bitexact.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-05-31 00:01:04 +03:00
Mans Rullgard
0857e46dd5
fate: add missing $(TARGET_PATH) to ac3-fixed-encode
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-30 07:55:13 +01:00
Mans Rullgard
00c78a0a15
fate: fix md5sum replacement on some systems
...
On systems where the 'md5' command is used, there is a conflict
with the md5() shell function in fate-run.sh. Using the 'command'
keyword bypasses the shell function for correct behaviour.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-30 07:52:35 +01:00
Anton Khirnov
8daf21d567
avconv: merge configuration code for complex and simple filters
...
Some tests change because -s now inserts the scaler to the end instead
of beginning of the filtergraph.
2012-05-29 19:19:16 +02:00
Mans Rullgard
f919cc7df6
fate: fix acodec/vsynth tests for make 3.81
...
GNU make 3.81 applies pattern rules in declaration order rather than
by stem length as in 3.82. This moves the more generic patterns above
the more specific ones such that they work with either make version.
Some of the vsynth patterns are also simplified a little.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 17:49:44 +01:00
Mans Rullgard
7263cd5544
fate: convert codec-regression.sh to makefile rules
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:35:41 +01:00
Mans Rullgard
47b5996bb0
fate: allow tests to specify unit size for psnr comparison
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:27:19 +01:00
Mans Rullgard
7e5880e0cb
fate: teach videogen/rotozoom to output a single raw video stream
...
This makes videogen/rotozoom output a raw video stream on stdout
if no output directory is specified.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:27:19 +01:00
Mans Rullgard
4852cb37ce
fate: fix dependencies for non-SAMPLES avconv tests
...
The encode/decode tests should all depend on avconv. Since
avconv requires libavfilter, there is no need to enable those
tests selectively.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-20 12:54:31 +01:00
Mans Rullgard
68aef0b481
lavf: change some (de)muxer names to lowercase
...
This is consistent with other format names.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19 19:44:16 +01:00
Mans Rullgard
63dcd16d56
fate: fix dependencies on SAMPLES being set
...
This allows fate to run without errors with or without SAMPLES
being set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19 14:30:41 +01:00
Mans Rullgard
8ccc1c5975
fate: remove unnecessary libavfilter dependency
...
avconv now requires libavfilter so this dependency is redundant.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19 14:25:00 +01:00
Anton Khirnov
74b961db77
avconv: replace -vsync cfr code with the fps filter.
...
Invented timestamps for the h264 tests return to something resembling
sanity.
In the idroq-video-encode test when converting 25 fps -> 30 fps the
fifth frame gets duplicated instead of the sixth.
2012-05-18 19:38:40 +02:00
Anton Khirnov
755cd4197d
mov: enable parsing for VC-1.
...
This makes lavf discard broken timestamps for non-B frames in
samples/isom/vc1-wmapro.ism.
2012-05-18 19:38:21 +02:00
Diego Biurrun
1afc278994
fate: Set FUZZ factor of vorbis-13 test to 2.
...
This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.
2012-05-18 16:08:41 +02:00
Diego Biurrun
4cc8e15371
fate: Set FUZZ factor of (e)ac3-encode test to 3.
...
This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.
2012-05-18 16:08:40 +02:00
Mans Rullgard
ab5c38ec45
fate: remove unused code from regressions-funcs.sh
...
The only uses of the do_avconv_nomd5() function were removed in
85cf49f
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-18 14:00:36 +01:00
Mans Rullgard
7d7b40f48a
pcmenc: set correct bitrate value
...
This fixes a bogus bitrate value in the header of WAV files with
alaw/ulaw audio.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-17 02:34:57 +01:00
Anton Khirnov
d894752387
avprobe: don't print format entry name when only one was requested
...
This is easier to parse with automated tools.
2012-05-16 18:35:05 +02:00
Martin Storsjö
6ce51a9b39
fate: Work around non-standard wc implementations at more places
...
This applies the same fix as in ed7409fe9d
for lavf-regressions.sh.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-05-16 14:48:58 +03:00
Mans Rullgard
ed7409fe9d
fate: work around non-standard wc implementations
...
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>
2012-05-16 03:04:53 +01:00
Mans Rullgard
11e33402ca
fate: use standard diff options
...
diff -w is not a standard option. This fixes the reference files
to match what the tests actually output and switches to using the
standard diff -b which is sufficient to handle different line ending
styles.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15 19:47:18 +01:00
Mans Rullgard
6d042f7989
fate: rename psx-str-v3-mdec to mdec-v3
...
This name better reflects that it is v3 of mdec that is tested.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15 15:49:56 +01:00
Mans Rullgard
c68adc7b2f
fate: convert psx-str to a demuxer test
...
While these codecs are covered elsewhere, the container is different
from the other psx-str file.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15 15:49:56 +01:00
Mans Rullgard
0ff0af731c
fate: use diff -b in oneline comparison
...
This is simpler and should take care of any problems with mixed
line ending styles.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15 15:23:34 +01:00
Mans Rullgard
7abf789975
fate: make smjpeg a demux test
...
These codecs are covered elsewhere so make this a pure demux test.
Also rename it accordingly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-15 00:03:40 +01:00
Mans Rullgard
b1c1d7dae7
fate: separate sierra-vmd audio and video tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 21:38:28 +01:00
Mans Rullgard
0b1c868508
fate: separate smacker audio and video tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 21:38:28 +01:00
Anton Khirnov
369cb092ec
avconv: add support for audio filters.
...
The FATE changes are all off-by-one due to different rounding being used
(lrintf vs av_rescale_q).
2012-05-14 21:36:11 +02:00
Mans Rullgard
7c6d240665
mtv: do not byteswap raw video in demuxer
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 20:26:39 +01:00
Mans Rullgard
09a35f251a
fate: westwood-aud: disable decoding
...
The codec (adpcm-ima-ws) is tested elsewhere. Using framecrc output
provides more information than a single md5 if something goes wrong.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:06:05 +01:00
Mans Rullgard
f70d91e268
fate: caf: disable decoding
...
This is intended as a demuxer test and the file contains pcm_s16be
audio which is tested elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:05:30 +01:00
Mans Rullgard
b809991a31
fate: film-cvid: drop pcm audio and rename test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:05:07 +01:00
Mans Rullgard
0bbb330ee3
fate: d-cinema-demux: drop unnecessary flags
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:04:20 +01:00
Mans Rullgard
cd7b82c5d1
fate: split off dpcm-interplay from interplay-mve tests
...
These two files use the same audio codec so only one test for
this is needed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:02:02 +01:00
Mans Rullgard
838521e110
fate: rename funcom-iss to adpcm-ima-iss
...
This matches the name of the codec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:01:01 +01:00
Mans Rullgard
9656b7f2ae
fate: rename cryo-apc to adpcm-ima-apc
...
This matches the name of the tested codec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 13:00:26 +01:00
Mans Rullgard
773459e757
fate: rename adpcm-psx-str-v3 to adpcm-xa
...
This matches the name of the codec tested.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 12:56:06 +01:00
Mans Rullgard
6a64ff74fe
fate: split off adpcm-ms-mono test from dxa-feeble
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 12:55:47 +01:00
Mans Rullgard
95939bf565
fate: split off adpcm-ima-ws test from vqa-cc
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-14 12:55:33 +01:00