[FFmpeg-cvslog] FATE: add tests for yadif.

Anton Khirnov git at videolan.org
Sun Jul 29 02:26:22 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Jul 25 08:25:38 2012 +0200| [8f9537f3145bf245d3f1e8b47c2c7567f537d416] | committer: Anton Khirnov

FATE: add tests for yadif.

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

 tests/fate/filter.mak             |    9 ++++++
 tests/ref/fate/filter-yadif-mode0 |   32 +++++++++++++++++++
 tests/ref/fate/filter-yadif-mode1 |   63 +++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+)

diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index f1185ed..a4c125b 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -34,4 +34,13 @@ fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:
 FATE_FILTER += fate-filter-delogo
 FATE_SAMPLES_AVCONV += fate-filter-delogo
 
+FATE_YADIF += fate-filter-yadif-mode0
+fate-filter-yadif-mode0: CMD = framecrc -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
+
+FATE_YADIF += fate-filter-yadif-mode1
+fate-filter-yadif-mode1: CMD = framecrc -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
+
+FATE_FILTER += $(FATE_YADIF)
+FATE_SAMPLES_AVCONV += $(FATE_YADIF)
+
 fate-filter: $(FATE_FILTER)
diff --git a/tests/ref/fate/filter-yadif-mode0 b/tests/ref/fate/filter-yadif-mode0
new file mode 100644
index 0000000..ca950d0
--- /dev/null
+++ b/tests/ref/fate/filter-yadif-mode0
@@ -0,0 +1,32 @@
+#tb 0: 1/180000
+0,      64800,      64800,        0,   622080, 0x1511cae9
+0,      72000,      72000,        0,   622080, 0x6e77e746
+0,      79200,      79200,        0,   622080, 0x89aac777
+0,      86400,      86400,        0,   622080, 0x7e0a9335
+0,      93600,      93600,        0,   622080, 0x5f34759b
+0,     100800,     100800,        0,   622080, 0xfac498a6
+0,     108000,     108000,        0,   622080, 0xe60e7a9e
+0,     115200,     115200,        0,   622080, 0x44875bbd
+0,     122400,     122400,        0,   622080, 0xfa761aab
+0,     129600,     129600,        0,   622080, 0x59be119c
+0,     136800,     136800,        0,   622080, 0x21316b36
+0,     144000,     144000,        0,   622080, 0x929fde5b
+0,     151200,     151200,        0,   622080, 0xfca8990c
+0,     158400,     158400,        0,   622080, 0x1ec87d02
+0,     165600,     165600,        0,   622080, 0x5768eea0
+0,     172800,     172800,        0,   622080, 0x1a0894ab
+0,     180000,     180000,        0,   622080, 0xb4e61323
+0,     187200,     187200,        0,   622080, 0xb773341a
+0,     194400,     194400,        0,   622080, 0x8a914cf7
+0,     201600,     201600,        0,   622080, 0xf1cfbc7d
+0,     208800,     208800,        0,   622080, 0xebaeb317
+0,     216000,     216000,        0,   622080, 0xbae9adf4
+0,     223200,     223200,        0,   622080, 0x593544fd
+0,     230400,     230400,        0,   622080, 0x2cd8ec0b
+0,     237600,     237600,        0,   622080, 0x8032d9d4
+0,     244800,     244800,        0,   622080, 0x5c67ace7
+0,     252000,     252000,        0,   622080, 0x95714528
+0,     259200,     259200,        0,   622080, 0xa11cbed2
+0,     266400,     266400,        0,   622080, 0x7389f8f1
+0,     273600,     273600,        0,   622080, 0xa694f3f2
+0,     280800,     280800,        0,   622080, 0xac3a3d09
diff --git a/tests/ref/fate/filter-yadif-mode1 b/tests/ref/fate/filter-yadif-mode1
new file mode 100644
index 0000000..0a2f61c
--- /dev/null
+++ b/tests/ref/fate/filter-yadif-mode1
@@ -0,0 +1,63 @@
+#tb 0: 1/180000
+0,      64800,      64800,        0,   622080, 0x1511cae9
+0,      68400,      68400,        0,   622080, 0xb88ca855
+0,      72000,      72000,        0,   622080, 0x6e77e746
+0,      75600,      75600,        0,   622080, 0x5da19198
+0,      79200,      79200,        0,   622080, 0x89aac777
+0,      82800,      82800,        0,   622080, 0xee31c8a8
+0,      86400,      86400,        0,   622080, 0x7e0a9335
+0,      90000,      90000,        0,   622080, 0xcbb7aac5
+0,      93600,      93600,        0,   622080, 0x5f34759b
+0,      97200,      97200,        0,   622080, 0x19972f1a
+0,     100800,     100800,        0,   622080, 0xfac498a6
+0,     104400,     104400,        0,   622080, 0xac7d34b9
+0,     108000,     108000,        0,   622080, 0xe60e7a9e
+0,     111600,     111600,        0,   622080, 0x4adfe592
+0,     115200,     115200,        0,   622080, 0x44875bbd
+0,     118800,     118800,        0,   622080, 0x5d738330
+0,     122400,     122400,        0,   622080, 0xfa761aab
+0,     126000,     126000,        0,   622080, 0xb60b4447
+0,     129600,     129600,        0,   622080, 0x59be119c
+0,     133200,     133200,        0,   622080, 0x1e11acf4
+0,     136800,     136800,        0,   622080, 0x21316b36
+0,     140400,     140400,        0,   622080, 0x5ed635d0
+0,     144000,     144000,        0,   622080, 0x929fde5b
+0,     147600,     147600,        0,   622080, 0x939857af
+0,     151200,     151200,        0,   622080, 0xfca8990c
+0,     154800,     154800,        0,   622080, 0x530b28fd
+0,     158400,     158400,        0,   622080, 0x1ec87d02
+0,     162000,     162000,        0,   622080, 0x3bc0d5d3
+0,     165600,     165600,        0,   622080, 0x5768eea0
+0,     169200,     169200,        0,   622080, 0x77e0fe99
+0,     172800,     172800,        0,   622080, 0x1a0894ab
+0,     176400,     176400,        0,   622080, 0xd2151c1e
+0,     180000,     180000,        0,   622080, 0xb4e61323
+0,     183600,     183600,        0,   622080, 0xe021a815
+0,     187200,     187200,        0,   622080, 0xb773341a
+0,     190800,     190800,        0,   622080, 0xceae4f12
+0,     194400,     194400,        0,   622080, 0x8a914cf7
+0,     198000,     198000,        0,   622080, 0x4c2f3330
+0,     201600,     201600,        0,   622080, 0xf1cfbc7d
+0,     205200,     205200,        0,   622080, 0xf534c392
+0,     208800,     208800,        0,   622080, 0xebaeb317
+0,     212400,     212400,        0,   622080, 0x88f01c11
+0,     216000,     216000,        0,   622080, 0xbae9adf4
+0,     219600,     219600,        0,   622080, 0x654d5df2
+0,     223200,     223200,        0,   622080, 0x593544fd
+0,     226800,     226800,        0,   622080, 0x89ef6f8a
+0,     230400,     230400,        0,   622080, 0x2cd8ec0b
+0,     234000,     234000,        0,   622080, 0x78a7b5f1
+0,     237600,     237600,        0,   622080, 0x8032d9d4
+0,     241200,     241200,        0,   622080, 0x8152d67f
+0,     244800,     244800,        0,   622080, 0x5c67ace7
+0,     248400,     248400,        0,   622080, 0x6590ff5f
+0,     252000,     252000,        0,   622080, 0x95714528
+0,     255600,     255600,        0,   622080, 0x51d2be96
+0,     259200,     259200,        0,   622080, 0xa11cbed2
+0,     262800,     262800,        0,   622080, 0x483f65f7
+0,     266400,     266400,        0,   622080, 0x7389f8f1
+0,     270000,     270000,        0,   622080, 0x7a69143d
+0,     273600,     273600,        0,   622080, 0xa694f3f2
+0,     277200,     277200,        0,   622080, 0xeccc58ff
+0,     280800,     280800,        0,   622080, 0xac3a3d09
+0,     284400,     284400,        0,   622080, 0xc4d2c370



More information about the ffmpeg-cvslog mailing list