summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-06-09 21:47:43 -0700
committerMichael Niedermayer <michaelni@gmx.at>2014-06-11 19:05:54 +0200
commit881ee369e637787f17410aeaf936f1a814fdef66 (patch)
treebebc5012f1e235071991e4cdddae0b7c6279752f
parent27b8ef5bb7095e67d2888e0391b88dcffd04036a (diff)
tests: Add aic decoder test
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/video.mak3
-rw-r--r--tests/ref/fate/aic16
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 44c7c72260..5c128272fc 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -10,6 +10,9 @@ fate-4xm: $(FATE_4XM)
FATE_VIDEO-$(call DEMDEC, AVI, AASC) += fate-aasc
fate-aasc: CMD = framecrc -i $(TARGET_SAMPLES)/aasc/AASC-1.5MB.AVI -pix_fmt rgb24
+FATE_VIDEO-$(call DEMDEC, MOV, AIC) += fate-aic
+fate-aic: CMD = framecrc -i $(TARGET_SAMPLES)/aic/small_apple_intermediate_codec.mov -an -vframes 15
+
FATE_VIDEO-$(call DEMDEC, MM, MMVIDEO) += fate-alg-mm
fate-alg-mm: CMD = framecrc -i $(TARGET_SAMPLES)/alg-mm/ibmlogo.mm -an -pix_fmt rgb24
diff --git a/tests/ref/fate/aic b/tests/ref/fate/aic
new file mode 100644
index 0000000000..90692f1d0f
--- /dev/null
+++ b/tests/ref/fate/aic
@@ -0,0 +1,16 @@
+#tb 0: 100/2997
+0, 0, 0, 1, 2332800, 0xd941b42f
+0, 1, 1, 1, 2332800, 0xd941b42f
+0, 2, 2, 1, 2332800, 0xae0f5983
+0, 3, 3, 1, 2332800, 0x51cfc127
+0, 4, 4, 1, 2332800, 0x24d40447
+0, 5, 5, 1, 2332800, 0x858a9f51
+0, 6, 6, 1, 2332800, 0x533b48e8
+0, 7, 7, 1, 2332800, 0x2fd73267
+0, 8, 8, 1, 2332800, 0x153566c7
+0, 9, 9, 1, 2332800, 0xa1c49c45
+0, 10, 10, 1, 2332800, 0xb966e25a
+0, 11, 11, 1, 2332800, 0xd0ce5985
+0, 12, 12, 1, 2332800, 0x0029a52e
+0, 13, 13, 1, 2332800, 0x893116c5
+0, 14, 14, 1, 2332800, 0x073d2491