aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2020-10-23 18:23:12 +1000
committerZane van Iperen <zane@zanevaniperen.com>2020-10-25 23:44:27 +1000
commit86267fccc6e75e833debc75a5b3083cc77ad7454 (patch)
tree3a7919de55f08e345384c19c682ba6cd37aaeb71 /tests
parent7a11cc29d6e798c1a068d799867ba1004f896dfa (diff)
downloadffmpeg-86267fccc6e75e833debc75a5b3083cc77ad7454.tar.gz
fate: add adpcm_ima_alp encoding test
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/acodec.mak4
-rw-r--r--tests/ref/acodec/adpcm-ima_alp4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 8ac71b1b27..35b597859c 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -47,6 +47,7 @@ fate-acodec-pcm-f%be: FMT = au
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_ADX, ADX) += adx
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_ARGO, ARGO_ASF) += argo
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_APM, APM) += ima_apm
+FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_ALP, ALP) += ima_alp
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_QT, AIFF) += ima_qt
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_SSI, KVAG) += ima_ssi
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_WAV, WAV) += ima_wav
@@ -74,6 +75,9 @@ fate-acodec-adpcm-yamaha: FMT = wav
fate-acodec-adpcm-swf-wav: FMT = wav
fate-acodec-adpcm-swf-wav: CODEC = adpcm_swf
+fate-acodec-adpcm-ima_alp: FMT = alp
+fate-acodec-adpcm-ima_alp: ENCOPTS = -type pcm
+
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_ADX, ADX) += adx
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_IMA_QT, AIFF) += ima_qt
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_IMA_WAV, WAV) += ima_wav
diff --git a/tests/ref/acodec/adpcm-ima_alp b/tests/ref/acodec/adpcm-ima_alp
new file mode 100644
index 0000000000..a4e7143277
--- /dev/null
+++ b/tests/ref/acodec/adpcm-ima_alp
@@ -0,0 +1,4 @@
+d84466bdfbe6405fa31e44df255f6aad *tests/data/fate/acodec-adpcm-ima_alp.alp
+264620 tests/data/fate/acodec-adpcm-ima_alp.alp
+d60c48654568a1cf0abd56b565b12f00 *tests/data/fate/acodec-adpcm-ima_alp.out.wav
+stddev: 1467.15 PSNR: 33.00 MAXDIFF:33866 bytes: 1058400/ 1058400