summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | fate: add concat demuxer testsMarton Balint2015-11-1511-0/+546
| | | | | | | | | | Reviewed-by: Nicolas George <[email protected]> Signed-off-by: Marton Balint <[email protected]>
* | swresample/resample: increase precision for compensationMichael Niedermayer2015-11-111-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | ffmpeg: set muxer packet duration based on framerate only for CFRMichael Niedermayer2015-11-119-248/+248
| | | | | | | | | | | | | | | | | | | | | | a set ost->frame_rate does not imply CFR in ffmpeg The changed fate tests had all wrong packet durations (like 1/1000 or 1/90000) There might be more cases in which is_cfr could be set Signed-off-by: Michael Niedermayer <[email protected]>
* | avformat/mxfenc: Only store user comment related tags when neededMichael Niedermayer2015-11-106-59/+59
| | | | | | | | | | | | | | | | | | | | Also support disabling them as they seem to cause problems to some Users. They are also not allowed in IRT D-10 thus the default for mxf_d10 is not to write them This also decreases the filesize when no user comment are stored Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '3efd71b4d0b4a73ccbbbdc092e6bbd54d92633f4'Hendrik Leppkes2015-11-109-248/+248
|\| | | | | | | | | | | | | * commit '3efd71b4d0b4a73ccbbbdc092e6bbd54d92633f4': avconv: set packet duration for CFR video streams Merged-by: Hendrik Leppkes <[email protected]>
* | tests/fate/avformat: Fix fate-lavfMichael Niedermayer2015-11-103-2/+3
| | | | | | | | | | | | | | | | The CMP variable seems to have been inherited from fate-api-seek which set it to null the mxf reference needed a change due to c7e14a279fa7348db10ec824bb2d67858cb1c1ca Signed-off-by: Michael Niedermayer <[email protected]>
* | Add pixblockdsp checkasm testsTimothy Gu2015-11-074-0/+112
| |
* | lavu/opt: enhance printing durations.Nicolas George2015-11-071-4/+4
| | | | | | | | | | | | | | Trim unneeded leading components and trailing zeros. Move the formating code in a separate function. Use the function also to format the default value, it was currently printed as plain integer, inconsistent to the way it is parsed.
* | fate: add mpdecimate test.Nicolas George2015-11-072-0/+24
| |
* | lavfi: add testsrc2 test source.Nicolas George2015-11-074-0/+222
| | | | | | | | | | | | | | | | Similar to testsrc, but using drawutils and therefore supporting a lot of pixel formats instead of just rgb24. This allows using it as input for other tests without requiring a format conversion. It is also slightly faster than testsrc for some reason.
* | fate: update fate-source ref fileJames Almer2015-11-031-0/+1
| | | | | | | | Signed-off-by: James Almer <[email protected]>
* | vf_lut: Add support for RGB48 and RGBA64.Steven Robertson2015-10-301-0/+2
| | | | | | | | | | | | Signed-off-by: Steven Robertson <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | lavc/cdg: Add transparency support.Carl Eugen Hoyos2015-10-302-213/+213
| |
* | vp9: update timestamps in ref files using multiple invisible frames.Ronald S. Bultje2015-10-292-2/+2
| | | | | | | | | | | | | | For the 10-show-existing-frame, the source file indeed has a timestamp of 3 (or 100/33) for the second visible frame, so the fix appears to work correctly. For the other, only the timebase is fixed, but again appears to be correct now.
* | lavu: add AESNI CPU flagRodger Combs2015-10-281-0/+1
| |
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-274-7/+7
| |
* | Merge commit '533a6198505edd1379e1cd722852350ae4a85acc'Hendrik Leppkes2015-10-272-0/+9
|\| | | | | | | | | | | | | * commit '533a6198505edd1379e1cd722852350ae4a85acc': innoHeim/Rsupport Screen Capture Codec decoder Merged-by: Hendrik Leppkes <[email protected]>
| * innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-232-0/+9
| | | | | | | | Signed-off-by: Vittorio Giovara <[email protected]>
* | FATE: Increase FUZZ value on AAC LTP encoding testRostislav Pehlivanov2015-10-271-1/+1
| | | | | | | | Clang prerelease on Darwin is making the test fail.
* | FATE: Slightly increase thresholds on prediction AAC encoding testsRostislav Pehlivanov2015-10-271-2/+2
| | | | | | | | They barely fail on some systems by being off by 0.81.
* | tests/aac: Add bitexact flags to AAC LTP Encode testDerek Buitenhuis2015-10-261-1/+1
| | | | | | | | Signed-off-by: Derek Buitenhuis <[email protected]>
* | tests/fate/aac: Add bitexact flags to fate-aac-pns-encodeMichael Niedermayer2015-10-261-1/+1
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | avutil/opt: print more meaningful default flags valuesClément Bœsch2015-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | 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-171-2/+2
| | | | | | | | | | | | | | 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-171-1/+1
| | | | | | | | | | | | This makes it consistent with ffprobe Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: use -profile:a aac_ltp instead of -aac_ltp 1 for LTP encode testRostislav Pehlivanov2015-10-171-1/+1
| | | | | | | | | | | | 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-171-16/+16
| | | | | | | | | | | | Fixes make fate V=2 Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: increase fuzz on AAC LTP encoding testRostislav Pehlivanov2015-10-171-1/+1
| | | | | | | | 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-171-8/+8
| | | | | | | | | | 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-171-1/+1
| |
* | aacenc: increase fuzz on aac-ms-encode testRostislav Pehlivanov2015-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | 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-171-7/+25
| | | | | | | | | | | | 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-162-3/+3
|\| | | | | | | | | | | | | * commit '1f84b008bf2b1eaca473937c48788cb4e4ce1aea': fate: Move screenpresso to the appropriate screen capture file Merged-by: Hendrik Leppkes <[email protected]>
| * fate: Move screenpresso to the appropriate screen capture fileVittorio Giovara2015-10-152-3/+3
| |
| * checkasm: Fix the function name sorting algorithmHenrik Gramner2015-10-031-2/+6
| | | | | | | | | | | | The previous implementation was behaving incorrectly in some corner cases. Signed-off-by: Anton Khirnov <[email protected]>
| * dnxhddata: Fix 10-bit DNxHD quant matricesJoseph Artsimovich2015-10-022-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | fate: use PROGSSUFChristophe Gisquet2015-10-168-36/+40
| | | | | | | | | | | | | | May require exporting in the shell var PROGSUF when invoking a shell script. Signed-off-by: Michael Niedermayer <[email protected]>
* | avutil/fifo: add function av_fifo_generic_peek_at()Zhang Rui2015-10-141-0/+27
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | vp9: add itxfm_add eob shortcuts to 10/12bpp functions.Ronald S. Bultje2015-10-131-1/+1
| | | | | | | | | | | | | | | | 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-135-1/+22
| | | | | | | | | | | | | | It was useful to (accidentally?) spot an overflow in the column pass of the x86 simple_idct10 implementation. Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/simple_idct10: improve precisionChristophe Gisquet2015-10-134-4/+4
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | avformat/webvttdec: Don't stop parsing on commentsRicardo Constantino2015-10-121-0/+1
| | | | | | | | Signed-off-by: Ricardo Constantino <[email protected]>
* | fate/subtitles: Add a new test for WebVTTRicardo Constantino2015-10-122-0/+26
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | fate: increase fuzz on fate-aac-tns-encode testRostislav Pehlivanov2015-10-121-1/+1
| | | | | | | | Fails on SunOS and old GCC (<=4.6 is ancient) versions.
* | avcodec: remove leftover iff_byterun1 decoderAndreas Cadhalpun2015-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
* | AAC encoder tests: increase fuzz for pred testClaudio Freire2015-10-111-1/+1
| | | | | | | | MIPS needs more fuzz
* | AAC encoder: Extensive improvementsClaudio Freire2015-10-111-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: add DNxHD/HR testsChristophe Gisquet2015-10-094-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | tests: update fate-filter-delogo test reference after commit ↵Stefano Sabatini2015-10-081-109/+109
| | | | | | | | 8bc708fcee137ead6d0773fad8e24ab471ab2122