]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l: Add 32-bit packed YUV formats
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Fri, 8 Feb 2019 03:18:43 +0000 (22:18 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 19:31:01 +0000 (14:31 -0500)
commite7d2116f8f0b25f2216f64c6efceffae362f01de
tree988ad2037a524cf5e7150f667102d536fd379cf9
parent4e04462ab1af11107c2afab692f2570c479158f2
media: v4l: Add 32-bit packed YUV formats

The formats added in this patch include:
 V4L2_PIX_FMT_AYUV32
 V4L2_PIX_FMT_XYUV32
 V4L2_PIX_FMT_VUYA32
 V4L2_PIX_FMT_VUYX32

These formats enable the trasmission of alpha channel data to other
drivers and userspace applications in addition to YUV data. For
example, buffers generated by drivers in one of these formats
can be used by the Weston compositor to display as a texture or
flipped directly onto the overlay planes with the help of a DRM
driver.

Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h