diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-09-01 13:05:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-09-01 13:05:21 +0000 |
commit | 8d876a433cd0b8137a952e36a8ebd2ed5a42cd21 (patch) | |
tree | 4de7e8ee823c4b49537182ec46bfb4d1bef0175e | |
parent | 1149acdc17a7a894b8f5f700caec0beb755065bb (diff) | |
download | ffmpeg-8d876a433cd0b8137a952e36a8ebd2ed5a42cd21.tar.gz |
asv2 regression test
Originally committed as revision 2188 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avienc.c | 1 | ||||
-rw-r--r-- | tests/ffmpeg.regression.ref | 3 | ||||
-rwxr-xr-x | tests/regression.sh | 11 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 3 |
4 files changed, 18 insertions, 0 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index a23fd60cc9..4fe726aed3 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -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 }, diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index b4d5290a7a..78a81f4a66 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -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 diff --git a/tests/regression.sh b/tests/regression.sh index 397bdc89a8..c4348695aa 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -50,6 +50,7 @@ else do_mpeg4adv=y do_mpeg1b=y do_asv1=y + do_asv2=y do_flv=y fi @@ -285,6 +286,16 @@ 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 file=${outfile}flv.flv diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index b01472477a..084ffbbf27 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -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 |