Anton Khirnov
b70d7a4ac7
lavc: add a native Opus decoder.
...
Initial implementation by Andrew D'Addesio <modchipv12@gmail.com> during
GSoC 2012.
Completion by Anton Khirnov <anton@khirnov.net>, sponsored by the
Mozilla Corporation.
Further contributions by:
Christophe Gisquet <christophe.gisquet@gmail.com>
Janne Grunau <janne-libav@jannau.net>
Luca Barbato <lu_zero@gentoo.org>
2014-05-15 06:49:34 +02:00
Anton Khirnov
6072184e70
asfenc: use codec descriptors instead of AVCodecs to write codec info
...
Also, stop using AVCodecContext.codec_name as fallback, since it will be
deprecated.
Changes the result of the lavf-asf test (and its associated seektest),
since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
2014-05-01 09:26:20 +02:00
Anton Khirnov
a1aa37dd0b
matroskaenc: write CodecDelay
2014-05-01 08:03:51 +02:00
Derek Buitenhuis
8de77b665d
fate: Add fic-in-avi test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2014-04-24 22:00:50 +01:00
Anton Khirnov
a4ed995cab
txd: do not set the codec timebase.
...
It is not supposed to be changed from outside of lavc.
Set the stream timebase and average framerate instead.
2014-04-22 07:44:16 +02:00
Martin Storsjö
911fa05b51
mvc: Specify the pixel format for the mv-mvc* tests
...
Also set the RGBA pixel format correctly as the native endian format,
which is what it returns.
This fixes the tests on big endian.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-04-19 21:41:34 +03:00
Vittorio Giovara
6dfd99c938
fate: add tests for SGI RLE and MVC1&2 decoders
2014-04-19 16:24:27 +02:00
Alessandro Ghedini
0983d48111
crc: add ANSI CRC16 LE
...
This adds the reversed byte-order version of the ANSI CRC16.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-04-17 20:08:19 +02:00
Anton Khirnov
13164e479f
FATE: add tests for more resampling modes
2014-04-13 11:20:49 +02:00
Anton Khirnov
f7c5fd8151
resample: implement flushing
2014-04-13 11:15:45 +02:00
Justin Ruggles
d9a542ace1
swscale: Set alpha to opaque for internal palettes.
...
Fixes conversion of pal8 to rgb formats with alpha.
Updated references for 2 FATE tests which previously encoded fully
transparent images.
Based on a patch by Baptiste Coudurier <baptiste.coudurier@gmail.com>
2014-04-12 14:07:19 -04:00
Vittorio Giovara
60fd7d36c4
fate: correctly set sample rate for mp2 tests
2014-04-09 02:11:25 +02:00
Vittorio Giovara
59388dac69
fate: update tests for YVYU422 pixel format
2014-04-08 23:24:41 +02:00
Paul B Mahol
a027d2a873
fate: add tests for SANM and VIMA
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2014-04-06 16:42:15 +02:00
Vittorio Giovara
287432430c
fate: add a VP7 test
2014-04-04 04:00:11 +02:00
Martin Storsjö
66d04c068a
fate: Explicitly use gray16le in fate-sgi-gray16
...
This fixes the test on big endian.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-04-01 12:05:15 +03:00
Vittorio Giovara
55c6e59906
fate: add SGI tests
2014-04-01 01:19:04 +02:00
Paul B Mahol
06688e96fb
fate: add exr tests
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2014-04-01 01:13:17 +02:00
Martin Storsjö
3e4e2142d2
fate: Convert the paletted output in the brenderpix tests to rgb24
...
This makes the output consistent on big-endian systems.
2014-03-31 01:04:05 +02:00
Vittorio Giovara
e8e560f2a2
fate: add a bmpparser test
2014-03-28 00:08:24 +01:00
Vittorio Giovara
991362fab4
fate: add XBM tests
2014-03-27 23:59:13 +01:00
Paul B Mahol
a7a5e3850e
fate: add PAF audio and video tests
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2014-03-27 23:34:47 +01:00
Vittorio Giovara
bb36b9aa7e
fate: add BRender PIX tests
2014-03-27 18:27:23 +01:00
Vittorio Giovara
9718c31ef6
fate: add Alias PIX tests
2014-03-26 23:25:02 +01:00
Janne Grunau
f0f687446e
float_dsp: add test program and use it as fate test
2014-03-18 13:08:00 +01:00
Anton Khirnov
a84c8af042
FATE: add a test for the ONE_STR mapping mode of the channelmap filter
2014-03-16 07:44:03 +01:00
Matthieu Bouron
5b930092c3
mxf: Set audio packets pts
...
Extrapolate audio timestamps based on the number of samples demuxed.
Deal with some MXF nastiness involving fractional number of
samples per EditUnit when seeking (the specs handwave this away).
Further fixes from Tomas Härdin.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2014-03-06 19:28:20 +01:00
Anton Khirnov
e1f2987b10
FATE: add tests for the shuffleplanes filter
2014-03-05 21:52:03 +01:00
Jan Ekström
3fbad00714
utvideoenc: Enable support for multiple slices and use them
...
The official Ut Video decoder only threads with slices, thus until
now any files encoded by the libavcodec encoder have only been
decodable with a single thread. The default slice count is now
set to subsampled_height / 120.
Also sets slices to 1 for the Ut Video encoder tests to keep them
green.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2014-02-14 15:09:39 +00:00
Ronald S. Bultje
dff1c19140
vp9: add a new segmentation sample.
...
The old one didn't use segmentation. One uses segmentation in all frame
types (--aq-mode=1), and the other uses all segmentation features, but
only in inter frames (mbgraph).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-02-12 15:18:21 +01:00
Ronald S. Bultje
91be8df20b
vp9: add fate sample for parallelmode.
...
This disables backward probability updates, which makes the codec more
friendly for frame-level multi-threading.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-02-12 15:17:40 +01:00
Guillaume Martres
f548f9f9e7
hevc: update conformance streams
...
New streams: LTRPSPS_A_Qualcomm_1, SLPPLP_A_VIDYO_1, VPSID_A_VIDYO_1
Updated streams: EXT_A_ericsson_4, NUT_A_ericsson_5, RPS_C_ericsson_5,
RPS_D_ericsson_6
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-02-10 07:48:41 +01:00
Anton Khirnov
b5f851ed7e
FATE: force FLAC in the lavf ogg test
...
Since b0c2c09
, vorbis would be used if libvorbis is compiled in.
2014-02-10 07:43:40 +01:00
Janne Grunau
5a0bccd281
fate: force the simple idct for xvid custom matrix test
...
The original test without a forced idct is still useful since it tests
the switching of the idct algorithm/permutation on x86 with MMX. MMXext
or SSE2. Make sure the test runs only if MMX inline asm is available and
force -cpuflags to all.
Add the required bitexact flag for both tests.
2014-02-05 21:02:39 +01:00
Janne Grunau
04ffd22030
fate: add xvid test for custom matrices
...
Test sample is made from the sample in Bug-Id: videolan/7411
2014-01-31 11:12:31 +01:00
Martin Storsjö
f8558780bb
fate: Explicitly specify the rgb555le pixel format for the mss2 rgb555 tests
...
This fixes these fate tests on big endian.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-10 18:05:40 +02:00
Vittorio Giovara
11d704dc94
fate: add framepack filter test
2014-01-09 23:13:05 +01:00
Anton Khirnov
a246af86e4
FATE: add MSS2 tests
2014-01-09 09:44:48 +01:00
Anton Khirnov
ca96e33716
vp9: drop support for real (non-emulated) edges
...
They are not measurably faster on x86, they might be somewhat faster on
other platforms due to missing emu edge SIMD, but the gain is not large
enough to justify the added complexity.
2014-01-09 09:43:59 +01:00
Anton Khirnov
ef8c93e2f1
vp8: drop support for real (non-emulated) edges
...
They are not measurably faster on x86, they might be somewhat faster on
other platforms due to missing emu edge SIMD, but the gain is not large
enough to justify the added complexity.
2014-01-09 09:41:24 +01:00
Guillaume Martres
060667195e
hevc: rename some HEVC conformance streams
...
Some HEVC conformance streams zip on
http://wftp3.itu.int/av-arch/jctvc-site/bitstream_exchange/draft_conformance/
were updated without changing the actual stream. Rename them in FATE
accordingly to make it easier to track future stream updates.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-01-06 08:05:17 +01:00
Guillaume Martres
98c0cd0b99
hevc: add new conformance streams
...
Also remove superseded conformance streams. The conformance streams all
come from http://wftp3.itu.int/av-arch/jctvc-site/bitstream_exchange/draft_conformance/
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-01-06 08:03:35 +01:00
Alex Converse
9d18a7d3ec
fate: Update AAC ELD 5.1 ref for recent bugfixes.
2014-01-04 14:42:38 -08:00
Alex Converse
42d1b41983
fate: Add a test vector for AAC ELD with TNS.
2014-01-04 14:42:38 -08:00
Alex Converse
e2096e2eaa
fate: Add a downsampled SBR testvector
2014-01-04 14:42:38 -08:00
Anton Khirnov
b318106fae
FATE: add a test for the lavr mixing case fixed in fc6a3ef40d
2014-01-03 16:44:03 +01:00
Anton Khirnov
a8cc88b1a2
tests/Makefile: allow FILTER* to be called with lists of filter names
2014-01-03 16:43:41 +01:00
Martin Storsjö
e121a725c3
fate: Explicitly specify the pixel format for the pngparser test
...
The RGB32 pixel format is RGBA/BGRA depending on target
endianness - make sure to convert it to one specific format for
the framecrc tests.
This fixes the pngparser fate test on big endian.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-12-18 21:21:41 +02:00
Vittorio Giovara
cfb4ee3097
fate: add a pngparser test
2013-12-17 09:34:08 +01:00
Vittorio Giovara
eddff165b4
fate: add utility function to test parser, demuxer, and decoder
2013-12-17 09:34:08 +01:00
Anton Khirnov
24abd806ea
ljpegenc: deMpegEncContextize
...
The encoder uses almost none of the mpegvideo infrastructure, only some
fields from MpegEncContext.
The FATE results change because now an all-zero quant matrix is written
into the file. Since it is not used for anything for ljpeg, this should
not be a problem.
2013-12-05 13:35:55 +01:00
Anton Khirnov
58a868968d
FATE: drop the last partial frame in the wmv8-drm test
...
This has already been done in eb066a4ce9
,
but the number of frames produced from that file changed due to
timestamps changes since then.
2013-12-05 13:27:52 +01:00
Vittorio Giovara
874838dc65
fate: add one select filter test
...
This test selects alternate frames from input.
2013-11-21 13:01:00 +01:00
Anton Khirnov
952f943d40
FATE: add a jv test
2013-11-16 13:20:06 +01:00
Ronald S. Bultje
72ca830f51
lavc: VP9 decoder
...
Originally written by Ronald S. Bultje <rsbultje@gmail.com> and
Clément Bœsch <u@pkh.me>
Further contributions by:
Anton Khirnov <anton@khirnov.net>
Diego Biurrun <diego@biurrun.de>
Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö <martin@martin.st>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-15 10:16:28 +01:00
Guillaume Martres
e1c058dba9
FATE: Add HEVC tests
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-31 20:20:16 +01:00
Diego Biurrun
9510d7689e
fate.sh: Allow non-fast-forwards when updating sources
2013-10-29 14:46:28 +01:00
Paul B Mahol
79ef4b19bf
FATE: add bitexact sws flags to the fieldorder test
...
swscale is called for the 420 to 422 conversion
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-27 21:34:28 +01:00
Alex Converse
4e326ec769
fate: aac: Add test for AAC-ELD
2013-10-25 19:41:23 +00:00
Vittorio Giovara
157dc0b489
fate: add fieldorder filter test
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-10-22 10:59:03 +02:00
Diego Biurrun
23e6d3d4e2
fate: vpx: Remove one redundant $(eval) invocation
2013-10-19 15:09:29 +02:00
Martin Storsjö
a27f1116cd
fate: Increase the tolerance in the lavr tests
...
A few fate instances on OS/2, OpenBSD, FreeBSD and IA64 linux currently
still fail a few tests with a maxdiff of 6.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-17 19:09:50 +03:00
Diego Biurrun
f52fd3f3b2
fate: aac: Add test for AAC-LD
2013-10-17 12:36:35 +02:00
James Almer
6b081eff4d
fate: add vorbiscomment cover art test
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-15 19:48:27 +02:00
Anton Khirnov
68edd5be09
FATE: use proper comparison mode in the lavr tests
2013-10-15 19:11:49 +02:00
Anton Khirnov
dd33637c18
tiny_psnr: switch f32 handling to floating point
...
Also add support for f64.
2013-10-15 19:10:33 +02:00
Anton Khirnov
364af376f3
FATE: add lavr resampling tests
2013-10-12 15:07:46 +02:00
Anton Khirnov
9ab5f7107d
FATE: add lavr mixing tests
2013-10-12 15:07:26 +02:00
Anton Khirnov
93370d1216
mxfdec: set audio timebase to 1/samplerate
...
Fixes sync in some samples (e.g. bugs 7581 and 8374 in VLC).
Based on a commit by Matthieu Bouron <matthieu.bouron@gmail.com>
Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
CC: libav-stable@libav.org
2013-09-29 21:50:30 +02:00
Diego Biurrun
c58f4069e1
fate.sh: Run git-clone quietly
2013-09-10 12:38:41 +02:00
John Stebbins
f812eeda17
matroskaenc: Fix writing TRACKDEFAULTFLAG
...
The element was only being written when the value == 1. But the default
value of this element is 1, so this has no useful effect. This element
needs to be written when the value == 0.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-27 14:00:31 +02:00
John Stebbins
30ce289074
movenc: Make tkhd "enabled" flag QuickTime compatible
...
QuickTime will play multiple audio tracks concurrently if this flag is
set for multiple audio tracks. And if no subtitle track has this flag
set, QuickTime will show no subtitles in the subtitle menu.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-23 09:55:42 +02:00
Luca Barbato
aae159a7cc
nuv: Do not ignore lzo decompression failures
...
Update the fate reference since the last broken frame is not decoded
anymore.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2013-08-13 13:09:22 +02:00
Anton Khirnov
fa09e76010
FATE: add a TAK test
2013-08-08 22:59:42 +02:00
Diego Biurrun
711c4da1af
fate: Add tree test
2013-07-29 19:20:28 +02:00
Diego Biurrun
c47037c7a1
fate: Add timefilter test
2013-07-29 19:20:27 +02:00
Diego Biurrun
37063714c0
build: Only check FATE dependencies when running FATE tests
...
Only check dependencies if invoking the make targets 'check'
or anything matching 'fate%' except 'fate-rsync'.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-07-27 16:50:21 +03:00
Diego Biurrun
03039f4c8c
miscellaneous typo fixes
2013-07-25 19:43:32 +02:00
Sean McGovern
52ea298670
fate: use current syntax for the scale filter
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-07-12 11:08:25 +03:00
Diego Biurrun
6516632967
tests: Only run noproxy test if networking is enabled
2013-07-06 15:36:57 +02:00
Anton Khirnov
8ad3267ce3
oggdec: do not fall back on binary search in the generic code.
...
Binary search is already attempted in the format-specific seek function,
so the fallback is only reached if binary search failed already.
2013-07-02 10:37:22 +02:00
Derek Buitenhuis
b6507930ac
fate: Add Canopus Lossless YUY2 test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-06-24 18:26:08 -04:00
Martin Storsjö
d7b9b66abb
fate.sh: Allow specifying --as via a specific variable
...
This simplifies specifying a value containing spaces for this
parameter.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-29 10:37:05 +03:00
Anton Khirnov
01656fd476
matroskaenc: support muxing WavPack
2013-05-28 18:18:57 +02:00
Martin Storsjö
ba13606ca6
fate: Add a --target-samples path parameter
...
This allows having the samples accessible via different paths
on the target and on the host.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-28 17:16:54 +03:00
Martin Storsjö
4a27a52a1f
fate: Don't use files from SRC_PATH in the actual tests
...
If building out of tree, make sure the filter scripts are copied
into the build tree before running tests. This makes sure that
SRC_PATH doesn't need to exist on the remote system (or doesn't
need to exist at the same path).
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-28 17:14:18 +03:00
Kostya Shishkov
e9e5a1bdc7
Monkey's Audio old versions FATE tests
2013-05-24 09:04:18 +02:00
Diego Biurrun
c209d0df65
fate.sh: add support for build-only FATE instances
...
If the "build_only" variable is set in the configuration file, the
FATE client will skip running tests and just compile all targets.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-21 10:07:19 +03:00
Kostya Shishkov
e45d6222cc
Escape 130 FATE test
2013-05-19 07:09:36 +02:00
Kostya Shishkov
8e673efc6f
prores: update FATE test to account for alpha plane present in the test sample
2013-05-19 07:09:23 +02:00
Michael Niedermayer
0313653928
vc1dec: Update destination pointers in context for fields
...
This replaces a large number of checks for the second field by
fixing the pointers when they are setup.
This should also fix I/BI field pictures.
Changes checksums for vc1_sa10143, the file becomes slightly closer
to what the reference decoder outputs.
Based on "vc1dec: the second field is written wrong to the picture"
by Sebastian Sandberg <sebastiand.sandberg@gmail.com>.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-15 11:38:49 +03:00
Luca Barbato
7cbc4cb442
fate: update the mmf reference
...
Using Optional Data chunk introduced changes the hash.
2013-05-14 18:50:27 +02:00
Martin Storsjö
5d9d8461fb
vc1dec: Don't apply the loop filter on fields
...
Fixes read of uninitialized memory.
Based on a patch by Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-14 14:36:00 +03:00
Diego Biurrun
bd392785a7
fate-run: Drop unnecessary regtest() indirection
...
The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.
2013-05-07 19:27:47 +02:00
Anton Khirnov
cd4bfe3a50
FATE: use a less ambiguous end time for filter-trim-time test
...
0.1 seconds at 25 fps is exactly 2.5 frames, which may be rounded either
to 2 or 3 on different platforms.
2013-05-07 12:33:13 +02:00
Janne Grunau
851465f9d9
fate-jpeg2000-dcinema: force output to xyz12le
...
Fixes Fate tests on big-endian configs.
2013-05-06 21:48:15 +02:00
Reinhard Tartler
95e8ac60f8
build: normalize coverage.info
...
Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
2013-05-04 09:34:58 +02:00
Reinhard Tartler
768e44d044
build: tune down the output of lcov/gcov
...
In the default settings, both tools produce a lot of unhelpful noise.
2013-05-04 09:34:58 +02:00
Anton Khirnov
b333f3a22a
lavf-regression: use -frames instead of -t for image tests
...
-t 0.5 is 12.5 frames at 25 fps, which may round to either 12 or 13 on
different platforms.
2013-05-03 08:07:45 +02:00
Anton Khirnov
a83c0da539
avconv: make -t insert trim/atrim filters.
...
This makes -t sample-accurate for audio and will allow further
simplication in the future.
Most of the FATE changes are due to audio now being sample accurate. In
some cases a video frame was incorrectly passed with the old code, while
its was over the limit.
2013-04-30 11:53:12 +02:00
Anton Khirnov
a1e05b0487
lavfi: add trim and atrim filters.
2013-04-30 11:24:57 +02:00
Anton Khirnov
3d10614529
FATE: add an additional indeo3 test
...
It is a part of the sample that got broken by recent indeo3 changes.
2013-04-30 11:06:03 +02:00
Diego Biurrun
b963f021b6
fate: Invoke pixfmts lavfi tests through fate-run.sh
2013-04-27 16:53:42 +02:00
Diego Biurrun
28663511c9
fate: Invoke pixdesc lavfi tests through fate-run.sh
2013-04-27 16:53:42 +02:00
Diego Biurrun
03b052c023
fate: Invoke standard lavfi tests through fate-run.sh
2013-04-27 16:53:42 +02:00
Diego Biurrun
7c00e9d8ae
x86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponents
...
The function requires increasing the fuzz factor for the ac3/eac3 encode
tests and even so makes fate fail. It only provides a slight encoding
speedup for legacy CPUs that do not support SS2. Thus its benefit is not
worth the trouble it creates and fixing it would be a waste of time.
2013-04-26 21:06:52 +02:00
Luca Barbato
c2cb01d418
lavf: introduce AVFMT_TS_NEGATIVE
...
Most formats do not support negative timestamps, shift them to avoid
unexpected behaviour and a number of bad crashes.
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-04-25 10:13:27 +02:00
Vittorio Giovara
fc18cc44eb
fate: add CVFC1_Sony_C to h264 conformance tests
...
The sample is already included in the FATE suite, but is not tested
because cropping wasn't fully supported before.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-04-24 17:44:11 +02:00
Nicolas Bertrand
c81a706381
JPEG 2000 decoder for DCinema
...
Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl>
Updated to current programming standards, style and many more small
fixes by Diego Biurrun <diego@biurrun.de>.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-04-22 15:38:29 +02:00
Anton Khirnov
9bfc6e02ba
afifo: fix request_samples on the last frame in certain cases
...
The current code can fail to return the last frame if it contains
exactly the requested number of samples.
Fixes the join filter test, which previously did not include the last
408 samples in most cases.
CC:libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-04-22 02:29:56 +02:00
Diego Biurrun
bc7fbd36ea
fate: cosmetics: More sensible order for entries in video filter file
2013-04-19 18:07:48 +02:00
Diego Biurrun
a77aed142c
fate: Rename video filters file and add separate video filters target
2013-04-19 18:07:48 +02:00
Diego Biurrun
b357f1d1d3
fate: Split audio filters into their own separate file
2013-04-19 18:07:48 +02:00
Diego Biurrun
3eec1d41b4
fate: Reuse VREF and AREF variables where appropriate
2013-04-19 18:07:48 +02:00
Martin Storsjö
6add6272da
fate: Set the bitexact flag for vp3/vp5/vp6 tests
...
This is required since there are bit-inexact implementations
of the vp3 idct (for bfin).
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-04-15 14:19:16 +03:00
Vittorio Giovara
25882a7ff6
FATE: add a test for the interlace filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-04-11 21:33:58 +02:00
Anton Khirnov
ba8efac977
af_channelmap: switch to an AVOptions-based system.
2013-04-09 19:09:40 +02:00
Reinhard Tartler
a862c7d336
Integrate lcov/gcov into Libav
...
The gcov/lcov are a common toolchain for visualizing code coverage with
the GNU/Toolchain. The documentation and implementation of this
integration was heavily inspired from the blog entry by Mike Melanson:
http://multimedia.cx/eggs/using-lcov-with-ffmpeg/
2013-04-05 18:55:11 +02:00
Luca Barbato
b01b60a29d
fate: add an option to generate the references
...
Useful to add or update fate tests.
2013-03-29 15:41:26 +01:00
Anton Khirnov
8a2f5f0c63
FATE: add a test for the join filter
2013-03-28 08:03:43 +01:00
Anton Khirnov
9e9cd98aed
FATE: add a test for the volume filter
2013-03-28 08:03:31 +01:00
Anton Khirnov
43a8333a16
FATE: add a test for the channelsplit filter
2013-03-28 08:03:12 +01:00
Anton Khirnov
33942b7bde
FATE: add a test for the channelmap filter
2013-03-28 08:02:55 +01:00
Anton Khirnov
f917420378
FATE: add a test for the negate filter
2013-03-28 08:02:47 +01:00
Anton Khirnov
3d8c80b611
FATE: add a test for the overlay filter
2013-03-28 08:01:58 +01:00
Anton Khirnov
ea290d919a
FATE: add a test for the setpts filter
2013-03-28 08:01:46 +01:00
Anton Khirnov
71f3ede24e
FATE: add a test for the hqdn3d filter
2013-03-28 08:01:41 +01:00
Anton Khirnov
0bdbd85e47
FATE: add a test for the transpose filter
2013-03-28 08:01:34 +01:00
Anton Khirnov
ad85e8d9a5
FATE: add a test for the unsharp filter
2013-03-28 08:01:26 +01:00
Anton Khirnov
1a6d4bd7b6
FATE: add a test for the fade filter
2013-03-28 08:01:13 +01:00
Anton Khirnov
feb4922b25
FATE: add a test for the drawbox filter
2013-03-28 08:01:07 +01:00
Anton Khirnov
a222997650
FATE: add a test for the boxblur filter
2013-03-28 08:00:58 +01:00
Anton Khirnov
7cec12748a
FATE: add a test for the gradfun filter
2013-03-28 08:00:24 +01:00
Diego Biurrun
f2a59722d1
fate: filter: Add dependencies
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-28 07:58:44 +01:00
Janne Grunau
535c247b57
fate: use little endian yuv444p10 in h264-reinit tests
...
Fixes fate big endian configs.
2013-03-23 13:12:36 +01:00
Janne Grunau
3f15b301fa
fate: add test for cropping h264 to container dimensions
...
Tests the workaround added for 1080 videos created with Canon cameras
in 30f515091c
.
2013-03-22 21:58:01 +01:00
Anton Khirnov
93eaeb0244
FATE: add a tscc2 test.
2013-03-22 20:10:56 +01:00
Janne Grunau
1c4073efd2
fate: add tests for h264 decoder reinit
2013-03-20 16:04:27 +01:00
Anton Khirnov
64bfc3e205
FATE: replace -vb with -b:v
...
The -{vas}<option> syntax is now obsolete and deprecated, and has never
been documented or encouraged.
2013-03-08 14:14:17 +01:00
Anton Khirnov
6deae8e053
FATE: remove the -dct option from some decoding tests.
...
It is an encoding option, it has no effect when applied to decoding.
2013-03-08 14:14:05 +01:00
Anton Khirnov
bde48aa92d
FATE: enable multiple slices in the ffv1 vsynth test
...
This allows us to test the slice threading code.
2013-03-08 08:10:52 +01:00
Ronald S. Bultje
65f1d45dcc
lavu: add support for atomic operations.
...
These could be used for reference counting, or for keeping track of
decoding progress in references in multithreaded decoders.
Support is provided by gcc/msvc/suncc intrinsics, with a fallback using
pthread mutexes.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-08 07:32:36 +01:00
Janne Grunau
15ea1ac695
fate: remove last incomplete frame from mpeg2-field-enc test
2013-03-04 11:22:21 +01:00
Martin Storsjö
5c8696555a
lavf: Add a fate test for the noproxy pattern matching
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-27 21:32:14 +02:00
Anton Khirnov
64ed397635
vf_yadif: fix out-of line reads
...
Some changes in the border pixels, visually indistinguishable.
2013-02-15 16:08:33 +01:00
Martin Storsjö
d192ac3e03
swscale: Disallow conversion to GBRP16
...
This reverts parts of d6d5ef5534
, that didn't work right. (The
tests that were added failed on big endian, and the output looked
garbled on little endian as well.)
This is due to the fact that the intermediate scaling values (from
e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and
thus requires a separate output function, while yuv2gbrp_full_X_c
only interprets it as int16_t.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-02-11 20:03:16 +02:00
Michael Niedermayer
d6d5ef5534
sws: GBRP9, GBRP10, and GBRP16 output support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-02-09 14:31:11 -05:00
Anton Khirnov
81726a4f0b
FATE: add tests for additional flavors of asf cover art
2013-02-09 18:57:21 +01:00
Anton Khirnov
293065bdb5
mpegvideo: initialize dummy reference frames.
...
Do not rely on get_buffer initializing them.
Changes yadif tests (off by one in one border pixel), because yadif
reads from those uninitialized lines.
2013-02-06 10:21:52 +01:00
Anton Khirnov
dff6197dfb
nuv: do not rely on get_buffer() initializing the frame.
2013-02-06 10:21:52 +01:00
Anton Khirnov
39a9fdd00f
yop: initialize palette to 0
...
The FATE sample contains some pixels with value 0, but the palette
stored in the file contains only values from 16 up. Because the default
and cmdutils get_buffer() initialize the data to 0x80, they appear as
gray dots.
After this commit they change to black dots, which is probably still
incorrect but less visible and doesn't rely on get_buffer() initializing
the data.
2013-02-06 10:21:52 +01:00
Kostya Shishkov
89f11f498b
qtrle: fix the topmost line for 1bit
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org
2013-02-06 10:21:52 +01:00
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