[FFmpeg-cvslog] tests: add bwdif to fate filter tests

James Darnley git at videolan.org
Sat Mar 25 03:41:42 EET 2023


ffmpeg | branch: master | James Darnley <jdarnley at obe.tv> | Mon Mar 20 15:52:07 2023 +0100| [a937723ca9091293fc1327b94e6cb66d3bfdbf83] | committer: James Darnley

tests: add bwdif to fate filter tests

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a937723ca9091293fc1327b94e6cb66d3bfdbf83
---

 tests/fate/filter-video.mak       |  9 ++++++
 tests/ref/fate/filter-bwdif-mode0 | 35 +++++++++++++++++++++
 tests/ref/fate/filter-bwdif-mode1 | 64 +++++++++++++++++++++++++++++++++++++++
 tests/ref/fate/filter-bwdif10     | 35 +++++++++++++++++++++
 4 files changed, 143 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 444adc6be6..c588286c38 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -11,6 +11,15 @@ fate-filter-owdenoise-sample: CMP = oneoff
 FATE_FILTER_SAMPLES-$(call FILTERDEMDEC, PERMS DELOGO, RM, RV30) += fate-filter-delogo
 fate-filter-delogo: CMD = framecrc -i $(TARGET_SAMPLES)/real/rv30.rm -vf perms=random,delogo=show=0:x=290:y=25:w=26:h=16 -an
 
+FATE_BWDIF-$(call FILTERDEMDEC, BWDIF, MPEGTS, MPEG2VIDEO) += fate-filter-bwdif-mode0 fate-filter-bwdif-mode1
+fate-filter-bwdif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf bwdif=send_frame
+fate-filter-bwdif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 59 -vf bwdif=send_field
+
+FATE_BWDIF-$(call FILTERDEMDEC, BWDIF SCALE, MPEGTS, MPEG2VIDEO) += fate-filter-bwdif10
+fate-filter-bwdif10: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p10le -frames:v 30 -vf scale,bwdif=0
+
+FATE_FILTER_SAMPLES-yes += $(FATE_BWDIF-yes)
+
 FATE_YADIF-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += fate-filter-yadif-mode0 fate-filter-yadif-mode1
 fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf yadif=0
 fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 59 -vf yadif=1
diff --git a/tests/ref/fate/filter-bwdif-mode0 b/tests/ref/fate/filter-bwdif-mode0
new file mode 100644
index 0000000000..23dcaee900
--- /dev/null
+++ b/tests/ref/fate/filter-bwdif-mode0
@@ -0,0 +1,35 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x576
+#sar 0: 16/15
+0,          9,          9,        1,   622080, 0xd435648a
+0,         10,         10,        1,   622080, 0x62085455
+0,         11,         11,        1,   622080, 0x60f943a0
+0,         12,         12,        1,   622080, 0x5396f14a
+0,         13,         13,        1,   622080, 0x2df2ea4c
+0,         14,         14,        1,   622080, 0x706af6eb
+0,         15,         15,        1,   622080, 0x38f6f1c2
+0,         16,         16,        1,   622080, 0x6259b7a0
+0,         17,         17,        1,   622080, 0x056994e9
+0,         18,         18,        1,   622080, 0x34be703b
+0,         19,         19,        1,   622080, 0x408de27c
+0,         20,         20,        1,   622080, 0xdff42f6d
+0,         21,         21,        1,   622080, 0x4c39202f
+0,         22,         22,        1,   622080, 0x169beb1e
+0,         23,         23,        1,   622080, 0xf5776ac0
+0,         24,         24,        1,   622080, 0xc66befc3
+0,         25,         25,        1,   622080, 0xa9ac8298
+0,         26,         26,        1,   622080, 0xbbfd898f
+0,         27,         27,        1,   622080, 0x86e3b9af
+0,         28,         28,        1,   622080, 0xeeb31455
+0,         29,         29,        1,   622080, 0x1819236d
+0,         30,         30,        1,   622080, 0x414b01b0
+0,         31,         31,        1,   622080, 0x77e4b4f7
+0,         32,         32,        1,   622080, 0xf5683a8c
+0,         33,         33,        1,   622080, 0xe8455a05
+0,         34,         34,        1,   622080, 0x2a03160d
+0,         35,         35,        1,   622080, 0x9135bebc
+0,         36,         36,        1,   622080, 0x9c1e1cf0
+0,         37,         37,        1,   622080, 0xd84e67c9
+0,         38,         38,        1,   622080, 0xfa864e1d
diff --git a/tests/ref/fate/filter-bwdif-mode1 b/tests/ref/fate/filter-bwdif-mode1
new file mode 100644
index 0000000000..e8db88c932
--- /dev/null
+++ b/tests/ref/fate/filter-bwdif-mode1
@@ -0,0 +1,64 @@
+#tb 0: 1/50
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x576
+#sar 0: 16/15
+0,         18,         18,        1,   622080, 0xd435648a
+0,         19,         19,        1,   622080, 0xef4617cc
+0,         20,         20,        1,   622080, 0x62085455
+0,         21,         21,        1,   622080, 0x5b5ae735
+0,         22,         22,        1,   622080, 0x60f943a0
+0,         23,         23,        1,   622080, 0x80d2110e
+0,         24,         24,        1,   622080, 0x5396f14a
+0,         25,         25,        1,   622080, 0xb11be6b9
+0,         26,         26,        1,   622080, 0x2df2ea4c
+0,         27,         27,        1,   622080, 0x402a7334
+0,         28,         28,        1,   622080, 0x706af6eb
+0,         29,         29,        1,   622080, 0x4c506242
+0,         30,         30,        1,   622080, 0x38f6f1c2
+0,         31,         31,        1,   622080, 0x40ef0f29
+0,         32,         32,        1,   622080, 0x6259b7a0
+0,         33,         33,        1,   622080, 0xd7eba0ce
+0,         34,         34,        1,   622080, 0x056994e9
+0,         35,         35,        1,   622080, 0xc06c5c99
+0,         36,         36,        1,   622080, 0x34be703b
+0,         37,         37,        1,   622080, 0x18febe87
+0,         38,         38,        1,   622080, 0x408de27c
+0,         39,         39,        1,   622080, 0x0cb0451f
+0,         40,         40,        1,   622080, 0xdff42f6d
+0,         41,         41,        1,   622080, 0x02416446
+0,         42,         42,        1,   622080, 0x4c39202f
+0,         43,         43,        1,   622080, 0x84bb80c3
+0,         44,         44,        1,   622080, 0x169beb1e
+0,         45,         45,        1,   622080, 0x60751ec3
+0,         46,         46,        1,   622080, 0xf5776ac0
+0,         47,         47,        1,   622080, 0xd8123d7b
+0,         48,         48,        1,   622080, 0xc66befc3
+0,         49,         49,        1,   622080, 0x8ae04f9a
+0,         50,         50,        1,   622080, 0xa9ac8298
+0,         51,         51,        1,   622080, 0xc6b1d464
+0,         52,         52,        1,   622080, 0xbbfd898f
+0,         53,         53,        1,   622080, 0x264672da
+0,         54,         54,        1,   622080, 0x86e3b9af
+0,         55,         55,        1,   622080, 0x50795644
+0,         56,         56,        1,   622080, 0xeeb31455
+0,         57,         57,        1,   622080, 0xdfffdd20
+0,         58,         58,        1,   622080, 0x1819236d
+0,         59,         59,        1,   622080, 0x739f3964
+0,         60,         60,        1,   622080, 0x414b01b0
+0,         61,         61,        1,   622080, 0xdf966fbf
+0,         62,         62,        1,   622080, 0x77e4b4f7
+0,         63,         63,        1,   622080, 0x344f80cc
+0,         64,         64,        1,   622080, 0xf5683a8c
+0,         65,         65,        1,   622080, 0x4946b788
+0,         66,         66,        1,   622080, 0xe8455a05
+0,         67,         67,        1,   622080, 0xd0632a1e
+0,         68,         68,        1,   622080, 0x2a03160d
+0,         69,         69,        1,   622080, 0x7a234b71
+0,         70,         70,        1,   622080, 0x9135bebc
+0,         71,         71,        1,   622080, 0x66c60582
+0,         72,         72,        1,   622080, 0x9c1e1cf0
+0,         73,         73,        1,   622080, 0x4a5ba0ef
+0,         74,         74,        1,   622080, 0xd84e67c9
+0,         75,         75,        1,   622080, 0xdf9f4d83
+0,         76,         76,        1,   622080, 0xfa864e1d
diff --git a/tests/ref/fate/filter-bwdif10 b/tests/ref/fate/filter-bwdif10
new file mode 100644
index 0000000000..85ce543880
--- /dev/null
+++ b/tests/ref/fate/filter-bwdif10
@@ -0,0 +1,35 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x576
+#sar 0: 16/15
+0,          9,          9,        1,  1244160, 0x57c21e2b
+0,         10,         10,        1,  1244160, 0x57152296
+0,         11,         11,        1,  1244160, 0x0074598b
+0,         12,         12,        1,  1244160, 0x44537bb8
+0,         13,         13,        1,  1244160, 0x6f27ab9c
+0,         14,         14,        1,  1244160, 0x1f195e10
+0,         15,         15,        1,  1244160, 0xc5644298
+0,         16,         16,        1,  1244160, 0x24c1230e
+0,         17,         17,        1,  1244160, 0x2651b213
+0,         18,         18,        1,  1244160, 0x88efe863
+0,         19,         19,        1,  1244160, 0x8bf0ada1
+0,         20,         20,        1,  1244160, 0x8b6c013a
+0,         21,         21,        1,  1244160, 0x69ebc579
+0,         22,         22,        1,  1244160, 0xa45d0f0c
+0,         23,         23,        1,  1244160, 0x272162e4
+0,         24,         24,        1,  1244160, 0x8c456817
+0,         25,         25,        1,  1244160, 0x872c58ee
+0,         26,         26,        1,  1244160, 0x9318cb95
+0,         27,         27,        1,  1244160, 0xcaec95f1
+0,         28,         28,        1,  1244160, 0x8b01a105
+0,         29,         29,        1,  1244160, 0x956de85e
+0,         30,         30,        1,  1244160, 0xa2998ab9
+0,         31,         31,        1,  1244160, 0xa56b5621
+0,         32,         32,        1,  1244160, 0x7bd6b161
+0,         33,         33,        1,  1244160, 0xbcb75d7a
+0,         34,         34,        1,  1244160, 0xe5e94727
+0,         35,         35,        1,  1244160, 0xf3145c67
+0,         36,         36,        1,  1244160, 0xcf63df5a
+0,         37,         37,        1,  1244160, 0x77d08ec8
+0,         38,         38,        1,  1244160, 0xc99d2eb2



More information about the ffmpeg-cvslog mailing list