From 506c47a48e9829784c9e2b6e94e74083dc84cc13 Mon Sep 17 00:00:00 2001
From: Vitor Sessak <vitor1001@gmail.com>
Date: Tue, 31 Aug 2010 11:11:25 +0000
Subject: [PATCH] Add FATE test for ScummVM DXA flavor

Originally committed as revision 25005 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 tests/fate2.mak            |  3 +++
 tests/ref/fate/dxa-scummvm | 12 ++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 tests/ref/fate/dxa-scummvm

diff --git a/tests/fate2.mak b/tests/fate2.mak
index 6deb3c7ef79..d16ec3814cc 100644
--- a/tests/fate2.mak
+++ b/tests/fate2.mak
@@ -193,3 +193,6 @@ fate-fax-g3s: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31DS.TIF
 
 FATE_TESTS += fate-ws_snd
 fate-ws_snd: CMD = md5  -i $(SAMPLES)/vqa/ws_snd.vqa -f s16le
+
+FATE_TESTS += fate-dxa-scummvm
+fate-dxa-scummvm: CMD = framecrc -i $(SAMPLES)/dxa/scummvm.dxa -pix_fmt rgb24
diff --git a/tests/ref/fate/dxa-scummvm b/tests/ref/fate/dxa-scummvm
new file mode 100644
index 00000000000..79bc1d0424e
--- /dev/null
+++ b/tests/ref/fate/dxa-scummvm
@@ -0,0 +1,12 @@
+0, 0, 384000, 0xef37f34b
+0, 7500, 384000, 0xef37f34b
+0, 14999, 384000, 0xfca3cd8b
+0, 22499, 384000, 0xfca3cd8b
+0, 29999, 384000, 0x6dd34bb7
+0, 37499, 384000, 0x6dd34bb7
+0, 44998, 384000, 0xfd518717
+0, 52498, 384000, 0xfd518717
+0, 59998, 384000, 0x82db5c7b
+0, 67497, 384000, 0x82db5c7b
+0, 74997, 384000, 0xe280a5a6
+0, 82497, 384000, 0xe280a5a6
-- 
GitLab