vsp-lib: Don't average chroma when generating test input frames
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Sep 2016 21:20:08 +0000 (00:20 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Sep 2016 21:39:16 +0000 (00:39 +0300)
This avoids double-averaging due to chroma interpolation at the RPF.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
scripts/vsp-lib.sh

index 04ab7b5..6ce701a 100755 (executable)
@@ -653,7 +653,7 @@ generate_input_frame() {
                ;;
        esac
 
-       $(format_v4l2_is_yuv $format) && options="$options -i YUV444M"
+       $(format_v4l2_is_yuv $format) && options="$options -C -i YUV444M"
 
        $genimage -f $format -s $size -a $alpha $options -o $file \
                frames/frame-reference-1024x768.pnm