mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
media: bcm2835-unicam: Add support for unpacked 14bit Bayer formats
Now that the 14bit non-packed Bayer formats are defined, add them into the supported formats lookup table. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
d945f9825f
commit
c7a5e587d6
@@ -379,24 +379,28 @@ static const struct unicam_fmt formats[] = {
|
||||
.valid_colorspaces = MASK_CS_RAW,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_SBGGR14P,
|
||||
.repacked_fourcc = V4L2_PIX_FMT_SBGGR14,
|
||||
.code = MEDIA_BUS_FMT_SBGGR14_1X14,
|
||||
.depth = 14,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW14,
|
||||
.valid_colorspaces = MASK_CS_RAW,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_SGBRG14P,
|
||||
.repacked_fourcc = V4L2_PIX_FMT_SGBRG14,
|
||||
.code = MEDIA_BUS_FMT_SGBRG14_1X14,
|
||||
.depth = 14,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW14,
|
||||
.valid_colorspaces = MASK_CS_RAW,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_SGRBG14P,
|
||||
.repacked_fourcc = V4L2_PIX_FMT_SGRBG14,
|
||||
.code = MEDIA_BUS_FMT_SGRBG14_1X14,
|
||||
.depth = 14,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW14,
|
||||
.valid_colorspaces = MASK_CS_RAW,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_SRGGB14P,
|
||||
.repacked_fourcc = V4L2_PIX_FMT_SRGGB14,
|
||||
.code = MEDIA_BUS_FMT_SRGGB14_1X14,
|
||||
.depth = 14,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW14,
|
||||
|
||||
Reference in New Issue
Block a user