[FFmpeg-devel] [PATCH 5/5] fate: add test for adpcm_swf in wav

Zane van Iperen zane at zanevaniperen.com
Fri Oct 16 09:23:06 EEST 2020


Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
 tests/fate/acodec.mak          | 7 +++++--
 tests/ref/acodec/adpcm-swf-flv | 4 ++++
 tests/ref/acodec/adpcm-swf-wav | 4 ++++
 3 files changed, 13 insertions(+), 2 deletions(-)
 create mode 100644 tests/ref/acodec/adpcm-swf-flv
 create mode 100644 tests/ref/acodec/adpcm-swf-wav

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 50932095dc..e14c3fe99e 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -51,7 +51,8 @@ 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
 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_MS,      WAV)      += ms
-FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF,     FLV)      += swf
+FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF,     FLV)      += swf-flv
+FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF,     WAV)      += swf-wav
 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_YAMAHA,  WAV)      += yamaha
 
 FATE_ACODEC_ADPCM := $(FATE_ACODEC_ADPCM-yes:%=fate-acodec-adpcm-%)
@@ -59,6 +60,7 @@ FATE_ACODEC += $(FATE_ACODEC_ADPCM)
 fate-acodec-adpcm: $(FATE_ACODEC_ADPCM)
 
 fate-acodec-adpcm-%: CODEC = adpcm_$(@:fate-acodec-adpcm-%=%)
+fate-acodec-adpcm-swf-%: CODEC = adpcm_swf
 
 fate-acodec-adpcm-adx:     FMT = adx
 fate-acodec-adpcm-argo:    FMT = argo_asf
@@ -67,7 +69,8 @@ fate-acodec-adpcm-ima_qt:  FMT = aiff
 fate-acodec-adpcm-ima_ssi: FMT = kvag
 fate-acodec-adpcm-ima_wav: FMT = wav
 fate-acodec-adpcm-ms:      FMT = wav
-fate-acodec-adpcm-swf:     FMT = flv
+fate-acodec-adpcm-swf-flv: FMT = flv
+fate-acodec-adpcm-swf-wav: FMT = wav
 fate-acodec-adpcm-yamaha:  FMT = wav
 
 FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_ADX,     ADX)  += adx
diff --git a/tests/ref/acodec/adpcm-swf-flv b/tests/ref/acodec/adpcm-swf-flv
new file mode 100644
index 0000000000..efdc7725be
--- /dev/null
+++ b/tests/ref/acodec/adpcm-swf-flv
@@ -0,0 +1,4 @@
+42d4639866ed4d692eaf126228a4fa2a *tests/data/fate/acodec-adpcm-swf-flv.flv
+269166 tests/data/fate/acodec-adpcm-swf-flv.flv
+628089745a7059ae4055c2515b6d668b *tests/data/fate/acodec-adpcm-swf-flv.out.wav
+stddev:  933.58 PSNR: 36.93 MAXDIFF:51119 bytes:  1058400/  1064960
diff --git a/tests/ref/acodec/adpcm-swf-wav b/tests/ref/acodec/adpcm-swf-wav
new file mode 100644
index 0000000000..553e0bac54
--- /dev/null
+++ b/tests/ref/acodec/adpcm-swf-wav
@@ -0,0 +1,4 @@
+af5ffee897bad0174f4c7fc16c54aa5d *tests/data/fate/acodec-adpcm-swf-wav.wav
+266948 tests/data/fate/acodec-adpcm-swf-wav.wav
+628089745a7059ae4055c2515b6d668b *tests/data/fate/acodec-adpcm-swf-wav.out.wav
+stddev:  933.58 PSNR: 36.93 MAXDIFF:51119 bytes:  1058400/  1064960
-- 
2.25.4




More information about the ffmpeg-devel mailing list