yamaha adpcm regression test
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 25 Jul 2005 14:36:58 +0000 (14:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 25 Jul 2005 14:36:58 +0000 (14:36 +0000)
Originally committed as revision 4473 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffmpeg.regression.ref
tests/libav.regression.ref
tests/regression.sh
tests/rotozoom.regression.ref

index 9a4484a..b313dec 100644 (file)
@@ -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
index b53a3dc..42758a2 100644 (file)
@@ -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
index ae9462e..d29220b 100755 (executable)
@@ -76,6 +76,7 @@ else
     do_error=y
     do_svq1=y
     do_snow=y
+    do_adpcm_yam=y
 fi
 
 
@@ -521,6 +522,16 @@ do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_ms
 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 \
index a05e8b4..824e6ba 100644 (file)
@@ -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