]> asedeno.scripts.mit.edu Git - linux.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)
commita7fe4ca72b1fe7877de5672640d0b4e023d0fdca
tree988ad2037a524cf5e7150f667102d536fd379cf9
parent46c039d06b6ecabb94bd16c3a999b28dc83b79ce
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