[FFmpeg-cvslog] fate: add tests for SANM and VIMA

Paul B Mahol git at videolan.org
Sun Apr 6 23:56:25 CEST 2014


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jun 21 14:08:41 2012 +0000| [a027d2a8731f7c95dbb57be470160f0f94d6c97d] | committer: Vittorio Giovara

fate: add tests for SANM and VIMA

Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a027d2a8731f7c95dbb57be470160f0f94d6c97d
---

 tests/fate/adpcm.mak      |    3 +++
 tests/fate/video.mak      |    3 +++
 tests/ref/fate/adpcm-vima |   17 +++++++++++++++++
 tests/ref/fate/sanm       |   16 ++++++++++++++++
 4 files changed, 39 insertions(+)

diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index 55f2556..7ee6245 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 9b62e6f..bcd92e4 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 0000000..6984c5d
--- /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 0000000..078d1c2
--- /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



More information about the ffmpeg-cvslog mailing list