diff mbox series

[FFmpeg-devel] fate/adpcm: add adpcm_ima_alp tests

Message ID 20200309130743.20733-1-zane@zanevaniperen.com
State Accepted
Headers show
Series [FFmpeg-devel] fate/adpcm: add adpcm_ima_alp tests | expand

Checks

Context Check Description
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Zane van Iperen March 9, 2020, 1:07 p.m. UTC
Signed-off-by: Zane van Iperen <zane@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

Comments

Michael Niedermayer March 10, 2020, 12:10 a.m. UTC | #1
On Mon, Mar 09, 2020 at 01:07:47PM +0000, Zane van Iperen wrote:
> Signed-off-by: Zane van Iperen <zane@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

works on x86-32/64, arm, mips, mingw32/64
will apply

thx

[...]
diff mbox series

Patch

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