summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* avutil/parseutils: accept everything in av_parse_time that ↵Marton Balint2016-02-14
| | | | | | | | 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-14
| | | | | | | | 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-13
| | | | It is private (uninstalled) and unused.
* fate/source: Do not use GNU extensions in sedTimothy Gu2016-02-13
|
* fate: Update fate-sub2video for 5486d7fa91f7233e6d9aa9ba8de7fe9287402637Michael Niedermayer2016-02-11
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* sws/output: fix ordered dither threshold for mono outputMichael Niedermayer2016-02-10
| | | | | | 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-10
| | | | Reviewed-by: Clément Bœsch <u@pkh.me>
* nut: Add PAL8 supportMichael Niedermayer2016-02-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* build: use intermediate lcov coverage fileAndreas Cadhalpun2016-02-06
| | | | | | | 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-06
| | | | | | | 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-04
| | | | | 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-04
| | | | | | | 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-03
|\ | | | | | | | | | | | | * 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-21
| | | | | | | | | | | | | | | | | | | | 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-02
| |
* | dca: split decoder fate tests into dca.makHendrik Leppkes2016-02-02
| |
* | Revert "do not write f2 if not interlaced"Sebastian Dröge2016-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-01
| | | | | | | | | | | | | | 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-31
| |
* | avcodec/dca: add new decoder based on libdcadecfoo862016-01-31
| |
* | avcodec/dca: remove old decoderfoo862016-01-31
| | | | | | | | | | 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-31
| | | | | | | | | | | | | | 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-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/rawdec: Use AV_PIX_FMT_PAL8 for raw 1 bpp video in AVIMats Peterson2016-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-28
|\| | | | | | | | | | | | | * 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-21
| | | | | | | | | | | | | | 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-21
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | FATE: update AAC encoder PNS test targetRostislav Pehlivanov2016-01-27
| | | | | | | | | | | | 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-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate/ffmpeg: Fix colorkey test failure without samplesMichael Niedermayer2016-01-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Add a small number of rawvideo in mov testsMichael Niedermayer2016-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add 1 and 15BPP rawvideo in avi testsMichael Niedermayer2016-01-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86inc: Add debug symbols indicating sizes of compiled functionsGeza Lore2016-01-21
| | | | | | | | | | | | | | | | | | 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-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm: add videodsp emulated_edge_mc test.Ronald S. Bultje2016-01-21
| |
* | lavf/nut: Add forgotten fourccs for YUV4xxP9.Carl Eugen Hoyos2016-01-21
| |
* | tests/fate/aac: remove unneeded strict arguments from the encoder testsRostislav Pehlivanov2016-01-20
| | | | | | | | | | | | Leftover from the experimental flag removal. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | Merge commit 'fec76cd430f3c865183a6e5b4caec0743e055605'Hendrik Leppkes2016-01-19
|\| | | | | | | | | | | | | * 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-07
| | | | | | | | | | | | | | This is disabled on iOS, since iOS uses a slightly different ABI for vararg parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '26ec75aec3576daea691dee53a78ec67c0dc4040'Hendrik Leppkes2016-01-19
|\| | | | | | | | | | | | | * commit '26ec75aec3576daea691dee53a78ec67c0dc4040': checkasm: Check register clobbering on arm Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Check register clobbering on armMartin Storsjö2016-01-07
| | | | | | | | | | | | | | | | | | | | | | Use two separate functions, depending on whether VFP/NEON is available. This is set to require armv5te - it uses blx, which is only available since armv5t, but we don't have a separate configure item for that. (It also uses ldrd, which requires armv5te, but this could be avoided if necessary.) Signed-off-by: Martin Storsjö <martin@martin.st>
* | AAC encoder: use signed coeffs when measuring IS energyClaudio Freire2016-01-17
| | | | | | | | | | | | I/S energy, especially when it comes to phase cancellations, needs to use signed coefficients as input, yet it was using abs'd coefficients. That was a slight bug.
* | fate: add 10-bit v210 encoder testsJames Darnley2016-01-17
| |
* | fate: add test for realtime ccaption decoderAman Gupta2016-01-14
| |
* | AAC encoder: fix I/S relative error evaluationClaudio Freire2016-01-13
| | | | | | | | | | | | | | The relative error between two encoding strategies is the simple difference of rate-distortion values, and not the absolute difference. An absolute measure would allow worsening of the quantization error as well as improving.
* | AAC encoder: various fixes in M/S codingClaudio Freire2016-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix sf_idx and band_type addressing to address only the first subwindow in the group (others could hold garbage values) 2. Don't step on ms_mask when is_mask is set. I/S selection already sets the ms_mask properly and shouldn't be overridden. 3. Use mid/sid cb/sf when computing coding error, as should be since those are the cb/sfs that will eventually be set. 4. Fix distortion computation on multi-subwindow groups (was subtracting the bits terms multiple times) 5. Clear ms_mask when one side uses PNS and the other doesn't. When using PNS, ms_mask signals correlated noise, which can be detected just like regular M/S detection, so we don't skip noise bands, but when only one side uses PNS setting the flag can confuse some encoders, so avoid that.
* | AAC encoder: avoid assertion failure on PNSClaudio Freire2016-01-13
| | | | | | | | | | In rare corner cases it could still fail an assert on sf_diff due to failure to update prev_sf in some code paths. Fix that case.
* | fate: fix sub-cc fontClément Bœsch2016-01-10
| |
* | lavc/ccaption_dec: improve default styleClément Bœsch2016-01-10
| | | | | | | | Use monospaced font, and a black box outline.
* | lavc/ccaption_dec: fix ASS tagsClément Bœsch2016-01-10
| |