Commit cabc0ac7 authored by Reimar Döffinger's avatar Reimar Döffinger

Add gif and xbm regression tests.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent 6458a087
...@@ -169,9 +169,18 @@ do_streamed_images ppm ...@@ -169,9 +169,18 @@ do_streamed_images ppm
fi fi
if [ -n "$do_gif" ] ; then if [ -n "$do_gif" ] ; then
# this tests the gif muxer
file=${outfile}lavf.gif file=${outfile}lavf.gif
do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24 do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24
do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24
# and this the gif encoder
do_image_formats gif
do_image_formats gif "-pix_fmt rgb4_byte"
do_image_formats gif "-pix_fmt bgr4_byte"
do_image_formats gif "-pix_fmt rgb8"
do_image_formats gif "-pix_fmt bgr8"
do_image_formats gif "-pix_fmt gray"
do_image_formats gif "-pix_fmt pal8"
fi fi
if [ -n "$do_yuv4mpeg" ] ; then if [ -n "$do_yuv4mpeg" ] ; then
...@@ -196,6 +205,10 @@ do_image_formats png "-pix_fmt gray16be" ...@@ -196,6 +205,10 @@ do_image_formats png "-pix_fmt gray16be"
do_image_formats png "-pix_fmt rgb48be" do_image_formats png "-pix_fmt rgb48be"
fi fi
if [ -n "$do_xbm" ] ; then
do_image_formats xbm
fi
if [ -n "$do_bmp" ] ; then if [ -n "$do_bmp" ] ; then
do_image_formats bmp do_image_formats bmp
fi fi
......
e6089fd4ef3b9df44090ab3650bdd810 *./tests/data/lavf/lavf.gif e6089fd4ef3b9df44090ab3650bdd810 *./tests/data/lavf/lavf.gif
2906401 ./tests/data/lavf/lavf.gif 2906401 ./tests/data/lavf/lavf.gif
./tests/data/lavf/lavf.gif CRC=0xe5605ff6 ./tests/data/lavf/lavf.gif CRC=0xe5605ff6
fc4792ac40319344dc7027668a403fc3 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0xf217a95e
81538 ./tests/data/images/gif/02.gif
759522b3025fcf8ed6aae582a18c5a14 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x879a13f3
38715 ./tests/data/images/gif/02.gif
21e802ae7a2239bdbea6f915da1134b9 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0xe578993d
38715 ./tests/data/images/gif/02.gif
fc4792ac40319344dc7027668a403fc3 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0xf217a95e
81538 ./tests/data/images/gif/02.gif
022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x526cd97f
81538 ./tests/data/images/gif/02.gif
e3392f49c55aa794d3dc49189f52f257 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x46618ac3
63144 ./tests/data/images/gif/02.gif
022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x526cd97f
81538 ./tests/data/images/gif/02.gif
99c20fff5d17b698b4a25282aebc3c51 *./tests/data/images/xbm/02.xbm
./tests/data/images/xbm/%02d.xbm CRC=0x0f5aa5cb
76411 ./tests/data/images/xbm/02.xbm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment