media: v4l: Add packed Bayer raw12 pixel formats
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 8 Aug 2017 13:29:58 +0000 (09:29 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 18:45:24 +0000 (14:45 -0400)
commitd1b3437ed780cd97b4b1300db96a4d8faae6fea1
tree841682f4a1b27d2b8f09651e374f5f81cb35aaa0
parent0de0ef6c3f2dd7e9965270683445917e10384ab0
media: v4l: Add packed Bayer raw12 pixel formats

These formats are compressed 12-bit raw bayer formats with four different
pixel orders. They are similar to 10-bit variants. The formats added by
this patch are

V4L2_PIX_FMT_SBGGR12P
V4L2_PIX_FMT_SGBRG12P
V4L2_PIX_FMT_SGRBG12P
V4L2_PIX_FMT_SRGGB12P

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/v4l/pixfmt-rgb.rst
Documentation/media/uapi/v4l/pixfmt-srggb12p.rst [new file with mode: 0644]
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h