summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-04-25 14:34:52 +1000
committerZane van Iperen <zane@zanevaniperen.com>2021-04-29 23:52:46 +1000
commitab38a48c485d2167e1b53eb5fb684862cf35d47c (patch)
treea66eac3b12bc3d338e5e5eae8887c5ac21b88b5f /tests
parent829d7bb518d405e7d9fcca79c6897fd33518c92e (diff)
fate: add adpcm_ima_ws test in a VQA v3 file
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/adpcm.mak3
-rw-r--r--tests/ref/fate/adpcm-ima-ws-vqa318
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index f858a808c5..a7d4dbcf6c 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -73,6 +73,9 @@ fate-adpcm-ima_wav-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2
FATE_ADPCM-$(call DEMDEC, WSVQA, ADPCM_IMA_WS) += fate-adpcm-ima-ws
fate-adpcm-ima-ws: CMD = framecrc -i $(TARGET_SAMPLES)/vqa/cc-demo1-partial.vqa -vn
+FATE_ADPCM-$(call DEMDEC, WSVQA, ADPCM_IMA_WS) += fate-adpcm-ima-ws-vqa3
+fate-adpcm-ima-ws-vqa3: CMD = framecrc -i $(TARGET_SAMPLES)/vqa/small-cut-v3.vqa -vn -af aresample
+
FATE_ADPCM-$(call DEMDEC, DXA, ADPCM_MS) += fate-adpcm-ms-mono
fate-adpcm-ms-mono: CMD = framecrc -i $(TARGET_SAMPLES)/dxa/meetsquid.dxa -t 2 -vn
diff --git a/tests/ref/fate/adpcm-ima-ws-vqa3 b/tests/ref/fate/adpcm-ima-ws-vqa3
new file mode 100644
index 0000000000..c2f14cd1a8
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-ws-vqa3
@@ -0,0 +1,18 @@
+#tb 0: 1/22050
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 22050
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0, 0, 0, 1470, 2940, 0xca80b853
+0, 1470, 1470, 1470, 2940, 0x250c9f84
+0, 2940, 2940, 1470, 2940, 0x18b3d2d7
+0, 4410, 4410, 1470, 2940, 0xbf8cb0d6
+0, 5880, 5880, 1470, 2940, 0x4ac3b688
+0, 7350, 7350, 1470, 2940, 0x01ebbd5a
+0, 8820, 8820, 1470, 2940, 0x9943817d
+0, 10290, 10290, 1470, 2940, 0x41325eb6
+0, 11760, 11760, 1470, 2940, 0xe447274e
+0, 13230, 13230, 1470, 2940, 0x51ddfa56
+0, 14700, 14700, 1470, 2940, 0x475b058c
+0, 16170, 16170, 1470, 2940, 0xd10e2b54