[FFmpeg-cvslog] fate: add adpcm_ima_alp encoding test

Zane van Iperen git at videolan.org
Sun Oct 25 16:02:43 EET 2020


ffmpeg | branch: master | Zane van Iperen <zane at zanevaniperen.com> | Fri Oct 23 18:23:12 2020 +1000| [86267fccc6e75e833debc75a5b3083cc77ad7454] | committer: Zane van Iperen

fate: add adpcm_ima_alp encoding test

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86267fccc6e75e833debc75a5b3083cc77ad7454
---

 tests/fate/acodec.mak          | 4 ++++
 tests/ref/acodec/adpcm-ima_alp | 4 ++++
 2 files changed, 8 insertions(+)

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



More information about the ffmpeg-cvslog mailing list