ffmpeg/tests/checkasm
Martin Storsjö 935837c3d3 checkasm: Fix the takdsp tests
For memcpy and memcmp, we need to multiply by the element size,
otherwise we're copying and comparing only a fraction of the buffer.

For decorrelate_sr, the buffer p1 is the one that is mutated;
copy and check p1 instead of p2.

For decorrelate_sm, both buffers are mutated, so copy and check
both of them.

For decorrelate_sm, the memcpy initialization of p1 and p1_2 was
reversed - p1 is filled with randomize, but then memcpy copies from
p1_2 to p1. As p1_2 is uninitialized at this point, clang concluded
that the copy was bogus and omitted it entirely, triggering failures
in this test on x86 (where there was an existing assembly implementation
to test).

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-12-22 14:20:31 +02:00
..
aarch64
arm
riscv checkasm/riscv: report an error upon SIGILL 2023-11-23 19:04:07 +02:00
x86
.gitignore
aacencdsp.c checkasm: test for abs_pow34 2023-12-11 18:42:07 +02:00
aacpsdsp.c
ac3dsp.c checkasm: Fix the signature of float_to_fixed24 2023-12-02 18:16:09 +02:00
af_afir.c checkasm: test for dcmul_add 2023-11-27 17:55:24 +02:00
alacdsp.c
audiodsp.c
av_tx.c
blockdsp.c
bswapdsp.c
checkasm.c checkasm/takdsp: add decorrelate_ls test 2023-12-21 22:42:34 +02:00
checkasm.h checkasm/takdsp: add decorrelate_ls test 2023-12-21 22:42:34 +02:00
exrdsp.c
fixed_dsp.c
flacdsp.c checkasm/flacdsp: add LPC test 2023-11-18 22:01:59 +02:00
float_dsp.c
fmtconvert.c
g722dsp.c
h264chroma.c
h264dsp.c
h264pred.c
h264qpel.c
hevc_add_res.c
hevc_deblock.c
hevc_idct.c
hevc_pel.c
hevc_sao.c
huffyuvdsp.c checkasm/huffyuvdsp: test for add_hfyu_left_pred_bgr32 2023-11-15 16:51:07 +02:00
idctdsp.c avcodec/idctdsp: Avoid inclusion of avcodec.h 2023-09-11 00:26:34 +02:00
jpeg2000dsp.c
llauddsp.c checkasm: add lossless audio DSP 2023-11-16 16:53:44 +02:00
llviddsp.c
llviddspenc.c
lpc.c
Makefile checkasm/takdsp: add decorrelate_ls test 2023-12-21 22:42:34 +02:00
motion.c checkasm/motion: Don't allocate AVCodecContext 2023-09-28 00:17:47 +02:00
opusdsp.c
pixblockdsp.c
sbrdsp.c checkasm: test the noise case of sbrdsp.hf_apply_noise 2023-11-13 18:34:29 +02:00
sw_gbrp.c
sw_rgb.c
sw_scale.c
synth_filter.c
takdsp.c checkasm: Fix the takdsp tests 2023-12-22 14:20:31 +02:00
utvideodsp.c
v210dec.c
v210enc.c
vc1dsp.c
vf_blend.c
vf_bwdif.c avfilter/bwdif: Add proper BWDIFDSPContext 2023-09-28 00:17:47 +02:00
vf_colorspace.c
vf_convolution.c
vf_eq.c
vf_gblur.c
vf_hflip.c
vf_nlmeans.c
vf_threshold.c
videodsp.c
vorbisdsp.c
vp8dsp.c
vp9dsp.c avutil/internal: Don't auto-include emms.h 2023-09-04 11:04:45 +02:00