[FFmpeg-devel] [PATCH 2/2] fate: add owdenoise test.

Clément Bœsch ubitux at gmail.com
Thu May 16 00:58:23 CEST 2013


---
 tests/fate/filter-video.mak            |  3 ++
 tests/filtergraphs/owdenoise           |  1 +
 tests/ref/fate/filter-owdenoise-sample | 74 ++++++++++++++++++++++++++++++++++
 3 files changed, 78 insertions(+)
 create mode 100644 tests/filtergraphs/owdenoise
 create mode 100644 tests/ref/fate/filter-owdenoise-sample

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 2cf41ff..049ca49 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -96,6 +96,9 @@ fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp=11:11:-1.5
 FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILTER) += fate-filter-hqdn3d-sample
 fate-filter-hqdn3d-sample: CMD = framecrc -idct simple -i $(SAMPLES)/smjpeg/scenwin.mjpg -filter_complex_script $(SRC_PATH)/tests/filtergraphs/hqdn3d -an
 
+FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER OWDENOISE_FILTER) += fate-filter-owdenoise-sample
+fate-filter-owdenoise-sample: CMD = framecrc -idct simple -i $(SAMPLES)/smjpeg/scenwin.mjpg -filter_complex_script $(SRC_PATH)/tests/filtergraphs/owdenoise -an
+
 FATE_FILTER-$(call ALLYES, UTVIDEO_DECODER AVI_DEMUXER PERMS_FILTER CURVES_FILTER) += fate-filter-curves
 fate-filter-curves: CMD = framecrc -i $(SAMPLES)/utvideo/utvideo_rgb_median.avi -vf perms=random,curves=vintage
 
diff --git a/tests/filtergraphs/owdenoise b/tests/filtergraphs/owdenoise
new file mode 100644
index 0000000..9f62e16
--- /dev/null
+++ b/tests/filtergraphs/owdenoise
@@ -0,0 +1 @@
+perms=random, owdenoise=10:20:20:enable='not(between(t,2,3))'
diff --git a/tests/ref/fate/filter-owdenoise-sample b/tests/ref/fate/filter-owdenoise-sample
new file mode 100644
index 0000000..b724f70
--- /dev/null
+++ b/tests/ref/fate/filter-owdenoise-sample
@@ -0,0 +1,74 @@
+#tb 0: 1/9
+0,          0,          0,        1,   115200, 0x2c810465
+0,          1,          1,        1,   115200, 0x2c810465
+0,          2,          2,        1,   115200, 0x87ea4c2f
+0,          3,          3,        1,   115200, 0x8a254b9d
+0,          4,          4,        1,   115200, 0x2926f7bf
+0,          5,          5,        1,   115200, 0xfb1033e1
+0,          6,          6,        1,   115200, 0x70bb8136
+0,          7,          7,        1,   115200, 0x65d26b89
+0,          8,          8,        1,   115200, 0xcd5e7845
+0,          9,          9,        1,   115200, 0x2e71441d
+0,         10,         10,        1,   115200, 0x98309886
+0,         11,         11,        1,   115200, 0x7bee3608
+0,         12,         12,        1,   115200, 0x119822d0
+0,         13,         13,        1,   115200, 0x525abe21
+0,         14,         14,        1,   115200, 0xad185044
+0,         15,         15,        1,   115200, 0x12d61df3
+0,         16,         16,        1,   115200, 0x3187c396
+0,         17,         17,        1,   115200, 0x99a3f447
+0,         18,         18,        1,   115200, 0xb31ea9c0
+0,         19,         19,        1,   115200, 0xb6c5f419
+0,         20,         20,        1,   115200, 0x34542033
+0,         21,         21,        1,   115200, 0xcd903220
+0,         22,         22,        1,   115200, 0x7a11fa48
+0,         23,         23,        1,   115200, 0x13a971b2
+0,         24,         24,        1,   115200, 0x1f11b285
+0,         25,         25,        1,   115200, 0x0316f21c
+0,         26,         26,        1,   115200, 0x3c065227
+0,         27,         27,        1,   115200, 0x6a0eb0ed
+0,         28,         28,        1,   115200, 0xecde80d5
+0,         29,         29,        1,   115200, 0xcca26159
+0,         30,         30,        1,   115200, 0x8842eb6a
+0,         31,         31,        1,   115200, 0x1a2c60e5
+0,         32,         32,        1,   115200, 0xf1bc7996
+0,         33,         33,        1,   115200, 0xba7749f6
+0,         34,         34,        1,   115200, 0xa70ecd06
+0,         35,         35,        1,   115200, 0xb2098ea4
+0,         36,         36,        1,   115200, 0x62c10fc3
+0,         37,         37,        1,   115200, 0x3ba186ab
+0,         38,         38,        1,   115200, 0x69743eb0
+0,         39,         39,        1,   115200, 0xf7b25871
+0,         40,         40,        1,   115200, 0x2a8d9d36
+0,         41,         41,        1,   115200, 0xe24b124d
+0,         42,         42,        1,   115200, 0x8380c70b
+0,         43,         43,        1,   115200, 0xa7e2432d
+0,         44,         44,        1,   115200, 0xe20e22fc
+0,         45,         45,        1,   115200, 0x43eb3440
+0,         46,         46,        1,   115200, 0xca5a7e1e
+0,         47,         47,        1,   115200, 0x67dc64d1
+0,         48,         48,        1,   115200, 0x4bbe6eef
+0,         49,         49,        1,   115200, 0x47bc7f80
+0,         50,         50,        1,   115200, 0x901c0441
+0,         51,         51,        1,   115200, 0x54189d17
+0,         52,         52,        1,   115200, 0x657d86b7
+0,         53,         53,        1,   115200, 0xf24b647e
+0,         54,         54,        1,   115200, 0x818ab3dd
+0,         55,         55,        1,   115200, 0xd54d8297
+0,         56,         56,        1,   115200, 0xe3fabc59
+0,         57,         57,        1,   115200, 0x9759f1f0
+0,         58,         58,        1,   115200, 0x64b9c95d
+0,         59,         59,        1,   115200, 0x19f6091c
+0,         60,         60,        1,   115200, 0xd205b0e6
+0,         61,         61,        1,   115200, 0xdbfb453b
+0,         62,         62,        1,   115200, 0xd8179794
+0,         63,         63,        1,   115200, 0x11f250b3
+0,         64,         64,        1,   115200, 0x395c2430
+0,         65,         65,        1,   115200, 0x000ebef3
+0,         66,         66,        1,   115200, 0x13f4086f
+0,         67,         67,        1,   115200, 0xf57c2036
+0,         68,         68,        1,   115200, 0x25d07e74
+0,         69,         69,        1,   115200, 0x5ae38679
+0,         70,         70,        1,   115200, 0x6cdf1a7d
+0,         71,         71,        1,   115200, 0x985748ae
+0,         72,         72,        1,   115200, 0x312ae157
-- 
1.8.2.3



More information about the ffmpeg-devel mailing list