media: imx: enable V4L2_PIX_FMT_XBGR32, _BGRX32, and _RGBX32
Now that proper V4L2 pixel formats exist for all 32-bit RGB permutations, drop support for the poorly defined legacy format V4L2_PIX_FMT_BGR32. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
187ef7c5c7
commit
a5bbeeca8e
|
@ -184,7 +184,15 @@ static const struct imx_media_pixfmt rgb_formats[] = {
|
||||||
.cs = IPUV3_COLORSPACE_RGB,
|
.cs = IPUV3_COLORSPACE_RGB,
|
||||||
.bpp = 24,
|
.bpp = 24,
|
||||||
}, {
|
}, {
|
||||||
.fourcc = V4L2_PIX_FMT_BGR32,
|
.fourcc = V4L2_PIX_FMT_XBGR32,
|
||||||
|
.cs = IPUV3_COLORSPACE_RGB,
|
||||||
|
.bpp = 32,
|
||||||
|
}, {
|
||||||
|
.fourcc = V4L2_PIX_FMT_BGRX32,
|
||||||
|
.cs = IPUV3_COLORSPACE_RGB,
|
||||||
|
.bpp = 32,
|
||||||
|
}, {
|
||||||
|
.fourcc = V4L2_PIX_FMT_RGBX32,
|
||||||
.cs = IPUV3_COLORSPACE_RGB,
|
.cs = IPUV3_COLORSPACE_RGB,
|
||||||
.bpp = 32,
|
.bpp = 32,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue