|
|
|
[PATCH 2/3] soc-camera: tw9910: modify output format | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Correct tw9910 output format is Cb - Y - Cr - Y
which is defined on ITU-R BT.656.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@xxxxxxxxxxx>
---
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:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[Linux Media] [Older V4L] [Linux DVB] [Video Disk Recorder] [Linux Kernel] [Asterisk] [Photo] [DCCP] [Netdev] [Xorg] [Util Linux NG] [Xfree86] [Free Photo Albums] [Fedora Users] [Fedora Women] [ALSA Users] [ALSA Devel] [SSH] [DVB Maintainers] [Linux USB] [Yosemite Information]
![]() |
![]() |