From 2b6bed2f2caed1193e00f8c355e7dab52e9f5ded Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 12 Sep 2016 23:04:52 +0300 Subject: vsp-lib: Use the gen-image -i argument Replace the now defunct -y argument with -i. Signed-off-by: Laurent Pinchart --- scripts/vsp-lib.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'scripts/vsp-lib.sh') diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index 00278e8..04ab7b5 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -155,9 +155,8 @@ reference_frame() { done [ x$__vsp_bru_inputs != x ] && options="$options -c $__vsp_bru_inputs" - $(format_v4l2_is_yuv $out_format) && options="$options -y" - $genimage -f $out_format -s $size -a $alpha $options -o $file \ + $genimage -i $in_format -f $out_format -s $size -a $alpha $options -o $file \ frames/frame-reference-1024x768.pnm } @@ -166,10 +165,7 @@ reference_histogram() { local format=$2 local size=$3 - local yuv= - $(format_v4l2_is_yuv $format) && yuv="-y" - - $genimage -f $format $yuv -s $size -H $file \ + $genimage -i $format -f $format -s $size -H $file \ frames/frame-reference-1024x768.pnm } @@ -657,7 +653,7 @@ generate_input_frame() { ;; esac - $(format_v4l2_is_yuv $format) && options="$options -y" + $(format_v4l2_is_yuv $format) && options="$options -i YUV444M" $genimage -f $format -s $size -a $alpha $options -o $file \ frames/frame-reference-1024x768.pnm -- cgit v1.2.3