Lines Matching refs:fmt_sink
443 struct v4l2_mbus_framefmt *fmt_sink; in imx8mq_mipi_csi_init_cfg() local
446 fmt_sink = v4l2_subdev_get_pad_format(sd, sd_state, MIPI_CSI2_PAD_SINK); in imx8mq_mipi_csi_init_cfg()
449 fmt_sink->code = MEDIA_BUS_FMT_SGBRG10_1X10; in imx8mq_mipi_csi_init_cfg()
450 fmt_sink->width = MIPI_CSI2_DEF_PIX_WIDTH; in imx8mq_mipi_csi_init_cfg()
451 fmt_sink->height = MIPI_CSI2_DEF_PIX_HEIGHT; in imx8mq_mipi_csi_init_cfg()
452 fmt_sink->field = V4L2_FIELD_NONE; in imx8mq_mipi_csi_init_cfg()
454 fmt_sink->colorspace = V4L2_COLORSPACE_RAW; in imx8mq_mipi_csi_init_cfg()
455 fmt_sink->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(fmt_sink->colorspace); in imx8mq_mipi_csi_init_cfg()
456 fmt_sink->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt_sink->colorspace); in imx8mq_mipi_csi_init_cfg()
457 fmt_sink->quantization = in imx8mq_mipi_csi_init_cfg()
458 V4L2_MAP_QUANTIZATION_DEFAULT(false, fmt_sink->colorspace, in imx8mq_mipi_csi_init_cfg()
459 fmt_sink->ycbcr_enc); in imx8mq_mipi_csi_init_cfg()
461 *fmt_source = *fmt_sink; in imx8mq_mipi_csi_init_cfg()