mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
media: synopsys: Add support for RAW16 Bayer formats
Add higher bit-depth raw image data support for the sensors, which supports 16-bit output. Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Guoniu Zhou <guoniu.zhou@oss.nxp.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
parent
8ba166ff7c
commit
4a7004c03d
|
|
@ -252,6 +252,26 @@ static const struct dw_mipi_csi2rx_format formats[] = {
|
|||
.depth = 12,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW12,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SBGGR16_1X16,
|
||||
.depth = 16,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW16,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SGBRG16_1X16,
|
||||
.depth = 16,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW16,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SGRBG16_1X16,
|
||||
.depth = 16,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW16,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SRGGB16_1X16,
|
||||
.depth = 16,
|
||||
.csi_dt = MIPI_CSI2_DT_RAW16,
|
||||
},
|
||||
};
|
||||
|
||||
static inline struct dw_mipi_csi2rx_device *to_csi2(struct v4l2_subdev *sd)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user