summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* fate/hapenc : remove test which use libsnappyMartin Vignali2018-03-17
| | | | the test in none mode can be let (they don't use libsnappy)
* fate: add a dca_core bitstream filter testJames Almer2018-03-17
| | | | | Reviwed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/opt: add bit stream filter option dump support.Jun Zhao2018-03-16
| | | | | | | enable dump bit stream filter and update opt fate test ref. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/hap : add test for hap encodingMartin Vignali2018-03-13
| | | | | | with and without snappy compression with chunk 1 or chunk 16 for hap, hapa, and hapq
* fate/hap : move decoding test to a separate fileMartin Vignali2018-03-13
|
* avformat/pcm: decrease delay when reading PCM streams.Philipp M. Scholl2018-03-13
| | | | | | | | | | | | | | | | | | Thanks for the discussion. Here's the next version, now with /25 and removed ff_log2(). The blocksize of the PCM decoder is hard-coded. This creates unnecessary delay when reading low-rate (<100Hz) streams. This creates issues when multiplexing multiple streams, since other inputs are only opened/read after a low-rate input block was completely read. This patch decreases the blocksize for low-rate inputs, so approximately a block is read every 40ms. This decreases the startup delay when multiplexing inputs with different rates. Signed-off-by: Philipp M. Scholl <pscholl@bawue.de> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* h264_mp4toannexb_bsf: Fix start code size of parameter sets.Yusuke Nakamura2018-03-13
| | | | | | Any parameter set shall have start code of at least 4 byte size. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mov.c: Use the correct offset to shift timestamp when seeking.Sasi Inguva2018-03-10
| | | | | | | | Fixes seek for files with empty edits and files with negative ctts (dts_shift > 0). Added fate samples and tests. Signed-off-by: Sasi Inguva <isasi@isasi.mtv.corp.google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/drawutils: Do not claim to support P016.Carl Eugen Hoyos2018-03-08
| | | | Fixes fate on big-endian.
* checkasm/hevc_sao : add hevc_sao for checkasmYingming Fan2018-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* crc: add AV_CRC_8_SBC as a 8 bits CRC with polynomial 0x1DAurelien Jacobs2018-03-07
|
* swscale: Add p016 output support and generalise yuv420p1x to p010Philip Langdale2018-03-02
| | | | | | | | To make the best use of existing code, I generalised the wrapper that currently does yuv420p10 to p010 to support any mixture of input and output sizes between 10 and 16 bits. This had the side effect of yielding a working code path for all yuv420p1x formats to p01x.
* compat: remove in-tree NVidia headersTimo Rothenpieler2018-02-27
| | | | | | | | | | | | | | | | External headers are no longer welcome in the ffmpeg codebase because they increase the maintenance burden. However, in the NVidia case the vanilla headers need some modifications to be usable in ffmpeg therefore we still provide them, but in a separate repository. The external headers can be found at https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git Fate-source is updated because of the deleted files, and dynlink_loader.h license headers were updated with the standard FFmpeg headers. Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* checkasm/vf_blend : add test for blend_simple_16, phoenix_16 and difference_16Martin Vignali2018-02-24
|
* checkasm/vf_blend : add depth param in order to add test for 16 bit versionMartin Vignali2018-02-24
|
* fate/exr : add test for long name flagMartin Vignali2018-02-24
| | | | ticket 6994
* lavfi/vf_transpose: fix regression with semiplanar formatsRodger Combs2018-02-23
| | | | | | (e.g. nv12) Regression since 7b19e76aeb0ace57b99aaef156bbfe592e43e65e
* lavc/mjpeg: Add profiles for MJPEG using SOF marker codesMark Thompson2018-02-21
| | | | | | This is needed by later hwaccel code to tell which encoding process was used for a particular frame, because hardware decoders may only support a subset of possible methods.
* libavfilter/vf_fps: Add tests for start_time optionCalvin Walton2018-02-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add tests for pan audio filterTobias Rapp2018-02-19
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* libavfilter/vf_fps: Add more fate testsCalvin Walton2018-02-17
| | | | | | | | These tests cover specific rounding behaviour, to ensure that I don't introduce any regressions with the rewritten "activate" callback based fps filter. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/mpegps: add tests for PCM_DVD stream remuxGyan Doshi2018-02-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Fix fate-api reference files after AVCodecContext changeMark Thompson2018-02-12
| | | | Broken by d23fff0d8a0e7df170c67a9dd5c1f7c1fc0da489.
* fate: add aac id3v2 demux testRichard Shaffer2018-02-12
| | | | A basic test for demuxing raw AAC (ADTS) with ID3v2 tags.
* fate/libavcodec: add codec_desc testMuhammad Faiz2018-02-12
| | | | | | | | Remove runtime check at codec_desc.c Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avcodec/mpeg2dec: Fix motion vector rounding for chroma componentsNekopanda2018-02-11
| | | | | | | | In 16x8 motion compensation, for lower 16x8 region, the input to mpeg_motion() for motion_y was "motion_y + 16", which causes wrong rounding. For 4:2:0, chroma scaling for y is dividing by two and rounding toward zero. When motion_y < 0 and motion_y + 16 > 0, the rounding direction of "motion_y" and "motion_y + 16" is different and rounding "motion_y + 16" would be incorrect. We should input "motion_y" as is to round correctly. I add "is_16x8" flag to do that. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg2dec: Fix field selection for skipped macroblocksNekopanda2018-02-11
| | | | | | | | | | For B field pictures, the spec says, > The prediction shall be made from the field of the same parity as the field being predicted. I did it. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm/Makefile: add EXTRALIBS-swresampleMuhammad Faiz2018-02-09
| | | | | | Should fix https://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225058.html Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate: add id3v2 testRichard Shaffer2018-02-02
| | | | | | Adds basic unit test for parsing ID3v2 tags. Signed-off-by: James Almer <jamrial@gmail.com>
* 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>