f028d4d1c3
mxfdec: hybrid demuxing/seeking solution
...
This uses the old demuxing code for OP1a and separate demuxing code for OPAtom.
Timestamp output is added to the old demuxing code.
The seeking code is made to seek to the start of the desired EditUnit only,
from which the normal demuxing code takes over (if OP1a). This means we
do not use delta entries or slices, only StreamOffsets. OPAtom seeking
basically works like before.
This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other
words, we allow seeking before the start or past the end for D-10 too.
Based on several patches by Tomas Härdin <tomas.hardin@codemill.se > and
Reimar Döffinger <Reimar.Doeffinger@gmx.de >.
Changed av_calloc to av_mallocz, added overflow checks.
2012-01-22 14:40:53 +01:00
e5903e2972
fate: add some shorthands to run groups of tests
2012-01-19 00:45:21 +01:00
395e6402fe
fate: Give some tests more sensible names.
2012-01-19 00:45:06 +01:00
b481bbc32a
tests: K&R formatting cosmetics for test programs
2012-01-18 21:07:17 +01:00
2df5f59ad0
fate: split ADPCM and DPCM test references into separate files.
2012-01-15 22:00:12 +01:00
4c82c6d993
FATE: convert output to rgba for the targa tests which currently output pal8
...
fixes the tests on big-endian systems
2012-01-13 18:40:12 -05:00
502bf3b462
fate: add missing reference files for targa tests in 9c2f9b0e2
...
Fixes fate-targa-conformance-CCM8 and fate-targa-conformance-UCM8.
2012-01-13 23:52:59 +01:00
9c2f9b0e2d
FATE: enable the 2 remaining targa conformance suite tests
2012-01-13 17:13:12 -05:00
e1a7af6f29
FATE: fix targa tests on big-endian systems
2012-01-13 16:14:48 -05:00
68d6012c72
FATE: add tests for targa
...
Based on a patch by Oana Stratulat <oanaandreeastratulat@gmail.com >
2012-01-13 15:45:30 -05:00
5c7c9a9f33
fate: Update file checksums after the mov muxer change in a78dbada55
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-01-10 16:54:23 +02:00
a67b8c86d0
fate: Add tests for more AAC features.
...
al15_44 uses independent coupling.
al18_44 uses PNS (perceptual noise substitution).
am05_44 uses main prediction and independent coupling.
Signed-off-by: Alex Converse <alex.converse@gmail.com >
2012-01-09 11:21:40 -08:00
cd6e34d369
fate: Add tests for vc1/wmapro in ism.
2012-01-09 11:04:17 -08:00
46ef355c65
aacdec: Add a fate test for 5.1 channel SBR.
2012-01-09 11:04:05 -08:00
5cad970971
swscale: RGB4444 and BGR444 input
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-08 20:19:41 -08:00
d41d7773bc
FATE: add test for xWMA demuxer.
...
(Does not attempt to decode percetual audio data inside.)
Code coverage: libavformat/xwma.c: 3% -> 75%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-08 18:33:59 -08:00
2dee0cdb8e
FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.
...
(Don't attempt to decode JPEG data.)
Code coverage: libavformat/smjpeg.c: 0% -> 69%
libavcodec/adpcm.c: 0% -> 10% (fresh run); 92.4% -> 93% following a FATE run
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-08 18:31:50 -08:00
599855748a
FATE: test to exercise WTV demuxer.
...
Does not attempt to decode perceptual codecs inside.
Code coverage: libavformat/wtv.c: 0% -> 71%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-08 14:53:35 -08:00
a83f5b8a96
FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-08 14:20:04 -08:00
15f073ee6d
FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside.
...
Code coverage:
libavformat/xmv.c: 3% -> 91%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-07 11:21:27 -08:00
2907f88aee
FATE test: BMV demuxer and associated video and audio decoders.
...
Code coverage:
libavcodec/bmv.c: 0% -> 75%
libavformat/bmv.c: 0% -> 85%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-07 11:10:58 -08:00
9689a1af6d
FATE: indeo4 video decoder test.
...
Code coverage:
libavcodec/indeo4.c: 0% -> 78%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-07 11:09:04 -08:00
f93843e9a0
FATE: update xxan-wc4 test to a sample with more code coverage.
...
The previous sample used for this test only contained type 0 frames.
Replace it with a sample that also features type 1 frames.
Code coverage:
libavcodec/xxan.c: 72% -> 89%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-07 11:06:53 -08:00
c262404d98
Change the recent h264_mp4toannexb bitstream filter test to output to an elementary stream rather than a program stream.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2012-01-07 11:04:46 -08:00
77c5b66cbe
g722enc: set frame_size, and also handle an odd number of input samples
...
The fate reference is updated because the previous test skipped a sample in
each encode() call due each input frame having an odd number of samples.
2012-01-07 13:38:23 -05:00
ce23b2af18
fate: Add missing reference file from 9b4767e4
.
2012-01-05 11:14:23 -08:00
5e5cde2745
vp3: add fate test for non-zero last coefficient
2012-01-05 18:18:08 +01:00
3e57573fce
fate: add ADX encoding/decoding test
2012-01-03 18:47:42 -05:00
fd16f56798
fate: add dxtory test
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net >
2012-01-03 23:16:29 +01:00
881a5e047d
mpegenc: use avctx->slices as number of slices
...
Adds a new member to MpegEncContext to hold the number of used slice
contexts. Fixes segfaults with '-threads 17 -thread_type slice' and
fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
2012-01-02 19:20:23 +01:00
60d626650a
fate: use rgb24 as output format for dfa tests
...
Palette is as supposed in native endianness. Converting the pal8 output
to rgb24 is thus necessary for identical CRCs on big and little endian
systems.
2012-01-01 17:11:27 +01:00
febd022228
FATE: add tests for dfa
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2011-12-31 15:06:31 -05:00
9afc025bff
fate: whitespace cosmetics
2011-12-30 22:18:17 +01:00
628637f67b
fate: split off video codec FATE tests into their own file
2011-12-30 22:18:14 +01:00
ab2d11f75b
fate: split off audio codec FATE tests into their own file
2011-12-30 22:18:13 +01:00
394f0b18bf
fate: split off Electronic Arts codec FATE tests into their own file
2011-12-30 22:18:12 +01:00
f6ba1f2641
fate: split off QuickTime codec FATE tests into their own file
2011-12-30 22:18:11 +01:00
51150cf070
fate: split off voice codec FATE tests into their own file
2011-12-30 22:18:10 +01:00
c7cb1730da
fate: split off demuxer FATE tests into their own file
2011-12-30 22:18:09 +01:00
f486fb338e
fate: drop pointless _audio and _video suffixes from xan tests
2011-12-30 21:14:07 +01:00
ae51b1a9ba
FATE: Add test for H.264 MP4->annex.B bitstream filter.
...
This test uses an existing FATE sample (h264/interlaced_crop.mp4).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-12-30 11:20:20 -08:00
209c445267
fate: split off DPCM codec FATE tests into their own file
2011-12-30 01:01:20 +01:00
bdda1616f4
fate: split off PCM codec FATE tests into their own file
2011-12-30 01:01:18 +01:00
8ca903ebcb
fate: Add a video test for xxan decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-12-29 13:59:09 -08:00
ac1c27bc2b
fate: add more tests for VC-1 decoder
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net >
2011-12-29 15:32:31 +01:00
733b23c2e4
fate: Add v210 codec regression tests
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-12-28 20:50:41 +01:00
723c35feb0
fate: split off vqf/twinvq FATE tests into their own file
2011-12-26 16:43:04 +01:00
9e5bd6cc94
fate: split off mpc FATE tests into their own file
2011-12-26 16:43:03 +01:00
913b6b4b98
fate: split off libavcodec FATE tests into their own file
2011-12-26 16:43:03 +01:00
4e616d0915
fate: split off Microsoft codec FATE tests into their own file
2011-12-26 16:43:02 +01:00