aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm
Commit message (Collapse)AuthorAgeFilesLines
* checkasm/Makefile: add EXTRALIBS-swresampleMuhammad Faiz2018-02-091-1/+1
| | | | | | Should fix https://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225058.html Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_predMartin Vignali2018-01-284-0/+119
|
* checkasm: support for AVX-512 functionsJames Darnley2017-12-241-0/+1
|
* Revert "checkasm/vf_interlace : add test for lowpass_line 8 and 16"James Almer2017-12-194-83/+0
| | | | | | | | 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-194-0/+83
|
* checkasm/vf_hflip : add test for vf_hflip byte and short simdMartin Vignali2017-12-134-0/+81
|
* checkasm/llviddsp: fix mixed code and declarationsJames Almer2017-12-101-3/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/llviddsp : add test for add_gradient_predMartin Vignali2017-12-091-0/+30
|
* checkasm/llviddsp : test return of add_left_pred(16)Martin Vignali2017-12-091-8/+12
|
* checkasm/vf_threshold : add test for threshold16Martin Vignali2017-12-091-5/+11
|
* checkasm/vf_threshold: fix mixed code and declarationsJames Almer2017-12-041-4/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/vf_threshold : add checkasm test for threshold8Martin Vignali2017-12-034-0/+84
|
* checkasm/utvideo : be more explicit to the WIDTH_PADDED defineMartin Vignali2017-12-011-1/+1
|
* tests/checkasm/float_dsp: Increase allowed difference for float_dsp.vector_dmulMichael Niedermayer2017-11-271-1/+2
| | | | | | | | Tested for 10000 iterations on x86-32 Fixes: Ticket6848 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* checkasm/utvideodsp: zero initialize the entire bufferJames Almer2017-11-211-3/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/utvideodsp: fix mixed declarations and codeJames Almer2017-11-211-3/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm : add test for huffyuvdsp add_int16Martin Vignali2017-11-214-0/+86
|
* checkasm : add utvideodsp testMartin Vignali2017-11-214-0/+110
|
* checkasm/jpeg2000dsp: add test for ict_floatJames Almer2017-11-201-0/+33
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/jpeg2000dsp: refactor rct_int testJames Almer2017-11-201-22/+21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '516c479172755c63063180b0c0953b68b670cdbd'James Almer2017-11-111-7/+7
|\ | | | | | | | | | | | | | | | | * commit '516c479172755c63063180b0c0953b68b670cdbd': checkasm: Test more h264 idct variants See 2d263188ba87b0d1e1120f00eecae4bb0e163f47 Merged-by: James Almer <jamrial@gmail.com>
| * checkasm: Test more h264 idct variantsMartin Storsjö2017-09-271-1/+89
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Revert "checkasm: Test more h264 idct variants"Martin Storsjö2017-09-021-89/+1
| | | | | | | | | | | | | | | | | | 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>
* | Merge commit '547db1eaecd597031165a2bf637acaaacde52788'James Almer2017-11-111-1/+89
|\| | | | | | | | | | | | | * commit '547db1eaecd597031165a2bf637acaaacde52788': checkasm: Test more h264 idct variants Merged-by: James Almer <jamrial@gmail.com>
| * checkasm: Test more h264 idct variantsMartin Storsjö2017-08-311-1/+89
| |
* | checkasm/llviddsp: fix warnings about mixed declaration and codeJames Almer2017-11-081-10/+20
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm/llviddsp : add test for other dsp funcMartin Vignali2017-11-071-8/+108
| | | | | | | | | | | | add_median_pred add_left_pred : add two func one with acc 0, and one with random acc add_left_pred16
* | Merge commit 'd05c9cde0e87c23ca42957646bea483dfc09d6bf'James Almer2017-10-301-1/+1
|\| | | | | | | | | | | | | * commit 'd05c9cde0e87c23ca42957646bea483dfc09d6bf': checkasm: aarch64: Specify alignment for the register_init const array Merged-by: James Almer <jamrial@gmail.com>
| * checkasm: aarch64: Specify alignment for the register_init const arrayMartin Storsjö2017-05-151-1/+1
| | | | | | | | | | | | | | 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>
* | Merge commit 'e00db9f78bb475ed5103364f61892f4e75ef89ba'James Almer2017-10-281-1/+1
|\| | | | | | | | | | | | | * commit 'e00db9f78bb475ed5103364f61892f4e75ef89ba': checkasm: hevc: Add a hevc_ prefix to the add_residual functions Merged-by: James Almer <jamrial@gmail.com>
| * checkasm: hevc: Add a hevc_ prefix to the add_residual functionsMartin Storsjö2017-04-211-1/+1
| | | | | | | | | | | | | | This makes it easier to group them with the rest when running e.g. --bench=hevc. Signed-off-by: Martin Storsjö <martin@martin.st>
| * lavc: Remove deprecated XvMC support hacksDiego Biurrun2017-03-231-3/+1
| | | | | | | | Deprecated in 11/2013.
| * build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-012-2/+2
| | | | | | | | None of them are specific to the YASM assembler.
* | Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'James Almer2017-10-111-1/+1
|\| | | | | | | | | | | | | | | | | | | | | * commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63': build: Fine-grained link-time dependency settings Also included are bug fix commits 5ff3b5cafcc685b6936d16602b0f80aa09a95870, d9da7151eef7fc469787e7298196cea291acfd82 and 5e27ef800bfa2be17a6353ddedac6b7400e4624f. Merged-by: James Almer <jamrial@gmail.com>
| * build: Fine-grained link-time dependency settingsDiego Biurrun2017-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | libavcodec/blockdsp : add AVX versionMartin Vignali2017-10-031-2/+2
| | | | | | | | | | | | | | Also modify the required alignment, to 32 instead of 16 for several codecs Signed-off-by: James Almer <jamrial@gmail.com>
* | libavcodec/exr : add x86 SIMD for predictorMartin Vignali2017-10-011-0/+23
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add an exrdsp testJames Almer2017-09-174-0/+73
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: use perf API on Linux ARM*Clément Bœsch2017-09-082-25/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/vf_blend: rename addition128 and difference128 to grainmerge and ↵James Almer2017-08-241-2/+2
| | | | | | | | | | | | | | grainextract This was missing from f8d0689d3f. Fixes checkasm.
* | checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to ↵James Almer2017-07-131-0/+82
| | | | | | | | | | | | aacpsdsp Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add a g722dsp testJames Almer2017-07-134-0/+68
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: use declare_func_float() in sbrdsp sum_square testJames Almer2017-07-041-1/+1
| | | | | | | | | | | | | | | | The function returns a float. This fixes the test in x86_32 targets. Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add sbrdsp testsMatthieu Bouron2017-07-034-1/+302
| |
* | checkasm: randomize the full input buffer in test_hybrid_analysisJames Almer2017-06-301-1/+1
| | | | | | | | Missed in the last commit.
* | checkasm: fix size of input buffer in test_hybrid_analysisJames Almer2017-06-301-1/+1
| |
* | lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysisClément Bœsch2017-06-281-1/+1
| |
* | checkasm: add AAC PS testsClément Bœsch2017-06-284-0/+166
| | | | | | | | | | | | This includes various fixes and improvements from James Almer. Signed-off-by: James Almer <jamrial@gmail.com>
* | x86/vf_blend: add sse and ssse3 extremity functionsJames Almer2017-06-271-0/+1
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | checkasm: add missing checks to float_dsp's butterflies_float testJames Almer2017-06-231-1/+4
| |