fate: add tests for SANM and VIMA

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
Paul B Mahol 2012-06-21 14:08:41 +00:00 committed by Vittorio Giovara
parent eeadcdfd1a
commit a027d2a873
4 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -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

17
tests/ref/fate/adpcm-vima Normal file
View File

@ -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

16
tests/ref/fate/sanm Normal file
View File

@ -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