lossless jpeg regression test
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 12 Jul 2003 16:26:08 +0000 (16:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 12 Jul 2003 16:26:08 +0000 (16:26 +0000)
Originally committed as revision 2036 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

index 39c02fb..7989737 100644 (file)
@@ -38,6 +38,9 @@ stddev:  6.35 bytes:6993920
 07042f42b3119c39eb26537a84a451df *./data/a-mjpeg.avi
 f23a9e50a559e174766ee808c48fea22 *./data/out.yuv
 stddev:  8.87 bytes:7602176
+1d565db4a3a054261af95f2483a37cd6 *./data/a-ljpeg.avi
+799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
+stddev:  0.00 bytes:7602176
 4b37703d3dc03873f99603165c0fe11e *./data/a-rv10.rm
 255469fef47bee94cfb2e3385ebb736b *./data/out.yuv
 stddev: 13.42 bytes:7602176
index 0a50b05..bd58f8e 100755 (executable)
@@ -39,6 +39,7 @@ else
     do_mpeg4=y
     do_huffyuv=y
     do_mjpeg=y
+    do_ljpeg=y
     do_rv10=y
     do_mp2=y
     do_ac3=y
@@ -246,6 +247,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
 fi
 
 ###################################
+if [ -n "$do_ljpeg" ] ; then
+# ljpeg
+file=${outfile}ljpeg.avi
+do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec ljpeg $file
+
+# ljpeg decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst 
+fi
+
+###################################
 if [ -n "$do_rv10" ] ; then
 # rv10 encoding
 file=${outfile}rv10.rm
index 5ad7fef..7a3d4b6 100644 (file)
@@ -38,6 +38,9 @@ stddev:  4.69 bytes:6993920
 e9218a1db885fe0262e88f9df630307d *./data/a-mjpeg.avi
 a365b4da246ad68caf96b702b7f961a1 *./data/out.yuv
 stddev:  4.76 bytes:7602176
+defd90b44bced2772c6ca0d8eb75f668 *./data/a-ljpeg.avi
+dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
+stddev:  0.00 bytes:7602176
 1b46671251277c14f3a24a034648c458 *./data/a-rv10.rm
 e1923bc2940a017858e354c3fb0e6244 *./data/out.yuv
 stddev: 13.18 bytes:7602176