[FFmpeg-cvslog] fate: make yadif tests consistent across systems

Mans Rullgard git at videolan.org
Sun Jul 29 23:09:04 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jul 28 18:15:56 2012 +0100| [d905c6440637fafca56c4cd17cbe041f2aaae9ff] | committer: Mans Rullgard

fate: make yadif tests consistent across systems

MMX-enabled systems by default use some dsputil functions differing
from the C versions.  Adding these flags ensures accurate ones are
used everywhere.

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 tests/fate/filter.mak             |    4 +-
 tests/ref/fate/filter-yadif-mode0 |   62 +++++++++----------
 tests/ref/fate/filter-yadif-mode1 |  124 ++++++++++++++++++-------------------
 3 files changed, 95 insertions(+), 95 deletions(-)

diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index a4c125b..f847a66 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -35,10 +35,10 @@ 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-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -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-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
 
 FATE_FILTER += $(FATE_YADIF)
 FATE_SAMPLES_AVCONV += $(FATE_YADIF)
diff --git a/tests/ref/fate/filter-yadif-mode0 b/tests/ref/fate/filter-yadif-mode0
index ca950d0..e260977 100644
--- a/tests/ref/fate/filter-yadif-mode0
+++ b/tests/ref/fate/filter-yadif-mode0
@@ -1,32 +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
+0,      64800,      64800,        0,   622080, 0x4440caef
+0,      72000,      72000,        0,   622080, 0xce67e69d
+0,      79200,      79200,        0,   622080, 0x1dbdc653
+0,      86400,      86400,        0,   622080, 0x82c591d1
+0,      93600,      93600,        0,   622080, 0x8193740b
+0,     100800,     100800,        0,   622080, 0xcb219711
+0,     108000,     108000,        0,   622080, 0x1870783b
+0,     115200,     115200,        0,   622080, 0x7080590b
+0,     122400,     122400,        0,   622080, 0x6df4175d
+0,     129600,     129600,        0,   622080, 0x6b530e95
+0,     136800,     136800,        0,   622080, 0x7f9d66f7
+0,     144000,     144000,        0,   622080, 0x338cda81
+0,     151200,     151200,        0,   622080, 0xb13797f8
+0,     158400,     158400,        0,   622080, 0xb51e7ca4
+0,     165600,     165600,        0,   622080, 0x353eed75
+0,     172800,     172800,        0,   622080, 0xf93e92b0
+0,     180000,     180000,        0,   622080, 0xd0811094
+0,     187200,     187200,        0,   622080, 0xb04a3141
+0,     194400,     194400,        0,   622080, 0x4ab84909
+0,     201600,     201600,        0,   622080, 0xa0fcb8fb
+0,     208800,     208800,        0,   622080, 0x9003aebb
+0,     216000,     216000,        0,   622080, 0x153faa3e
+0,     223200,     223200,        0,   622080, 0xae724063
+0,     230400,     230400,        0,   622080, 0xeb4de77a
+0,     237600,     237600,        0,   622080, 0x209ed8c7
+0,     244800,     244800,        0,   622080, 0xe2bbac96
+0,     252000,     252000,        0,   622080, 0xe945441e
+0,     259200,     259200,        0,   622080, 0x8f8cbd5f
+0,     266400,     266400,        0,   622080, 0xbc3cf717
+0,     273600,     273600,        0,   622080, 0x0109f125
+0,     280800,     280800,        0,   622080, 0x230c373f
diff --git a/tests/ref/fate/filter-yadif-mode1 b/tests/ref/fate/filter-yadif-mode1
index 0a2f61c..b498137 100644
--- a/tests/ref/fate/filter-yadif-mode1
+++ b/tests/ref/fate/filter-yadif-mode1
@@ -1,63 +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
+0,      64800,      64800,        0,   622080, 0x4440caef
+0,      68400,      68400,        0,   622080, 0xa5cea88b
+0,      72000,      72000,        0,   622080, 0xce67e69d
+0,      75600,      75600,        0,   622080, 0x9a57891f
+0,      79200,      79200,        0,   622080, 0x1dbdc653
+0,      82800,      82800,        0,   622080, 0xc171c0c5
+0,      86400,      86400,        0,   622080, 0x82c591d1
+0,      90000,      90000,        0,   622080, 0x20db9890
+0,      93600,      93600,        0,   622080, 0x8193740b
+0,      97200,      97200,        0,   622080, 0xdb181d52
+0,     100800,     100800,        0,   622080, 0xcb219711
+0,     104400,     104400,        0,   622080, 0xc2b913d1
+0,     108000,     108000,        0,   622080, 0x1870783b
+0,     111600,     111600,        0,   622080, 0xf1d9c5fb
+0,     115200,     115200,        0,   622080, 0x7080590b
+0,     118800,     118800,        0,   622080, 0x669c5775
+0,     122400,     122400,        0,   622080, 0x6df4175d
+0,     126000,     126000,        0,   622080, 0x01921a16
+0,     129600,     129600,        0,   622080, 0x6b530e95
+0,     133200,     133200,        0,   622080, 0xd5047bc9
+0,     136800,     136800,        0,   622080, 0x7f9d66f7
+0,     140400,     140400,        0,   622080, 0xa8b006eb
+0,     144000,     144000,        0,   622080, 0x338cda81
+0,     147600,     147600,        0,   622080, 0xf0e125a7
+0,     151200,     151200,        0,   622080, 0xb13797f8
+0,     154800,     154800,        0,   622080, 0x4afe2976
+0,     158400,     158400,        0,   622080, 0xb51e7ca4
+0,     162000,     162000,        0,   622080, 0x637fcbfe
+0,     165600,     165600,        0,   622080, 0x353eed75
+0,     169200,     169200,        0,   622080, 0xd9a8f5ac
+0,     172800,     172800,        0,   622080, 0xf93e92b0
+0,     176400,     176400,        0,   622080, 0x4540039f
+0,     180000,     180000,        0,   622080, 0xd0811094
+0,     183600,     183600,        0,   622080, 0x3039906f
+0,     187200,     187200,        0,   622080, 0xb04a3141
+0,     190800,     190800,        0,   622080, 0x52872cf9
+0,     194400,     194400,        0,   622080, 0x4ab84909
+0,     198000,     198000,        0,   622080, 0x82de12ee
+0,     201600,     201600,        0,   622080, 0xa0fcb8fb
+0,     205200,     205200,        0,   622080, 0x7e849cc9
+0,     208800,     208800,        0,   622080, 0x9003aebb
+0,     212400,     212400,        0,   622080, 0xffe6f770
+0,     216000,     216000,        0,   622080, 0x153faa3e
+0,     219600,     219600,        0,   622080, 0xb67f3233
+0,     223200,     223200,        0,   622080, 0xae724063
+0,     226800,     226800,        0,   622080, 0x15fe44b4
+0,     230400,     230400,        0,   622080, 0xeb4de77a
+0,     234000,     234000,        0,   622080, 0x380f8563
+0,     237600,     237600,        0,   622080, 0x209ed8c7
+0,     241200,     241200,        0,   622080, 0xb964d70f
+0,     244800,     244800,        0,   622080, 0xe2bbac96
+0,     248400,     248400,        0,   622080, 0x4f60f7f4
+0,     252000,     252000,        0,   622080, 0xe945441e
+0,     255600,     255600,        0,   622080, 0xd0afb742
+0,     259200,     259200,        0,   622080, 0x8f8cbd5f
+0,     262800,     262800,        0,   622080, 0xb9a15294
+0,     266400,     266400,        0,   622080, 0xbc3cf717
+0,     270000,     270000,        0,   622080, 0xb70b01a9
+0,     273600,     273600,        0,   622080, 0x0109f125
+0,     277200,     277200,        0,   622080, 0xcb3a371f
+0,     280800,     280800,        0,   622080, 0x230c373f
+0,     284400,     284400,        0,   622080, 0x82dfb1f2



More information about the ffmpeg-cvslog mailing list