[FFmpeg-devel] [PATCH v3] checkasm: add hscale test

Martin Storsjö martin at martin.st
Fri May 15 11:41:19 EEST 2020


On Thu, 14 May 2020, Josh de Kock wrote:

> This tests the hscale 8bpp to 14bpp functions with different filter
> sizes.
>
> Signed-off-by: Josh de Kock <josh at itanimul.li>
> ---
>
> Adds support for checking corner cases for signed and large
> coefficients. Also makes the padded coefficients random data.
>
> Tested on x86_64 and aarch64.
>
> tests/checkasm/Makefile   |   2 +-
> tests/checkasm/checkasm.c |   1 +
> tests/checkasm/checkasm.h |   1 +
> tests/checkasm/sw_scale.c | 134 ++++++++++++++++++++++++++++++++++++++
> 4 files changed, 137 insertions(+), 1 deletion(-)
> create mode 100644 tests/checkasm/sw_scale.c

I forgot to point out, this is missing an addition to 
tests/fate/checkasm.mak - as the tests are run in separate checkasm 
invocations, we need to add new tests groups there, otherwise they aren't 
run as part of "make fate".

// Martin



More information about the ffmpeg-devel mailing list