summaryrefslogtreecommitdiff
path: root/tests/checkasm/checkasm.c
Commit message (Collapse)AuthorAge
* checkasm: Check HAVE_GETSTDHANDLE here as wellMartin Storsjö2020-01-24
| | | | | | This was missed in 63418e374fcf26. Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm/vf_eq: add test for vf_eqTing Fu2019-09-26
| | | | | Signed-off-by: Ting Fu <ting.fu@intel.com> Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* checkasm: add opusdsp testsLynne2019-09-11
|
* checkasm/vf_gblur: add test for horiz_slice simdRuiling Song2019-06-12
| | | | Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* checkasm: add test for v210decJames Darnley2019-05-02
|
* tests/checkasm/checkasm: Do not define an unused function.Carl Eugen Hoyos2019-01-31
| | | | | Fixes the following warning: tests/checkasm/checkasm.c:615:12: warning: 'bench_init_ffmpeg' defined but not used
* checkasm: add an af_afir testJames Almer2019-01-03
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add vf_nlmeans test for ssd_integral_imageClément Bœsch2018-05-08
|
* tests/checkasm/checkasm: Provide verbose failure information on ↵Michael Niedermayer2018-04-14
| | | | | | | | float_near_abs_eps() failures This will make understanding failures and adjusting EPS easier Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm/swscale : add test for rgb shuffle_bytes funcMartin Vignali2018-03-24
|
* checkasm/hevc_sao : add hevc_sao for checkasmYingming Fan2018-03-07
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_predMartin Vignali2018-01-28
|
* checkasm: support for AVX-512 functionsJames Darnley2017-12-24
|
* Revert "checkasm/vf_interlace : add test for lowpass_line 8 and 16"James Almer2017-12-19
| | | | | | | | This reverts commit adff97be5e2ff51c0bb66080c2f904ed40b6c571. It currently fails on Windows targets. Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/vf_interlace : add test for lowpass_line 8 and 16Martin Vignali2017-12-19
|
* checkasm/vf_hflip : add test for vf_hflip byte and short simdMartin Vignali2017-12-13
|
* checkasm/vf_threshold : add checkasm test for threshold8Martin Vignali2017-12-03
|
* checkasm : add test for huffyuvdsp add_int16Martin Vignali2017-11-21
|
* checkasm : add utvideodsp testMartin Vignali2017-11-21
|
* checkasm: add an exrdsp testJames Almer2017-09-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: use perf API on Linux ARM*Clément Bœsch2017-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ARM platforms, accessing the PMU registers requires special user access permissions. Since there is no other way to get accurate timers, the current implementation of timers in FFmpeg rely on these registers. Unfortunately, enabling user access to these registers on Linux is not trivial, and generally involve compiling a random and unreliable github kernel module, or patching somehow your kernel. Such module is very unlikely to reach the upstream anytime soon. Quoting Robin Murphin from ARM: > Say you do give userspace direct access to the PMU; now run two or more > programs at once that believe they can use the counters for their own > "minimal-overhead" profiling. Have fun interpreting those results... > > And that's not even getting into the implications of scheduling across > different CPUs, CPUidle, etc. where the PMU state is completely beyond > userspace's control. In general, the plan to provide userspace with > something which might happen to just about work in a few corner cases, > but is meaningless, misleading or downright broken in all others, is to > never do so. As a result, the alternative is to use the Performance Monitoring Linux API which makes use of these registers internally (assuming the PMU of your ARM board is supported in the kernel, which is definitely not a given...). While the Linux API is obviously cross platform, it does have a significant overhead which needs to be taken into account. As a result, that mode is only weakly enabled on ARM platforms exclusively. Note on the non flexibility of the implementation: the timers (native FFmpeg vs Linux API) are selected at compilation time to prevent the need of function calls, which would result in a negative impact on the cycle counters.
* checkasm: add a g722dsp testJames Almer2017-07-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add sbrdsp testsMatthieu Bouron2017-07-03
|
* checkasm: add AAC PS testsClément Bœsch2017-06-28
| | | | | | This includes various fixes and improvements from James Almer. Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add float_dsp testsJames Almer2017-06-14
| | | | | | Ported from libavutil/tests/float_dsp.c Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add fixed_dsp testsJames Almer2017-04-11
| | | | | Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '9498237049d15812cecb79df47b196c73013908b'Clément Bœsch2017-03-31
|\ | | | | | | | | | | | | * commit '9498237049d15812cecb79df47b196c73013908b': checkasm: Add --test parameter to check only specific components Merged-by: Clément Bœsch <cboesch@gopro.com>
| * checkasm: Add --test parameter to check only specific componentsDiego Biurrun2016-11-08
| | | | | | | | Inspired by a patch from Martin Storsjö <martin@martin.st>.
* | Merge commit 'ed48a9d8143d2575a4458589cebde69ec326afd8'Clément Bœsch2017-03-24
|\| | | | | | | | | | | | | * commit 'ed48a9d8143d2575a4458589cebde69ec326afd8': checkasm: Add a test for HEVC add_residual Merged-by: Clément Bœsch <u@pkh.me>
| * checkasm: Add a test for HEVC add_residualAlexandra Hájková2016-10-22
| |
* | Merge commit '22c3ab18646924ce24dc6017a9e882ff69689e40'Clément Bœsch2017-03-22
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '22c3ab18646924ce24dc6017a9e882ff69689e40': checkasm: Add test for huffyuvdsp add_bytes huffyuvdsp is renamed to llviddsp to be consistent with our codebase. Note: af607b7e07 wasn't actually required for this test since this commit is not actually testing huffyuvdsp. Merged-by: Clément Bœsch <u@pkh.me>
| * checkasm: Add test for huffyuvdsp add_bytesAlexandra Hájková2016-10-02
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | * commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017': checkasm: add tests for audiodsp Merged-by: Clément Bœsch <u@pkh.me>
| * checkasm: add tests for audiodspAnton Khirnov2016-09-22
| |
* | Merge commit '2eb97af66af90ca3978229da151f0b8b3a5d9370'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | * commit '2eb97af66af90ca3978229da151f0b8b3a5d9370': checkasm: add a test for blockdsp Merged-by: Clément Bœsch <u@pkh.me>
| * checkasm: add a test for blockdspAnton Khirnov2016-09-22
| |
* | Merge commit 'e89cef40506d990a982aefedfde7d3ca4f88c524'Clément Bœsch2017-03-20
|\| | | | | | | | | | | | | * commit 'e89cef40506d990a982aefedfde7d3ca4f88c524': checkasm: Read the unsigned value as it should Merged-by: Clément Bœsch <u@pkh.me>
| * checkasm: Read the unsigned value as it shouldLuca Barbato2016-09-11
| | | | | | | | Reading a value larger than int using atoi() may give the wrong result.
| * checkasm: add vp9 MC tests.Ronald S. Bultje2016-08-03
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '40ad05bab206c932a32171d45581080c914b06ec'Clément Bœsch2017-03-15
|\| | | | | | | | | | | | | * commit '40ad05bab206c932a32171d45581080c914b06ec': checkasm: Cast unsigned to signed Merged-by: Clément Bœsch <cboesch@gopro.com>
| * checkasm: Cast unsigned to signedLuca Barbato2016-07-23
| | | | | | | | | | Avoid a warning for passing an unsigned value to abs(), some compilers might optimize away abs().
* | Merge commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc'Clément Bœsch2017-02-02
|\| | | | | | | | | | | | | * commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc': checkasm: add HEVC test for testing IDCT DC Merged-by: Clément Bœsch <cboesch@gopro.com>
| * checkasm: add HEVC test for testing IDCT DCAlexandra Hájková2016-07-22
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'f8d17d53957056c053a46f9320fa7ae6fe1479a5'Hendrik Leppkes2016-11-14
|\| | | | | | | | | | | | | * commit 'f8d17d53957056c053a46f9320fa7ae6fe1479a5': checkasm: Add tests for vp8dsp Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Add tests for vp8dspMartin Storsjö2016-07-08
| | | | | | | | | | | | | | The tests are inspired by similar tests for vp9 by Ronald Bultje. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '105998fb5ca3c343f5c8cb39ce3197f87a5e4d36'Matthieu Bouron2016-07-13
|\| | | | | | | | | | | | | * commit '105998fb5ca3c343f5c8cb39ce3197f87a5e4d36': checkasm: Add tests for h264 idct Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
| * checkasm: Add tests for h264 idctMartin Storsjö2016-06-17
| | | | | | | | | | | | | | The tests are inspired by similar tests for vp9 by Ronald Bultje. Signed-off-by: Martin Storsjö <martin@martin.st>
* | vf_colorspace: x86-64 SIMD (SSE2) optimizations.Ronald S. Bultje2016-04-12
| |
* | checkasm: fix dependencies for vf_blend testsJames Almer2016-02-19
| | | | | | | | | | | | | | They will now compile if avcodec is disabled Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: Add vf_blend testsTimothy Gu2016-02-14
| |