aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2024-09-18 16:35:23 +0200
committerRamiro Polla <ramiro.polla@gmail.com>2024-10-27 13:20:56 +0100
commite308d09fba4dcfc585d1105848a024234fcb9b5b (patch)
treecae717a1ea237f9342f1b30fc368e12f7e2a5d66
parentd1acd68d73bea1d9a480cc9c6ebd6d9b60e57892 (diff)
downloadffmpeg-e308d09fba4dcfc585d1105848a024234fcb9b5b.tar.gz
checkasm/sw_range_convert: reduce number of input sizes tested
Reduce input sizes to 8 (to test that the function works with widths smaller than the vector length) and 1920 (raising the largest input size to improve benchmark results).
-rw-r--r--tests/checkasm/sw_range_convert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/sw_range_convert.c b/tests/checkasm/sw_range_convert.c
index 005a732f85..121a459eb6 100644
--- a/tests/checkasm/sw_range_convert.c
+++ b/tests/checkasm/sw_range_convert.c
@@ -31,8 +31,8 @@
static void check_lumConvertRange(int from)
{
const char *func_str = from ? "lumRangeFromJpeg" : "lumRangeToJpeg";
-#define LARGEST_INPUT_SIZE 512
- static const int input_sizes[] = {8, 24, 128, 144, 256, 512};
+#define LARGEST_INPUT_SIZE 1920
+ static const int input_sizes[] = {8, LARGEST_INPUT_SIZE};
SwsContext *sws;
SwsInternal *c;
@@ -75,8 +75,8 @@ static void check_lumConvertRange(int from)
static void check_chrConvertRange(int from)
{
const char *func_str = from ? "chrRangeFromJpeg" : "chrRangeToJpeg";
-#define LARGEST_INPUT_SIZE 512
- static const int input_sizes[] = {8, 24, 128, 144, 256, 512};
+#define LARGEST_INPUT_SIZE 1920
+ static const int input_sizes[] = {8, LARGEST_INPUT_SIZE};
SwsContext *sws;
SwsInternal *c;