summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Merge commit '533a6198505edd1379e1cd722852350ae4a85acc'Hendrik Leppkes2015-10-27
|\ | | | | | | | | | | | | * commit '533a6198505edd1379e1cd722852350ae4a85acc': innoHeim/Rsupport Screen Capture Codec decoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | FATE: Increase FUZZ value on AAC LTP encoding testRostislav Pehlivanov2015-10-27
| | | | | | | | Clang prerelease on Darwin is making the test fail.
* | FATE: Slightly increase thresholds on prediction AAC encoding testsRostislav Pehlivanov2015-10-27
| | | | | | | | They barely fail on some systems by being off by 0.81.
* | tests/aac: Add bitexact flags to AAC LTP Encode testDerek Buitenhuis2015-10-26
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | tests/fate/aac: Add bitexact flags to fate-aac-pns-encodeMichael Niedermayer2015-10-26
| | | | | | | | | | | | | | | | | | This fixes a fate failure after bumping the minor version Its unknown why this is not needed for the other aac tests, more investigation needed but for now i dont want to leave it broken while its investigated Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/opt: print more meaningful default flags valuesClément Bœsch2015-10-25
| | | | | | | | | | | | | | | | | | | | Example: % ./ffmpeg -h encoder=gif [...] GIF encoder AVOptions: -gifflags <flags> E..V.... set GIF flags (default offsetting+transdiff) offsetting E..V.... enable picture offsetting transdiff E..V.... enable transparency detection between frames
* | aacenc_ltp: adjust and speed up autocorrelation calculationsRostislav Pehlivanov2015-10-17
| | | | | | | | | | | | | | There were some errors in the calculation as well as an entire unnecessary loop to find the gain coefficient. Merge the two loops. Thanks to @ubitux for the suggestions and testing.
* | tests/fate-run: Remove ./ from run ffmpeg callMichael Niedermayer2015-10-17
| | | | | | | | | | | | This makes it consistent with ffprobe Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: use -profile:a aac_ltp instead of -aac_ltp 1 for LTP encode testRostislav Pehlivanov2015-10-17
| | | | | | | | | | | | The fate test command line is supposed to serve as an example. It's nicer to explicitly state the profile rather than setting options to force it for you.
* | tests/fate-run: Remove PROGSUF from function callsMichael Niedermayer2015-10-17
| | | | | | | | | | | | Fixes make fate V=2 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: increase fuzz on AAC LTP encoding testRostislav Pehlivanov2015-10-17
| | | | | | | | Fails on some newer systems (archlinux with a modern GCC version).
* | fate: add a parameter to disable TNS for the other encoder testsRostislav Pehlivanov2015-10-17
| | | | | | | | | | Since it became the default option, in order to prevent interference with the other tests, disable it.
* | fate: adjust the target for the new TNS changesRostislav Pehlivanov2015-10-17
| |
* | aacenc: increase fuzz on aac-ms-encode testRostislav Pehlivanov2015-10-17
| | | | | | | | | | | | | | | | | | | | GCC 3.4 miscompiles it on sunos. Date of release? The second of August two thousand and five, anno Domini. That's ten years two months and fourteen days ago. Three thousand seven hundred and twenty seven days ago. One sixth of the average life expectancy of a person living in a country with a human development index of zero point eight hundred and eight, equality adjusted. GCC 4.3 also miscompiles it, though not as bad.
* | fate: adjust aac encoder test values and introduce MS and LTP testsRostislav Pehlivanov2015-10-17
| | | | | | | | | | | | The LTP encoding and the test is a bit slow currently, taking twice the amount of time the other tests do, so in the future the total time to encode might be cut down on that test.
* | Merge commit '1f84b008bf2b1eaca473937c48788cb4e4ce1aea'Hendrik Leppkes2015-10-16
|\| | | | | | | | | | | | | * commit '1f84b008bf2b1eaca473937c48788cb4e4ce1aea': fate: Move screenpresso to the appropriate screen capture file Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * fate: Move screenpresso to the appropriate screen capture fileVittorio Giovara2015-10-15
| |
| * checkasm: Fix the function name sorting algorithmHenrik Gramner2015-10-03
| | | | | | | | | | | | The previous implementation was behaving incorrectly in some corner cases. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * dnxhddata: Fix 10-bit DNxHD quant matricesJoseph Artsimovich2015-10-02
| | | | | | | | | | | | | | | | | | | | | | | | Convert them to zigzag order, as the rest of them are. When I was adding support for 10-bit DNxHD, I just copy-pasted the missing quant matrices from the spec. Now it turns out the existing matrices in dnxhddata.c were in zigzag order. This resulted in wrong quantization for 10-bit DNxHD. The attached patch fixes the problem by converting 10-bit quant matrices to zigzag order. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: use PROGSSUFChristophe Gisquet2015-10-16
| | | | | | | | | | | | | | May require exporting in the shell var PROGSUF when invoking a shell script. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/fifo: add function av_fifo_generic_peek_at()Zhang Rui2015-10-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vp9: add itxfm_add eob shortcuts to 10/12bpp functions.Ronald S. Bultje2015-10-13
| | | | | | | | | | | | | | | | These aren't quite as helpful as the ones in 8bpp, since over there, we can use pmulhrsw, but here the coefficients have too many bits to be able to take advantage of pmulhrsw. However, we can still skip cols for which all coefs are 0, and instead just zero the input data for the row itx. This helps a few % on overall decoding speed.
* | fate: add 10bits YUV4:2:2 dnxhd testChristophe Gisquet2015-10-13
| | | | | | | | | | | | | | It was useful to (accidentally?) spot an overflow in the column pass of the x86 simple_idct10 implementation. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/simple_idct10: improve precisionChristophe Gisquet2015-10-13
| | | | | | | | | | | | | | | | | | | | | | omse goes from 0.03060703 (which fails for dct-test) to 0.01663750. This also actually improve the error of decoding the sample generated by fate-vsynth3-dnxhd1080i-10bit using simple_idct10 to FAANI, which goes (when resampled to yuv422p) from: stddev: 0.06 PSNR: 72.28 MAXDIFF: 1 to identical. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/webvttdec: Don't stop parsing on commentsRicardo Constantino2015-10-12
| | | | | | | | Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com>
* | fate/subtitles: Add a new test for WebVTTRicardo Constantino2015-10-12
| | | | | | | | | | | | | | | | | | | | | | Includes escapes that should now be supported and a few features not yet fully supported, like comments, regions, classes, ruby, and lang. All were tested with https://quuz.org/webvtt/ for validation, except regions because the validator doesn't support them yet, and I couldn't find any other way to validate WebVTT. Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com>
* | fate: increase fuzz on fate-aac-tns-encode testRostislav Pehlivanov2015-10-12
| | | | | | | | Fails on SunOS and old GCC (<=4.6 is ancient) versions.
* | avcodec: remove leftover iff_byterun1 decoderAndreas Cadhalpun2015-10-12
| | | | | | | | | | | | | | | | | | | | | | It was merged with the iff_ilbm decoder in commit 929a24efff9a208a52748605eb412ffb915c1403. Define AV_CODEC_ID_IFF_BYTERUN1 as AV_CODEC_ID_IFF_ILBM for API compatibility. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | AAC encoder tests: increase fuzz for pred testClaudio Freire2015-10-11
| | | | | | | | MIPS needs more fuzz
* | AAC encoder: Extensive improvementsClaudio Freire2015-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This finalizes merging of the work in the patches in ticket #2686. Improvements to twoloop and RC logic are extensive. The non-exhaustive list of twoloop improvments includes: - Tweaks to distortion limits on the RD optimization phase of twoloop - Deeper search in twoloop - PNS information marking to let twoloop decide when to use it (turned out having the decision made separately wasn't working) - Tonal band detection and priorization - Better band energy conservation rules - Strict hole avoidance For rate control: - Use psymodel's bit allocation to allow proper use of the bit reservoir. Don't work against the bit reservoir by moving lambda in the opposite direction when psymodel decides to allocate more/less bits to a frame. - Retry the encode if the effective rate lies outside a reasonable margin of psymodel's allocation or the selected ABR. - Log average lambda at the end. Useful info for everyone, but especially for tuning of the various encoder constants that relate to lambda feedback. Psy: - Do not apply lowpass with a FIR filter, instead just let the coder zero bands above the cutoff. The FIR filter induces group delay, and while zeroing bands causes ripple, it's lost in the quantization noise. - Experimental VBR bit allocation code - Tweak automatic lowpass filter threshold to maximize audio bandwidth at all bitrates while still providing acceptable, stable quality. I/S: - Phase decision fixes. Unrelated to #2686, but the bugs only surfaced when the merge was finalized. Measure I/S band energy accounting for phase, and prevent I/S and M/S from being applied both. PNS: - Avoid marking short bands with PNS when they're part of a window group in which there's a large variation of energy from one window to the next. PNS can't preserve those and the effect is extremely noticeable. M/S: - Implement BMLD protection similar to the specified in ISO-IEC/13818:7-2003, Appendix C Section 6.1. Since M/S decision doesn't conform to section 6.1, a different method had to be implemented, but should provide equivalent protection. - Move the decision logic closer to the method specified in ISO-IEC/13818:7-2003, Appendix C Section 6.1. Specifically, make sure M/S needs less bits than dual stereo. - Don't apply M/S in bands that are using I/S Now, this of course needed adjustments in the compare targets and fuzz factors of the AAC encoder's fate tests, but if wondering why the targets go up (more distortion), consider the previous coder was using too many bits on LF content (far more than required by psy), and thus those signals will now be more distorted, not less. The extra distortion isn't audible though, I carried extensive ABX testing to make sure. A very similar patch was also extensively tested by Kamendo2 in the context of #2686.
* | fate/async: test error code from underlying protocolZhang Rui2015-10-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add DNxHD/HR testsChristophe Gisquet2015-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only 2 profiles are evaluated because they are the only 2 with distributed test sequences. - CID 1260: YUV 4:2:2 10 bits with block-adaptive interlace coding, from ticket 4876; - CID 1270: YUV 4:4:4 10 bits (HR), 1920x839, from ticket 4581. They were generated from the ticket sequences by running the following kind of command-line; ffmpeg -i $INPUT -an -sn -vcodec copy -vframes 1 -y $OUTPUT.mov Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests: update fate-filter-delogo test reference after commit ↵Stefano Sabatini2015-10-08
| | | | | | | | 8bc708fcee137ead6d0773fad8e24ab471ab2122
* | checkasm: add alacdsp testsJames Almer2015-10-06
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: Fix compilation with --disable-avcodecHenrik Gramner2015-10-04
| |
* | checkasm: Remove use of deprecated av_set_cpu_flags_mask()Henrik Gramner2015-10-03
| |
* | Merge commit '9a3202a98b2e095b54dd784c3e01a09a676fc3fa'Hendrik Leppkes2015-10-03
|\| | | | | | | | | | | | | * commit '9a3202a98b2e095b54dd784c3e01a09a676fc3fa': Screenpresso SPV1 decoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * Screenpresso SPV1 decoderVittorio Giovara2015-09-30
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | dnxhddec: use dequantization formula from specsChristophe Gisquet2015-10-02
| | | | | | | | | | | | | | | | | | The current one, while correct, does not yield the best possible results. The specificiations suggest another formula, which results in quality gains in the decoded output from fate tests. This justifies changing said formula. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Add basic license header checkMichael Niedermayer2015-09-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '26e8fa3b508eb047e85f4e923fc8e82a1aa656ba'Hendrik Leppkes2015-09-29
|\| | | | | | | | | | | | | * commit '26e8fa3b508eb047e85f4e923fc8e82a1aa656ba': tiny_psnr: Use the correct abs() version Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * tiny_psnr: Use the correct abs() versionVittorio Giovara2015-09-29
| |
| * checkasm/x86: Correctly handle variadic functionsHenrik Gramner2015-09-28
| | | | | | | | | | | | | | | | | | | | The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: Use a self-balancing treeHenrik Gramner2015-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested functions are internally kept in a binary search tree for efficient lookups. The downside of the current implementation is that the tree quickly becomes unbalanced which causes an unneccessary amount of comparisons between nodes. Improve this by changing the tree into a self-balancing left-leaning red-black tree with a worst case lookup/insertion time complexity of O(log n). Significantly reduces the recursion depth and makes the tests run around 10% faster overall. The relative performance improvement compared to the existing non-balanced tree will also most likely increase as more tests are added. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * checkasm: v210: Fix array overwriteHenrik Gramner2015-09-17
| |
| * fate: Change global error option to private error_rate optionVittorio Giovara2015-09-13
| |
* | checkasm/vp9dsp: Fix iszero() to read the correct dataHenrik Gramner2015-09-28
| |
* | checkasm: add vp9dsp.itxfm_add tests.Ronald S. Bultje2015-09-28
| |
* | checkasm: Fix the function name sorting algorithmHenrik Gramner2015-09-28
| | | | | | | | The previous implementation was behaving incorrectly in some corner cases.