aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-10-06 22:47:33 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-10-06 22:47:33 +0000
commit9797ce58b7967b94cf70028e4a8159d654084695 (patch)
tree8c3724e25e2eaa3c109236f047c942c7897262d9 /tests
parent96da1c51f6cc82288e05cf3fc53c10f7a94b9a21 (diff)
downloadffmpeg-9797ce58b7967b94cf70028e4a8159d654084695.tar.gz
Add ALAC encoding and decoding regression tests.
Originally committed as revision 20188 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/rotozoom.regression.ref4
-rw-r--r--tests/vsynth.regression.ref4
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 65273aa76e..49f4ce3a9d 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -431,6 +431,11 @@ do_audio_encoding adpcm_swf.flv "-ar 44100" "-acodec adpcm_swf"
do_audio_decoding
fi
+if [ -n "$do_alac" ] ; then
+do_audio_encoding alac.m4a "-ar 44100" "-acodec alac -compression_level 1"
+do_audio_decoding
+fi
+
if [ -n "$do_flac" ] ; then
do_audio_encoding flac.flac "-ar 44100" "-acodec flac -compression_level 2"
do_audio_decoding
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 665de75f63..a6dd7daff6 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -213,6 +213,10 @@ stddev: 1247.64 PSNR: 34.40 bytes: 1065004/ 1058444
269166 ./tests/data/a-adpcm_swf.flv
628089745a7059ae4055c2515b6d668b *./tests/data/adpcm_swf.rotozoom.out.wav
stddev: 933.65 PSNR: 36.92 bytes: 1065004/ 1058444
+c68f649777ab8e7c9a0f1f221451d3ad *./tests/data/a-alac.m4a
+389386 ./tests/data/a-alac.m4a
+95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/alac.rotozoom.out.wav
+stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
7781a016edfc242a39e4d65af02d861a *./tests/data/a-flac.flac
353368 ./tests/data/a-flac.flac
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/flac.rotozoom.out.wav
diff --git a/tests/vsynth.regression.ref b/tests/vsynth.regression.ref
index 5df7b0d95f..971abb4eea 100644
--- a/tests/vsynth.regression.ref
+++ b/tests/vsynth.regression.ref
@@ -213,6 +213,10 @@ stddev: 1247.64 PSNR: 34.40 bytes: 1065004/ 1058444
269166 ./tests/data/a-adpcm_swf.flv
628089745a7059ae4055c2515b6d668b *./tests/data/adpcm_swf.vsynth.out.wav
stddev: 933.65 PSNR: 36.92 bytes: 1065004/ 1058444
+c68f649777ab8e7c9a0f1f221451d3ad *./tests/data/a-alac.m4a
+389386 ./tests/data/a-alac.m4a
+95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/alac.vsynth.out.wav
+stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
7781a016edfc242a39e4d65af02d861a *./tests/data/a-flac.flac
353368 ./tests/data/a-flac.flac
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/flac.vsynth.out.wav