Browse Source

fate: add adpcm_ima_apm encoding test

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
tags/n4.4
Zane van Iperen 5 years ago
parent
commit
932edaaa60
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      tests/fate/acodec.mak
  2. +4
    -0
      tests/ref/acodec/adpcm-ima_apm

+ 2
- 0
tests/fate/acodec.mak View File

@@ -45,6 +45,7 @@ fate-acodec-pcm-u%le: FMT = nut
fate-acodec-pcm-f%be: FMT = au

FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_ADX, ADX) += adx
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_APM, APM) += ima_apm
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
@@ -59,6 +60,7 @@ fate-acodec-adpcm: $(FATE_ACODEC_ADPCM)
fate-acodec-adpcm-%: CODEC = adpcm_$(@:fate-acodec-adpcm-%=%)

fate-acodec-adpcm-adx: FMT = adx
fate-acodec-adpcm-ima_apm: FMT = apm
fate-acodec-adpcm-ima_qt: FMT = aiff
fate-acodec-adpcm-ima_ssi: FMT = kvag
fate-acodec-adpcm-ima_wav: FMT = wav


+ 4
- 0
tests/ref/acodec/adpcm-ima_apm View File

@@ -0,0 +1,4 @@
2e795c6c06baabe01ab92864d963e71b *tests/data/fate/acodec-adpcm-ima_apm.apm
264700 tests/data/fate/acodec-adpcm-ima_apm.apm
201607bf7610f062b9a1e6524354c569 *tests/data/fate/acodec-adpcm-ima_apm.out.wav
stddev: 904.76 PSNR: 37.20 MAXDIFF:34029 bytes: 1058400/ 1058400

Loading…
Cancel
Save