jpeg-ls regression test
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Feb 2006 15:34:09 +0000 (15:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Feb 2006 15:34:09 +0000 (15:34 +0000)
Originally committed as revision 4925 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffmpeg.regression.ref
tests/regression.sh
tests/rotozoom.regression.ref

index c85a7e3640499ae462cc1d64c04f67c21d011e7e..3cd459c705635e04460468d4626ae31f26d5fc57 100644 (file)
@@ -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
index 132a7cd1dc214854a3e9fa3ee40e0f880596a340..239d5c742334c65e701ec3e197cd228afaabb924 100755 (executable)
@@ -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
index 9cfb0dafe2600607b22d527dcf75de7b65c346f0..94138727068453243337d90213e06a2a641f1e9f 100644 (file)
@@ -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