Martin Vignali
a9a7ed4f27
checkasm/swscale : add test for rgb shuffle_bytes func
7 years ago
Yingming Fan
e5b4cd4c4a
checkasm/hevc_idct : update test bit depth from 8 9 and 10 to 8 10 and 12
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Yingming Fan
80798e3857
checkasm/hevc_sao : add hevc_sao for checkasm
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
c0919c4985
checkasm/vf_blend : add test for blend_simple_16, phoenix_16 and difference_16
7 years ago
Martin Vignali
e3fc36a84c
checkasm/vf_blend : add depth param in order to add test for 16 bit version
7 years ago
Muhammad Faiz
81d6501be7
checkasm/Makefile: add EXTRALIBS-swresample
...
Should fix https://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225058.html
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years ago
Martin Vignali
78b982d3b9
checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_pred
7 years ago
James Darnley
40d4b13228
checkasm: support for AVX-512 functions
7 years ago
James Almer
da03242778
Revert "checkasm/vf_interlace : add test for lowpass_line 8 and 16"
...
This reverts commit adff97be5e
.
It currently fails on Windows targets.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
adff97be5e
checkasm/vf_interlace : add test for lowpass_line 8 and 16
7 years ago
Martin Vignali
cefb7e0060
checkasm/vf_hflip : add test for vf_hflip byte and short simd
7 years ago
Martin Storsjö
18a0f42026
checkasm: Use LOCAL_ALIGNED for aligned variables on the stack
...
This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding
NEON HEVC MC assembly.
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years ago
James Almer
1215889bc1
checkasm/llviddsp: fix mixed code and declarations
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
e1121f9723
checkasm/llviddsp : add test for add_gradient_pred
7 years ago
Martin Vignali
5bda11e70e
checkasm/llviddsp : test return of add_left_pred(16)
7 years ago
Martin Vignali
179a2f04eb
checkasm/vf_threshold : add test for threshold16
7 years ago
James Almer
1b324700e3
checkasm/vf_threshold: fix mixed code and declarations
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
cfce442750
checkasm/vf_threshold : add checkasm test for threshold8
7 years ago
Martin Vignali
9bed17cd0f
checkasm/utvideo : be more explicit to the WIDTH_PADDED define
7 years ago
Michael Niedermayer
38f966b222
tests/checkasm/float_dsp: Increase allowed difference for float_dsp.vector_dmul
...
Tested for 10000 iterations on x86-32
Fixes: Ticket6848
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
James Almer
bea8eeaa2c
checkasm/utvideodsp: zero initialize the entire buffer
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
9a05c873cf
checkasm/utvideodsp: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
4a6aa6d1b2
checkasm : add test for huffyuvdsp add_int16
7 years ago
Martin Vignali
6a7eb65e1b
checkasm : add utvideodsp test
7 years ago
James Almer
501435e5e6
checkasm/jpeg2000dsp: add test for ict_float
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
20a93ea8d4
checkasm/jpeg2000dsp: refactor rct_int test
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
4cfb46f94f
checkasm/llviddsp: fix warnings about mixed declaration and code
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
fbe9148779
checkasm/llviddsp : add test for other dsp func
...
add_median_pred
add_left_pred : add two func one with acc 0, and one with random acc
add_left_pred16
7 years ago
Martin Vignali
cbbec68847
libavcodec/blockdsp : add AVX version
...
Also modify the required alignment, to 32 instead of 16
for several codecs
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
ac5908b13f
libavcodec/exr : add x86 SIMD for predictor
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Storsjö
516c479172
checkasm: Test more h264 idct variants
...
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years ago
James Almer
7323c896b2
checkasm: add an exrdsp test
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Clément Bœsch
e0d56f097f
checkasm: use perf API on Linux ARM*
...
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.
7 years ago
Martin Storsjö
e12f1cd616
Revert "checkasm: Test more h264 idct variants"
...
This reverts commit 547db1eaec
.
This commit wasn't supposed to be pushed (yet) since it hasn't
been reviewed.
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years ago
Martin Storsjö
547db1eaec
checkasm: Test more h264 idct variants
7 years ago
James Almer
e51073fe00
checkasm/vf_blend: rename addition128 and difference128 to grainmerge and grainextract
...
This was missing from f8d0689d3f
.
Fixes checkasm.
7 years ago
James Almer
6f205a42d7
checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to aacpsdsp
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
823cc7e25f
checkasm: add a g722dsp test
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
3d3243577c
checkasm: use declare_func_float() in sbrdsp sum_square test
...
The function returns a float.
This fixes the test in x86_32 targets.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Matthieu Bouron
7864e07f4a
checkasm: add sbrdsp tests
8 years ago
James Almer
0eb783eb06
checkasm: randomize the full input buffer in test_hybrid_analysis
...
Missed in the last commit.
8 years ago
James Almer
fb7b477a91
checkasm: fix size of input buffer in test_hybrid_analysis
8 years ago
Clément Bœsch
b12a36170b
lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysis
8 years ago
Clément Bœsch
edd041e64c
checkasm: add AAC PS tests
...
This includes various fixes and improvements from James Almer.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
fa50d9360b
x86/vf_blend: add sse and ssse3 extremity functions
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
a579dbb4f7
checkasm: add missing checks to float_dsp's butterflies_float test
8 years ago
Matthieu Bouron
067e42b851
checkasm/aarch64: fix tests returning a float
...
Avoids overriding the v0 register (which containins the result of the
tested function) in checkasm_call_checked.
8 years ago
Diego Biurrun
fd502f4f5f
build: Generalize yasm/nasm-related variable names
...
None of them are specific to the YASM assembler.
(Cherry-picked from libav commit 39e208f4d4
)
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
5b10f484e2
checkasm: add float_dsp tests
...
Ported from libavutil/tests/float_dsp.c
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
37388b119c
checkasm: add a checkasm_checked_call function that doesn't issue emms
...
Meant for DSP functions returning a float or double, as they'd fail if emms
is called after every run on x86_32.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago