media: atmel: atmel-isc: compact the controller formats list

Compact the list array to be more readable.
No other changes, only cosmetic.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Eugen Hristev 2022-05-03 10:44:19 +02:00 committed by Mauro Carvalho Chehab
parent 314c96e520
commit c221670d0d
2 changed files with 37 additions and 74 deletions

View File

@ -60,56 +60,39 @@
static const struct isc_format sama5d2_controller_formats[] = {
{
.fourcc = V4L2_PIX_FMT_ARGB444,
},
{
}, {
.fourcc = V4L2_PIX_FMT_ARGB555,
},
{
}, {
.fourcc = V4L2_PIX_FMT_RGB565,
},
{
}, {
.fourcc = V4L2_PIX_FMT_ABGR32,
},
{
}, {
.fourcc = V4L2_PIX_FMT_XBGR32,
},
{
}, {
.fourcc = V4L2_PIX_FMT_YUV420,
},
{
}, {
.fourcc = V4L2_PIX_FMT_YUYV,
},
{
}, {
.fourcc = V4L2_PIX_FMT_YUV422P,
},
{
}, {
.fourcc = V4L2_PIX_FMT_GREY,
},
{
}, {
.fourcc = V4L2_PIX_FMT_Y10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SBGGR8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGBRG8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGRBG8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SRGGB8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SBGGR10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGBRG10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGRBG10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SRGGB10,
},
};

View File

@ -63,65 +63,45 @@
static const struct isc_format sama7g5_controller_formats[] = {
{
.fourcc = V4L2_PIX_FMT_ARGB444,
},
{
}, {
.fourcc = V4L2_PIX_FMT_ARGB555,
},
{
}, {
.fourcc = V4L2_PIX_FMT_RGB565,
},
{
}, {
.fourcc = V4L2_PIX_FMT_ABGR32,
},
{
}, {
.fourcc = V4L2_PIX_FMT_XBGR32,
},
{
}, {
.fourcc = V4L2_PIX_FMT_YUV420,
},
{
}, {
.fourcc = V4L2_PIX_FMT_UYVY,
},
{
}, {
.fourcc = V4L2_PIX_FMT_VYUY,
},
{
}, {
.fourcc = V4L2_PIX_FMT_YUYV,
},
{
}, {
.fourcc = V4L2_PIX_FMT_YUV422P,
},
{
}, {
.fourcc = V4L2_PIX_FMT_GREY,
},
{
}, {
.fourcc = V4L2_PIX_FMT_Y10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_Y16,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SBGGR8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGBRG8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGRBG8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SRGGB8,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SBGGR10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGBRG10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SGRBG10,
},
{
}, {
.fourcc = V4L2_PIX_FMT_SRGGB10,
},
};