diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-07-25 14:36:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-07-25 14:36:58 +0000 |
commit | d8cbeba1563f3e481aba7a4c72fa54c9b961ebdc (patch) | |
tree | 2c5adbeb627bbfa7a45722b7c726a346d260b536 | |
parent | ddebfb15dc8ee01f7f8ff4e15e80b9843e550f00 (diff) | |
download | ffmpeg-d8cbeba1563f3e481aba7a4c72fa54c9b961ebdc.tar.gz |
yamaha adpcm regression test
Originally committed as revision 4473 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | tests/ffmpeg.regression.ref | 4 | ||||
-rw-r--r-- | tests/libav.regression.ref | 3 | ||||
-rwxr-xr-x | tests/regression.sh | 16 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 4 |
4 files changed, 27 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index 9a4484a5ce..b313decf69 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -150,3 +150,7 @@ d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav 267308 ./data/a-adpcm_ms.wav 91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav stddev:1050.18 PSNR:35.89 bytes:527360 +5d99e12e911b0f96d44a5792db23dbe2 *./data/a-adpcm_yam.wav +264236 ./data/a-adpcm_yam.wav +1b3ad9196ca3e97bfe17259b2e2db470 *./data/out.wav +stddev:18866.39 PSNR:10.81 bytes:528384 diff --git a/tests/libav.regression.ref b/tests/libav.regression.ref index b53a3dc997..42758a2f57 100644 --- a/tests/libav.regression.ref +++ b/tests/libav.regression.ref @@ -59,6 +59,9 @@ e2a6d6fae17394dfe87cb5bb8ae11837 *./data/b-libav.al 7a21ff174e3cca1702e0826c4ca0eccf *./data/b-libav.au 89112 ./data/b-libav.au ./data/b-libav.au CRC=2a09519c +20f9fa55b3c5bebe3520f5667ee4928b *./data/b-libav.mmf +22609 ./data/b-libav.mmf +./data/b-libav.mmf CRC=7e78cffe ce356ce2708cb6033ab5d762da93cfd4 *./data/b-libav-yuv420p.yuv 304128 ./data/b-libav-yuv420p.yuv ce356ce2708cb6033ab5d762da93cfd4 *./data/b-libav-yuv422p.yuv diff --git a/tests/regression.sh b/tests/regression.sh index ae9462efd0..d29220b4e9 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -76,6 +76,7 @@ else do_error=y do_svq1=y do_snow=y + do_adpcm_yam=y fi @@ -522,6 +523,16 @@ do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst fi ################################### +if [ -n "$do_adpcm_yam" ] ; then +# encoding +file=${outfile}adpcm_yam.wav +do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_yamaha $file + +# decoding +do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst +fi + +################################### # libav testing ################################### @@ -655,6 +666,11 @@ file=${outfile}libav.au do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file do_ffmpeg_crc $file -i $file +# mmf +file=${outfile}libav.mmf +do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file +do_ffmpeg_crc $file -i $file + #################### # pix_fmt conversions conversions="yuv420p yuv422p yuv444p yuv422 yuv410p yuv411p yuvj420p \ diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index a05e8b4fa4..824e6ba05e 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -150,3 +150,7 @@ d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav 267308 ./data/a-adpcm_ms.wav 91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav stddev:1050.18 PSNR:35.89 bytes:527360 +5d99e12e911b0f96d44a5792db23dbe2 *./data/a-adpcm_yam.wav +264236 ./data/a-adpcm_yam.wav +1b3ad9196ca3e97bfe17259b2e2db470 *./data/out.wav +stddev:18866.39 PSNR:10.81 bytes:528384 |