summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'de452e503734ebb0fdbce86e9d16693b3530fad3'Clément Bœsch2017-03-201-1/+1
|\ | | | | | | | | | | | | * commit 'de452e503734ebb0fdbce86e9d16693b3530fad3': pixblockdsp: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <[email protected]>
* | Merge commit 'e89cef40506d990a982aefedfde7d3ca4f88c524'Clément Bœsch2017-03-201-2/+3
|\| | | | | | | | | | | | | * commit 'e89cef40506d990a982aefedfde7d3ca4f88c524': checkasm: Read the unsigned value as it should Merged-by: Clément Bœsch <[email protected]>
| * checkasm: Read the unsigned value as it shouldLuca Barbato2016-09-111-2/+3
| | | | | | | | Reading a value larger than int using atoi() may give the wrong result.
* | Merge commit '3aa9d37d03da3c9b482d19b3988659287815280e'Clément Bœsch2017-03-201-1/+1
|\| | | | | | | | | | | | | | | | | | | * commit '3aa9d37d03da3c9b482d19b3988659287815280e': build: Fix directory dependencies of tests/pixfmts.mak target This might not be necessary given our mkdirs in the configure, but it probably doesn't hurt. Merged-by: Clément Bœsch <[email protected]>
| * build: Fix directory dependencies of tests/pixfmts.mak targetDiego Biurrun2016-09-051-1/+1
| |
* | swscale: remove unused is{RGB,BGR}inBytesClément Bœsch2017-03-201-18/+0
| |
* | swscale: use a (more correct) function for isPackedClément Bœsch2017-03-201-0/+19
| |
* | fate: add fate-sws-pixdesc-queryClément Bœsch2017-03-203-0/+814
| | | | | | | | Test the pixel format querying within libswscale.
* | Merge commit '87c6c78604e4dd16f1f45862b27ca006da010527'James Almer2017-03-191-2/+2
|\| | | | | | | | | | | | | * commit '87c6c78604e4dd16f1f45862b27ca006da010527': vp8: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <[email protected]>
| * vp8: Change type of stride parameters to ptrdiff_tDiego Biurrun2016-08-261-2/+2
| | | | | | | | ptrdiff_t is the correct type for array strides and similar.
| * checkasm: add vp9 MC tests.Ronald S. Bultje2016-08-034-0/+132
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
* | fate: Do not report side data sizeVittorio Giovara2017-03-179-103/+98
| | | | | | | | | | | | | | This field is of little value, and interferes with testing side data, since sizes can be different on multiple architectures. Signed-off-by: Vittorio Giovara <[email protected]>
* | avcodec: estimate output bitrate for uncompressed video codecsTobias Rapp2017-03-1740-40/+40
| | | | | | | | | | | | | | | | | | | | | | Allows to get a more realistic total bitrate (and estimated file size) in avi_write_header. Previously a static default value of 200k was assumed. Adds an internal helper function for bitrate guessing. Signed-off-by: Tobias Rapp <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]>
* | swresample/options: enable linear_interp and exact_rational by defaultMuhammad Faiz2017-03-175-27/+196
| | | | | | | | | | | | better quality without speedloss Signed-off-by: Muhammad Faiz <[email protected]>
* | fate: Add vf_framerate test.Alexis Ballier2017-03-163-0/+25
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '40ad05bab206c932a32171d45581080c914b06ec'Clément Bœsch2017-03-151-1/+1
|\| | | | | | | | | | | | | * commit '40ad05bab206c932a32171d45581080c914b06ec': checkasm: Cast unsigned to signed Merged-by: Clément Bœsch <[email protected]>
| * checkasm: Cast unsigned to signedLuca Barbato2016-07-231-1/+1
| | | | | | | | | | Avoid a warning for passing an unsigned value to abs(), some compilers might optimize away abs().
* | ffmpeg, ffprobe: don't "merge" side data into packet data by defaultwm42017-03-149-57/+58
| | | | | | | | | | | | | | | | Preparation for potentially disabling merged side data by default in the libs. Do this in particular because it affects fate tests. The changed tests either reflect added packet side data, or the changed packet size due to merged side data removal reducing the packet size.
* | swresample/swresample: do not reset tsf on swr_alloc_set_optsMuhammad Faiz2017-03-131-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | so tsf option in aresample will have effect previously tsf/internal_sample_format had no effect fate is updated s32p previously used fltp internally dblp previously used fltp/dblp internally Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Muhammad Faiz <[email protected]>
* | tests/api-seek: fix memory leak on realloc() failureJames Almer2017-03-121-2/+2
| | | | | | | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* | test/api-seek: clean up properly on failureJames Almer2017-03-121-12/+19
| | | | | | | | | | | | | | Also propagate better error values. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* | tests/api-seek: make the crc array uint32_tJames Almer2017-03-121-8/+9
| | | | | | | | | | Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* | concatdec: pass AVFormatContext flags to sub demuxerwm42017-03-091-64/+128
| |
* | swresample/resample: do not allow odd filter_lengthMuhammad Faiz2017-03-091-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | except filter_length == 1 odd filter_length gives worse frequency response, even when compared with shorter filter_length also makes build_filter simpler Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Muhammad Faiz <[email protected]>
* | fate/swresample: fix FUZZ typoMuhammad Faiz2017-03-081-1/+1
| | | | | | | | | | | | | | unintentionally changed to 0.01 at '61926b6c3e560283ef6c015d6d85c32716942833' Signed-off-by: Muhammad Faiz <[email protected]>
* | avutil/tests/lfg.c: added proper normality testThomas Turner2017-03-082-0/+1011
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Chen-Shapiro(CS) test was used to test normality for Lagged Fibonacci PRNG. Normality Hypothesis Test: The null hypothesis formally tests if the population the sample represents is normally-distributed. For CS, when the normality hypothesis is True, the distribution of QH will have a mean close to 1. Information on CS can be found here: http://www.stata-journal.com/sjpdf.html?articlenum=st0264 http://www.originlab.com/doc/Origin-Help/NormalityTest-Algorithm Signed-off-by: Thomas Turner <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | swresample/resample: use uniform normalizationMuhammad Faiz2017-03-086-156/+156
| | | | | | | | | | | | | | | | | | this gives better frequency response update swresample fate and other fates that depend on resampling Signed-off-by: Muhammad Faiz <[email protected]>
* | mkv: Export bounds and padding from spherical metadataVittorio Giovara2017-03-071-1/+5
| | | | | | | | Update the fate test as needed.
* | mov: Export bounds and padding from spherical metadataVittorio Giovara2017-03-071-1/+5
| | | | | | | | Update the fate test as needed.
* | spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-072-2/+2
| | | | | | | | Signed-off-by: Vittorio Giovara <[email protected]>
* | ffmpeg: init filtergraphs only after we have a frame on each inputAnton Khirnov2017-03-0312-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure the actual stream parameters are used, which is important mainly for hardware decoding+filtering cases, which would previously require various weird workarounds to handle the fact that a fake software graph has to be constructed, but never used. This should also improve behaviour in rare cases where avformat_find_stream_info() does not provide accurate information. This merges Libav commit a3a0230. It was previously skipped. The code in flush_encoders() which sets up a "fake" format wasn't in Libav. I'm not sure if it's a good idea, but it tends to give behavior closer to the old one in certain corner cases. The vp8-size-change gives different result, because now the size of the first frame is used. libavformat reported the size of the largest frame for some reason. The exr tests now use the sample aspect ratio of the first frame. For some reason libavformat determines 0/1 as aspect ratio, while the decoder returns the correct one. The ffm and mxf tests change the field_order values. I'm assuming another libavformat/decoding mismatch. Signed-off-by: wm4 <[email protected]>
* | ffmpeg: do packet ts rescaling in write_packet()Anton Khirnov2017-03-032-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be useful in the following commit, after which the muxer timebase is not always available when encoding. This merges Libav commit 3e265ca. It was previously skipped. There are some changes with how/when the mux_timebase field is set, because the Libav approach often causes a too imprecise time base to be set. This is hard, because the muxer's write_header function can readjust the timebase, at which point we might already have encoded packets buffered. (It might be better to buffer them after the encoder, instead of after all the timestamp handling logic before muxing.) The two FATE tests change because the output time base is raised for subtitles. (Needed to avoid certain rounding issues in other cases.) Includes a minor merge fix by Mark Thompson, and avconv: Move rescale to stream timebase before monotonisation also by Mark Thompson <[email protected]>. Signed-off-by: wm4 <[email protected]>
* | add locale month names to av_small_strptimeMicah Galizia2017-02-261-0/+7
| | | | | | | | | | Signed-off-by: Micah Galizia <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | fate: update ffprobe stuff after dbc7f02a727286f3Paul B Mahol2017-02-267-73/+73
| | | | | | | | Signed-off-by: Paul B Mahol <[email protected]>
* | avfilter/aeval: trim last frame's number of samples to match requested durationPaul B Mahol2017-02-252-1153/+1533
| | | | | | | | | | | | Fixes #6181. Signed-off-by: Paul B Mahol <[email protected]>
* | avcodec/vp56: Implement very basic error concealmentMichael Niedermayer2017-02-251-1/+1
| | | | | | | | | | | | | | This should fix the fate failure due to a truncated last frame. Alternatively the frame could be dropped. Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/vp56: Fix sign typoMichael Niedermayer2017-02-241-1/+1
| | | | | | | | | | | | | | | | | | Fixes: 664/clusterfuzz-testcase-4917047475568640 The change to fate is due to a truncated last frames which is now detected as damaged. Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* | fate/source: Check for cases that could use av_clip_uintp2() and av_clip_intp2()Michael Niedermayer2017-02-212-0/+16
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | tests/fate/hevc: remove vsync drop from where it is not needed anymoreMichael Niedermayer2017-02-181-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | adpcm: fix clipping for yamahaPaul B Mahol2017-02-152-6/+6
| | | | | | | | | | | | | | According to specification max value allowed is 0x6000. Fixes #5862. Signed-off-by: Paul B Mahol <[email protected]>
* | avfilter/vf_lut: do not always explicitly clip pixelsPaul B Mahol2017-02-131-29/+29
| | | | | | | | | | | | | | Old behaviour was not useful at all. New behaviour only emulate old behaviour with default options. Signed-off-by: Paul B Mahol <[email protected]>
* | fate: add WavPack muxer testJames Almer2017-02-103-0/+8
| | | | | | | | | | Tested-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* | avformat/apetag: fix flag value to signal footer presenceJames Almer2017-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the spec[1], a value of 0 means the footer is present and a value of 1 means it's absent, the exact opposite of header presence flag where 1 means present and 0 absent. The reason for this is compatibility with APEv1 tags, where there's no header, footer presence was mandatory for all files, and the flags field was a zeroed reserved field. [1] http://wiki.hydrogenaud.io/index.php?title=Ape_Tags_Flags Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: James Almer <[email protected]>
* | Implement optimal huffman encoding for (M)JPEG.Jerry Jiang2017-02-0810-5/+45
| | | | | | | | | | | | | | > seems to break > make fate-vsynth1-mjpeg-444 Fixed.
* | Merge commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc'Clément Bœsch2017-02-024-0/+78
|\| | | | | | | | | | | | | * commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc': checkasm: add HEVC test for testing IDCT DC Merged-by: Clément Bœsch <[email protected]>
| * checkasm: add HEVC test for testing IDCT DCAlexandra Hájková2016-07-224-1/+76
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
* | Merge commit '6f9e34baea4f6f484392e4e67f606a0835d07b73'Clément Bœsch2017-02-021-1/+1
|\| | | | | | | | | | | | | * commit '6f9e34baea4f6f484392e4e67f606a0835d07b73': arm: Check for support for the .fpu directive Merged-by: Clément Bœsch <[email protected]>
| * arm: Check for support for the .fpu directiveMartin Storsjö2016-07-211-1/+1
| | | | | | | | | | | | | | When targeting COFF (windows), clang doesn't support this directive (while binutils supports it for all targets). Signed-off-by: Martin Storsjö <[email protected]>
| * checkasm: arm: Ignore changes to bits 0-4 and 7 of FPSCRMartin Storsjö2016-07-171-4/+6
| | | | | | | | | | | | | | | | | | These bits are set by exceptions in NEON instructions. Also print the differing bits when FPSCR is clobbered, and use bic instead of lsl, for clearing the topmost bits. Signed-off-by: Martin Storsjö <[email protected]>
| * cheackasm/arm: remove NEON instructions from checkasm_checked_call_vfpJanne Grunau2016-07-171-3/+10
| | | | | | | | | | | | Fixes AS error on non NEON builds introduced in 71a04721145. Also set the fpu directly to vfp in checkasm.S to cause build errors on NEON builds.