diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2024-09-22 12:59:23 +0200 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2024-10-27 13:20:56 +0100 |
commit | 2c44393c011033f18131865d16ce3e01209bc6c2 (patch) | |
tree | d336d94c47a8c8235d516a014c683833e5d1d584 | |
parent | e308d09fba4dcfc585d1105848a024234fcb9b5b (diff) | |
download | ffmpeg-2c44393c011033f18131865d16ce3e01209bc6c2.tar.gz |
checkasm/sw_range_convert: only run benchmarks on largest input width
-rw-r--r-- | tests/checkasm/sw_range_convert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/checkasm/sw_range_convert.c b/tests/checkasm/sw_range_convert.c index 121a459eb6..bce7a7e3e5 100644 --- a/tests/checkasm/sw_range_convert.c +++ b/tests/checkasm/sw_range_convert.c @@ -64,6 +64,7 @@ static void check_lumConvertRange(int from) call_new(dst1, width); if (memcmp(dst0, dst1, width * sizeof(int16_t))) fail(); + if (width == LARGEST_INPUT_SIZE) bench_new(dst1, width); } } @@ -113,6 +114,7 @@ static void check_chrConvertRange(int from) if (memcmp(dstU0, dstU1, width * sizeof(int16_t)) || memcmp(dstV0, dstV1, width * sizeof(int16_t))) fail(); + if (width == LARGEST_INPUT_SIZE) bench_new(dstU1, dstV1, width); } } |