summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_predMartin Vignali2018-01-28
|
* avfilter/vf_framerate: change blend factor precisionMarton Balint2018-01-28
| | | | | | | | | | | | | This is done mainly in preparation for the SIMD patches. - for the 8-bit input, decrease the blend factor precision to 7-bit. - for the 16-bit input, increase the blend factor precision to 15-bit. - make sure the blend functions are not called with 0 or maximum blending factors, because we don't want the signed factor integers to overflow. Fate test changes are due to different rounding. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: test the transpose filter more fullyMichael Niedermayer2018-01-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/formats: remove support for deprecated channel count specificationMarton Balint2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: update filter-acrossfade test reference fileJames Almer2018-01-18
| | | | | | | | | | | <jamrial> durandal_1707: 8088b5d69c broke the acrossfade test <@durandal_1707> jamrial: there was test? <jamrial> durandal_1707: fate-filter-acrossfade <@durandal_1707> what broke? <jamrial> what used to be one frame is now two <@durandal_1707> ahh, just update test Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dcaenc: Use ffmpeg mdct instead of own implementationDaniil Cherednik2018-01-13
| | | | Signed-off-by: Daniil Cherednik <dan.cherednik@gmail.com>
* fate: remove the fate-aac-ltp-encode testRostislav Pehlivanov2018-01-13
| | | | | | | It tests a useless profile which sounds no better than regular aac and which takes extremely long to encoder something. Also it has been behind experimental flag for as long as it has been supported. Should be removed altogether sometime in the future.
* aacenc: use the fast coder as the defaultRostislav Pehlivanov2018-01-13
| | | | | | | | | | | | The twoloop coder sounds decent at low bitrates, however at higher bitrates it sounds worse than the fast coder (which used to be the old twoloop coder before October 2015) and needs quite a lot more CPU. Change the default to fast. It has been well tested and has had little changes over the years so its been confirmed to be quite stable. Also change its description (not valid for more than a year) and the documentation. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avfilter/vf_framerate: simplify filterMarton Balint2018-01-12
| | | | | | | | | | | | | | | | | | | | | | | The framerate filter was quite convoluted with some filter_frame / request_frame logic bugs. It seemed easier to rewrite the whole filter_frame / request_frame part and also the frame interpolation ratio calculation part in one step. Notable changes: - The filter now only stores 2 frames instead of 3 - filter_frame outputs all the frames it can to be able to handle consecutive filter_frame calls which previously caused early drops of buffered frames. - because of this, request_frame is largely simplified and it only outputs frames on flush. Previously consecuitve request_frame calls could cause the filter to think it is in flush mode filling its buffer with the same frames causing a "ghost" effect on the output. - PTS discontinuities are handled better - frames with unknown PTS values are now dropped Fixes ticket #4870. Probably fixes ticket #5493. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate/filter-video: fix 12 bit framerate filter tests on big endian targetsJames Almer2018-01-08
| | | | | Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: remove ffm reference filesJames Almer2018-01-06
| | | | | | | Missed in c17f4761443b471f47fa8f0a5bcff078cdff9479 and 8bbd8c8d52dbcb15773717d3512f8fb68e860bf2 Signed-off-by: James Almer <jamrial@gmail.com>
* fate: remove missing references to ffmJames Almer2018-01-06
| | | | | | Missed in c17f4761443b471f47fa8f0a5bcff078cdff9479. Signed-off-by: James Almer <jamrial@gmail.com>
* Remove the ffserver programRostislav Pehlivanov2018-01-06
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* fate: add PERSIST_RPARAM_A_RExt_Sony_3 hevc conformance testJames Almer2018-01-05
| | | | | | | | The PERSIST_RPARAM_A_RExt_Sony_1 bitstream has an out-of-range value and has therefore been superseded. It is otherwise identical, and decodes the same. Signed-off-by: James Almer <jamrial@gmail.com>
* It has been replaced by C11 stdatomic.h and is now unused.Anton Khirnov2018-01-05
| | | | | (cherry picked from commit 5cc0057f4910c8c72421b812c8f337ef6c43696c) Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_framerate: calculate interpolation as integerMarton Balint2018-01-04
| | | | | | | | | | It was truncated to int later on anyway. Fate test changes are due to rounding instead of truncation. Fixes fate test failures on x86-32 (gcc 4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1)) after 090b740680f91e0f2bf07423c36df7166740e8f6. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/utvideoenc: switch to planar RGB formatsPaul B Mahol2018-01-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* fate: Fix ffprobe dependency for fate-mov-guess-delay-*.Carl Eugen Hoyos2017-12-29
|
* checkasm: support for AVX-512 functionsJames Darnley2017-12-24
|
* avfilter/vf_lut: add support for gray formatsPaul B Mahol2017-12-22
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_framerate: fix scene change detection scoreMarton Balint2017-12-21
| | | | | | | | | - normalize score to [0..100] instead of [0..85] - change the default score to 8.2 to roughly keep existing behaviour - take into account bit depth - do not truncate to integer Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: add 12 bit framerate filter testsMarton Balint2017-12-21
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.Sasi Inguva2017-12-20
| | | | | Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Revert "checkasm/vf_interlace : add test for lowpass_line 8 and 16"James Almer2017-12-19
| | | | | | | | This reverts commit adff97be5e2ff51c0bb66080c2f904ed40b6c571. It currently fails on Windows targets. Signed-off-by: James Almer <jamrial@gmail.com>
* tests/audiomatch: Add missing return code at the end of main()Michael Niedermayer2017-12-19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Whitespace refinementJun Zhao2017-12-19
| | | | | | Refine the coding style. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/audiomatch: Add return value check for fread.Jun Zhao2017-12-19
| | | | | | | | Check fread return value to fix build warning as "ignoring return value of ‘fread’" Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm/vf_interlace : add test for lowpass_line 8 and 16Martin Vignali2017-12-19
|
* checkasm/vf_hflip : add test for vf_hflip byte and short simdMartin Vignali2017-12-13
|
* checkasm/llviddsp: fix mixed code and declarationsJames Almer2017-12-10
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/llviddsp : add test for add_gradient_predMartin Vignali2017-12-09
|
* checkasm/llviddsp : test return of add_left_pred(16)Martin Vignali2017-12-09
|
* checkasm/vf_threshold : add test for threshold16Martin Vignali2017-12-09
|
* fate: Fix fate-mov-bbi-elst-starts-b on ARMMichael Niedermayer2017-12-08
|
* fate/mxf: add reel name testMark Reid2017-12-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: use track count to generate component instance uuidMark Reid2017-12-08
| | | | | Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* opus: fix hybrid folding indexing during band quantizationRostislav Pehlivanov2017-12-08
| | | | | | | Resulted in valgrind errors due to uninitialized memory. Also updates fate and makes it use the tron sample result. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* fate-opus: run and test inactive samplesRostislav Pehlivanov2017-12-08
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avformat/mux: stop delaying writing the headerJames Almer2017-12-06
| | | | | | | Every bitstream filter behaves as intended now, so there's no need to wait for the first packet of every stream. Signed-off-by: James Almer <jamrial@gmail.com>
* tests/fate/mov: Fix fate-mov-invalid-elst-entry-count failure on ARMMichael Niedermayer2017-12-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/hevc: add skip_loop_filter testsfan52017-12-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/checkasm: add missing target for vf_threshold testJames Almer2017-12-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/vf_threshold: fix mixed code and declarationsJames Almer2017-12-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate-opus: update tests to use new decoder outputsRostislav Pehlivanov2017-12-04
| | | | | | Can't overwrite old ones. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* fate-opus: update to match the changes from RFC8251Rostislav Pehlivanov2017-12-04
| | | | | | | Also change note to say that we compare against the officially decoded samples rather than our own, this was changed long ago. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avformat/mxfdec: fix last packet timestampsMarton Balint2017-12-03
| | | | | | | | | | | | | | | The current edit unit cannot be reliably determined for the last packet of a video stream, because we can't query the start offset of the next edit unit from the index. This caused missing timestamps for the last video packet. Therefore from now on, we allow setting the PTS even if we are not sure of the current edit unit if mxf_set_current_edit_unit returned a specific failure, and the assumed current edit unit is the last. Fixes last packet timestamp of: ffprobe -fflags nofillin -show_packets tests/data/lavf/lavf.mxf -select_streams v Signed-off-by: Marton Balint <cus@passwd.hu>
* checkasm/vf_threshold : add checkasm test for threshold8Martin Vignali2017-12-03
|
* checkasm/utvideo : be more explicit to the WIDTH_PADDED defineMartin Vignali2017-12-01
|
* Merge commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa'James Almer2017-11-29
|\ | | | | | | | | | | | | * commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa': stereo3d: Support view type for frame sequence type Merged-by: James Almer <jamrial@gmail.com>
* | avformat/avienc: fix fields-per-frame value for interlaced video streamsTobias Rapp2017-11-27
| | | | | | | | | | | | | | | | | | | | | | | | Writes one set of field framing information for progressive streams and two sets for interlaced streams. Fixes ticket #6383. Unfortunately the OpenDML v1.02 document is not very specific on what value to use for start_line when frame data is not coming from a capturing device, so this is just using 0/1 depending on the field order as a best-effort guess. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>