[libav-commits] fate: add ADX encoding/decoding test

Justin Ruggles git at libav.org
Wed Jan 4 00:53:20 CET 2012


Module: libav
Branch: master
Commit: 3e57573fce51f219ba37a081baec10f72b45c42e

Author:    Justin Ruggles <justin.ruggles at gmail.com>
Committer: Justin Ruggles <justin.ruggles at gmail.com>
Date:      Mon Dec 19 11:31:14 2011 -0500

fate: add ADX encoding/decoding test

---

 tests/codec-regression.sh  |    5 +++++
 tests/ref/acodec/adpcm_adx |    4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 220593b..5fd90f5 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -311,6 +311,11 @@ do_audio_encoding g726.wav "-b 32k -ac 1 -ar 8000 -acodec g726"
 do_audio_decoding
 fi
 
+if [ -n "$do_adpcm_adx" ] ; then
+do_audio_encoding adpcm_adx.adx "-acodec adpcm_adx"
+do_audio_decoding
+fi
+
 if [ -n "$do_adpcm_ima_wav" ] ; then
 do_audio_encoding adpcm_ima.wav "-acodec adpcm_ima_wav"
 do_audio_decoding
diff --git a/tests/ref/acodec/adpcm_adx b/tests/ref/acodec/adpcm_adx
new file mode 100644
index 0000000..8d86698
--- /dev/null
+++ b/tests/ref/acodec/adpcm_adx
@@ -0,0 +1,4 @@
+0a30509d9296b857e134b762b76dbc31 *./tests/data/acodec/adpcm_adx.adx
+297720 ./tests/data/acodec/adpcm_adx.adx
+2dbc601ed5259f4d74dc48ccd8da7eaf *./tests/data/adpcm_adx.acodec.out.wav
+stddev: 6989.46 PSNR: 19.44 MAXDIFF:65398 bytes:  1058432/  1058400



More information about the libav-commits mailing list