From ac1c27bc2b23d93b2d5167620a51a69a2aa1753e Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Thu, 29 Dec 2011 15:29:15 +0100 Subject: [PATCH] fate: add more tests for VC-1 decoder Signed-off-by: Janne Grunau --- tests/fate/microsoft.mak | 9 ++++++ tests/ref/fate/vc1_sa00050 | 30 +++++++++++++++++++ tests/ref/fate/vc1_sa10091 | 30 +++++++++++++++++++ tests/ref/fate/vc1_sa20021 | 60 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 tests/ref/fate/vc1_sa00050 create mode 100644 tests/ref/fate/vc1_sa10091 create mode 100644 tests/ref/fate/vc1_sa20021 diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak index c6c1c62e6f..bb7e7018d7 100644 --- a/tests/fate/microsoft.mak +++ b/tests/fate/microsoft.mak @@ -16,3 +16,12 @@ fate-wmv8-drm-nodec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c34 FATE_TESTS += fate-vc1 fate-vc1: CMD = framecrc -i $(SAMPLES)/vc1/SA00040.vc1 + +FATE_TESTS += fate-vc1_sa00050 +fate-vc1_sa00050: CMD = framecrc -i $(SAMPLES)/vc1/SA00050.vc1 + +FATE_TESTS += fate-vc1_sa10091 +fate-vc1_sa10091: CMD = framecrc -i $(SAMPLES)/vc1/SA10091.vc1 + +FATE_TESTS += fate-vc1_sa20021 +fate-vc1_sa20021: CMD = framecrc -i $(SAMPLES)/vc1/SA20021.vc1 diff --git a/tests/ref/fate/vc1_sa00050 b/tests/ref/fate/vc1_sa00050 new file mode 100644 index 0000000000..3eb27bd3c5 --- /dev/null +++ b/tests/ref/fate/vc1_sa00050 @@ -0,0 +1,30 @@ +0, 0, 115200, 0xb8830eef +0, 3600, 115200, 0xb8830eef +0, 7200, 115200, 0xb8830eef +0, 10800, 115200, 0x952ff5e1 +0, 14400, 115200, 0xa4362b14 +0, 18000, 115200, 0x32bacbe7 +0, 21600, 115200, 0x509eb814 +0, 25200, 115200, 0x509eb814 +0, 28800, 115200, 0x11a76c3e +0, 32400, 115200, 0x11a76c3e +0, 36000, 115200, 0x00cf734a +0, 39600, 115200, 0x00cf734a +0, 43200, 115200, 0x00cf734a +0, 46800, 115200, 0x00cf734a +0, 50400, 115200, 0x00cf734a +0, 54000, 115200, 0x00cf734a +0, 57600, 115200, 0x00cf734a +0, 61200, 115200, 0x00cf734a +0, 64800, 115200, 0xfddf48e6 +0, 68400, 115200, 0xfddf48e6 +0, 72000, 115200, 0x1eccebbf +0, 75600, 115200, 0x3da2f77e +0, 79200, 115200, 0x7c232572 +0, 82800, 115200, 0xedf426e5 +0, 86400, 115200, 0x5324ab20 +0, 90000, 115200, 0x5324ab20 +0, 93600, 115200, 0xa23e66bb +0, 97200, 115200, 0x680a50ff +0, 100800, 115200, 0x680a50ff +0, 104400, 115200, 0x680a50ff diff --git a/tests/ref/fate/vc1_sa10091 b/tests/ref/fate/vc1_sa10091 new file mode 100644 index 0000000000..c121090097 --- /dev/null +++ b/tests/ref/fate/vc1_sa10091 @@ -0,0 +1,30 @@ +0, 0, 518400, 0xae20b4fa +0, 3600, 518400, 0x2b4ccdf9 +0, 7200, 518400, 0x2b4ccdf9 +0, 10800, 518400, 0x2b4ccdf9 +0, 14400, 518400, 0x2b4ccdf9 +0, 18000, 518400, 0x2b4ccdf9 +0, 21600, 518400, 0x70d9a891 +0, 25200, 518400, 0x70d9a891 +0, 28800, 518400, 0x70d9a891 +0, 32400, 518400, 0xa461ee86 +0, 36000, 518400, 0x722bc6e8 +0, 39600, 518400, 0x722bc6e8 +0, 43200, 518400, 0x722bc6e8 +0, 46800, 518400, 0xf752fd2c +0, 50400, 518400, 0xf752fd2c +0, 54000, 518400, 0x91abcaca +0, 57600, 518400, 0x572727c3 +0, 61200, 518400, 0x572727c3 +0, 64800, 518400, 0x24c12382 +0, 68400, 518400, 0x24c12382 +0, 72000, 518400, 0x9aa39fe8 +0, 75600, 518400, 0x9aa39fe8 +0, 79200, 518400, 0x5cb6bd19 +0, 82800, 518400, 0x704d9300 +0, 86400, 518400, 0x590fad49 +0, 90000, 518400, 0x590fad49 +0, 93600, 518400, 0x590fad49 +0, 97200, 518400, 0x46bea10b +0, 100800, 518400, 0x46bea10b +0, 104400, 518400, 0x46bea10b diff --git a/tests/ref/fate/vc1_sa20021 b/tests/ref/fate/vc1_sa20021 new file mode 100644 index 0000000000..aae607bbbc --- /dev/null +++ b/tests/ref/fate/vc1_sa20021 @@ -0,0 +1,60 @@ +0, 0, 506880, 0x884bc093 +0, 3600, 506880, 0x4b09548f +0, 7200, 506880, 0x195cbee1 +0, 10800, 506880, 0xc8141e28 +0, 14400, 506880, 0xb170c49b +0, 18000, 506880, 0x2782268a +0, 21600, 506880, 0x2782268a +0, 25200, 506880, 0x2782268a +0, 28800, 506880, 0x2782268a +0, 32400, 506880, 0xe6803b32 +0, 36000, 506880, 0xe6803b32 +0, 39600, 506880, 0xa5ef9baf +0, 43200, 506880, 0xa5ef9baf +0, 46800, 506880, 0x46e8cbcb +0, 50400, 506880, 0x28a2239b +0, 54000, 506880, 0x7667af2f +0, 57600, 506880, 0x7667af2f +0, 61200, 506880, 0x8011bcaf +0, 64800, 506880, 0xd422115b +0, 68400, 506880, 0xd422115b +0, 72000, 506880, 0xd422115b +0, 75600, 506880, 0xbcee0b5b +0, 79200, 506880, 0x08fe9ec8 +0, 82800, 506880, 0xc8fb8b37 +0, 86400, 506880, 0xc8fb8b37 +0, 90000, 506880, 0x2c698b52 +0, 93600, 506880, 0x2c698b52 +0, 97200, 506880, 0x2c698b52 +0, 100800, 506880, 0x2b4ad9bc +0, 104400, 506880, 0x2b4ad9bc +0, 108000, 506880, 0x2b4ad9bc +0, 111600, 506880, 0x2b4ad9bc +0, 115200, 506880, 0x92e84ebb +0, 118800, 506880, 0x92e84ebb +0, 122400, 506880, 0xdb877da3 +0, 126000, 506880, 0xdb877da3 +0, 129600, 506880, 0xdb877da3 +0, 133200, 506880, 0x44610654 +0, 136800, 506880, 0x44610654 +0, 140400, 506880, 0xe254ce67 +0, 144000, 506880, 0xa6085385 +0, 147600, 506880, 0x2d45d744 +0, 151200, 506880, 0x2d45d744 +0, 154800, 506880, 0x6e684f51 +0, 158400, 506880, 0xe96186cf +0, 162000, 506880, 0xb535d369 +0, 165600, 506880, 0xb535d369 +0, 169200, 506880, 0xb535d369 +0, 172800, 506880, 0xeed0b7e0 +0, 176400, 506880, 0xeed0b7e0 +0, 180000, 506880, 0xeed0b7e0 +0, 183600, 506880, 0xeed0b7e0 +0, 187200, 506880, 0x8789b20b +0, 190800, 506880, 0x0a0f42fb +0, 194400, 506880, 0x09bbac2d +0, 198000, 506880, 0x09bbac2d +0, 201600, 506880, 0x09bbac2d +0, 205200, 506880, 0x09bbac2d +0, 208800, 506880, 0x09bbac2d +0, 212400, 506880, 0xda77f0df