summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* checkasm/vf_blend : add test for 16 bit version ofMartin Vignali2018-04-051-0/+5
| | | | | | | | grainextract grainmerge average extremity negation
* lavc/cfhd: fix distortion of lowest 8 lines when height is not multiple of 16Gagandeep Singh2018-04-031-10/+10
| | | | Also update fate reference. Fixes ticket #6675.
* avcodec/aic: fix decoding of videos which height is not multiple of 16Paul B Mahol2018-04-022-72/+72
| | | | | | | Fate output changes and under close inspection looks more correct. Fixes #6187. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lav*,tests: remove several register_all callsJosh de Kock2018-04-025-10/+0
| | | | | | | avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavc: prefer the mp3float decoder to the mp3 decoderRostislav Pehlivanov2018-04-012-22/+22
| | | | | | | | | On modern x86 systems its around 2x faster. For systems without FPUs it'll be slower, but our policy is to prefer floating point implementations and to let users decide what's best (or just not compile them on systems without FPUs). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* checkasm/Makefile: add EXTRALIBS-libavformatJosh de Kock2018-03-311-1/+1
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* fate: add test for eac3 dependant streamJames Almer2018-03-301-0/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add eac3_core bitstream filter testPaul B Mahol2018-03-301-0/+5
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/silencedetect: Fix silence_end accuracyNicolas Gaullier2018-03-291-6/+6
|
* lavfi/silencedetect: Fix silence_start accuracyNicolas Gaullier2018-03-291-13/+13
|
* lavfi/silencedetect: Update test parametersNicolas Gaullier2018-03-292-28/+29
| | | | | | | Set relevant filter parameters such that the result can easily be checked with a waveform editor. In particular, it makes it clear the silence_start is not accurate in the current code.
* avcodec/eac3: add support for dependent streamPaul B Mahol2018-03-292-4/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* checkasm/swscale : add test for rgb shuffle_bytes funcMartin Vignali2018-03-245-0/+96
|
* lavf/utils.c: Don't compute start_time from DISCARD packets for video.Sasi Inguva2018-03-243-1/+36
| | | | | Signed-off-by: Sasi Inguva <isasi@isasi.mtv.corp.google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/integer: move the test to the corresponding subdirectoryJames Almer2018-03-201-0/+5
| | | | | | | And actually enable it. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/hevc_idct : update test bit depth from 8 9 and 10 to 8 10 and 12Yingming Fan2018-03-191-2/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate/hapqa_extract : add test for hapqa_extract bsfMartin Vignali2018-03-187-0/+213
| | | | | | | | | | | test extract color and alpha with the three main kind of hap frame : - no snappy compression - snappy compression and one chunk - snappy compression and several chunks (16 here) like the bsf filter need to be used with vtag and encoder edition also test the information of the target mov for color and alpha
* lavu/frame: add QP side datawm42018-03-182-0/+12
| | | | | | | | | | | | | | | | | | | This adds a way for an API user to transfer QP data and metadata without having to keep the reference to AVFrame, and without having to explicitly care about QP APIs. It might also provide a way to finally remove the deprecated QP related fields. In the end, the QP table should be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS. There are two side data types, because I didn't care about having to repack the QP data so the table and the metadata are in a single AVBufferRef. Otherwise it would have either required a copy on decoding (extra slowdown for something as obscure as the QP data), or would have required making intrusive changes to the codecs which support export of this data. The new side data types are added under deprecation guards, because I don't intend to change the status of the QP export as being deprecated (as it was before this patch too).
* fate/hapenc : remove test which use libsnappyMartin Vignali2018-03-177-105/+0
| | | | the test in none mode can be let (they don't use libsnappy)
* fate: add a dca_core bitstream filter testJames Almer2018-03-171-0/+5
| | | | | 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-161-25/+25
| | | | | | | 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-1310-0/+164
| | | | | | 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-133-30/+30
|
* avformat/pcm: decrease delay when reading PCM streams.Philipp M. Scholl2018-03-132-42/+42
| | | | | | | | | | | | | | | | | | 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-135-24/+24
| | | | | | 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-104-0/+384
| | | | | | | | 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-081-1/+0
| | | | Fixes fate on big-endian.
* checkasm/hevc_sao : add hevc_sao for checkasmYingming Fan2018-03-075-1/+154
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* crc: add AV_CRC_8_SBC as a 8 bits CRC with polynomial 0x1DAurelien Jacobs2018-03-071-0/+1
|
* swscale: Add p016 output support and generalise yuv420p1x to p010Philip Langdale2018-03-0212-0/+21
| | | | | | | | 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-271-4/+0
| | | | | | | | | | | | | | | | 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-241-0/+12
|
* checkasm/vf_blend : add depth param in order to add test for 16 bit versionMartin Vignali2018-02-241-28/+29
|
* fate/exr : add test for long name flagMartin Vignali2018-02-242-0/+9
| | | | ticket 6994
* lavfi/vf_transpose: fix regression with semiplanar formatsRodger Combs2018-02-231-4/+4
| | | | | | (e.g. nv12) Regression since 7b19e76aeb0ace57b99aaef156bbfe592e43e65e
* lavc/mjpeg: Add profiles for MJPEG using SOF marker codesMark Thompson2018-02-211-2/+2
| | | | | | 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-223-1/+25
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add tests for pan audio filterTobias Rapp2018-02-197-0/+186
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* libavfilter/vf_fps: Add more fate testsCalvin Walton2018-02-178-1/+121
| | | | | | | | 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-164-0/+74
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Fix fate-api reference files after AVCodecContext changeMark Thompson2018-02-122-0/+4
| | | | Broken by d23fff0d8a0e7df170c67a9dd5c1f7c1fc0da489.
* fate: add aac id3v2 demux testRichard Shaffer2018-02-122-1/+242
| | | | A basic test for demuxing raw AAC (ADTS) with ID3v2 tags.
* fate/libavcodec: add codec_desc testMuhammad Faiz2018-02-121-0/+5
| | | | | | | | 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-1110-305/+305
| | | | | | | | 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-111-164/+164
| | | | | | | | | | 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-091-1/+1
| | | | | | 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-024-0/+15
| | | | | | 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-285-0/+120
|
* avfilter/vf_framerate: change blend factor precisionMarton Balint2018-01-283-83/+83
| | | | | | | | | | | | | 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-282-0/+111
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud