fate: Add a video test for xxan decoder
authorAneesh Dogra <lionaneesh@gmail.com>
Thu, 29 Dec 2011 18:58:12 +0000 (00:28 +0530)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 29 Dec 2011 21:59:09 +0000 (13:59 -0800)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
tests/fate.mak
tests/fate2.mak
tests/ref/fate/dpcm_xan_audio [new file with mode: 0644]
tests/ref/fate/xan-dpcm [deleted file]
tests/ref/fate/xxan_wc4_video [new file with mode: 0644]

index a2c007c..0fdd668 100644 (file)
@@ -246,5 +246,5 @@ FATE_TESTS += fate-westwood-aud
 fate-westwood-aud: CMD = md5  -i $(SAMPLES)/westwood-aud/excellent.aud -f s16le
 FATE_TESTS += fate-wnv1
 fate-wnv1: CMD = framecrc  -i $(SAMPLES)/wnv1/wnv1-codec.avi -an
-FATE_TESTS += fate-xan-dpcm
-fate-xan-dpcm: CMD = md5  -i $(SAMPLES)/wc4-xan/wc4_2.avi -vn -f s16le
+FATE_TESTS += fate-dpcm_xan_audio
+fate-dpcm_xan_audio: CMD = md5  -i $(SAMPLES)/wc4-xan/wc4_2.avi -vn -f s16le
index e925278..479adf6 100644 (file)
@@ -87,3 +87,6 @@ fate-v410enc: CMD = md5 -f image2 -vcodec pgmyuv -i $(TARGET_PATH)/tests/vsynth1
 
 FATE_TESTS += fate-r210
 fate-r210: CMD = framecrc -i $(SAMPLES)/r210/r210.avi -pix_fmt rgb48le
+
+FATE_TESTS += fate-xxan_wc4_video
+fate-xxan_wc4_video: CMD = framecrc -i $(SAMPLES)/wc4-xan/wc4_2.avi -an -vframes 10
diff --git a/tests/ref/fate/dpcm_xan_audio b/tests/ref/fate/dpcm_xan_audio
new file mode 100644 (file)
index 0000000..cb56677
--- /dev/null
@@ -0,0 +1 @@
+b6da857766896ab10bb900004f915053
diff --git a/tests/ref/fate/xan-dpcm b/tests/ref/fate/xan-dpcm
deleted file mode 100644 (file)
index cb56677..0000000
+++ /dev/null
@@ -1 +0,0 @@
-b6da857766896ab10bb900004f915053
diff --git a/tests/ref/fate/xxan_wc4_video b/tests/ref/fate/xxan_wc4_video
new file mode 100644 (file)
index 0000000..d31fbb6
--- /dev/null
@@ -0,0 +1,10 @@
+0, 0, 79360, 0x877eb3ed
+0, 6000, 79360, 0x9ff8707c
+0, 12000, 79360, 0x144dec86
+0, 18000, 79360, 0x56d59588
+0, 24000, 79360, 0x2d20f8ce
+0, 30000, 79360, 0x1a752c42
+0, 36000, 79360, 0x85705730
+0, 42000, 79360, 0xddea3741
+0, 48000, 79360, 0x46448efd
+0, 54000, 79360, 0x27186e2b