Michael Niedermayer
f58d670002
movenc: Decrease default chunk merge limit to 1mb.
...
This reduces the delay when opening the video with quicktime.
Idea-by: Maksym Veremeyenko <verem@m1stereo.tv>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
89ddff92a3
Revert "movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs"
...
This reverts commit 8e8c51318c
.
Fixes Ticket873
Conflicts:
tests/ref/acodec/pcm_s16be
tests/ref/acodec/pcm_s24be
tests/ref/acodec/pcm_s32be
tests/ref/acodec/pcm_s8
tests/ref/lavf/mov
Approved-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
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.
13 years ago
Reimar Döffinger
77b90f0cd0
Add a --valgrind configure option.
...
If specified runs "make fate" through valgrind using the
given valgrind binary.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Diego Biurrun
e5903e2972
fate: add some shorthands to run groups of tests
13 years ago
Diego Biurrun
395e6402fe
fate: Give some tests more sensible names.
13 years ago
Gaurav Narula
b481bbc32a
tests: K&R formatting cosmetics for test programs
13 years ago
Stefano Sabatini
999495734b
lavu/eval: add if() and ifnot() eval functions
...
They allow to implement the if/then/else logic, which cannot be
implemented otherwise.
For example the expression:
A*B + not(A)*C
always evaluates to NaN if B is NaN, even in the case where A is 0.
13 years ago
Michael Niedermayer
905c4dc2b0
dpxenc: Dont store lavc indent when bitexact is set.
...
This avoids fate breakage from bumping version.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
72ad228ada
fate: add GEN tag for mapchan sw tests.
13 years ago
Reimar Döffinger
c203044f37
Remove extraneous newline from dpx reference which breaks FATE.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Carl Eugen Hoyos
d93b6340d7
Add dpx encoding regression test.
13 years ago
Carl Eugen Hoyos
a8b117f800
Add gray16 and rgb48 png encoding regression tests.
13 years ago
Diego Biurrun
2df5f59ad0
fate: split ADPCM and DPCM test references into separate files.
13 years ago
Michael Niedermayer
73da4fd520
Revert "buildsystem: add $EXESUF to the used tool for fate"
...
This reverts commit 668a74e808
.
10l, this change was unneeded, target_exec can be used to achive the same.
13 years ago
Michael Niedermayer
668a74e808
buildsystem: add $EXESUF to the used tool for fate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
633606c905
FATE: fix targa tests on big-endian systems
13 years ago
Justin Ruggles
4c82c6d993
FATE: convert output to rgba for the targa tests which currently output pal8
...
fixes the tests on big-endian systems
13 years ago
Janne Grunau
502bf3b462
fate: add missing reference files for targa tests in 9c2f9b0e2
...
Fixes fate-targa-conformance-CCM8 and fate-targa-conformance-UCM8.
13 years ago
Justin Ruggles
9c2f9b0e2d
FATE: enable the 2 remaining targa conformance suite tests
13 years ago
Justin Ruggles
e1a7af6f29
FATE: fix targa tests on big-endian systems
13 years ago
Justin Ruggles
68d6012c72
FATE: add tests for targa
...
Based on a patch by Oana Stratulat <oanaandreeastratulat@gmail.com>
13 years ago
Martin Storsjö
5c7c9a9f33
fate: Update file checksums after the mov muxer change in a78dbada55
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
2169f971ad
fate: Disable fate-wmv8-x8intra
...
This test does not work on all platforms and until it does
it just hides new failures, which is really bad.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Gaurav Narula
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>
13 years ago
Alex Converse
cd6e34d369
fate: Add tests for vc1/wmapro in ism.
13 years ago
Alex Converse
46ef355c65
aacdec: Add a fate test for 5.1 channel SBR.
13 years ago
Paul B Mahol
5cad970971
swscale: RGB4444 and BGR444 input
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
3e9668501d
fate: add bitexact and idct to x8intra
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mike Melanson
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>
13 years ago
Mike Melanson
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>
13 years ago
Mike Melanson
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>
13 years ago
Mike Melanson
a83f5b8a96
FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Clément Bœsch
ca324f9869
fate: add generic rules for most of the remaining tests/fate/*.mak files.
13 years ago
Reimar Döffinger
fe21ea1798
Add wmv8-x8intra fate test.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
ce39ba92c0
fate: enable wc4-xan test, the sample is now on our rsync server.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mike Melanson
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>
13 years ago
Mike Melanson
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>
13 years ago
Mike Melanson
9689a1af6d
FATE: indeo4 video decoder test.
...
Code coverage:
libavcodec/indeo4.c: 0% -> 78%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mike Melanson
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>
13 years ago
Mike Melanson
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>
13 years ago
Justin Ruggles
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.
13 years ago
Alex Converse
ce23b2af18
fate: Add missing reference file from 9b4767e4
.
13 years ago
Janne Grunau
5e5cde2745
vp3: add fate test for non-zero last coefficient
13 years ago
Justin Ruggles
3e57573fce
fate: add ADX encoding/decoding test
13 years ago
Oana Stratulat
fd16f56798
fate: add dxtory test
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Janne Grunau
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.
13 years ago
Janne Grunau
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.
13 years ago
Oana Stratulat
febd022228
FATE: add tests for dfa
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Diego Biurrun
9afc025bff
fate: whitespace cosmetics
13 years ago