Commit da13c943 authored by Eugen Hristev's avatar Eugen Hristev Committed by Mauro Carvalho Chehab

media: atmel: atmel-isc: add raw Bayer 8bit 10bit output formats

The ISC can dump the 8 bit and 10 bit raw bayer formats directly to
the memory.
Thus, add them to the supported output format list.
Signed-off-by: default avatarEugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent e8b13dc3
......@@ -88,6 +88,30 @@ static const struct isc_format sama5d2_controller_formats[] = {
{
.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,
},
};
/* This is a list of formats that the ISC can receive as *input* */
......
......@@ -100,6 +100,30 @@ static const struct isc_format sama7g5_controller_formats[] = {
{
.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,
},
};
/* This is a list of formats that the ISC can receive as *input* */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment