summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* api-seek-test: first versionLudmila Glinskih2015-08-20
| | | | | | | | Works only with video stream. First pass without seeking -- counts crcs of a frames and store it in an array. After that it seeks a lot in different places and checks if crcs of these frames and crcs of frames in array are the same. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-19
| | | | | | | | | If the return value doesn't fit in a single register rdx/edx can in some cases be used in addition to rax/eax. Doesn't affect any of the existing checkasm tests but might be useful later. Also comment the relevant code a bit better.
* checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-19
| | | | | | | | | | Now we no longer have to rely on function pointers intentionally declared without specified argument types. This makes it easier to support functions with floating point parameters or return values as well as functions returning 64-bit values on 32-bit architectures. It also avoids having to explicitly cast strides to ptrdiff_t for example.
* fate: rename -error option to -error_rate.Ronald S. Bultje2015-08-19
| | | | This fixes fate when FF_API_ERROR_RATE=0.
* fate: Force simple idct for fate-asf-repldataMichael Niedermayer2015-08-19
| | | | | | otherwise it can fail when a different idct is used on some platform Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '58c3720a3cc71142b5d48d8ccdc9213f9a66cd33'Hendrik Leppkes2015-08-18
|\ | | | | | | | | | | | | | | | | * commit '58c3720a3cc71142b5d48d8ccdc9213f9a66cd33': fate: Make sure a corner-case for ASF is covered Adjusted fate ref to match the different timebase of the ffasf demuxer Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * fate: Make sure a corner-case for ASF is coveredAlexandra Hájková2015-08-16
| | | | | | | | | | | | | | | | | | 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>
| * checkasm: Remove unnecessary includeHenrik Gramner2015-08-11
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | fate: add -fflags +bitexact in a few places.Ronald S. Bultje2015-08-17
| | | | | | | | | | 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).
* | fate: explicitly specify audio bitrate for adpcm/mp2fixed tests.Ronald S. Bultje2015-08-17
| | | | | | | | | | They picked up defaults, which changes from 128 to 200 when we remove FF_API_OLD_AVOPTIONS.
* | fate: move -flags +mv0 -> -mpv_flags +mv0.Ronald S. Bultje2015-08-17
| | | | | | | | Fixes associated fate tests when FF_API_MV0=0.
* | movtextdec: Use default style information from movtext headerNiklesh2015-08-12
| | | | | | | | | | | | | | | | 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>
* | tests/fate-run: make FATE non-interactiveGanesh Ajjanagadde2015-08-12
| | | | | | | | | | | | | | | | | | | | | | 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>
* | tests/api/api-h264-test: structure changes to avoid duplicate codeLudmila Glinskih2015-08-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/fate/mp3: increase mp3-float-extra_overread FUZZ for ↵Michael Niedermayer2015-08-07
| | | | | | | | | | | | ppc64be-RHEL7.0-gcc-4.8.2-ibmcrl to 23 from 20 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm: Remove unnecessary includeHenrik Gramner2015-08-05
| |
* | libavformat/matroska: Write stream durations in metadata, in the format of ↵Sasi Inguva2015-08-05
| | | | | | | | | | | | | | | | | | 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>
* | avcodec/dcaenc: clear bitstream endMichael Niedermayer2015-08-04
| | | | | | | | | | | | This avoids leaving uninitialized bits in the output Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/fate/mp3: Fix fate-mp3-float-extra_overread on mips-qemuMichael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '90e648c508fa6b97587ce62699a1449123f7d285'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | * commit '90e648c508fa6b97587ce62699a1449123f7d285': fate/mp3: use the f32le format as output Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * fate/mp3: use the f32le format as outputAnton Khirnov2015-07-31
| | | | | | | | | | Those tests test the float decoder, so it is preferable to dump the decoder output directly instead of converting it to s16.
* | Merge commit 'a0797950527120c85263c910eb6ba08fddcfdcb3'Michael Niedermayer2015-07-31
|\| | | | | | | | | | | | | * commit 'a0797950527120c85263c910eb6ba08fddcfdcb3': fate/mp3: specify the number of output samples instead of filesize Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * fate/mp3: specify the number of output samples instead of filesizeAnton Khirnov2015-07-31
| | | | | | | | This is not dependent on the output format.
* | Merge commit 'bf0cef5c3a114df452e5476167634dd8f51eb448'Michael Niedermayer2015-07-30
|\| | | | | | | | | | | | | * commit 'bf0cef5c3a114df452e5476167634dd8f51eb448': checkasm: Include io.h for isatty, if available Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Include io.h for isatty, if availableMartin Storsjö2015-07-30
| | | | | | | | | | | | | | | | 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>
| * fate: add test vectors for HMAC SHA and SHA-2James Almer2015-07-29
| | | | | | | | | | | | | | 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>
| * fate: Add hap-chunk ref fileVittorio Giovara2015-07-27
| | | | | | | | Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab.
| * Support the Hap chunked frame formatTom Butterworth2015-07-27
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | AAC Encoder: clipping avoidanceClaudio Freire2015-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge commit '65c14801527068fcaf729eeffc142ffd4682a21a'Michael Niedermayer2015-07-27
|\| | | | | | | | | | | | | * commit '65c14801527068fcaf729eeffc142ffd4682a21a': checkasm: Modify report format Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Modify report formatHenrik Gramner2015-07-27
| | | | | | | | | | | | | | | | Makes it a bit more clear where each test belongs. Suggested by Anton Khirnov. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '4d0d55cd623bcd504867f948849380f6b4060b4d'Michael Niedermayer2015-07-26
|\| | | | | | | | | | | | | | | | | * commit '4d0d55cd623bcd504867f948849380f6b4060b4d': checkasm: Use LOCAL_ALIGNED See: f467fc02b475cd45b68aa5fb5f7c78286110ba86 See: 9e83ac6114de3d94eb992eff8ed810234069a7b2 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Use LOCAL_ALIGNEDMichael Niedermayer2015-07-26
| | | | | | | | | | | | Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* | swscale: ayuv64le output supportPaul B Mahol2015-07-24
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | tests/checkasm/h264pred: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-23
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/h264qpel: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-23
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Make ffprobe tests depend on avdeviceMichael Niedermayer2015-07-22
| | | | | | | | | | | | | | | | | | 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>
* | tests: Add aac_fixed decoder testNedeljko Babic2015-07-22
| | | | | | | | | | Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a16854892c3af945d3ab0015699a0c9884f0a89a'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit 'a16854892c3af945d3ab0015699a0c9884f0a89a': dds: Add a rgba fate test Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dds: Add a rgba fate testVittorio Giovara2015-07-22
| |
| * dds: Fix palette decodingVittorio Giovara2015-07-22
| | | | | | | | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* | Merge commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb': checkasm: remove empty array initializer list in h264pred test Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: remove empty array initializer list in h264pred testJanne Grunau2015-07-22
| | | | | | | | Fixes MSVC compilation.
* | Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5'Michael Niedermayer2015-07-22
|\| | | | | | | | | | | | | * commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5': checkasm: Always link statically Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Always link staticallyLuca Barbato2015-07-21
| | | | | | | | Checkasm needs to use internal symbols that should not be made public.
* | Support the Hap chunked frame formatTom Butterworth2015-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Add support for TEA (Tiny Encryption Algorithm)Vesselin Bontchev2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/Makefile: Fix checkasm with SDLMichael Niedermayer2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add test for async protocolZhang Rui2015-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dds: fix paletted filesMichael Niedermayer2015-07-19
| | | | | | | | | | | | | | | | | | Fixes Ticket4664 The changed fate tests lack red/blue shades and thus look correct either way Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>