summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* checkasm: Test more h264 idct variantsMartin Storsjö2017-09-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cbs: Add some read/write testsMark Thompson2017-09-26
| | | | | | | | | | Use the appropriate metadata filter for each codec - in the absence of any options to modify the stream, the output bitstream should be identical to the input (though the output file may differ in padding). All tests use conformance bitstreams, the MPEG-2 streams are newly added from the conformance test streams <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_IEC_13818-4_2004_Conformance_Testing/Video/>
* mpeg12: Move finding the best frame rate to common codeMark Thompson2017-09-12
| | | | Previously in the mpeg2_metadata filter. Also adds a test.
* Revert "checkasm: Test more h264 idct variants"Martin Storsjö2017-09-02
| | | | | | | | | This reverts commit 547db1eaecd597031165a2bf637acaaacde52788. This commit wasn't supposed to be pushed (yet) since it hasn't been reviewed. Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: Test more h264 idct variantsMartin Storsjö2017-08-31
|
* Revert "fate: Skip the checkasm test if CONFIG_STATIC is disabled"Martin Storsjö2017-08-31
| | | | | | | | | | | | | When we use dllexport properly for shared libraries on windows, there's no longer any issue with linking the object files for e.g. libavcodec statically into checkasm. (It's still not possible to link the built object files for e.g. libavformat statically to libavcodec though, since libavformat exepcts to load av_export_* symbols from a DLL.) This reverts commit 4e62b57ee03928c12a3119dcaf78ffa1f4d6985f. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg2enc: Don't mark all streams as component videoMark Thompson2017-08-20
| | | | | | | | Since there is no information about the source format, "unspecified" is the correct value to write here. All tests using the MPEG-2 encoder are updated, as this changes the header on all outputs.
* fate/hevc: specify output pixel format explicitlyAnton Khirnov2017-07-28
| | | | This allows running those tests with hwaccel.
* fate: Add cinepak encoder vsynth testsDiego Biurrun2017-07-05
|
* movenc-test: Add tests for negative cts offsetsMartin Storsjö2017-05-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: aarch64: Specify alignment for the register_init const arrayMartin Storsjö2017-05-15
| | | | | | | Loads from this strictly doesn't require alignment, but specify it just for consistency with the arm version. Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: hevc: Add a hevc_ prefix to the add_residual functionsMartin Storsjö2017-04-21
| | | | | | | This makes it easier to group them with the rest when running e.g. --bench=hevc. Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Add gbrap10 outputMichael Niedermayer2017-04-15
| | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fmvc: Add FATE testsDiego Biurrun2017-04-13
|
* lavc: Remove deprecated XvMC support hacksDiego Biurrun2017-03-23
| | | | Deprecated in 11/2013.
* cfhd: Add FATE testsDiego Biurrun2017-03-09
|
* mov: Export bounds and padding from spherical metadataVittorio Giovara2017-03-07
| | | | | | Update the fate test as needed. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pixlet: Fix architecture-dependent code and valuesVittorio Giovara2017-03-06
| | | | | | | | | | | | | | | The constants used in the decoder used floating point precision, and this caused different values to be generated on different architectures. Additionally on big endian machines, the fate test would output bytes in native order, which is different from the one hardcoded in the test. So, eradicate floating point numbers and use fixed point (32.32) arithmetics everywhere, replacing constants with precomputed integer values, and force the pixel format output to be the same in the fate test. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Add Apple Pixlet decoderPaul B Mahol2017-03-01
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* fate: Add build-only targets to FATEDiego Biurrun2017-03-01
|
* build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-01
| | | | None of them are specific to the YASM assembler.
* build: Fine-grained link-time dependency settingsDiego Biurrun2017-03-01
| | | | | | | | | | | | Previously, all link-time dependencies were added for all libraries, resulting in bogus link-time dependencies since not all dependencies are shared across libraries. Also, in some cases like libavutil, not all dependencies were taken into account, resulting in some cases of underlinking. To address all this mess a machinery is added for tracking which dependency belongs to which library component and then leveraged to determine correct dependencies for all individual libraries.
* fate: Rename WMV8_DRM decoder tests to WMV3_DRMDiego Biurrun2017-02-28
| | | | The codec used in those files is WMV3/WMV9, not WMV2/WMV8.
* fate: Make null comparison method more usefulDiego Biurrun2017-02-27
| | | | This allows dropping /dev/null as reference value when no output is generated.
* Use modern avconv syntax for codec selection in documentation and testsDiego Biurrun2017-02-27
|
* fate: Use bitexact optimizations in the svq3-2 testDiego Biurrun2017-02-27
| | | | | This fixes the test with mmxext disabled because the current reference frame hashes correspond to the non-bitexact mmxext optimizations.
* fate: Add another SVQ3 test to increase coverageDiego Biurrun2017-02-24
|
* mkv: Update the seek test to match 5d3953a5dcLuca Barbato2017-02-22
|
* fate: Update fate-lavf-mkv after commit 5d3953a5dcJohn Stebbins2017-02-21
|
* fate: Add webp alpha testMark Thompson2017-02-21
|
* fate: Skip the checkasm test if CONFIG_STATIC is disabledMartin Storsjö2017-01-09
| | | | | | | | | | When building DLLs with MSVC, CONFIG_STATIC is disabled (see d66c52c2b3694 for a more verbose explanation) since the built object files can't be linked statically (which checkasm does). This worked up until recently, only by luck. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Tweak printing of ignored testsMartin Storsjö2016-12-29
| | | | | | | | Use a tab instead of two spaces, skip the fate prefix for the test name. This makes IGNORE line fit in even better with the other make printouts. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Unset the sig variable if ignoring a test failureMartin Storsjö2016-12-29
| | | | | | | Otherwise the .rep file would still contain a signal instead of a zero, even if the process returned success. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Add --ignore-tests configure option for omitting specific FATE testsJanne Grunau2016-12-28
| | | | | | | | | This can be useful to filter out noise in known-broken scenarios like miscompilation by legacy compilers and similar. Originally based on a patch by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: Move build-system-related helper files to a separate subdirectoryDiego Biurrun2016-12-22
| | | | This unclutters the top-level directory and groups related files together.
* fate: Add h264 test for frame num gapsDerek Buitenhuis2016-12-14
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avutil: fix data race in av_get_cpu_flags()Wan-Teh Chang2016-12-08
| | | | | | | | | | | | | | | | | | | | | | | | Make the one-time initialization in av_get_cpu_flags() thread-safe. The static variables |flags|, |cpuflags_mask|, and |checked| in libavutil/cpu.c are read and written using normal load and store operations. These are considered as data races. The fix is to use atomic load and store operations. Remove the |checked| variable because the invalid value of -1 for |flags| can be used to indicate the same condition. Rename |flags| to |cpu_flags| and move it to file scope. The fix can be verified by running the libavutil/tests/cpu_init.c test program under ThreadSanitizer: ./configure --toolchain=clang-tsan make libavutil/tests/cpu_init libavutil/tests/cpu_init There should be no warnings from ThreadSanitizer. Co-author: Dmitry Vyukov of Google, who suggested the data race fix. Signed-off-by: Wan-Teh Chang <wtc@google.com>
* fate: Add spherical and stereo3d mov testsVittorio Giovara2016-12-07
|
* Remove Plan 9 supportDiego Biurrun2016-12-03
| | | | | | Supporting the system was a nice joke for the 9 release, but it has run its course. Nowadays Plan 9 receives no testing and has no practical usefulness.
* arm: vp9itxfm: Skip empty slices in the first pass of idct_idct 16x16 and 32x32Martin Storsjö2016-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work is sponsored by, and copyright, Google. Previously all subpartitions except the eob=1 (DC) case ran with the same runtime: Cortex A7 A8 A9 A53 vp9_inv_dct_dct_16x16_sub16_add_neon: 3188.1 2435.4 2499.0 1969.0 vp9_inv_dct_dct_32x32_sub32_add_neon: 18531.7 16582.3 14207.6 12000.3 By skipping individual 4x16 or 4x32 pixel slices in the first pass, we reduce the runtime of these functions like this: vp9_inv_dct_dct_16x16_sub1_add_neon: 274.6 189.5 211.7 235.8 vp9_inv_dct_dct_16x16_sub2_add_neon: 2064.0 1534.8 1719.4 1248.7 vp9_inv_dct_dct_16x16_sub4_add_neon: 2135.0 1477.2 1736.3 1249.5 vp9_inv_dct_dct_16x16_sub8_add_neon: 2446.7 1828.7 1993.6 1494.7 vp9_inv_dct_dct_16x16_sub12_add_neon: 2832.4 2118.3 2266.5 1735.1 vp9_inv_dct_dct_16x16_sub16_add_neon: 3211.7 2475.3 2523.5 1983.1 vp9_inv_dct_dct_32x32_sub1_add_neon: 756.2 456.7 862.0 553.9 vp9_inv_dct_dct_32x32_sub2_add_neon: 10682.2 8190.4 8539.2 6762.5 vp9_inv_dct_dct_32x32_sub4_add_neon: 10813.5 8014.9 8518.3 6762.8 vp9_inv_dct_dct_32x32_sub8_add_neon: 11859.6 9313.0 9347.4 7514.5 vp9_inv_dct_dct_32x32_sub12_add_neon: 12946.6 10752.4 10192.2 8280.2 vp9_inv_dct_dct_32x32_sub16_add_neon: 14074.6 11946.5 11001.4 9008.6 vp9_inv_dct_dct_32x32_sub20_add_neon: 15269.9 13662.7 11816.1 9762.6 vp9_inv_dct_dct_32x32_sub24_add_neon: 16327.9 14940.1 12626.7 10516.0 vp9_inv_dct_dct_32x32_sub28_add_neon: 17462.7 15776.1 13446.2 11264.7 vp9_inv_dct_dct_32x32_sub32_add_neon: 18575.5 17157.0 14249.3 12015.1 I.e. in general a very minor overhead for the full subpartition case due to the additional loads and cmps, but a significant speedup for the cases when we only need to process a small part of the actual input data. In common VP9 content in a few inspected clips, 70-90% of the non-dc-only 16x16 and 32x32 IDCTs only have nonzero coefficients in the upper left 8x8 or 16x16 subpartitions respectively. Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: vp9dsp: benchmark all sub-IDCTs (but not WHT or ADST).Ronald S. Bultje2016-11-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Revert "checkasm: vp9dsp: Benchmark the dc-only version of idct_idct separately"Martin Storsjö2016-11-23
| | | | | | | | | This reverts commit 81d7f0bbca837afda1f7e60d3ae52ab1360ab44b. Instead of just benchmarking dc separately, test all relevant subparts (in the next commit). Signed-off-by: Martin Storsjö <martin@martin.st>
* fate.sh: Allow setting other make flags for running testsMartin Storsjö2016-11-23
| | | | | | | | | | | | If makeopts_fate is set, these makeopts are used for running the tests instead of the normal makeopts. If it isn't set, the normal makeopts variable is used as before. This is useful if remote testing on a lesser machine where a large number of parallel jobs might be undesireable, while wanting to speed up the build with many parallel processes. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Add h264 and hevc extradata reload testsVittorio Giovara2016-11-16
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* checkasm: vp9dsp: Benchmark the dc-only version of idct_idct separatelyMartin Storsjö2016-11-16
| | | | | | | | The dc-only mode is already checked to work correctly above, but this allows benchmarking this mode for performance tuning, and allows making sure that it actually is correctly hooked up. Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: add vp9dsp.itxfm_add tests.Ronald S. Bultje2016-11-11
| | | | | | | | This includes fixes by Henrik Gramner. The forward transforms are derived from the reference encoder. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: checkasm: Split monolithic test into individual componentsDiego Biurrun2016-11-08
|
* checkasm: Add --test parameter to check only specific componentsDiego Biurrun2016-11-08
| | | | Inspired by a patch from Martin Storsjö <martin@martin.st>.
* swscale: Add GRAY12Luca Barbato2016-11-07
|
* vp9: Flip the order of arguments in MC functionsMartin Storsjö2016-11-03
| | | | | | | | | This makes it match the pattern already used for VP8 MC functions. This also makes the signature match ffmpeg's version of these functions, easing porting of code in both directions. Signed-off-by: Martin Storsjö <martin@martin.st>