aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/fitsdec: Use lrint()Michael Niedermayer2020-01-066-6/+6
| | | | | | | | | | | | Fixes: fate-fitsdec-bitpix-64 Possibly Fixes: -nan is outside the range of representable values of type 'unsigned short' Possibly Fixes: 17769/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5678314672357376 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 37f31f4e509fe4ccc56a64edaa6fa3d95ee20466) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp56rac: delay signaling an error on truncated inputMichael Niedermayer2020-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | A threshold of 1 is sufficient for simple_dump_cut.webm, 10 is used just to be sure the next truncated file doesnt cause the same issue Obvious alternative fixes are to simply accept that the file is broken or to write some advanced error concealment or to simply accept that the decoder wont stop at the end of input. Fixes: Ticket 8069 (artifacts not the differing md5 which was there before 1afd246960202917e244c844c534e9c1e3c323f5) Fixes: simple_dump_cut.webm Fixes: regression of 1afd246960202917e244c844c534e9c1e3c323f5 fate-vp5 changes because the last frame is truncated and now handled differently. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b6b9ac5698c8f911841b469af77199153278c55c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/fate/filter-video: increase fuzz for fate-filter-refcmp-psnr-rgbMichael Niedermayer2019-01-211-1/+1
| | | | | | | | Fixes: test failure on powerpc Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f8f762c300e29d80ece363edc08e137b371d909f) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/movenc: get number of written bytes from bitstream writerPaul B Mahol2018-11-261-2/+2
| | | | | | Update fate test. (cherry picked from commit 97d1ee437bbf67d7e3897bc73df4f7d9771ac309)
* fate/api-h264-slice-test: use cleaner error handlingJosh de Kock2018-11-031-32/+47
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 1052578dadf72e400cee5ad2ad5dce899032d362)
* fate/api-h264-slice-test: don't use ssize_tJosh de Kock2018-11-031-6/+3
| | | | | | | Fixes ticket #7521 Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 8096f52049acb1861645815a54435b9fd2d5e77a)
* avfilter/vf_pixdesctest: Use 32bit read/writeMichael Niedermayer2018-10-272-2/+2
| | | | | | This is needed for processing 32bit floats Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/pixdesc: Add av_write_image_line2(), av_read_image_line2()Michael Niedermayer2018-10-272-2/+2
| | | | | | | | | This is needed because of 32bit float formats (which are difficult to store in 16bits) This also fixes undefined behavior found by fate Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api-h264-slice-test: use the correct function to free the AVHashContextJames Almer2018-10-271-1/+1
| | | | | | Fixes memleaks. Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add api-h264-slice testJosh de Kock2018-10-264-0/+535
| | | | This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously
* fate: add h264 timecode testJosh de Kock2018-10-232-0/+307
|
* swscale : add YA16 LE/BE outputMartin Vignali2018-10-1813-0/+23
|
* avcodec/proresenc_aw : use for frame flag in the header the same value than ↵Martin Vignali2018-10-184-4/+4
| | | | the official encoder
* avcodec/proresenc_aw : use qp close to the official encoderMartin Vignali2018-10-181-3/+3
|
* avcodec/proresenc_aw : use AVframe primaries, transfert, colorspace for ↵Martin Vignali2018-10-184-4/+4
| | | | | | frame header instead of default (unknown, unknown, Rec601) avoid color shift, on some decoding software
* avfilter/af_silenceremove: add options to keep min duration of silencePaul B Mahol2018-10-151-1/+1
|
* fate: Update checksums for recent mxf changesMichael Niedermayer2018-10-143-3/+3
| | | | | | References: bb89109a0a29d51cb207352834f6b92784c1700d, 84e8a87ca082f5a882e83fcb34a970f8b720cc25, ea55a11ced5ef73bc7173ae2d3e268e26b351350, 3d38e45eb85c7a2420cb48a9cd45625c28644b2e Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: correctly set content package rate in system elementBaptiste Coudurier2018-10-121-1/+1
|
* avformat/mxfenc: update body partition with footer offsetBaptiste Coudurier2018-10-126-8/+8
|
* avformat/mxfenc: add mpeg-2 specific metadata, fix compatibility with sony ↵Baptiste Coudurier2018-10-126-8/+8
| | | | content browser
* avformat/mxfenc: write index delta entry array needed by sony vegas pro 11Baptiste Coudurier2018-10-126-8/+8
|
* avutil/tests/parseutils: add some big duration testsMarton Balint2018-10-071-0/+4
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_curves: add planar rgb supportPaul B Mahol2018-09-251-5/+5
|
* lavc/h264: Add common code for level handlingMark Thompson2018-09-231-0/+5
| | | | Including a unit test.
* avcodec: add native iLBC decoderPaul B Mahol2018-09-231-0/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* fate/mov : use do_md5sum for mov-faststart-4gb-overflow testMartin Vignali2018-09-221-1/+1
| | | | | | fix test on osx based on suggestion by Hendrik Leppkes
* checkasm/float_dsp: add test for vector_dmulJames Almer2018-09-141-0/+24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/loco: switch to planar rgb formatPaul B Mahol2018-09-101-5/+5
| | | | Remove now unused step variable.
* tests/fate: fix lut hash for gray14Paul B Mahol2018-09-091-1/+1
|
* avcodec/lagarith: switch to planar rgbPaul B Mahol2018-09-097-87/+87
| | | | Speed goes from 363 fps to 428 fps for 640x480 video.
* Add FATE test for QT format audio descriptors in MP4Derek Buitenhuis2018-09-092-0/+6
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter: add support for gray14 formatPaul B Mahol2018-09-091-0/+1
|
* fate: fix hapqa-extract-nosnappy tests on small buildsJames Almer2018-09-063-4/+2
| | | | | | Fixes ticket #7324 Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add 10-bit test for hue video filterTobias Rapp2018-08-312-0/+4
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* tests/ref/fate/pixelutils: Add a newline.Carl Eugen Hoyos2018-08-311-1/+1
| | | | Fixes fate-pixelutils on aix.
* avformat/movenc: implicitly enable negative CTS offsets for ismvJan Ekström2018-08-242-5/+5
| | | | | | | | | | | ISMV lacks any sort of edit list support, as well as tfxd is effectively the PTS of the fragment for most intents and purposes. Thus, if b-frames are requested without negative CTS offsets you end up with N frames' worth of delay (tfxd PTS plus the CTS offset of the first sample). Negative CTS offsets enable the first sample to have CTS=DTS, and thus a/v desync due to b-frame reorder delay is avoided.
* lavc/hevc_ps: fix crop info for monochromeZhao Zhili2018-08-222-0/+11
| | | | | | | The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/audiointerleave: pad last audio frameBaptiste Coudurier2018-08-211-2/+2
|
* libswscale: Adds conversions from/to float gray format.Sergey Lavrushkin2018-08-1412-0/+22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavutil: Adds gray floating-point pixel formats.Sergey Lavrushkin2018-08-111-0/+3
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mov.c: Set start_time for all streams (in case of edit lists).Sasi Inguva2018-08-112-0/+8
| | | | | | | | | Fixes vorbis mp4 audio files, with edit list specified. Since st->skip_samples is not set in case of vorbis , ffmpeg computes the start_time as negative. Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavutil/pixelutils: add sad_32x32 in pixelutils API.Jun Zhao2018-07-311-0/+12
| | | | | | add sad_32x32 in pixelutils API, and update the fate. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* fate: add tests for audio channel up-/downmixing with pan filterTobias Rapp2018-07-306-22/+146
| | | | | | | | | | | | | Add tests for upmixing and downmixing with audio channel counts that have a corresponding default layout and also tests where there is no default layout. Update the existing "stereo4" test so it actually outputs stereo like the other stereo tests. Rename the previous "stereo4" test into "upmix1". Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* tests/audiogen: raise channel count limit to 12Tobias Rapp2018-07-301-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fate: remove unnecessary reference file for fate-encryption-infoJames Almer2018-07-272-0/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/tscc: Do not duplicate imagesMichael Niedermayer2018-07-232-259/+0
| | | | | | | | | | This improves speed Fixes: Timeout Fixes: 9010/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TSCC_fuzzer-6042614817095680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add more vc2 encoder testsJames Darnley2018-07-187-8/+40
|
* avformat/mov: only set handler_name from mdia->hdlrGyan Doshi2018-07-166-8/+8
| | | | | | 6 FATE references updated. Fixes #7104
* fate: allow temp files for passed test to be keptGyan Doshi2018-07-102-2/+5
| | | | | | | | Set make variable KEEP to non-zero value to preserve temp files when a test has passed. Helpful in diagnosing failed tests when test outfile is some type of single hash and does not reveal differences in processed output.
* tests/fate/demux: Add test for d25c945247979a88fac6bb3b7a26370262b96ef1Michael Niedermayer2018-07-072-0/+83
| | | | | | Sample provided by Thierry for fate Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>