media: Add Y012 video format
authorMing Qian <ming.qian@nxp.com>
Wed, 22 Mar 2023 05:13:05 +0000 (05:13 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 08:06:34 +0000 (09:06 +0100)
commita490ea68444084ec0368c019e11ee4a7e5c8bb13
tree7035adad34d34a3e32f95b4274114715c1842664
parentaa1080404200694aace5989f99664ca75e73b03d
media: Add Y012 video format

Y012 is a luma-only formats with 12-bits per pixel,
expanded to 16bits.
Data in the 12 high bits, zeros in the 4 low bits,
arranged in little endian order.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h