[PATCH 2/3] soc-camera: tw9910: modify output format
Kuninori Morimoto <[email protected]>
| Newsgroups | gmane.comp.video.video4linux |
|---|---|
| Message-ID | <uk4xzm5sb.wl%[email protected]> |
Correct tw9910 output format is Cb - Y - Cr - Y which is defined on ITU-R BT.656. Signed-off-by: Kuninori Morimoto <[email protected]> --- drivers/media/video/tw9910.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c index 426f6fc..984af3b 100644 --- a/drivers/media/video/tw9910.c +++ b/drivers/media/video/tw9910.c @@ -240,7 +240,7 @@ struct tw9910_priv { }; static const enum v4l2_imgbus_pixelcode tw9910_color_codes[] = { - V4L2_IMGBUS_FMT_VYUY, + V4L2_IMGBUS_FMT_UYVY, }; static const struct tw9910_scale_ctrl tw9910_ntsc_scales[] = { @@ -814,7 +814,7 @@ static int tw9910_g_fmt(struct v4l2_subdev *sd, imgf->width = priv->scale->width; imgf->height = priv->scale->height; - imgf->code = V4L2_IMGBUS_FMT_VYUY; + imgf->code = V4L2_IMGBUS_FMT_UYVY; imgf->field = V4L2_FIELD_INTERLACED; return 0; -- 1.6.3.3 -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list