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

Josh de Kock josh at itanimul.li
Fri May 15 13:28:12 EEST 2020


On 15/05/2020 09:41, Martin Storsjö wrote:
> 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".
>

Thanks for the reviews! Pushed with both fixes.

-- 
Josh


More information about the ffmpeg-devel mailing list