lossless jpeg regression test

Originally committed as revision 2036 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 22 years ago
parent 445f1b83ad
commit 3b37408be8
  1. 3
      tests/ffmpeg.regression.ref
  2. 11
      tests/regression.sh
  3. 3
      tests/rotozoom.regression.ref

@ -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

@ -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
@ -245,6 +246,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec mjpeg $file
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

@ -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

Loading…
Cancel
Save