diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-12 23:04:52 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-13 00:39:16 +0300 |
commit | 2b6bed2f2caed1193e00f8c355e7dab52e9f5ded (patch) | |
tree | d9f048b04760031f7efbec343915a5ca2a372a13 | |
parent | fad3a8ff8cac2bf92666b0d65e8cbff4b6466efc (diff) |
vsp-lib: Use the gen-image -i argument
Replace the now defunct -y argument with -i.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rwxr-xr-x | scripts/vsp-lib.sh | 10 |
1 files changed, 3 insertions, 7 deletions
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 |