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

Side by Side Diff: source/patched-ffmpeg-mt/tests/lavfi-regression.sh

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # automatic regression test for libavfilter 3 # automatic regression test for libavfilter
4 # 4 #
5 # 5 #
6 #set -x 6 #set -x
7 7
8 set -e 8 set -e
9 9
10 . $(dirname $0)/regression-funcs.sh 10 . $(dirname $0)/regression-funcs.sh
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 do_video_encoding $output "" \ 52 do_video_encoding $output "" \
53 "-vf slicify=random,format=$pix_fmt,$filter=$filter_args -vcodec raw video -pix_fmt $pix_fmt" 53 "-vf slicify=random,format=$pix_fmt,$filter=$filter_args -vcodec raw video -pix_fmt $pix_fmt"
54 rm ${outfile}${output} 54 rm ${outfile}${output}
55 done 55 done
56 56
57 rm $exclude_fmts $out_fmts 57 rm $exclude_fmts $out_fmts
58 } 58 }
59 59
60 # all these filters have exactly one input and exactly one output 60 # all these filters have exactly one input and exactly one output
61 do_lavfi_pixfmts "crop" "100:100:100:100" 61 do_lavfi_pixfmts "crop" "100:100:100:100"
62 do_lavfi_pixfmts "hflip" ""
62 do_lavfi_pixfmts "null" "" 63 do_lavfi_pixfmts "null" ""
63 do_lavfi_pixfmts "pad" "500:400:20:20" 64 do_lavfi_pixfmts "pad" "500:400:20:20"
64 do_lavfi_pixfmts "scale" "200:100" 65 do_lavfi_pixfmts "scale" "200:100"
65 do_lavfi_pixfmts "vflip" "" 66 do_lavfi_pixfmts "vflip" ""
66 67
67 if [ -n "$do_pixdesc_be" ] || [ -n "$do_pixdesc_le" ]; then 68 if [ -n "$do_pixdesc_be" ] || [ -n "$do_pixdesc_le" ]; then
68 pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2 | sort)" 69 pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2 | sort)"
69 for pix_fmt in $pix_fmts; do 70 for pix_fmt in $pix_fmts; do
70 output=lavfi_pixdesc-${pix_fmt}.nut 71 output=lavfi_pixdesc-${pix_fmt}.nut
71 do_video_encoding $output "" \ 72 do_video_encoding $output "" \
72 "-vf slicify=random,format=$pix_fmt,pixdesctest -vcodec rawvideo -pi x_fmt $pix_fmt" 73 "-vf slicify=random,format=$pix_fmt,pixdesctest -vcodec rawvideo -pi x_fmt $pix_fmt"
73 rm ${outfile}${output} 74 rm ${outfile}${output}
74 done 75 done
75 fi 76 fi
76 77
77 # TODO: add tests for 78 # TODO: add tests for
78 # direct rendering, 79 # direct rendering,
79 # chains with feedback loops 80 # chains with feedback loops
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/tests/lavf-regression.sh ('k') | source/patched-ffmpeg-mt/tests/ref/fate/ansi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698