asv2 regression test

Originally committed as revision 2188 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-09-01 13:05:21 +00:00
parent 1149acdc17
commit 8d876a433c
4 changed files with 18 additions and 0 deletions

View File

@ -168,6 +168,7 @@ const CodecTag codec_bmp_tags[] = {
{ CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '2') },
{ CODEC_ID_VP3, MKTAG('V', 'P', '3', '1') },
{ CODEC_ID_ASV1, MKTAG('A', 'S', 'V', '1') },
{ CODEC_ID_ASV2, MKTAG('A', 'S', 'V', '2') },
{ CODEC_ID_VCR1, MKTAG('V', 'C', 'R', '1') },
{ CODEC_ID_FFV1, MKTAG('F', 'F', 'V', '1') },
{ 0, 0 },

View File

@ -50,6 +50,9 @@ stddev: 13.42 bytes:7602176
89ad858355f9b0a92d024c5ba6e369dd *./data/a-asv1.avi
b3e1696d73071c8f7f0ff4e10c1677ca *./data/out.yuv
stddev: 19.19 bytes:7602176
3909db39c3d2e9a72a952254e8685ff7 *./data/a-asv2.avi
551b263bfb2acb9ea6dd2000f184494f *./data/out.yuv
stddev: 17.98 bytes:7602176
37a528aa9efc28c5c3cc8191da90e012 *./data/a-flv.flv
57ea0821ec4377e96647adc22717a4ba *./data/out.yuv
stddev: 8.19 bytes:7602176

View File

@ -50,6 +50,7 @@ else
do_mpeg4adv=y
do_mpeg1b=y
do_asv1=y
do_asv2=y
do_flv=y
fi
@ -284,6 +285,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec asv1 $file
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
if [ -n "$do_asv2" ] ; then
# asv2 encoding
file=${outfile}asv2.avi
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec asv2 $file
# asv2 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
if [ -n "$do_flv" ] ; then
# flv encoding

View File

@ -50,6 +50,9 @@ stddev: 13.18 bytes:7602176
9c4f5a4613a5595c90c6b99bf143b6a9 *./data/a-asv1.avi
4251d7f496bbf362251b065e840a1b73 *./data/out.yuv
stddev: 9.80 bytes:7602176
19652f2aac2d4d0379d37ce17e0bbea7 *./data/a-asv2.avi
7d887519f7884e7c49c591831c11ac50 *./data/out.yuv
stddev: 9.71 bytes:7602176
bee27a404ab6a1b7ab1d3551eb4f1877 *./data/a-flv.flv
86da6ee46d2df190b4a0d72523b14a25 *./data/out.yuv
stddev: 5.29 bytes:7602176