diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-03-06 08:32:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 09:30:38 -0300 |
commit | 507910799160e85eac5e7729e0d2f1ba26f6a8cf (patch) | |
tree | e21dd07da18bbc706742ca20c6a68e0103945273 /drivers/media/video/uvc/uvc_driver.c | |
parent | fb08a5cd57bfd6daf90a850c8081d6805a8b9900 (diff) | |
download | linux-507910799160e85eac5e7729e0d2f1ba26f6a8cf.tar.bz2 |
[media] uvcvideo: Add support for V4L2_PIX_FMT_RGB565
The TomTom navigation system used in the Sony XNV 660BT and 770BT
reports an RGB565 (RGBP) format, support it in the driver.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvc_driver.c')
-rw-r--r-- | drivers/media/video/uvc/uvc_driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index 6459b8cba223..61e5137dbcb7 100644 --- a/drivers/media/video/uvc/uvc_driver.c +++ b/drivers/media/video/uvc/uvc_driver.c @@ -103,6 +103,11 @@ static struct uvc_format_desc uvc_fmts[] = { .guid = UVC_GUID_FORMAT_BY8, .fcc = V4L2_PIX_FMT_SBGGR8, }, + { + .name = "RGB565", + .guid = UVC_GUID_FORMAT_RGBP, + .fcc = V4L2_PIX_FMT_RGB565, + }, }; /* ------------------------------------------------------------------------ |