aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-21 14:08:41 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-06 16:42:15 +0200
commita027d2a8731f7c95dbb57be470160f0f94d6c97d (patch)
treec16afdf355c6338fe539a084f3928f842d4d2506
parenteeadcdfd1a6f3089b6bf6e194d6ece8d3f113123 (diff)
downloadffmpeg-a027d2a8731f7c95dbb57be470160f0f94d6c97d.tar.gz
fate: add tests for SANM and VIMA
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-rw-r--r--tests/fate/adpcm.mak3
-rw-r--r--tests/fate/video.mak3
-rw-r--r--tests/ref/fate/adpcm-vima17
-rw-r--r--tests/ref/fate/sanm16
4 files changed, 39 insertions, 0 deletions
diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index 55f2556ea9..7ee62459f0 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -67,6 +67,9 @@ fate-adpcm_ms-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L
FATE_ADPCM-$(call DEMDEC, THP, ADPCM_THP) += fate-adpcm-thp
fate-adpcm-thp: CMD = framecrc -i $(TARGET_SAMPLES)/thp/pikmin2-opening1-partial.thp -vn
+FATE_ADPCM-$(call DEMDEC, SMUSH, ADPCM_VIMA) += fate-adpcm-vima
+fate-adpcm-vima: CMD = framecrc -i $(TARGET_SAMPLES)/smush/ronin_part.znm -vn
+
FATE_ADPCM-$(call DEMDEC, STR, ADPCM_XA) += fate-adpcm-xa
fate-adpcm-xa: CMD = framecrc -i $(TARGET_SAMPLES)/psx-str/abc000_cut.str -vn
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 9b62e6fb1f..bcd92e4e31 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -209,6 +209,9 @@ fate-rl2: CMD = framecrc -i $(TARGET_SAMPLES)/rl2/Z4915300.RL2 -pix_fmt rgb24 -a
FATE_SAMPLES_AVCONV-$(call DEMDEC, ROQ, ROQ) += fate-roqvideo
fate-roqvideo: CMD = framecrc -i $(TARGET_SAMPLES)/idroq/idlogo.roq -an
+FATE_SAMPLES_AVCONV-$(call DEMDEC, SMUSH, SANM) += fate-sanm
+fate-sanm: CMD = framecrc -i $(TARGET_SAMPLES)/smush/ronin_part.znm -an -pix_fmt rgb24
+
FATE_SAMPLES_AVCONV-$(call DEMDEC, VMD, VMDVIDEO) += fate-sierra-vmd-video
fate-sierra-vmd-video: CMD = framecrc -i $(TARGET_SAMPLES)/vmd/12.vmd -pix_fmt rgb24 -an
diff --git a/tests/ref/fate/adpcm-vima b/tests/ref/fate/adpcm-vima
new file mode 100644
index 0000000000..6984c5dfc6
--- /dev/null
+++ b/tests/ref/fate/adpcm-vima
@@ -0,0 +1,17 @@
+#tb 0: 1/22050
+0, 0, 0, 73500, 294000, 0x37d439ee
+0, 73500, 73500, 1470, 5880, 0xe524b177
+0, 74970, 74970, 1470, 5880, 0x9e784af1
+0, 76440, 76440, 1470, 5880, 0x821989b0
+0, 77910, 77910, 1470, 5880, 0x8f4993da
+0, 79380, 79380, 1470, 5880, 0x889a9035
+0, 80850, 80850, 1470, 5880, 0x7f0f5299
+0, 82320, 82320, 1470, 5880, 0xf12f5d2a
+0, 83790, 83790, 1470, 5880, 0xd6292fda
+0, 85260, 85260, 1470, 5880, 0xe1b8405f
+0, 86730, 86730, 1470, 5880, 0xe23d2d44
+0, 88200, 88200, 1470, 5880, 0xe20631a4
+0, 89670, 89670, 1470, 5880, 0x3f72210f
+0, 91140, 91140, 1470, 5880, 0xec0b3fe8
+0, 92610, 92610, 1470, 5880, 0x9615f198
+0, 94080, 94080, 1470, 5880, 0x500226ce
diff --git a/tests/ref/fate/sanm b/tests/ref/fate/sanm
new file mode 100644
index 0000000000..078d1c280f
--- /dev/null
+++ b/tests/ref/fate/sanm
@@ -0,0 +1,16 @@
+#tb 0: 1/15
+0, 0, 0, 1, 921600, 0x00000000
+0, 1, 1, 1, 921600, 0x00000000
+0, 2, 2, 1, 921600, 0x00000000
+0, 3, 3, 1, 921600, 0x00000000
+0, 4, 4, 1, 921600, 0x00000000
+0, 5, 5, 1, 921600, 0x00000000
+0, 6, 6, 1, 921600, 0x00000000
+0, 7, 7, 1, 921600, 0x00000000
+0, 8, 8, 1, 921600, 0x00000000
+0, 9, 9, 1, 921600, 0x00000000
+0, 10, 10, 1, 921600, 0x0870b171
+0, 11, 11, 1, 921600, 0xad557f05
+0, 12, 12, 1, 921600, 0xb06498e0
+0, 13, 13, 1, 921600, 0x156eaccf
+0, 14, 14, 1, 921600, 0x3d48e8e8