Commit 9797ce58 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

Add ALAC encoding and decoding regression tests.

Originally committed as revision 20188 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 96da1c51
......@@ -194,6 +194,7 @@ CODEC_TESTS = $(addprefix regtest-, \
adpcm_ms \
adpcm_yam \
adpcm_swf \
alac \
flac \
wma \
pcm \
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment