From a246af86e47044dec243db2f708cc125d608ea78 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 17 Dec 2013 12:44:17 +0100 Subject: [PATCH] FATE: add MSS2 tests --- tests/fate/microsoft.mak | 18 +++++++ tests/ref/fate/mss2-pal | 3 ++ tests/ref/fate/mss2-pals | 3 ++ tests/ref/fate/mss2-rgb555 | 3 ++ tests/ref/fate/mss2-rgb555s | 3 ++ tests/ref/fate/mss2-wmv | 101 ++++++++++++++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 tests/ref/fate/mss2-pal create mode 100644 tests/ref/fate/mss2-pals create mode 100644 tests/ref/fate/mss2-rgb555 create mode 100644 tests/ref/fate/mss2-rgb555s create mode 100644 tests/ref/fate/mss2-wmv diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak index 195fd3b881..db8da81c35 100644 --- a/tests/fate/microsoft.mak +++ b/tests/fate/microsoft.mak @@ -1,6 +1,24 @@ FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, MSMPEG4V1) += fate-msmpeg4v1 fate-msmpeg4v1: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/msmpeg4v1/mpg4.avi -an +FATE_MSS2 += fate-mss2-pal +fate-mss2-pal: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rlepal.wmv + +FATE_MSS2 += fate-mss2-pals +fate-mss2-pals: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rlepals.wmv + +FATE_MSS2 += fate-mss2-rgb555 +fate-mss2-rgb555: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555.wmv + +FATE_MSS2 += fate-mss2-rgb555s +fate-mss2-rgb555s: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555s.wmv + +FATE_MSS2 += fate-mss2-wmv +fate-mss2-wmv: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/msscreencodec.wmv -an -frames 100 + +FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, MSS2) += $(FATE_MSS2) +fate-mss2: $(FATE_MSS2) + FATE_MSVIDEO1 += fate-msvideo1-8bit fate-msvideo1-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/cram/skating.avi -t 1 -pix_fmt rgb24 diff --git a/tests/ref/fate/mss2-pal b/tests/ref/fate/mss2-pal new file mode 100644 index 0000000000..ae8bd6fc39 --- /dev/null +++ b/tests/ref/fate/mss2-pal @@ -0,0 +1,3 @@ +#tb 0: 1/1000 +0, 0, 0, 0, 9216, 0xd3c106ef +0, 100, 100, 0, 9216, 0x8871f7c2 diff --git a/tests/ref/fate/mss2-pals b/tests/ref/fate/mss2-pals new file mode 100644 index 0000000000..ae8bd6fc39 --- /dev/null +++ b/tests/ref/fate/mss2-pals @@ -0,0 +1,3 @@ +#tb 0: 1/1000 +0, 0, 0, 0, 9216, 0xd3c106ef +0, 100, 100, 0, 9216, 0x8871f7c2 diff --git a/tests/ref/fate/mss2-rgb555 b/tests/ref/fate/mss2-rgb555 new file mode 100644 index 0000000000..d15b3b4e6d --- /dev/null +++ b/tests/ref/fate/mss2-rgb555 @@ -0,0 +1,3 @@ +#tb 0: 1/1000 +0, 0, 0, 0, 6144, 0x4145b7ae +0, 100, 100, 0, 6144, 0x3b2b38de diff --git a/tests/ref/fate/mss2-rgb555s b/tests/ref/fate/mss2-rgb555s new file mode 100644 index 0000000000..d15b3b4e6d --- /dev/null +++ b/tests/ref/fate/mss2-rgb555s @@ -0,0 +1,3 @@ +#tb 0: 1/1000 +0, 0, 0, 0, 6144, 0x4145b7ae +0, 100, 100, 0, 6144, 0x3b2b38de diff --git a/tests/ref/fate/mss2-wmv b/tests/ref/fate/mss2-wmv new file mode 100644 index 0000000000..d539c714bf --- /dev/null +++ b/tests/ref/fate/mss2-wmv @@ -0,0 +1,101 @@ +#tb 0: 1/1000 +0, 0, 0, 0, 230400, 0x00000000 +0, 233, 233, 0, 230400, 0xaf950008 +0, 299, 299, 0, 230400, 0x8d2a0010 +0, 366, 366, 0, 230400, 0xd75e0018 +0, 433, 433, 0, 230400, 0x00000000 +0, 499, 499, 0, 230400, 0x517f0008 +0, 566, 566, 0, 230400, 0xcf5a0010 +0, 633, 633, 0, 230400, 0x00000000 +0, 699, 699, 0, 230400, 0x40ef0018 +0, 766, 766, 0, 230400, 0xdc850008 +0, 833, 833, 0, 230400, 0x00000000 +0, 899, 899, 0, 230400, 0x09a40008 +0, 966, 966, 0, 230400, 0x00000000 +0, 1033, 1033, 0, 230400, 0x8b950008 +0, 1099, 1099, 0, 230400, 0xae260038 +0, 1166, 1166, 0, 230400, 0x6d850008 +0, 1233, 1233, 0, 230400, 0x00000000 +0, 1566, 1566, 0, 230400, 0x8b950008 +0, 1633, 1633, 0, 230400, 0x75450018 +0, 1699, 1699, 0, 230400, 0xb0dd0010 +0, 1766, 1766, 0, 230400, 0xecdd0018 +0, 1833, 1833, 0, 230400, 0x68e3f7f7 +0, 1899, 1899, 0, 230400, 0x9cfdcea6 +0, 1966, 1966, 0, 230400, 0x735ababf +0, 2033, 2033, 0, 230400, 0xa1c604ea +0, 2099, 2099, 0, 230400, 0x18a2f97a +0, 2166, 2166, 0, 230400, 0xf9e82961 +0, 2233, 2233, 0, 230400, 0x57a8e9e8 +0, 2299, 2299, 0, 230400, 0xdef6fd66 +0, 2366, 2366, 0, 230400, 0xc7d923a9 +0, 2433, 2433, 0, 230400, 0x08bb41ee +0, 2499, 2499, 0, 230400, 0x43ccbd29 +0, 2566, 2566, 0, 230400, 0x46666ee3 +0, 2633, 2633, 0, 230400, 0xbfd2ef29 +0, 2699, 2699, 0, 230400, 0x6504545f +0, 2766, 2766, 0, 230400, 0x8fb86901 +0, 2833, 2833, 0, 230400, 0xc95f0917 +0, 2899, 2899, 0, 230400, 0x21f6a54b +0, 2966, 2966, 0, 230400, 0xf808106b +0, 3033, 3033, 0, 230400, 0x34150020 +0, 3099, 3099, 0, 230400, 0x50fdfe89 +0, 3166, 3166, 0, 230400, 0x920b7708 +0, 3233, 3233, 0, 230400, 0xed64fcc4 +0, 3299, 3299, 0, 230400, 0x6291a170 +0, 3366, 3366, 0, 230400, 0x20524643 +0, 3433, 3433, 0, 230400, 0x92aafecd +0, 3499, 3499, 0, 230400, 0xf00ee14d +0, 3566, 3566, 0, 230400, 0xfa3113ea +0, 3633, 3633, 0, 230400, 0x99c06df1 +0, 3699, 3699, 0, 230400, 0x625c6918 +0, 3766, 3766, 0, 230400, 0xb277b25e +0, 3833, 3833, 0, 230400, 0x2e913006 +0, 3899, 3899, 0, 230400, 0x3f6f1d99 +0, 3966, 3966, 0, 230400, 0x100ab60f +0, 4033, 4033, 0, 230400, 0x9b73d0bf +0, 4099, 4099, 0, 230400, 0xda0df2ce +0, 4166, 4166, 0, 230400, 0x67f7ca24 +0, 4233, 4233, 0, 230400, 0xbde9b3d0 +0, 4299, 4299, 0, 230400, 0x92e14d07 +0, 4366, 4366, 0, 230400, 0x9426c3d9 +0, 4433, 4433, 0, 230400, 0x6104be70 +0, 4499, 4499, 0, 230400, 0xc4d1078a +0, 4566, 4566, 0, 230400, 0x89426a42 +0, 4633, 4633, 0, 230400, 0x5271324a +0, 4699, 4699, 0, 230400, 0x1cb1c735 +0, 4766, 4766, 0, 230400, 0x4249b8c6 +0, 4833, 4833, 0, 230400, 0x4b88cad3 +0, 4899, 4899, 0, 230400, 0x76af545d +0, 4966, 4966, 0, 230400, 0xfe47e3c4 +0, 5033, 5033, 0, 230400, 0xa2e0e721 +0, 5099, 5099, 0, 230400, 0xde974a42 +0, 5166, 5166, 0, 230400, 0xe86a376b +0, 5233, 5233, 0, 230400, 0xd52318fd +0, 5299, 5299, 0, 230400, 0x0bbb1526 +0, 5366, 5366, 0, 230400, 0xa22c5e5e +0, 5433, 5433, 0, 230400, 0x4532c5d2 +0, 5499, 5499, 0, 230400, 0x88b560ec +0, 5566, 5566, 0, 230400, 0xcee9d9c9 +0, 5633, 5633, 0, 230400, 0x0429358f +0, 5699, 5699, 0, 230400, 0xf18a9b98 +0, 5766, 5766, 0, 230400, 0x63f7a12c +0, 5833, 5833, 0, 230400, 0x98635515 +0, 5899, 5899, 0, 230400, 0x36affebc +0, 5966, 5966, 0, 230400, 0xd8c19629 +0, 6033, 6033, 0, 230400, 0x9ef5344d +0, 6099, 6099, 0, 230400, 0x545668dc +0, 6166, 6166, 0, 230400, 0x50e65e74 +0, 6233, 6233, 0, 230400, 0xe3258be3 +0, 6299, 6299, 0, 230400, 0xeb479e1b +0, 6366, 6366, 0, 230400, 0x91894243 +0, 6433, 6433, 0, 230400, 0x3c5660fc +0, 6499, 6499, 0, 230400, 0xf0c35673 +0, 6566, 6566, 0, 230400, 0x552832e8 +0, 6633, 6633, 0, 230400, 0x1970f2b1 +0, 6699, 6699, 0, 230400, 0x812d4c91 +0, 6766, 6766, 0, 230400, 0xa3fbd4ef +0, 6833, 6833, 0, 230400, 0x486f9649 +0, 6899, 6899, 0, 230400, 0x850f315a +0, 6966, 6966, 0, 230400, 0xc18ec66b +0, 7033, 7033, 0, 230400, 0xc9ef266e