]> git.sesse.net Git - ffmpeg/commitdiff
fate: add ADPCM AFC decoder test
authorPaul B Mahol <onemda@gmail.com>
Fri, 23 Nov 2012 12:03:14 +0000 (12:03 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 23 Nov 2012 17:30:05 +0000 (17:30 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tests/fate/adpcm.mak
tests/ref/fate/adpcm-afc [new file with mode: 0644]

index bb4745be0d3330b2836bb0498ff91746d9a5fa6d..9defa3be400afee555f1060240ab8681956e9a1c 100644 (file)
@@ -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 (file)
index 0000000..d1a1c36
--- /dev/null
@@ -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