Hi Sakari, On Tuesday 15 Nov 2016 15:45:32 Sakari Ailus wrote: > On Tue, Nov 15, 2016 at 06:39:41AM +0100, Edgar Thier wrote: > > From 10ce06db4ab3c037758b3cb5264007f59801f1a1 Mon Sep 17 00:00:00 2001 > > From: Edgar Thier <info@xxxxxxxxxxxxxx> > > Date: Tue, 15 Nov 2016 06:33:10 +0100 > > Subject: [PATCH] uvcvideo: Add bayer 16-bit format patterns > > > > Signed-off-by: Edgar Thier <info@xxxxxxxxxxxxxx> > > Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > > > --- > > drivers/media/usb/uvc/uvc_driver.c | 20 ++++++++++++++++++++ > > drivers/media/usb/uvc/uvcvideo.h | 12 ++++++++++++ > > 2 files changed, 32 insertions(+) > > > > diff --git a/drivers/media/usb/uvc/uvc_driver.c > > b/drivers/media/usb/uvc/uvc_driver.c index 87b2fc3b..9d1fc33 100644 > > --- a/drivers/media/usb/uvc/uvc_driver.c > > +++ b/drivers/media/usb/uvc/uvc_driver.c > > @@ -168,6 +168,26 @@ static struct uvc_format_desc uvc_fmts[] = { > > .guid = UVC_GUID_FORMAT_RW10, > > .fcc = V4L2_PIX_FMT_SRGGB10P, > > }, > > + { > > + .name = "Bayer 16-bit (SBGGR16)", > > Laurent, are these still needed? The V4L2 framework fills in the format > name... certainly out of scope for this patch though. I'll fix that. > > + .guid = UVC_GUID_FORMAT_BG16, > > + .fcc = V4L2_PIX_FMT_SBGGR16, > > + }, > > + { > > + .name = "Bayer 16-bit (SGBRG16)", > > + .guid = UVC_GUID_FORMAT_GB16, > > + .fcc = V4L2_PIX_FMT_SGBRG16, > > + }, > > + { > > + .name = "Bayer 16-bit (SRGGB16)", > > + .guid = UVC_GUID_FORMAT_RG16, > > + .fcc = V4L2_PIX_FMT_SRGGB16, > > + }, > > + { > > + .name = "Bayer 16-bit (SGRBG16)", > > + .guid = UVC_GUID_FORMAT_GR16, > > + .fcc = V4L2_PIX_FMT_SGRBG16, > > + }, > > }; -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html