[FFmpeg-devel] [PATCH] Add roqaudio regression test.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Apr 8 21:11:05 CEST 2012


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 tests/codec-regression.sh |    5 +++++
 tests/ref/acodec/roqaudio |    4 ++++
 2 files changed, 9 insertions(+)
 create mode 100644 tests/ref/acodec/roqaudio

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 2696a80..d44395c 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -458,6 +458,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
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list