OSDN Git Service

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)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:00:56 +0000 (09:00 +0100)
commitae9753a04cfc8e41262605875e531b6ea5e3d0ac
tree6d02ea29452d5223b819aecf3c618d4dd26d3891
parentd12127ed0e18192491c2508caae45bb19c2f8fdd
media: v4l: Add 14-bit raw greyscale pixel format

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