Skip to content

Commit

Permalink
fate: add tests for SANM and VIMA
Browse files Browse the repository at this point in the history
Signed-off-by: Vittorio Giovara <[email protected]>
  • Loading branch information
richardpl authored and kodawah committed Apr 6, 2014
1 parent eeadcdf commit a027d2a
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/fate/adpcm.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions tests/fate/video.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
17 changes: 17 additions & 0 deletions tests/ref/fate/adpcm-vima
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions tests/ref/fate/sanm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a027d2a

Please sign in to comment.