aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-07-06 17:41:24 -0300
committerJames Almer <jamrial@gmail.com>2024-07-06 17:41:24 -0300
commitecd3a9783413a2b608001f905852be2846af3c04 (patch)
tree7eb03826b8f38131f057ebf0e863d04907e049db
parent3d5bad75019b6459f94ca83e5c7ae4330be9603e (diff)
downloadffmpeg-ecd3a9783413a2b608001f905852be2846af3c04.tar.gz
fate/filter-video: add missing swscale flags to tiltandshift tests
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/fate/filter-video.mak6
-rw-r--r--tests/ref/fate/filter-tiltandshift-41094
-rw-r--r--tests/ref/fate/filter-tiltandshift-42298
-rw-r--r--tests/ref/fate/filter-tiltandshift-444100
4 files changed, 149 insertions, 149 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 1bcdc852d7..0a583233e5 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -553,9 +553,9 @@ fate-filter-pixelize-max: CMD = video_filter "pixelize=mode=max"
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_TILTANDSHIFT_FILTER) += fate-filter-tiltandshift
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, SCALE_FILTER TILTANDSHIFT_FILTER) += fate-filter-tiltandshift-410 fate-filter-tiltandshift-422 fate-filter-tiltandshift-444
fate-filter-tiltandshift: CMD = framecrc -c:v pgmyuv -i $(SRC) -flags +bitexact -vf tiltandshift
-fate-filter-tiltandshift-410: CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -flags +bitexact -vf format=yuv410p,tiltandshift
-fate-filter-tiltandshift-422: CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -flags +bitexact -vf format=yuv422p,tiltandshift
-fate-filter-tiltandshift-444: CMD = framecrc -auto_conversion_filters -c:v pgmyuv -i $(SRC) -flags +bitexact -vf format=yuv444p,tiltandshift
+fate-filter-tiltandshift-410: CMD = framecrc -c:v pgmyuv -i $(SRC) -flags +bitexact -vf scale=sws_flags=+accurate_rnd+bitexact,format=yuv410p,tiltandshift
+fate-filter-tiltandshift-422: CMD = framecrc -c:v pgmyuv -i $(SRC) -flags +bitexact -vf scale=sws_flags=+accurate_rnd+bitexact,format=yuv422p,tiltandshift
+fate-filter-tiltandshift-444: CMD = framecrc -c:v pgmyuv -i $(SRC) -flags +bitexact -vf scale=sws_flags=+accurate_rnd+bitexact,format=yuv444p,tiltandshift
tests/pixfmts.mak: TAG = GEN
tests/pixfmts.mak: ffmpeg$(PROGSSUF)$(EXESUF) | tests
diff --git a/tests/ref/fate/filter-tiltandshift-410 b/tests/ref/fate/filter-tiltandshift-410
index 5fbd8cbf60..6322957ae6 100644
--- a/tests/ref/fate/filter-tiltandshift-410
+++ b/tests/ref/fate/filter-tiltandshift-410
@@ -3,53 +3,53 @@
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 0/1
-0, 0, 0, 1, 114048, 0x7f0c7c05
-0, 1, 1, 1, 114048, 0xc29c2f4c
-0, 2, 2, 1, 114048, 0xd57972d3
-0, 3, 3, 1, 114048, 0x66cdd459
-0, 4, 4, 1, 114048, 0xa5fe7feb
-0, 5, 5, 1, 114048, 0xe931ca2a
-0, 6, 6, 1, 114048, 0x321b508d
-0, 7, 7, 1, 114048, 0x8e8fd497
-0, 8, 8, 1, 114048, 0xb7955ad9
-0, 9, 9, 1, 114048, 0x59d8c5a7
-0, 10, 10, 1, 114048, 0x0a8f4a57
-0, 11, 11, 1, 114048, 0x9c55cf03
-0, 12, 12, 1, 114048, 0x3c3e76a2
-0, 13, 13, 1, 114048, 0xb662efce
-0, 14, 14, 1, 114048, 0x15b35521
-0, 15, 15, 1, 114048, 0xe250b7f7
-0, 16, 16, 1, 114048, 0x81f32545
-0, 17, 17, 1, 114048, 0x27748879
-0, 18, 18, 1, 114048, 0xf7741057
-0, 19, 19, 1, 114048, 0x00a38eb9
-0, 20, 20, 1, 114048, 0xdf741c1b
-0, 21, 21, 1, 114048, 0x9be28f42
-0, 22, 22, 1, 114048, 0x7287ff20
-0, 23, 23, 1, 114048, 0xaa259a22
-0, 24, 24, 1, 114048, 0x3bb73a28
-0, 25, 25, 1, 114048, 0x4814a559
-0, 26, 26, 1, 114048, 0x9d1423a0
-0, 27, 27, 1, 114048, 0x8c01d35d
-0, 28, 28, 1, 114048, 0x424f6e83
-0, 29, 29, 1, 114048, 0x2bec0ca3
-0, 30, 30, 1, 114048, 0x2bff6b72
-0, 31, 31, 1, 114048, 0xd59b13a9
-0, 32, 32, 1, 114048, 0x99679099
-0, 33, 33, 1, 114048, 0x24bc2e4d
-0, 34, 34, 1, 114048, 0x6778d053
-0, 35, 35, 1, 114048, 0x7e7c2121
-0, 36, 36, 1, 114048, 0x29ba98be
-0, 37, 37, 1, 114048, 0xd5f00edc
-0, 38, 38, 1, 114048, 0x2ffc7e1e
-0, 39, 39, 1, 114048, 0x505a007e
-0, 40, 40, 1, 114048, 0xdf4a8e59
-0, 41, 41, 1, 114048, 0x6d251700
-0, 42, 42, 1, 114048, 0x69889c0e
-0, 43, 43, 1, 114048, 0x00c814dd
-0, 44, 44, 1, 114048, 0x3bc99551
-0, 45, 45, 1, 114048, 0x8e8a1552
-0, 46, 46, 1, 114048, 0x35bd93d1
+0, 0, 0, 1, 114048, 0x6baa7c6d
+0, 1, 1, 1, 114048, 0xc3642fac
+0, 2, 2, 1, 114048, 0x98f9732e
+0, 3, 3, 1, 114048, 0x6ca6d4a3
+0, 4, 4, 1, 114048, 0x84ad8041
+0, 5, 5, 1, 114048, 0x0703ca6b
+0, 6, 6, 1, 114048, 0xca6c50eb
+0, 7, 7, 1, 114048, 0x4c08d4d3
+0, 8, 8, 1, 114048, 0x4dd55b2a
+0, 9, 9, 1, 114048, 0xfad0c5ef
+0, 10, 10, 1, 114048, 0x5efb4a94
+0, 11, 11, 1, 114048, 0xa78acf53
+0, 12, 12, 1, 114048, 0xe7aa76da
+0, 13, 13, 1, 114048, 0xa080f010
+0, 14, 14, 1, 114048, 0xa1345566
+0, 15, 15, 1, 114048, 0x7621b83d
+0, 16, 16, 1, 114048, 0x89542578
+0, 17, 17, 1, 114048, 0x433188b4
+0, 18, 18, 1, 114048, 0xb505109d
+0, 19, 19, 1, 114048, 0x92588ee4
+0, 20, 20, 1, 114048, 0x9a9a1c62
+0, 21, 21, 1, 114048, 0xc4838f79
+0, 22, 22, 1, 114048, 0x0d4cff5b
+0, 23, 23, 1, 114048, 0xe8d19a47
+0, 24, 24, 1, 114048, 0x3b7d3a5c
+0, 25, 25, 1, 114048, 0x91dca592
+0, 26, 26, 1, 114048, 0x959023d0
+0, 27, 27, 1, 114048, 0x2affd380
+0, 28, 28, 1, 114048, 0x098a6ea9
+0, 29, 29, 1, 114048, 0x5f880cd2
+0, 30, 30, 1, 114048, 0xff9f6b9a
+0, 31, 31, 1, 114048, 0x189b13c9
+0, 32, 32, 1, 114048, 0xae5790c4
+0, 33, 33, 1, 114048, 0xbbe22e70
+0, 34, 34, 1, 114048, 0xdf8dd06e
+0, 35, 35, 1, 114048, 0xcf792136
+0, 36, 36, 1, 114048, 0xe8ab98de
+0, 37, 37, 1, 114048, 0x7b6f0eee
+0, 38, 38, 1, 114048, 0x8b997e3a
+0, 39, 39, 1, 114048, 0x6388008e
+0, 40, 40, 1, 114048, 0xbe8f8e6d
+0, 41, 41, 1, 114048, 0xb2b3170f
+0, 42, 42, 1, 114048, 0xa6da9c1c
+0, 43, 43, 1, 114048, 0xd27814e8
+0, 44, 44, 1, 114048, 0x0ff09559
+0, 45, 45, 1, 114048, 0x9d21155c
+0, 46, 46, 1, 114048, 0xc56d93d7
0, 47, 47, 1, 114048, 0x6c160b33
0, 48, 48, 1, 114048, 0x75cb8824
0, 49, 49, 1, 114048, 0x7a1a05a7
diff --git a/tests/ref/fate/filter-tiltandshift-422 b/tests/ref/fate/filter-tiltandshift-422
index bfe2c5ce6d..b74207b659 100644
--- a/tests/ref/fate/filter-tiltandshift-422
+++ b/tests/ref/fate/filter-tiltandshift-422
@@ -3,53 +3,53 @@
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 0/1
-0, 0, 0, 1, 202752, 0xbaf063df
-0, 1, 1, 1, 202752, 0x31ed634d
-0, 2, 2, 1, 202752, 0x5927d857
-0, 3, 3, 1, 202752, 0xc19eab02
-0, 4, 4, 1, 202752, 0xf94c2e91
-0, 5, 5, 1, 202752, 0xfa801433
-0, 6, 6, 1, 202752, 0xb3aa2306
-0, 7, 7, 1, 202752, 0x050b77ae
-0, 8, 8, 1, 202752, 0x8164d2fd
-0, 9, 9, 1, 202752, 0xa550542a
-0, 10, 10, 1, 202752, 0x9debb43f
-0, 11, 11, 1, 202752, 0x13ab5e6f
-0, 12, 12, 1, 202752, 0x30f1735b
-0, 13, 13, 1, 202752, 0xbd01a9c3
-0, 14, 14, 1, 202752, 0x782fb530
-0, 15, 15, 1, 202752, 0xfc9cf9bb
-0, 16, 16, 1, 202752, 0xf8e89ca2
-0, 17, 17, 1, 202752, 0x3476b27c
-0, 18, 18, 1, 202752, 0x37e535c3
-0, 19, 19, 1, 202752, 0xe4fdcd37
-0, 20, 20, 1, 202752, 0x908e04d7
-0, 21, 21, 1, 202752, 0x8dfcdb65
-0, 22, 22, 1, 202752, 0x6898f01a
-0, 23, 23, 1, 202752, 0x483fb2b3
-0, 24, 24, 1, 202752, 0x86be9cca
-0, 25, 25, 1, 202752, 0x3001a8fb
-0, 26, 26, 1, 202752, 0x66536ba7
-0, 27, 27, 1, 202752, 0x40a74c21
-0, 28, 28, 1, 202752, 0xdd31b746
-0, 29, 29, 1, 202752, 0x7e7797e4
-0, 30, 30, 1, 202752, 0x88dddb8e
-0, 31, 31, 1, 202752, 0xdd02fb81
-0, 32, 32, 1, 202752, 0x2d8604f2
-0, 33, 33, 1, 202752, 0x1651dd62
-0, 34, 34, 1, 202752, 0xf738b3f4
-0, 35, 35, 1, 202752, 0x8795baed
-0, 36, 36, 1, 202752, 0x270b5d42
-0, 37, 37, 1, 202752, 0x0b2d585a
-0, 38, 38, 1, 202752, 0x6d39efaa
-0, 39, 39, 1, 202752, 0x861e7195
-0, 40, 40, 1, 202752, 0x92d8192e
-0, 41, 41, 1, 202752, 0xe5ee8f4e
-0, 42, 42, 1, 202752, 0x875324ef
-0, 43, 43, 1, 202752, 0x336d90b3
-0, 44, 44, 1, 202752, 0x27371b1a
-0, 45, 45, 1, 202752, 0xe9ab8220
-0, 46, 46, 1, 202752, 0x1d4a0568
-0, 47, 47, 1, 202752, 0x681b6ac5
-0, 48, 48, 1, 202752, 0x157ee913
+0, 0, 0, 1, 202752, 0x3ed465a5
+0, 1, 1, 1, 202752, 0x9bda6504
+0, 2, 2, 1, 202752, 0xf10ada35
+0, 3, 3, 1, 202752, 0x48e2ac92
+0, 4, 4, 1, 202752, 0x8953305a
+0, 5, 5, 1, 202752, 0xa2e115d4
+0, 6, 6, 1, 202752, 0xfe2e24b3
+0, 7, 7, 1, 202752, 0x77877934
+0, 8, 8, 1, 202752, 0x5d59d490
+0, 9, 9, 1, 202752, 0x921255a8
+0, 10, 10, 1, 202752, 0x435ab5d4
+0, 11, 11, 1, 202752, 0xe9b55fe0
+0, 12, 12, 1, 202752, 0x9f5274af
+0, 13, 13, 1, 202752, 0x4cbaab10
+0, 14, 14, 1, 202752, 0xefa4b683
+0, 15, 15, 1, 202752, 0x61d1faec
+0, 16, 16, 1, 202752, 0x6f3b9de5
+0, 17, 17, 1, 202752, 0xaa96b38a
+0, 18, 18, 1, 202752, 0x0fa436f4
+0, 19, 19, 1, 202752, 0x8b3dce57
+0, 20, 20, 1, 202752, 0x36d7060c
+0, 21, 21, 1, 202752, 0x81d0dc5b
+0, 22, 22, 1, 202752, 0x55a4f122
+0, 23, 23, 1, 202752, 0x12edb3ae
+0, 24, 24, 1, 202752, 0x31d99dad
+0, 25, 25, 1, 202752, 0x9325a9dc
+0, 26, 26, 1, 202752, 0x2caf6c84
+0, 27, 27, 1, 202752, 0x27e74cec
+0, 28, 28, 1, 202752, 0xdcf0b81a
+0, 29, 29, 1, 202752, 0x8159988c
+0, 30, 30, 1, 202752, 0x0bcadc35
+0, 31, 31, 1, 202752, 0xd90afc33
+0, 32, 32, 1, 202752, 0x7951059f
+0, 33, 33, 1, 202752, 0x44fbddf1
+0, 34, 34, 1, 202752, 0x955eb48d
+0, 35, 35, 1, 202752, 0x6126bb75
+0, 36, 36, 1, 202752, 0xa99d5db2
+0, 37, 37, 1, 202752, 0x3db258da
+0, 38, 38, 1, 202752, 0xaa86f004
+0, 39, 39, 1, 202752, 0x326b71f8
+0, 40, 40, 1, 202752, 0x8e3e1986
+0, 41, 41, 1, 202752, 0x78738f9a
+0, 42, 42, 1, 202752, 0x8b552527
+0, 43, 43, 1, 202752, 0x804490e9
+0, 44, 44, 1, 202752, 0x39fa1b5b
+0, 45, 45, 1, 202752, 0xfc118248
+0, 46, 46, 1, 202752, 0xa7db058a
+0, 47, 47, 1, 202752, 0xfa3b6ad9
+0, 48, 48, 1, 202752, 0x7d1be927
0, 49, 49, 1, 202752, 0x3bfd4fca
diff --git a/tests/ref/fate/filter-tiltandshift-444 b/tests/ref/fate/filter-tiltandshift-444
index 6ff3ea903c..7815ebc239 100644
--- a/tests/ref/fate/filter-tiltandshift-444
+++ b/tests/ref/fate/filter-tiltandshift-444
@@ -3,53 +3,53 @@
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 0/1
-0, 0, 0, 1, 304128, 0xac8e2069
-0, 1, 1, 1, 304128, 0x75c8ced5
-0, 2, 2, 1, 304128, 0xaef0f047
-0, 3, 3, 1, 304128, 0xa20d03e3
-0, 4, 4, 1, 304128, 0x556e8686
-0, 5, 5, 1, 304128, 0x6a83bb98
-0, 6, 6, 1, 304128, 0x471645e1
-0, 7, 7, 1, 304128, 0xc3bde543
-0, 8, 8, 1, 304128, 0x561a502b
-0, 9, 9, 1, 304128, 0x9dd691d2
-0, 10, 10, 1, 304128, 0x08df0078
-0, 11, 11, 1, 304128, 0xdb27b79d
-0, 12, 12, 1, 304128, 0x87c9c26b
-0, 13, 13, 1, 304128, 0x9c1e6335
-0, 14, 14, 1, 304128, 0xf8522fb6
-0, 15, 15, 1, 304128, 0xd6f13895
-0, 16, 16, 1, 304128, 0x933d90e1
-0, 17, 17, 1, 304128, 0xbe98d7f1
-0, 18, 18, 1, 304128, 0x253b3141
-0, 19, 19, 1, 304128, 0xd8178974
-0, 20, 20, 1, 304128, 0xf51a157d
-0, 21, 21, 1, 304128, 0x6af07af4
-0, 22, 22, 1, 304128, 0x8207ddbe
-0, 23, 23, 1, 304128, 0x68f3823e
-0, 24, 24, 1, 304128, 0x4cee4cad
-0, 25, 25, 1, 304128, 0xb5a9c9d8
-0, 26, 26, 1, 304128, 0x357e4aa4
-0, 27, 27, 1, 304128, 0x3bbf2e0a
-0, 28, 28, 1, 304128, 0x7216049b
-0, 29, 29, 1, 304128, 0x7979add3
-0, 30, 30, 1, 304128, 0x39134938
-0, 31, 31, 1, 304128, 0xe6631ac1
-0, 32, 32, 1, 304128, 0x8cdea458
-0, 33, 33, 1, 304128, 0xfdb04e0d
-0, 34, 34, 1, 304128, 0x33c41afe
-0, 35, 35, 1, 304128, 0x0fae8843
-0, 36, 36, 1, 304128, 0xe47ab639
-0, 37, 37, 1, 304128, 0xcd5adf08
-0, 38, 38, 1, 304128, 0x35be000f
-0, 39, 39, 1, 304128, 0xdb40ae22
-0, 40, 40, 1, 304128, 0xaaad4f41
-0, 41, 41, 1, 304128, 0xbf67e136
-0, 42, 42, 1, 304128, 0xf8fd6870
-0, 43, 43, 1, 304128, 0x3c36e4da
-0, 44, 44, 1, 304128, 0xbce05c4d
-0, 45, 45, 1, 304128, 0x93e6cd25
-0, 46, 46, 1, 304128, 0x7b0f3993
-0, 47, 47, 1, 304128, 0xba99a2eb
-0, 48, 48, 1, 304128, 0xc3730a7e
-0, 49, 49, 1, 304128, 0x52ad71d3
+0, 0, 0, 1, 304128, 0xb3aa278e
+0, 1, 1, 1, 304128, 0x61ead61b
+0, 2, 2, 1, 304128, 0xa13ff73f
+0, 3, 3, 1, 304128, 0x21e60ac9
+0, 4, 4, 1, 304128, 0x3fba8d77
+0, 5, 5, 1, 304128, 0x1d0ec25c
+0, 6, 6, 1, 304128, 0xce244c19
+0, 7, 7, 1, 304128, 0x3677eb76
+0, 8, 8, 1, 304128, 0x075a566a
+0, 9, 9, 1, 304128, 0x198997c0
+0, 10, 10, 1, 304128, 0x1d590633
+0, 11, 11, 1, 304128, 0xf314bd3c
+0, 12, 12, 1, 304128, 0x4632c7d3
+0, 13, 13, 1, 304128, 0x30006871
+0, 14, 14, 1, 304128, 0x0efa3508
+0, 15, 15, 1, 304128, 0x99f83d90
+0, 16, 16, 1, 304128, 0x215595d3
+0, 17, 17, 1, 304128, 0xb9bddce7
+0, 18, 18, 1, 304128, 0x736e35a9
+0, 19, 19, 1, 304128, 0x17068e09
+0, 20, 20, 1, 304128, 0xf46f19a6
+0, 21, 21, 1, 304128, 0x2d507f26
+0, 22, 22, 1, 304128, 0x66eee1b4
+0, 23, 23, 1, 304128, 0x4bce85ff
+0, 24, 24, 1, 304128, 0x518c506d
+0, 25, 25, 1, 304128, 0x2633cd90
+0, 26, 26, 1, 304128, 0xcbd34def
+0, 27, 27, 1, 304128, 0x32723151
+0, 28, 28, 1, 304128, 0x70a307b0
+0, 29, 29, 1, 304128, 0xff92b107
+0, 30, 30, 1, 304128, 0xd0b64bf5
+0, 31, 31, 1, 304128, 0xb98c1d08
+0, 32, 32, 1, 304128, 0xc4a7a6b5
+0, 33, 33, 1, 304128, 0x8b46507e
+0, 34, 34, 1, 304128, 0x6c851d4c
+0, 35, 35, 1, 304128, 0xb9818a3d
+0, 36, 36, 1, 304128, 0xf8e1b84f
+0, 37, 37, 1, 304128, 0x50fae0f2
+0, 38, 38, 1, 304128, 0xd57601b7
+0, 39, 39, 1, 304128, 0x465daf8f
+0, 40, 40, 1, 304128, 0xf75f50a3
+0, 41, 41, 1, 304128, 0x0ac8e29a
+0, 42, 42, 1, 304128, 0x2a586993
+0, 43, 43, 1, 304128, 0xae56e5fc
+0, 44, 44, 1, 304128, 0xfa2f5d29
+0, 45, 45, 1, 304128, 0xac09cdd9
+0, 46, 46, 1, 304128, 0x22683a28
+0, 47, 47, 1, 304128, 0x2a7da356
+0, 48, 48, 1, 304128, 0x824b0ac4
+0, 49, 49, 1, 304128, 0x09a171fd