Commit 7f66912f authored by Reimar Döffinger's avatar Reimar Döffinger

Fix gif regression test on big-endian.

Decode output must be converted to rgb24 to avoid CRC difference
due to palette being stored in machine endianness.
Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent 3532a87a
......@@ -174,13 +174,13 @@ 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_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"
do_image_formats gif "" "-pix_fmt rgb24"
do_image_formats gif "-pix_fmt rgb4_byte" "-pix_fmt rgb24"
do_image_formats gif "-pix_fmt bgr4_byte" "-pix_fmt rgb24"
do_image_formats gif "-pix_fmt rgb8" "-pix_fmt rgb24"
do_image_formats gif "-pix_fmt bgr8" "-pix_fmt rgb24"
do_image_formats gif "-pix_fmt gray" "-pix_fmt rgb24"
do_image_formats gif "-pix_fmt pal8" "-pix_fmt rgb24"
fi
if [ -n "$do_yuv4mpeg" ] ; then
......
......@@ -2,23 +2,23 @@ e6089fd4ef3b9df44090ab3650bdd810 *./tests/data/lavf/lavf.gif
2906401 ./tests/data/lavf/lavf.gif
./tests/data/lavf/lavf.gif CRC=0xe5605ff6
fc4792ac40319344dc7027668a403fc3 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0xf217a95e
./tests/data/images/gif/%02d.gif CRC=0x032e0034
81538 ./tests/data/images/gif/02.gif
759522b3025fcf8ed6aae582a18c5a14 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x879a13f3
./tests/data/images/gif/%02d.gif CRC=0x4c8f8a89
38715 ./tests/data/images/gif/02.gif
21e802ae7a2239bdbea6f915da1134b9 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0xe578993d
./tests/data/images/gif/%02d.gif CRC=0x4c8f8a89
38715 ./tests/data/images/gif/02.gif
fc4792ac40319344dc7027668a403fc3 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0xf217a95e
./tests/data/images/gif/%02d.gif CRC=0x032e0034
81538 ./tests/data/images/gif/02.gif
022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x526cd97f
./tests/data/images/gif/%02d.gif CRC=0x032e0034
81538 ./tests/data/images/gif/02.gif
e3392f49c55aa794d3dc49189f52f257 *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x46618ac3
./tests/data/images/gif/%02d.gif CRC=0x22d67c27
63144 ./tests/data/images/gif/02.gif
022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
./tests/data/images/gif/%02d.gif CRC=0x526cd97f
./tests/data/images/gif/%02d.gif CRC=0x032e0034
81538 ./tests/data/images/gif/02.gif
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