Re: [FFmpeg-devel] [PATCH] checkasm: Fix the takdsp tests

2023-12-22 Thread James Almer
On 12/22/2023 6:49 AM, Martin Storsjö wrote: 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, bo

[FFmpeg-devel] [PATCH] checkasm: Fix the takdsp tests

2023-12-22 Thread Martin Storsjö
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