media: vivid: Add support for the new YUVA and YUVX formats
Extend vivid to support the newly added YUVA and YUVX pixel formats through the TPG. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
5a3757801e
commit
b0afed239a
|
@ -198,6 +198,21 @@ struct vivid_fmt vivid_formats[] = {
|
|||
.planes = 1,
|
||||
.buffers = 1,
|
||||
},
|
||||
{
|
||||
.fourcc = V4L2_PIX_FMT_YUVA32,
|
||||
.vdownsampling = { 1 },
|
||||
.bit_depth = { 32 },
|
||||
.planes = 1,
|
||||
.buffers = 1,
|
||||
.alpha_mask = 0xff000000,
|
||||
},
|
||||
{
|
||||
.fourcc = V4L2_PIX_FMT_YUVX32,
|
||||
.vdownsampling = { 1 },
|
||||
.bit_depth = { 32 },
|
||||
.planes = 1,
|
||||
.buffers = 1,
|
||||
},
|
||||
{
|
||||
.fourcc = V4L2_PIX_FMT_GREY,
|
||||
.vdownsampling = { 1 },
|
||||
|
|
Loading…
Reference in New Issue