Home
last modified time | relevance | path

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

/linux/drivers/media/platform/nxp/
H A Dimx8mq-mipi-csi2.c443 struct v4l2_mbus_framefmt *fmt_sink; in imx8mq_mipi_csi_init_state() local
446 fmt_sink = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SINK); in imx8mq_mipi_csi_init_state()
450 fmt_sink->code = MEDIA_BUS_FMT_SGBRG10_1X10; in imx8mq_mipi_csi_init_state()
451 fmt_sink->width = MIPI_CSI2_DEF_PIX_WIDTH; in imx8mq_mipi_csi_init_state()
452 fmt_sink->height = MIPI_CSI2_DEF_PIX_HEIGHT; in imx8mq_mipi_csi_init_state()
453 fmt_sink->field = V4L2_FIELD_NONE; in imx8mq_mipi_csi_init_state()
455 fmt_sink->colorspace = V4L2_COLORSPACE_RAW; in imx8mq_mipi_csi_init_state()
456 fmt_sink->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(fmt_sink->colorspace); in imx8mq_mipi_csi_init_state()
457 fmt_sink->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt_sink->colorspace); in imx8mq_mipi_csi_init_state()
458 fmt_sink->quantization = in imx8mq_mipi_csi_init_state()
[all …]
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c349 struct v4l2_mbus_framefmt *fmt_sink; in mxc_isi_pipe_init_state() local
353 fmt_sink = mxc_isi_pipe_get_pad_format(pipe, state, in mxc_isi_pipe_init_state()
358 fmt_sink->width = MXC_ISI_DEF_WIDTH; in mxc_isi_pipe_init_state()
359 fmt_sink->height = MXC_ISI_DEF_HEIGHT; in mxc_isi_pipe_init_state()
360 fmt_sink->code = MXC_ISI_DEF_MBUS_CODE_SINK; in mxc_isi_pipe_init_state()
361 fmt_sink->field = V4L2_FIELD_NONE; in mxc_isi_pipe_init_state()
362 fmt_sink->colorspace = V4L2_COLORSPACE_JPEG; in mxc_isi_pipe_init_state()
363 fmt_sink->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt_sink->colorspace); in mxc_isi_pipe_init_state()
364 fmt_sink->quantization = in mxc_isi_pipe_init_state()
365 V4L2_MAP_QUANTIZATION_DEFAULT(false, fmt_sink->colorspace, in mxc_isi_pipe_init_state()
[all …]