[FFmpeg-devel,3/3] fate: add xa-aiff test

Submitted by misty@brew.sh on Jan. 3, 2018, 8:14 a.m.

Details

Message ID 20180103081424.47388-4-misty@brew.sh
State New
Headers show

Commit Message

misty@brew.sh Jan. 3, 2018, 8:14 a.m.
From: Misty De Meo <mistydemeo@gmail.com>

---
 tests/fate/adpcm.mak         |  3 +++
 tests/ref/fate/adpcm-xa-aiff | 51 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 tests/ref/fate/adpcm-xa-aiff

Patch hide | download patch | download mbox

diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index b64920d4fe..3f31baf8d9 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -88,5 +88,8 @@  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
 
+FATE_ADPCM-$(call DEMDEC, AIFF, ADPCM_XA) += fate-adpcm-xa-aiff
+fate-adpcm-xa-aiff: CMD = framecrc -i $(TARGET_SAMPLES)/adp/S1_93.ADP -vn
+
 FATE_SAMPLES_AVCONV += $(FATE_ADPCM-yes)
 fate-adpcm: $(FATE_ADPCM-yes)
diff --git a/tests/ref/fate/adpcm-xa-aiff b/tests/ref/fate/adpcm-xa-aiff
new file mode 100644
index 0000000000..914305dc25
--- /dev/null
+++ b/tests/ref/fate/adpcm-xa-aiff
@@ -0,0 +1,51 @@ 
+#tb 0: 1/32000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 32000
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0,          0,          0,     2016,     8064, 0x13ec85b1
+0,          1,          1,     2016,     8064, 0x3c9ecf95
+0,          2,          2,     2016,     8064, 0x4c5fad6f
+0,          3,          3,     2016,     8064, 0x4b98a41f
+0,          4,          4,     2016,     8064, 0x7e543d5f
+0,          5,          5,     2016,     8064, 0xa938bd16
+0,          6,          6,     2016,     8064, 0x35290bbf
+0,          7,          7,     2016,     8064, 0x95d37865
+0,          8,          8,     2016,     8064, 0x015fa859
+0,          9,          9,     2016,     8064, 0x7a52aacd
+0,         10,         10,     2016,     8064, 0x31e3bb4c
+0,         11,         11,     2016,     8064, 0x02ddcb90
+0,         12,         12,     2016,     8064, 0x88569134
+0,         13,         13,     2016,     8064, 0x06a23c18
+0,         14,         14,     2016,     8064, 0x08c22fef
+0,         15,         15,     2016,     8064, 0xb486aa3d
+0,         16,         16,     2016,     8064, 0xae5c40c7
+0,         17,         17,     2016,     8064, 0xc4923633
+0,         18,         18,     2016,     8064, 0xc1bb9832
+0,         19,         19,     2016,     8064, 0x13ce2e01
+0,         20,         20,     2016,     8064, 0x0e3ccf01
+0,         21,         21,     2016,     8064, 0x941ff2f2
+0,         22,         22,     2016,     8064, 0xe300b4ba
+0,         23,         23,     2016,     8064, 0xf02e9699
+0,         24,         24,     2016,     8064, 0x1fcebcc3
+0,         25,         25,     2016,     8064, 0x0a557a91
+0,         26,         26,     2016,     8064, 0x51f1172b
+0,         27,         27,     2016,     8064, 0x3b9e0b1e
+0,         28,         28,     2016,     8064, 0xc558a9fe
+0,         29,         29,     2016,     8064, 0xd781d68f
+0,         30,         30,     2016,     8064, 0xf14b2a10
+0,         31,         31,     2016,     8064, 0x0e644099
+0,         32,         32,     2016,     8064, 0x5eeca782
+0,         33,         33,     2016,     8064, 0xa3d65dad
+0,         34,         34,     2016,     8064, 0xb992b55d
+0,         35,         35,     2016,     8064, 0x98c06185
+0,         36,         36,     2016,     8064, 0xff1abab4
+0,         37,         37,     2016,     8064, 0x3f6392c4
+0,         38,         38,     2016,     8064, 0xaffb8603
+0,         39,         39,     2016,     8064, 0x1cddeeef
+0,         40,         40,     2016,     8064, 0x2cc8f3ab
+0,         41,         41,     2016,     8064, 0xdfb1d36b
+0,         42,         42,     2016,     8064, 0x5907a79a
+0,         43,         43,     2016,     8064, 0x02cb7b08
+0,         44,         44,     2016,     8064, 0x85820e04