Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: patched-ffmpeg-mt/tests/lavf-regression.sh

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: patched-ffmpeg-mt/tests/lavf-regression.sh
===================================================================
--- patched-ffmpeg-mt/tests/lavf-regression.sh (revision 41250)
+++ patched-ffmpeg-mt/tests/lavf-regression.sh (working copy)
@@ -27,12 +27,14 @@
do_image_formats()
{
- file=${outfile}lavf%02d.$1
+ outfile="$datadir/images/$1/"
+ mkdir -p "$outfile"
+ file=${outfile}%02d.$1
$echov $ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file
$ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file
- do_md5sum ${outfile}lavf02.$1 >> $logfile
+ do_md5sum ${outfile}02.$1 >> $logfile
do_ffmpeg_crc $file $3 -i $target_path/$file
- wc -c ${outfile}lavf02.$1 >> $logfile
+ wc -c ${outfile}02.$1 >> $logfile
}
do_audio_only()
@@ -207,11 +209,13 @@
# pix_fmt conversions
if [ -n "$do_pixfmt" ] ; then
+outfile="$datadir/pixfmt/"
+mkdir -p "$outfile"
conversions="yuv420p yuv422p yuv444p yuyv422 yuv410p yuv411p yuvj420p \
yuvj422p yuvj444p rgb24 bgr24 rgb32 rgb565 rgb555 gray monow \
monob yuv440p yuvj440p"
for pix_fmt in $conversions ; do
- file=${outfile}lavf-${pix_fmt}.yuv
+ file=${outfile}${pix_fmt}.yuv
do_ffmpeg_nocheck $file -r 1 -t 1 -f image2 -vcodec pgmyuv -i $raw_src \
-f rawvideo -s 352x288 -pix_fmt $pix_fmt $target_path/$raw_dst
do_ffmpeg $file -f rawvideo -s 352x288 -pix_fmt $pix_fmt -i $target_path/$raw_dst \

Powered by Google App Engine
This is Rietveld 408576698