From 6f18fe8ce7d6509fb09c4a498b9e980ee827b310 Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Tue, 19 Aug 2008 11:26:43 +0000 Subject: [PATCH] Add regression tests for F32LE, F64BE and F64LE PCM codecs. Originally committed as revision 14838 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/ffmpeg.regression.ref | 12 ++++++++++++ tests/regression.sh | 3 +++ tests/rotozoom.regression.ref | 12 ++++++++++++ 3 files changed, 27 insertions(+) diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index 16ad7139c7..141be8f4bb 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -265,6 +265,18 @@ stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444 2116824 ./tests/data/a-pcm_f32be.au 95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.vsynth.out.wav stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444 +2e38d92746dc232b6d9947271c1d6b18 *./tests/data/a-pcm_f32le.wav +529256 ./tests/data/a-pcm_f32le.wav +d50de60eddcebf645fb73c3468ce3dc5 *./tests/data/pcm.vsynth.out.wav +stddev:10682.28 PSNR: 15.75 bytes: 264644/ 1058444 +7e537c073be3660dc389ea94b55682a6 *./tests/data/a-pcm_f64be.au +529224 ./tests/data/a-pcm_f64be.au +060e8edf8a21807a87e54edba4a9bfe8 *./tests/data/pcm.vsynth.out.wav +stddev:10705.84 PSNR: 15.73 bytes: 132344/ 1058444 +6e2bbd21c2d4ba083e8de45017161141 *./tests/data/a-pcm_f64le.wav +529256 ./tests/data/a-pcm_f64le.wav +060e8edf8a21807a87e54edba4a9bfe8 *./tests/data/pcm.vsynth.out.wav +stddev:10705.84 PSNR: 15.73 bytes: 132344/ 1058444 8c74234928ed425b1171211a89f67ead *./tests/data/a-pcm_zork.wav 529256 ./tests/data/a-pcm_zork.wav 864c8c866ac25642c29a13b122c70709 *./tests/data/pcm.vsynth.out.wav diff --git a/tests/regression.sh b/tests/regression.sh index b71012a57d..e3178cd3c8 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -460,6 +460,9 @@ do_audio_enc_dec wav s32 pcm_s32le #do_audio_enc_dec ??? s32 pcm_u32be #no compatible muxer or demuxer #do_audio_enc_dec ??? s32 pcm_u32le #no compatible muxer or demuxer do_audio_enc_dec au flt pcm_f32be +do_audio_enc_dec wav flt pcm_f32le +do_audio_enc_dec au dbl pcm_f64be +do_audio_enc_dec wav dbl pcm_f64le do_audio_enc_dec wav s16 pcm_zork do_audio_enc_dec 302 s16 pcm_s24daud "-ac 6 -ar 96000" fi diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index 2dac4af1d3..88945ec844 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -265,6 +265,18 @@ stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444 2116824 ./tests/data/a-pcm_f32be.au 95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/pcm.rotozoom.out.wav stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444 +2e38d92746dc232b6d9947271c1d6b18 *./tests/data/a-pcm_f32le.wav +529256 ./tests/data/a-pcm_f32le.wav +d50de60eddcebf645fb73c3468ce3dc5 *./tests/data/pcm.rotozoom.out.wav +stddev:10682.28 PSNR: 15.75 bytes: 264644/ 1058444 +7e537c073be3660dc389ea94b55682a6 *./tests/data/a-pcm_f64be.au +529224 ./tests/data/a-pcm_f64be.au +060e8edf8a21807a87e54edba4a9bfe8 *./tests/data/pcm.rotozoom.out.wav +stddev:10705.84 PSNR: 15.73 bytes: 132344/ 1058444 +6e2bbd21c2d4ba083e8de45017161141 *./tests/data/a-pcm_f64le.wav +529256 ./tests/data/a-pcm_f64le.wav +060e8edf8a21807a87e54edba4a9bfe8 *./tests/data/pcm.rotozoom.out.wav +stddev:10705.84 PSNR: 15.73 bytes: 132344/ 1058444 8c74234928ed425b1171211a89f67ead *./tests/data/a-pcm_zork.wav 529256 ./tests/data/a-pcm_zork.wav 864c8c866ac25642c29a13b122c70709 *./tests/data/pcm.rotozoom.out.wav