[FFmpeg-devel] [PATCH 2/2] fate: add ADPCM AFC decoder test

Paul B Mahol onemda at gmail.com
Fri Nov 23 13:04:11 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/adpcm.mak     |  3 +++
 tests/ref/fate/adpcm-afc | 13 +++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 tests/ref/fate/adpcm-afc

diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index bb4745b..9defa3b 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -1,3 +1,6 @@
+FATE_ADPCM-$(call DEMDEC, AST, ADPCM_AFC) += fate-adpcm-afc
+fate-adpcm-afc: CMD = framecrc -i $(SAMPLES)/ast/demo11_02_partial.ast
+
 FATE_ADPCM-$(call DEMDEC, WAV, ADPCM_CT) += fate-adpcm-creative
 fate-adpcm-creative: CMD = md5 -i $(SAMPLES)/creative/intro-partial.wav -f s16le
 
diff --git a/tests/ref/fate/adpcm-afc b/tests/ref/fate/adpcm-afc
new file mode 100644
index 0000000..d1a1c36
--- /dev/null
+++ b/tests/ref/fate/adpcm-afc
@@ -0,0 +1,13 @@
+#tb 0: 1/44100
+0,          0,          0,    17920,    71680, 0x52373bc9
+0,      17920,      17920,    17920,    71680, 0x1f854b27
+0,      35840,      35840,    17920,    71680, 0x3d265a6d
+0,      53760,      53760,    17920,    71680, 0x7e38d624
+0,      71680,      71680,    17920,    71680, 0x003b7616
+0,      89600,      89600,    17920,    71680, 0x9fed7ca7
+0,     107520,     107520,    17920,    71680, 0x22af668c
+0,     125440,     125440,    17920,    71680, 0xefd95c4a
+0,     143360,     143360,    17920,    71680, 0x8b68142e
+0,     161280,     161280,    17920,    71680, 0x0a0614fa
+0,     179200,     179200,    17920,    71680, 0x22ababa3
+0,     197120,     197120,    17920,    71680, 0xda4b1708
-- 
1.7.11.4



More information about the ffmpeg-devel mailing list