summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* AAC Encoder: clipping avoidanceClaudio Freire2015-07-271-2/+2
| | | | | | | | | | | | | | | | | 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-273-31/+30
|\ | | | | | | | | | | | | * commit '65c14801527068fcaf729eeffc142ffd4682a21a': checkasm: Modify report format Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Modify report formatHenrik Gramner2015-07-273-31/+30
| | | | | | | | | | | | | | | | 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-261-4/+5
|\ \ | |/ | | | | | | | | | | | | | | * commit '4d0d55cd623bcd504867f948849380f6b4060b4d': checkasm: Use LOCAL_ALIGNED See: f467fc02b475cd45b68aa5fb5f7c78286110ba86 See: 9e83ac6114de3d94eb992eff8ed810234069a7b2 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Use LOCAL_ALIGNEDMichael Niedermayer2015-07-263-10/+13
| | | | | | | | | | | | Fixes alignment issues and bus errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* | swscale: ayuv64le output supportPaul B Mahol2015-07-2410-0/+10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | tests/checkasm/h264pred: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-231-2/+3
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/h264qpel: Use LOCAL_ALIGNED_16()Michael Niedermayer2015-07-231-4/+5
| | | | | | | | | | | | Fixes alignment issue and bus errors Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Make ffprobe tests depend on avdeviceMichael Niedermayer2015-07-221-7/+9
| | | | | | | | | | | | | | | | | | 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-221-1/+57
| | | | | | | | | | Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a16854892c3af945d3ab0015699a0c9884f0a89a'Michael Niedermayer2015-07-222-1/+3
|\ \ | |/ | | | | | | | | | | * commit 'a16854892c3af945d3ab0015699a0c9884f0a89a': dds: Add a rgba fate test Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dds: Add a rgba fate testVittorio Giovara2015-07-222-1/+3
| |
| * dds: Fix palette decodingVittorio Giovara2015-07-222-2/+2
| | | | | | | | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* | Merge commit 'e605bf3b590d295f215fcc9fd58eb11be55b68cb'Michael Niedermayer2015-07-221-2/+1
|\ \ | |/ | | | | | | | | | | * 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-221-2/+1
| | | | | | | | Fixes MSVC compilation.
* | Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5'Michael Niedermayer2015-07-221-2/+2
|\ \ | |/ | | | | | | | | | | * commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5': checkasm: Always link statically Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Always link staticallyLuca Barbato2015-07-211-2/+2
| | | | | | | | Checkasm needs to use internal symbols that should not be made public.
* | Support the Hap chunked frame formatTom Butterworth2015-07-222-0/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Add support for TEA (Tiny Encryption Algorithm)Vesselin Bontchev2015-07-212-0/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/checkasm/Makefile: Fix checkasm with SDLMichael Niedermayer2015-07-211-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add test for async protocolZhang Rui2015-07-212-0/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dds: fix paletted filesMichael Niedermayer2015-07-192-2/+2
| | | | | | | | | | | | | | | | | | Fixes Ticket4664 The changed fate tests lack red/blue shades and thus look correct either way Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add tblend filter testPaul B Mahol2015-07-182-0/+53
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate: add test for mergeplanes filterPaul B Mahol2015-07-183-0/+57
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'c9f8cfb6d9b34f3c51f1b7152c4dc3f2f8724dc4'Michael Niedermayer2015-07-182-0/+6
|\ \ | |/ | | | | | | | | | | * commit 'c9f8cfb6d9b34f3c51f1b7152c4dc3f2f8724dc4': fate: add checkasm target Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * fate: add checkasm targetJanne Grunau2015-07-182-0/+6
| |
* | Merge commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014'Michael Niedermayer2015-07-181-1/+15
|\ \ | |/ | | | | | | | | | | * commit '82e6ac85ff9aa7631b8c01521b3d6b5ca0bc8014': checkasm: test all architectures with optimisations Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: test all architectures with optimisationsJanne Grunau2015-07-181-1/+15
| |
| * checkasm: Give macro a body to avoid potential unexpected syntax issuesMichael Niedermayer2015-07-181-1/+1
| |
* | Merge commit '6cc4d3e9a982e926494f4b919d9733fe29774acf'Michael Niedermayer2015-07-181-1/+1
|\ \ | |/ | | | | | | | | | | * commit '6cc4d3e9a982e926494f4b919d9733fe29774acf': checkasm: exit with status 0 instead of 1 if there are no tests to perform Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: exit with status 0 instead of 1 if there are no tests to performHenrik Gramner2015-07-181-1/+1
| |
* | Merge commit 'fc56868399213d3e9be19bdebeb64df233b39a7e'Michael Niedermayer2015-07-183-62/+61
|\ \ | |/ | | | | | | | | | | * commit 'fc56868399213d3e9be19bdebeb64df233b39a7e': cosmetics: Reformat checkasm tests Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * cosmetics: Reformat checkasm testsLuca Barbato2015-07-173-62/+61
| |
* | Merge commit 'd37f23263584774e1798e9ac909a398304a05091'Michael Niedermayer2015-07-174-0/+78
|\ \ | |/ | | | | | | | | | | * commit 'd37f23263584774e1798e9ac909a398304a05091': checkasm: Add unit tests for bswapdsp Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Add unit tests for bswapdspHenrik Gramner2015-07-174-0/+78
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | mxfdec: calculate the index in display orderMarton Balint2015-07-161-1/+1
| | | | | | | | | | | | | | 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>
* | tests/checkasm/checkasm: Give macro a body to avoid potential unexpected ↵Michael Niedermayer2015-07-161-1/+1
| | | | | | | | | | | | syntax issues Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '2cb34f82b92c15b811f5c03dc7f61a4baf6e02e3'Michael Niedermayer2015-07-154-0/+85
|\ \ | |/ | | | | | | | | | | * commit '2cb34f82b92c15b811f5c03dc7f61a4baf6e02e3': checkasm: Add unit tests for h264qpel Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Add unit tests for h264qpelHenrik Gramner2015-07-154-0/+85
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | tests/checkasm/x86/Makefile: Use ASMSTRIPFLAGS for asmMichael Niedermayer2015-07-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add tests for stereo3d anaglyph modesPaul B Mahol2015-07-1215-0/+127
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '8bc67ec2c0d2b5444d51a1bed1d50f0e10d92717'Michael Niedermayer2015-07-127-0/+1085
|\ \ | |/ | | | | | | | | | | * commit '8bc67ec2c0d2b5444d51a1bed1d50f0e10d92717': Checkasm: assembly testing and benchmarking tool Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * Checkasm: assembly testing and benchmarking toolHenrik Gramner2015-07-127-0/+1085
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It provides the following features: * verify correctness by comparing output to the C version. * detect failure to save and restore clobbered callee-saved registers. * detect 32-bit parameters being used as if they were 64-bit in x86-64 (the upper halves are not guaranteed to be zero - but in practice they very often are, which makes those bugs hard to spot otherwise). * easy benchmarking. Compile by running 'make checkasm'. Execute by running 'tests/checkasm/checkasm'. Optional arguments are '--bench' to run benchmarks for all functions, '--bench=<pattern>' to run benchmarks for all functions that starts with <pattern>, and '<integer>' to seed the PRNG for reproducible results. Contains unit tests for most h264pred functions to get started, more tests can be added afterwards using those as a reference. Loosely based on code from x264. Currently only supports x86 and x86-64, but additional architectures shouldn't be too much of an obstacle to add. Note that functions with floating point parameters or floating point return values are not supported. Some compiler-specific features or preprocessor hacks would likely be required to add support for that. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | fate: add tests for w3fdif filterPaul B Mahol2015-07-113-0/+70
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | yuv4mpeg: add rough duration estimate and seeking.Ronald S. Bultje2015-07-111-26/+52
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/vf_removegrain: clip to uint16 instead to uint8Paul B Mahol2015-07-102-2/+2
| | | | | | | | | | | | This is how original filter behaves. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate: add removegrain testsPaul B Mahol2015-07-0926-0/+128
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '02b7c630875c0bc63cee5ec597aa33baf9bf4e20'Michael Niedermayer2015-07-096-6/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '02b7c630875c0bc63cee5ec597aa33baf9bf4e20': h261: Signal freeze picture release for intra frames Conflicts: tests/ref/vsynth/vsynth1-h261 tests/ref/vsynth/vsynth2-h261 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h261: Signal freeze picture release for intra framesStian Selnes2015-07-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Freeze picture release should be set to 1 when we're responding to a fast update request. For simplicity we set it for all intra frames, including those that starts a GOP. Fixes issue where Tandberg MXP1700 does not recover from packet loss state since it's waiting for the freeze picture relase indication. Bug-Id: 873 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'dc1de0b958836545339611e9c050a1d4fdded263'Michael Niedermayer2015-07-096-6/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'dc1de0b958836545339611e9c050a1d4fdded263': h261: Set 'still image mode off' in picture header Conflicts: tests/ref/vsynth/vsynth1-h261 tests/ref/vsynth/vsynth2-h261 Merged-by: Michael Niedermayer <michaelni@gmx.at>