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).
Unified · Split
| @@ -31,8 +31,8 @@ · 30 unmodified lines | ||
| 31 | 31 | static void check_lumConvertRange(int from) |
| 32 | 32 | { |
| 33 | 33 | const char *func_str = from ? "lumRangeFromJpeg" : "lumRangeToJpeg"; |
| 34 | −#define LARGEST_INPUT_SIZE 512 | |
| 35 | − static const int input_sizes[] = {8, 24, 128, 144, 256, 512}; | |
| 34 | +#define LARGEST_INPUT_SIZE 1920 | |
| 35 | + static const int input_sizes[] = {8, LARGEST_INPUT_SIZE}; | |
| 36 | 36 | SwsContext *sws; |
| 37 | 37 | SwsInternal *c; |
| 38 | 38 | |
| @@ -75,8 +75,8 @@ static void check_lumConvertRange(int from) · 36 unmodified lines | ||
| 75 | 75 | static void check_chrConvertRange(int from) |
| 76 | 76 | { |
| 77 | 77 | const char *func_str = from ? "chrRangeFromJpeg" : "chrRangeToJpeg"; |
| 78 | −#define LARGEST_INPUT_SIZE 512 | |
| 79 | − static const int input_sizes[] = {8, 24, 128, 144, 256, 512}; | |
| 78 | +#define LARGEST_INPUT_SIZE 1920 | |
| 79 | + static const int input_sizes[] = {8, LARGEST_INPUT_SIZE}; | |
| 80 | 80 | SwsContext *sws; |
| 81 | 81 | SwsInternal *c; |
| 82 | 82 | |