[FFmpeg-devel] [PATCH] fate: add adpcm_ima_ws test in a VQA v3 file
Zane van Iperen
zane at zanevaniperen.com
Wed Apr 28 16:19:09 EEST 2021
Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
tests/fate/adpcm.mak | 3 +++
tests/ref/fate/adpcm-ima-ws-vqa3 | 18 ++++++++++++++++++
2 files changed, 21 insertions(+)
create mode 100644 tests/ref/fate/adpcm-ima-ws-vqa3
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
--
2.29.3
More information about the ffmpeg-devel
mailing list