Commit b4e021e8 authored by Michael Niedermayer's avatar Michael Niedermayer

jpeg-ls regression test

Originally committed as revision 4925 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f11288da
......@@ -97,6 +97,10 @@ stddev: 7.93 PSNR:30.13 bytes:7602176
6263462 ./data/a-ljpeg.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
7b3010f595177b428cb909fa1a10ef83 *./data/a-jpegls.avi
9085658 ./data/a-jpegls.avi
0f8637e9b861230aff9894825af83720 *./data/out.yuv
stddev: 2.84 PSNR:39.04 bytes:7602176
49c87af74432890cadb28b93da1c653d *./data/a-rv10.rm
677483 ./data/a-rv10.rm
f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
......
......@@ -60,6 +60,7 @@ else
do_huffyuv=y
do_mjpeg=y
do_ljpeg=y
do_jpegls=y
do_rv10=y
do_rv20=y
do_mp2=y
......@@ -396,6 +397,16 @@ do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec ljpeg -strict -1 $file
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
if [ -n "$do_jpegls" ] ; then
# jpeg ls
file=${outfile}jpegls.avi
do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec jpegls -vtag MJPG $file
# jpeg ls decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo -pix_fmt yuv420p $raw_dst
fi
###################################
if [ -n "$do_rv10" ] ; then
# rv10 encoding
......
......@@ -97,6 +97,10 @@ stddev: 4.38 PSNR:35.28 bytes:7602176
4765522 ./data/a-ljpeg.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
315493c7e63139c47f0197831475c4da *./data/a-jpegls.avi
8333472 ./data/a-jpegls.avi
a63d4e3ea1f0b0c0d44821da9e09b8f4 *./data/out.yuv
stddev: 0.67 PSNR:51.57 bytes:7602176
2123b30d786e6e6e25caf337f24e7834 *./data/a-rv10.rm
154850 ./data/a-rv10.rm
7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv
......
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