aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-10 02:54:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-10 02:58:18 +0200
commit028a79c1f142f9903c238846cc565edcef2d3802 (patch)
treea1e7757cb7b130256e1ba92ba4f88e13de942a14
parentef64c45c9468817c40dcf39eed5c3700f433db36 (diff)
downloadffmpeg-028a79c1f142f9903c238846cc565edcef2d3802.tar.gz
reg tests: add g723.1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/acodec/g723_14
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index f152e38351..0c8ad67208 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -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
index 0000000000..2e0f3ef54f
--- /dev/null
+++ b/tests/ref/acodec/g723_1
@@ -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