Michael Niedermayer
c1507db617
fate: Force simple idct for fate-asf-repldata
otherwise it can fail when a different idct is used on some platform
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
a27c9f61bf
fate: add -fflags +bitexact in a few places.
This improves results after FF_API_LAVF_BITEXACT=0. It still doesn't
pass, because of mov rtphint track which I don't understand (yet).
10 years ago
Ronald S. Bultje
61043777d7
fate: explicitly specify audio bitrate for adpcm/mp2fixed tests.
They picked up defaults, which changes from 128 to 200 when we remove
FF_API_OLD_AVOPTIONS.
10 years ago
Ronald S. Bultje
cdbd3b1e7d
fate: move -flags +mv0 -> -mpv_flags +mv0.
Fixes associated fate tests when FF_API_MV0=0.
10 years ago
Alexandra Hájková
58c3720a3c
fate: Make sure a corner-case for ASF is covered
Test the demuxer for the case when the replicated data length in
a sample is 0.
Sample-ID: https://samples.libav.org/mplayer-bugs/bug821/bug821-2.asf
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Niklesh
1bf8f54274
movtextdec: Use default style information from movtext header
As suggested, posting the combined patch with the fate changes.
The patch sets the default style in ASS from the default style
information present in the movtext header.
Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
10 years ago
Ganesh Ajjanagadde
36e17d994e
tests/fate-run: make FATE non-interactive
FATE is non-interactive; it should not listen to user commands
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This should fix leaving the terminal in a messed up state with
zsh in case of crashes during fate
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Henrik Gramner
8f4a06faf4
checkasm: Remove unnecessary include
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Ludmila Glinskih
8ec89681af
tests/api/api-h264-test: structure changes to avoid duplicate code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
bee2e702cc
tests/fate/mp3: increase mp3-float-extra_overread FUZZ for ppc64be-RHEL7.0-gcc-4.8.2-ibmcrl to 23 from 20
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Henrik Gramner
5e8e121fcc
checkasm: Remove unnecessary include
10 years ago
Sasi Inguva
31852540d4
libavformat/matroska: Write stream durations in metadata, in the format of mkvmerge.
Compute individual stream durations in matroska muxer.
Write them as string tags in the same format as mkvmerge tool does.
Signed-off-by: Sasi Inguva <isasi@google.com>
10 years ago
Michael Niedermayer
e322b7061f
avcodec/dcaenc: clear bitstream end
This avoids leaving uninitialized bits in the output
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
582d98aed9
tests/fate/mp3: Fix fate-mp3-float-extra_overread on mips-qemu
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Anton Khirnov
90e648c508
fate/mp3: use the f32le format as output
Those tests test the float decoder, so it is preferable to dump the
decoder output directly instead of converting it to s16.
10 years ago
Anton Khirnov
a079795052
fate/mp3: specify the number of output samples instead of filesize
This is not dependent on the output format.
10 years ago
Martin Storsjö
bf0cef5c3a
checkasm: Include io.h for isatty, if available
configure does check for isatty, and checkasm properly checks
HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be
included for isatty to be available.
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
James Almer
e59f7cd89e
fate: add test vectors for HMAC SHA and SHA-2
Also replace custom tests for MD5 with those published in RFC 2202
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Vittorio Giovara
abdc7e403e
fate: Add hap-chunk ref file
Missing from the push of 3ee217853a .
10 years ago
Tom Butterworth
3ee217853a
Support the Hap chunked frame format
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Henrik Gramner
65c1480152
checkasm: Modify report format
Makes it a bit more clear where each test belongs.
Suggested by Anton Khirnov.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Claudio Freire
59216e0525
AAC Encoder: clipping avoidance
Avoid clipping due to quantization noise to produce audible
artifacts, by detecting near-clipping signals and both attenuating
them a little and encoding escape-encoded bands (usually the
loudest) rounding towards zero instead of nearest, which tends to
decrease overall energy and thus clipping.
Currently fate tests measure numerical error so this change makes
tests using asynth (which are near clipping) report higher error
not less, because of window attenuation. Yet, they sound better,
not worse (albeit subtle, other samples aren't subtle at all).
Only measuring psychoacoustically weighted error would make for
a representative test, so that will be left for a future patch.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
4d0d55cd62
checkasm: Use LOCAL_ALIGNED
Fixes alignment issues and bus errors.
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Paul B Mahol
3cb8eee6f7
swscale: ayuv64le output support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Michael Niedermayer
f467fc02b4
tests/checkasm/h264pred: Use LOCAL_ALIGNED_16()
Fixes alignment issue and bus errors
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
9e83ac6114
tests/checkasm/h264qpel: Use LOCAL_ALIGNED_16()
Fixes alignment issue and bus errors
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
4845f6687d
fate: Make ffprobe tests depend on avdevice
The test file they use needs avdevice to be created
Probably fixes Ticket 4455
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Nedeljko Babic
978a8540b6
tests: Add aac_fixed decoder test
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Tom Butterworth
c7e6443441
Support the Hap chunked frame format
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Vittorio Giovara
a16854892c
dds: Add a rgba fate test
10 years ago
Vittorio Giovara
57214b2f7f
dds: Fix palette decoding
Red and blue channels were decoded in the wrong order.
Found-By: ami_stuff
10 years ago
Janne Grunau
e605bf3b59
checkasm: remove empty array initializer list in h264pred test
Fixes MSVC compilation.
10 years ago
Luca Barbato
3ae0e721c7
checkasm: Always link statically
Checkasm needs to use internal symbols that should not be made public.
10 years ago
Vesselin Bontchev
323ec6b5e2
Add support for TEA (Tiny Encryption Algorithm)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
593731efa8
tests/checkasm/Makefile: Fix checkasm with SDL
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Zhang Rui
aee909acfb
fate: add test for async protocol
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
36a87c2dc7
avcodec/dds: fix paletted files
Fixes Ticket4664
The changed fate tests lack red/blue shades and thus look correct
either way
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
5c7f708683
fate: add tblend filter test
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
e03cb1e115
fate: add test for mergeplanes filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Janne Grunau
c9f8cfb6d9
fate: add checkasm target
10 years ago
Janne Grunau
82e6ac85ff
checkasm: test all architectures with optimisations
10 years ago
Michael Niedermayer
cb33f8d0f4
checkasm: Give macro a body to avoid potential unexpected syntax issues
10 years ago
Henrik Gramner
6cc4d3e9a9
checkasm: exit with status 0 instead of 1 if there are no tests to perform
10 years ago
Luca Barbato
fc56868399
cosmetics: Reformat checkasm tests
10 years ago
Henrik Gramner
d37f232635
checkasm: Add unit tests for bswapdsp
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Marton Balint
53f2ef2c4a
mxfdec: calculate the index in display order
This should fix seeking for open GOP files as well.
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Marton Balint <cus@passwd.hu>
10 years ago
Henrik Gramner
2cb34f82b9
checkasm: Add unit tests for h264qpel
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Michael Niedermayer
a39512ba9e
tests/checkasm/checkasm: Give macro a body to avoid potential unexpected syntax issues
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
7c944b0a36
tests/checkasm/x86/Makefile: Use ASMSTRIPFLAGS for asm
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
c02ee69be9
fate: add tests for stereo3d anaglyph modes
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago