[FFmpeg-devel] [PATCH] tests: Add aic decoder test

Timothy Gu timothygu99 at gmail.com
Tue Jun 10 06:47:43 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 tests/fate/video.mak |  3 +++
 tests/ref/fate/aic   | 16 ++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 tests/ref/fate/aic

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 44c7c72..5c12827 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 0000000..90692f1
--- /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
-- 
1.9.1



More information about the ffmpeg-devel mailing list