mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drivers: media: cfe: Add remap entries for mono formats
The 8-bit and 16-bit mono formats were missing the appropriate remap entries in the format table. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
948e0b51b5
commit
2ad17532bc
@@ -256,6 +256,7 @@ static const struct cfe_fmt formats[] = {
|
|||||||
.code = MEDIA_BUS_FMT_Y8_1X8,
|
.code = MEDIA_BUS_FMT_Y8_1X8,
|
||||||
.depth = 8,
|
.depth = 8,
|
||||||
.csi_dt = MIPI_CSI2_DT_RAW8,
|
.csi_dt = MIPI_CSI2_DT_RAW8,
|
||||||
|
.remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.fourcc = V4L2_PIX_FMT_Y10P,
|
.fourcc = V4L2_PIX_FMT_Y10P,
|
||||||
@@ -284,6 +285,7 @@ static const struct cfe_fmt formats[] = {
|
|||||||
.depth = 16,
|
.depth = 16,
|
||||||
.csi_dt = MIPI_CSI2_DT_RAW16,
|
.csi_dt = MIPI_CSI2_DT_RAW16,
|
||||||
.flags = CFE_FORMAT_FLAG_FE_OUT,
|
.flags = CFE_FORMAT_FLAG_FE_OUT,
|
||||||
|
.remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.fourcc = V4L2_PIX_FMT_PISP_COMP1_MONO,
|
.fourcc = V4L2_PIX_FMT_PISP_COMP1_MONO,
|
||||||
|
|||||||
Reference in New Issue
Block a user