Home
last modified time | relevance | path

Searched refs:fmt_sink (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/nxp/
H A Dimx8mq-mipi-csi2.c443 struct v4l2_mbus_framefmt *fmt_sink; in imx8mq_mipi_csi_init_cfg() local
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()
459 fmt_sink->ycbcr_enc); in imx8mq_mipi_csi_init_cfg()
[all …]
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c349 struct v4l2_mbus_framefmt *fmt_sink; in mxc_isi_pipe_init_cfg() local
358 fmt_sink->width = MXC_ISI_DEF_WIDTH; in mxc_isi_pipe_init_cfg()
359 fmt_sink->height = MXC_ISI_DEF_HEIGHT; in mxc_isi_pipe_init_cfg()
360 fmt_sink->code = MXC_ISI_DEF_MBUS_CODE_SINK; in mxc_isi_pipe_init_cfg()
361 fmt_sink->field = V4L2_FIELD_NONE; in mxc_isi_pipe_init_cfg()
362 fmt_sink->colorspace = V4L2_COLORSPACE_JPEG; in mxc_isi_pipe_init_cfg()
363 fmt_sink->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt_sink->colorspace); in mxc_isi_pipe_init_cfg()
364 fmt_sink->quantization = in mxc_isi_pipe_init_cfg()
366 fmt_sink->ycbcr_enc); in mxc_isi_pipe_init_cfg()
367 fmt_sink->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(fmt_sink->colorspace); in mxc_isi_pipe_init_cfg()
[all …]