aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-02-14 21:52:18 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2024-02-15 23:07:43 +0100
commit885a802f245430480c0685c3d2c50bf366933570 (patch)
tree0392e7933a924bf5b0ff7969a00688181bca2ea8
parent35ab103c30c12c40ed3d9f7ca19b120173f44fdc (diff)
downloadffmpeg-885a802f245430480c0685c3d2c50bf366933570.tar.gz
swscale/tests/swscale: Test a wider range of flag combinations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libswscale/tests/swscale.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index facdbbae48..07d0af4377 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -296,8 +296,10 @@ static void selfTest(const uint8_t * const ref[4], int refStride[4],
enum AVPixelFormat srcFormat_in,
enum AVPixelFormat dstFormat_in)
{
- const int flags[] = { SWS_FAST_BILINEAR, SWS_BILINEAR, SWS_BICUBIC,
- SWS_X, SWS_POINT, SWS_AREA, 0 };
+ const int flags[] = { SWS_FAST_BILINEAR,
+ SWS_BILINEAR, SWS_BICUBIC,
+ SWS_X|SWS_BITEXACT , SWS_POINT , SWS_AREA|SWS_ACCURATE_RND,
+ SWS_BICUBIC|SWS_FULL_CHR_H_INT|SWS_FULL_CHR_H_INP, 0};
const int srcW = w;
const int srcH = h;
const int dstW[] = { srcW - srcW / 3, srcW, srcW + srcW / 3, 0 };