media: v4l: Add 14-bit raw greyscale pixel format
authorDaniel Glöckner <dg@emlix.com>
Mon, 24 Feb 2020 17:52:21 +0000 (18:52 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 2 Jul 2020 14:35:32 +0000 (15:35 +0100)
commit9a0620638218a4aa1310740880f9b4b6763cc4f7
tree05403332cfebc2095c5c6edcf5bfcbc3f2d4fe09
parenta353d7aa57579133017c6029a4f8213b05d1a89a
media: v4l: Add 14-bit raw greyscale pixel format

Commit ae9753a04cfc8e41262605875e531b6ea5e3d0ac upstream.

The new format is called V4L2_PIX_FMT_Y14. Like V4L2_PIX_FMT_Y10 and
V4L2_PIX_FMT_Y12 it is stored in two bytes per pixel but has only two
unused bits at the top.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/media/uapi/v4l/pixfmt-y14.rst [new file with mode: 0644]
Documentation/media/uapi/v4l/yuv-formats.rst
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h