reg tests: add g723.1
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Oct 2011 00:54:12 +0000 (02:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Oct 2011 00:58:18 +0000 (02:58 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/codec-regression.sh
tests/ref/acodec/g723_1 [new file with mode: 0644]

index f152e38..0c8ad67 100755 (executable)
@@ -304,6 +304,11 @@ do_audio_encoding ac3.rm "-vn -acodec ac3_fixed"
 #$tiny_psnr $pcm_dst $pcm_ref 2 1024
 fi
 
+if [ -n "$do_g723_1" ] ; then
+do_audio_encoding g723_1.tco "-b:a 6.3k -ac 1 -ar 8000 -acodec g723_1"
+do_audio_decoding
+fi
+
 if [ -n "$do_g726" ] ; then
 do_audio_encoding g726.wav "-b:a 32k -ac 1 -ar 8000 -acodec g726"
 do_audio_decoding
diff --git a/tests/ref/acodec/g723_1 b/tests/ref/acodec/g723_1
new file mode 100644 (file)
index 0000000..2e0f3ef
--- /dev/null
@@ -0,0 +1,4 @@
+5815887898457847a7717fbe60d9cfb6 *./tests/data/acodec/g723_1.tco
+4800 ./tests/data/acodec/g723_1.tco
+2cc429a4383e80070189cf1fb1132501 *./tests/data/g723_1.acodec.out.wav
+stddev: 8507.20 PSNR: 17.73 MAXDIFF:26473 bytes:    96000/  1058400