From: Diego Biurrun Date: Fri, 1 Dec 2006 10:53:02 +0000 (+0000) Subject: Use a function for streamed images. X-Git-Tag: v0.5~10881 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d449d1bc64248dd91aaecff68d7ddab7ba9f4b82;p=platform%2Fupstream%2Flibav.git Use a function for streamed images. Originally committed as revision 7196 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/tests/regression.sh b/tests/regression.sh index 3204f1a..ee0099f 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -165,6 +165,13 @@ do_video_encoding() do_ffmpeg $file -y $1 -f pgmyuv -i $raw_src $2 $file } +do_streamed_images() +{ + file=${outfile}libav.$1 + do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file + do_ffmpeg_crc $file -f image2pipe -i $file +} + do_audio_only() { file=${outfile}libav.$1 @@ -699,19 +706,13 @@ do_ffmpeg_crc $file -i $file #do_ffmpeg_crc $file -i $file # pbmpipe -file=${outfile}libav.pbm -do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file -do_ffmpeg_crc $file -f image2pipe -i $file +do_streamed_images pbm # pgmpipe -file=${outfile}libav.pgm -do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file -do_ffmpeg_crc $file -f image2pipe -i $file +do_streamed_images pgm # ppmpipe -file=${outfile}libav.ppm -do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file -do_ffmpeg_crc $file -f image2pipe -i $file +do_streamed_images ppm # gif file=${outfile}libav.gif