[FFmpeg-devel] [PATCH] fate/adpcm: add adpcm_ima_alp tests
Zane van Iperen
zane at zanevaniperen.com
Mon Mar 9 15:07:47 EET 2020
Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
tests/fate/adpcm.mak | 6 ++++++
tests/ref/fate/adpcm-ima-alp-mono | 1 +
tests/ref/fate/adpcm-ima-alp-stereo | 1 +
3 files changed, 8 insertions(+)
create mode 100644 tests/ref/fate/adpcm-ima-alp-mono
create mode 100644 tests/ref/fate/adpcm-ima-alp-stereo
diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index ba8aa64fc5..3e6d4ecdd1 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -106,5 +106,11 @@ fate-adpcm-ima-apm-mono: CMD = md5 -i $(TARGET_SAMPLES)/apm/outro1.apm -f s16le
FATE_ADPCM-$(call DEMDEC, APM, ADPCM_IMA_APM) += fate-adpcm-ima-apm-stereo
fate-adpcm-ima-apm-stereo: CMD = md5 -i $(TARGET_SAMPLES)/apm/AS01.apm -f s16le
+FATE_ADPCM-$(call DEMDEC, ALP, ADPCM_IMA_ALP) += fate-adpcm-ima-alp-mono
+fate-adpcm-ima-alp-mono: CMD = md5 -i $(TARGET_SAMPLES)/alp/AD_P11.PCM -f s16le
+
+FATE_ADPCM-$(call DEMDEC, ALP, ADPCM_IMA_ALP) += fate-adpcm-ima-alp-stereo
+fate-adpcm-ima-alp-stereo: CMD = md5 -i $(TARGET_SAMPLES)/alp/theme-cut.tun -f s16le
+
FATE_SAMPLES_AVCONV += $(FATE_ADPCM-yes)
fate-adpcm: $(FATE_ADPCM-yes)
diff --git a/tests/ref/fate/adpcm-ima-alp-mono b/tests/ref/fate/adpcm-ima-alp-mono
new file mode 100644
index 0000000000..4110a24c3c
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-alp-mono
@@ -0,0 +1 @@
+288d1ce2e92240ccebfe2586fc22d01b
diff --git a/tests/ref/fate/adpcm-ima-alp-stereo b/tests/ref/fate/adpcm-ima-alp-stereo
new file mode 100644
index 0000000000..8cf281e92b
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-alp-stereo
@@ -0,0 +1 @@
+a100877e7e02b8a6ad63154682c844f4
--
2.17.1
More information about the ffmpeg-devel
mailing list