From d21caa952c47e004c40ab62ef5239dc5fd6726ed Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Tue, 24 Aug 2010 20:48:58 +0000 Subject: [PATCH] Renderware TeXture Dictionary FATE test Originally committed as revision 24911 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/fate2.mak | 6 ++++++ tests/ref/fate/txd-16bpp | 11 +++++++++++ tests/ref/fate/txd-pal8 | 1 + 3 files changed, 18 insertions(+) create mode 100644 tests/ref/fate/txd-16bpp create mode 100644 tests/ref/fate/txd-pal8 diff --git a/tests/fate2.mak b/tests/fate2.mak index e114706b27..be6d20b197 100644 --- a/tests/fate2.mak +++ b/tests/fate2.mak @@ -175,3 +175,9 @@ fate-binkaudio-rdft: CMD = pcm -i $(SAMPLES)/bink/binkaudio_rdft.bik fate-binkaudio-rdft: CMP = oneoff fate-binkaudio-rdft: REF = $(SAMPLES)/bink/binkaudio_rdft.pcm fate-binkaudio-rdft: FUZZ = 2 + +FATE_TESTS += fate-txd-pal8 +fate-txd-pal8: CMD = framecrc -i $(SAMPLES)/txd/outro.txd -pix_fmt rgb24 -an + +FATE_TESTS += fate-txd-16bpp +fate-txd-16bpp: CMD = framecrc -i $(SAMPLES)/txd/misc.txd -pix_fmt bgra -an diff --git a/tests/ref/fate/txd-16bpp b/tests/ref/fate/txd-16bpp new file mode 100644 index 0000000000..aa5979e2e2 --- /dev/null +++ b/tests/ref/fate/txd-16bpp @@ -0,0 +1,11 @@ +0, 0, 16384, 0x213f9ea8 +0, 18000, 16384, 0x8185fdb1 +0, 36000, 16384, 0xf03581d1 +0, 54000, 16384, 0x629cd573 +0, 72000, 16384, 0xfe7a5b63 +0, 90000, 16384, 0x4afc05b2 +0, 108000, 16384, 0x074b8515 +0, 126000, 16384, 0x17fde900 +0, 144000, 16384, 0x831bac76 +0, 162000, 16384, 0x2fb579f3 +0, 180000, 16384, 0x68762bed diff --git a/tests/ref/fate/txd-pal8 b/tests/ref/fate/txd-pal8 new file mode 100644 index 0000000000..8d8f2a5fc5 --- /dev/null +++ b/tests/ref/fate/txd-pal8 @@ -0,0 +1 @@ +0, 0, 786432, 0x56654d61