aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2011-12-30 00:28:12 +0530
committerRonald S. Bultje <rsbultje@gmail.com>2011-12-29 13:59:09 -0800
commit8ca903ebcbe437f0448e675aa0288ca35ee1d450 (patch)
treef84dee743c7ae8cc79ac2dc192173107849dcae4
parent9342ecf02eaac09535291dde78877188a84caefb (diff)
downloadffmpeg-8ca903ebcbe437f0448e675aa0288ca35ee1d450.tar.gz
fate: Add a video test for xxan decoder
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rw-r--r--tests/fate.mak4
-rw-r--r--tests/fate2.mak3
-rw-r--r--tests/ref/fate/dpcm_xan_audio (renamed from tests/ref/fate/xan-dpcm)0
-rw-r--r--tests/ref/fate/xxan_wc4_video10
4 files changed, 15 insertions, 2 deletions
diff --git a/tests/fate.mak b/tests/fate.mak
index a2c007cfcf..0fdd668c24 100644
--- a/tests/fate.mak
+++ b/tests/fate.mak
@@ -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
diff --git a/tests/fate2.mak b/tests/fate2.mak
index e925278d9b..479adf60b7 100644
--- a/tests/fate2.mak
+++ b/tests/fate2.mak
@@ -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/xan-dpcm b/tests/ref/fate/dpcm_xan_audio
index cb56677d0a..cb56677d0a 100644
--- a/tests/ref/fate/xan-dpcm
+++ b/tests/ref/fate/dpcm_xan_audio
diff --git a/tests/ref/fate/xxan_wc4_video b/tests/ref/fate/xxan_wc4_video
new file mode 100644
index 0000000000..d31fbb697c
--- /dev/null
+++ b/tests/ref/fate/xxan_wc4_video
@@ -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