aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/vp56: Implement very basic error concealmentMichael Niedermayer2017-05-171-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 <michael@niedermayer.cc> (cherry picked from commit d34bf886e963445350c4987f7a9ed77bd9c9a5c7) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp56: Fix sign typoMichael Niedermayer2017-05-171-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 <michael@niedermayer.cc> (cherry picked from commit 513a3494396d0a20233273b3cadcb5ee86485d5c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/api/api-codec-param-test: Do not directly access caps_internalMichael Niedermayer2016-08-131-1/+1
| | | | | | | | | | The caps_internal field has moved without major bump and direct access causes crashes, found when testing 3.1 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d0ee2e3ae6a7b58363b5e1ae518b242d0666f82b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_telecine: Make frame writable before writing into itMichael Niedermayer2016-08-131-1/+1
| | | | | | | | | Fixes Ticket 5627 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit fa0097e008a145ea8324879d4e24c1881bb86279) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/checkasm/checkasm: Disable checkasm_check_pixblockdsp for ppc64beMichael Niedermayer2016-06-261-1/+1
| | | | | | | | See: Ticket5508 Suggested-by: Carl Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit e5d434b840404d84585456e51755e052a0fe0731)
* avformat/utils: fix dts from pts code in compute_pkt_fields() during ↵Michael Niedermayer2016-03-261-1/+1
| | | | | | | | | ascending delay Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit de1de4932419d0fb49c9c23f62e68cdbe90d0ee3) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/aac: Increase fuzz from of fate-aac-pns-encode from 72 to 74 for LoongsonMichael Niedermayer2016-03-261-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit c78a7267175a3d1e07b88be42f949f95124925e3) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/source-check.sh: Use "git show" instead of git --version to test for gitn3.0Michael Niedermayer2016-02-151-1/+1
| | | | | | | | | This fixes fate with non git source trees Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 295de3efc53efa3945c3116b5a910b1464632358) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/parseutils: remove 2112 date from fate testMarton Balint2016-02-141-1/+1
| | | | | | It is not supported on 32bit. Signed-off-by: Marton Balint <cus@passwd.hu>
* checkasm/vf_blend: Decrease iteration countTimothy Gu2016-02-141-1/+1
| | | | The test is already slow.
* checkasm: Add vf_blend testsTimothy Gu2016-02-144-0/+135
|
* avutil/parseutils: accept everything in av_parse_time that ↵Marton Balint2016-02-141-0/+3
| | | | | | | | ff_iso8601_to_unix_time accepts Also parse timezone information previously ignored in ff_iso8601_to_unix_time. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/parseutils: use microsecond precision when parsing "now" in ↵Marton Balint2016-02-141-2/+2
| | | | | | | | av_parse_time() Use av_gettime() instead of time(0) for querying current time. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil: Remove x86_cpu.hTimothy Gu2016-02-131-2/+0
| | | | It is private (uninstalled) and unused.
* fate/source: Do not use GNU extensions in sedTimothy Gu2016-02-131-3/+5
|
* fate: Update fate-sub2video for 5486d7fa91f7233e6d9aa9ba8de7fe9287402637Michael Niedermayer2016-02-111-1/+84
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* sws/output: fix ordered dither threshold for mono outputMichael Niedermayer2016-02-1021-52/+52
| | | | | | This makes sure that white stays white and black black Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests: Add test for proper header guardTimothy Gu2016-02-102-0/+23
| | | | Reviewed-by: Clément Bœsch <u@pkh.me>
* nut: Add PAL8 supportMichael Niedermayer2016-02-097-7/+7
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* build: use intermediate lcov coverage fileAndreas Cadhalpun2016-02-061-2/+3
| | | | | | | Otherwise the 'lcov -q --remove' run fails with the following error: lcov: ERROR: cannot write to coverage.info! Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* build: fix lcov with src linkAndreas Cadhalpun2016-02-061-1/+1
| | | | | | | When out-of-tree builds now use a relative path, the '-b' option of lcov is not needed, so just pass the current directory to it in this case. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* fate: fix fate-aac-pns-encode failures on non-sse x86_32 targetsJames Almer2016-02-041-1/+1
| | | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* dca_parser: ensure frame duration matches the actual sample rateHendrik Leppkes2016-02-0412-60/+60
| | | | | | | The parser only parses the core, and thus has a duration relative to the core sample rate only, not the actual stream sample rate. FATE references changed due to now correct timestamps.
* Merge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'Derek Buitenhuis2016-02-031-4/+4
|\ | | | | | | | | | | | | * commit '2862b63783b5556f7f3fb2d097629bc6879f833a': lavc: Move prediction_method to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavc: Move prediction_method to codec private optionsVittorio Giovara2016-01-211-4/+4
| | | | | | | | | | | | | | | | | | | | This options is only used by huffyuv, ffvhuv, jpegls, mjpeg, mpegvideoenc, png, utvideo. It is a very codec-specific options, so deprecate the global variant. Set proper limits to the maximum allowed values, and update utvideoenc tests to use the new option name. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | dca: add new fate tests based on the dcadec-samples test suiteHendrik Leppkes2016-02-0228-0/+352
| |
* | dca: split decoder fate tests into dca.makHendrik Leppkes2016-02-023-16/+16
| |
* | Revert "do not write f2 if not interlaced"Sebastian Dröge2016-02-012-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8ed82d8174a666f80ab8834e3617cbe91ae740a9. SMPTE S377-1-2009c defines in F.4.1 that the Video Line Map should always be an array with two 32 bit integers as elements. This is repeated in G.2.12 with actual examples for progressive content, where the second value would always be 0. Additionally, the IRT MXF analyser also lists this as the only error in the MXF output from ffmpeg: https://mxf-analyser-cloud.irt.de Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: re-enable dca-xll testJames Almer2016-02-012-0/+4
| | | | | | | | | | | | | | And check for bitexact output instead Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | all: Make header guard names consistentTimothy Gu2016-01-311-2/+2
| |
* | avcodec/dca: add new decoder based on libdcadecfoo862016-01-314-7/+7
| |
* | avcodec/dca: remove old decoderfoo862016-01-316-106/+7
| | | | | | | | | | Remove all files and functions which are not going to be reused, and disable all functions and FATE tests temporarily which will be.
* | fate/ffm: Update test refDerek Buitenhuis2016-01-311-1/+1
| | | | | | | | | | | | | | Since timecode_frame)start is a private option now, it stays at the default, and is no longer written to the file. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec/rawdec: Switch to monowhite if there is no palette & bpp=1Michael Niedermayer2016-01-314-8/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/rawdec: Use AV_PIX_FMT_PAL8 for raw 1 bpp video in AVIMats Peterson2016-01-294-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From https://msdn.microsoft.com/en-us/library/windows/desktop/dd318229%28v=vs.85%29.aspx: "If biCompression equals BI_RGB and the bitmap uses 8 bpp or less, the bitmap has a color table immediatelly following the BITMAPINFOHEADER structure. The color table consists of an array of RGBQUAD values. The size of the array is given by the biClrUsed member. If biClrUsed is zero, the array contains the maximum number of colors for the given bitdepth; that is, 2^biBitCount colors." Nothing about "monochrome" here. Unfortunately, pal8 to monow conversion seems a bit flaky, but that's another story. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1482aff2048511b821ff9feac19426113cc641a2'Derek Buitenhuis2016-01-281-1/+2
|\| | | | | | | | | | | | | * commit '1482aff2048511b821ff9feac19426113cc641a2': lavc: Move noise_reduction to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavc: Move noise_reduction to codec private optionsVittorio Giovara2016-01-211-1/+2
| | | | | | | | | | | | | | This option is only used by mpegvideoenc, x264, xavs, and vpx. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * fate: add 10-bit v210 encoder testsJames Darnley2016-01-213-1/+10
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | FATE: update AAC encoder PNS test targetRostislav Pehlivanov2016-01-271-1/+1
| | | | | | | | | | | | Test target hasn't been updated with the latest changes. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avcodec/dcaenc: return correct number of bytes in output packetPaul B Mahol2016-01-251-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate/ffmpeg: Fix colorkey test failure without samplesMichael Niedermayer2016-01-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Add a small number of rawvideo in mov testsMichael Niedermayer2016-01-2213-0/+59
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add 1 and 15BPP rawvideo in avi testsMichael Niedermayer2016-01-229-1/+37
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86inc: Add debug symbols indicating sizes of compiled functionsGeza Lore2016-01-211-4/+4
| | | | | | | | | | | | | | | | | | Some debuggers/profilers use this metadata to determine which function a given instruction is in; without it they get can confused by local labels (if you haven't stripped those). On the other hand, some tools are still confused even with this metadata. e.g. this fixes `gdb`, but not `perf`. Currently only implemented for ELF.
* | fate: Add test for colorkeyMichael Niedermayer2016-01-213-0/+22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm: add videodsp emulated_edge_mc test.Ronald S. Bultje2016-01-214-0/+94
| |
* | lavf/nut: Add forgotten fourccs for YUV4xxP9.Carl Eugen Hoyos2016-01-2117-67/+67
| |
* | tests/fate/aac: remove unneeded strict arguments from the encoder testsRostislav Pehlivanov2016-01-201-8/+8
| | | | | | | | | | | | Leftover from the experimental flag removal. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | Merge commit 'fec76cd430f3c865183a6e5b4caec0743e055605'Hendrik Leppkes2016-01-193-0/+153
|\| | | | | | | | | | | | | * commit 'fec76cd430f3c865183a6e5b4caec0743e055605': checkasm: Check register clobbering on aarch64 Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Check register clobbering on aarch64Martin Storsjö2016-01-073-0/+153
| | | | | | | | | | | | | | This is disabled on iOS, since iOS uses a slightly different ABI for vararg parameters. Signed-off-by: Martin Storsjö <martin@martin.st>