summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * h261: Set 'still image mode off' in picture headerStian Selnes2015-07-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref H.261 recommendation section 4.2.1.3, setting the still image flag to 1 disables still image mode. Some decoders require this in order to decode the bitstream as normal video. Fixes H.261 calls to Cisco E20. Also, reserved (aka spare) bits should be set to 1 unless specified otherwise. Bug-Id: 872 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | fate/api-tests: Tests that need samples should only run if SAMPLES is setGeorge Boyle2015-07-041-5/+13
| | | | | | | | | | | | | | | | This change fixes a bug where a test that required a sample was being included in the suite when SAMPLES was not set. It also improves the consistency of variable names relating to the API tests. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_lut: >8 bit depth planar yuv supportPaul B Mahol2015-07-031-0/+20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale: implement YA8 outputPaul B Mahol2015-07-0211-0/+11
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'a31c4b2cbef9aee15910fc3df52519aef46760de'Michael Niedermayer2015-07-022-9/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'a31c4b2cbef9aee15910fc3df52519aef46760de': fate-g2m3: disable the audio stream Conflicts: tests/ref/fate/g2m3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate-g2m3: disable the audio streamJanne Grunau2015-07-012-5/+1
| | | | | | | | | | The audio decoder is not in fate-g2m3 dependencies and the wma2 decoder is probably not bit-exact since it it float based.
* | Merge commit 'f91fe24e9bd6912c29bbb03d8afe878e045f9721'Michael Niedermayer2015-07-014-60/+60
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'f91fe24e9bd6912c29bbb03d8afe878e045f9721': g2meet: force simple idct for identical results over all fate configs Conflicts: tests/ref/fate/g2m3 tests/ref/fate/g2m4 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g2meet: force simple idct for identical results over all fate configsJanne Grunau2015-07-014-63/+63
| |
* | Merge commit '4d1229dabf7a7e3b6a7b326afd79102256c3b008'Michael Niedermayer2015-07-014-0/+228
|\ \ | |/ | | | | | | | | | | * commit '4d1229dabf7a7e3b6a7b326afd79102256c3b008': g2meet: Add FATE tests for all three G2M variants Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g2meet: Add FATE tests for all three G2M variantsDiego Biurrun2015-07-014-0/+227
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e2bd03a14a4e3366df0b1ee8e284a97165be1f3c'Michael Niedermayer2015-07-0111-22/+24
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'e2bd03a14a4e3366df0b1ee8e284a97165be1f3c': fate: Avoid unnecessary pixel format conversions Conflicts: tests/fate/image.mak tests/ref/fate/dds-ya Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Avoid unnecessary pixel format conversionsMartin Storsjö2015-06-3011-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the fate-dds-* and fate-txd-* tests already output into the same pixel format regardless of platform endianness, so there's no need to force conversion to another format. This fixes the tests fate-txd-16bpp, fate-txd-odd, fate-dds-rgb16, fate-dds-rgb24 and fate-dds-xrgb on big endian, where the tests seem to fail due to issues with certain conversion codepaths in swscale. Those conversion codepaths should of course be fixed, but the individual decoder tests should use as little extra conversion steps as possible. Signed-off-by: Martin Storsjö <martin@martin.st>
| * mov: Preserve the metadata even when bit-exactness is requestedLuca Barbato2015-06-302-4/+4
| | | | | | | | | | | | | | Make sure to not write the custom `encoder` string in that case. Bug-Id: 845 CC: libav-stable@libav.org
* | Merge commit '3ad678a85b96fc5fecd60e3d3a31ca5ffc89d67f'Michael Niedermayer2015-06-301-4/+6
|\ \ | |/ | | | | | | | | | | * commit '3ad678a85b96fc5fecd60e3d3a31ca5ffc89d67f': fate: Update ac3 test to the new request_channel_layout option Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Update ac3 test to the new request_channel_layout optionVittorio Giovara2015-06-301-4/+6
| |
| * lavf: Replace the ASF demuxerAlexandra Hájková2015-06-282-28/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old one is the result of the reverse engineering and guesswork. The new one has been written following the now-available specification. This work is part of Outreach Program for Women Summer 2014 activities for the Libav project. The fate references had to be changed because the old demuxer truncates the last frame in some cases, the new one handles it properly. The seek-test reference is changed because seeking works differently in the new demuxer. When seeking, the packet is not read from the stream directly, but it is rather constructed by the demuxer. That is why position is -1 now in the reference. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavc/j2kenc: Make jp2 output compatible with Kakadu.Carl Eugen Hoyos2015-06-308-16/+16
| | | | | | | | Fixes ticket #4689.
* | swscale/swscale_unscaled: Fix rounding difference with RGBA output between ↵Michael Niedermayer2015-06-291-1/+1
| | | | | | | | | | | | | | | | little and big endian Fixes fate/dds-rgb16 on big endian Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | api-h264-test: build with another api testLudmila Glinskih2015-06-294-5/+192
| | | | | | | | | | | | Location of api-h264-test changed to special directory for api tests. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate/api-tests: Added dependency on $(FF_DEP_LIBS)George Boyle2015-06-291-1/+1
| | | | | | | | | | | | This ensures they are built before the tests are run. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tests/Makefile: Fix missing trailing slash for API tests dir targetGeorge Boyle2015-06-281-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: Merge i_stepsize/2 decoder special case into dequantMichael Niedermayer2015-06-285-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tests/fate/wma: use the existing reference files for wmapro testsMichael Niedermayer2015-06-281-2/+4
| | | | | | | | | | | | | | Theres no need to upload or use new files just because they are shorter. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>