[FFmpeg-cvslog] Add roqaudio regression test.

Reimar Döffinger git at videolan.org
Mon Apr 9 00:19:36 CEST 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Apr  8 21:10:44 2012 +0200| [c311afca0af5497c8e526fa8711dc9bf519f6a2f] | committer: Reimar Döffinger

Add roqaudio regression test.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c311afca0af5497c8e526fa8711dc9bf519f6a2f
---

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

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 3bf7edf..bc6e297 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -453,6 +453,11 @@ do_audio_decoding "-ac 2"
 $tiny_psnr $pcm_dst $pcm_ref 2 640
 fi
 
+if [ -n "$do_roqaudio" ] ; then
+do_audio_encoding roqaudio.roq "-ar 22050 -acodec roq_dpcm"
+do_audio_decoding "-ar 44100"
+fi
+
 # AAC and nellymoser are not bit-exact across platforms,
 # they were moved to enc_dec_pcm tests instead.
 
diff --git a/tests/ref/acodec/roqaudio b/tests/ref/acodec/roqaudio
new file mode 100644
index 0000000..fe66bde
--- /dev/null
+++ b/tests/ref/acodec/roqaudio
@@ -0,0 +1,4 @@
+3fe1e3c0feeb3963685e07c75d136ed0 *./tests/data/acodec/roqaudio.roq
+265992 ./tests/data/acodec/roqaudio.roq
+f27d1906e28e80f0955b75cc4ffe3601 *./tests/data/roqaudio.acodec.out.wav
+stddev: 4610.92 PSNR: 23.05 MAXDIFF:43883 bytes:  1058336/  1058400



More information about the ffmpeg-cvslog mailing list