aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-06 23:59:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-06 23:59:10 +0000
commit6d3d8daef9bae5fb8e186a48e4ce9acad7c1b0db (patch)
treef86901552f6886d26f43537b3ea5e20c19d0f0cf
parenta1fd944f7389dffbd649db7c68fd466ad32d998c (diff)
downloadffmpeg-6d3d8daef9bae5fb8e186a48e4ce9acad7c1b0db.tar.gz
wma regression test
Originally committed as revision 7865 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref10
-rwxr-xr-xtests/regression.sh14
-rw-r--r--tests/rotozoom.regression.ref10
3 files changed, 34 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 9fc02bf8b4..65cf13251e 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -188,3 +188,13 @@ c3382f03ce2efb5d475240d288a33898 *./data/a-flac.flac
353368 ./data/a-flac.flac
c4228df189aad9567a037727d0e763e4 *./data/out.wav
stddev: 33.31 PSNR:65.87 bytes:1040384
+75d124394e3e8b733f5563bd282eec85 *./data/a-wmav1.asf
+99596 ./data/a-wmav1.asf
+2ab193df22bb473e61015e56ac11faf3 *./data/out.wav
+stddev:12251.50 PSNR:14.56 bytes:1056768
+stddev:2106.00 PSNR:29.85 bytes:1048576
+23d66614fc8bd437e3ca8c1c6c345a33 *./data/a-wmav2.asf
+99602 ./data/a-wmav2.asf
+8d05d345bc14153f3d0da95fdf34e084 *./data/out.wav
+stddev:12255.92 PSNR:14.55 bytes:1056768
+stddev:2099.31 PSNR:29.88 bytes:1048576
diff --git a/tests/regression.sh b/tests/regression.sh
index bace8650aa..9b5851f70d 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -69,6 +69,7 @@ else
do_adpcm_ima_wav=y
do_adpcm_ms=y
do_flac=y
+ do_wma=y
do_rc=y
do_mpeg4adv=y
do_mpeg4thread=y
@@ -542,6 +543,19 @@ do_audio_decoding
fi
###################################
+if [ -n "$do_wma" ] ; then
+# wmav1
+do_audio_encoding wmav1.asf "-ar 44100" "-acodec wmav1"
+do_audio_decoding
+$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
+# wmav2
+do_audio_encoding wmav2.asf "-ar 44100" "-acodec wmav2"
+do_audio_decoding
+$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
+fi
+
+
+###################################
# libavformat testing
###################################
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 3aea58c7a3..23b3b6c951 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -188,3 +188,13 @@ c3382f03ce2efb5d475240d288a33898 *./data/a-flac.flac
353368 ./data/a-flac.flac
c4228df189aad9567a037727d0e763e4 *./data/out.wav
stddev: 33.31 PSNR:65.87 bytes:1040384
+75d124394e3e8b733f5563bd282eec85 *./data/a-wmav1.asf
+99596 ./data/a-wmav1.asf
+2ab193df22bb473e61015e56ac11faf3 *./data/out.wav
+stddev:12251.50 PSNR:14.56 bytes:1056768
+stddev:2106.00 PSNR:29.85 bytes:1048576
+23d66614fc8bd437e3ca8c1c6c345a33 *./data/a-wmav2.asf
+99602 ./data/a-wmav2.asf
+8d05d345bc14153f3d0da95fdf34e084 *./data/out.wav
+stddev:12255.92 PSNR:14.55 bytes:1056768
+stddev:2099.31 PSNR:29.88 bytes:1048576