mirror of https://git.ffmpeg.org/ffmpeg.git
yamaha adpcm regression test
Originally committed as revision 4473 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ddebfb15dc
commit
d8cbeba156
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue