Lines Matching refs:v4l2_try_fmt
232 struct v4l2_mbus_framefmt *v4l2_try_fmt; in csi2dc_get_fmt() local
235 v4l2_try_fmt = v4l2_subdev_get_try_format(csi2dc_sd, sd_state, in csi2dc_get_fmt()
237 format->format = *v4l2_try_fmt; in csi2dc_get_fmt()
253 struct v4l2_mbus_framefmt *v4l2_try_fmt; in csi2dc_set_fmt() local
284 v4l2_try_fmt = v4l2_subdev_get_try_format(csi2dc_sd, sd_state, in csi2dc_set_fmt()
286 *v4l2_try_fmt = req_fmt->format; in csi2dc_set_fmt()
288 v4l2_try_fmt = v4l2_subdev_get_try_format(csi2dc_sd, in csi2dc_set_fmt()
291 *v4l2_try_fmt = req_fmt->format; in csi2dc_set_fmt()
442 struct v4l2_mbus_framefmt *v4l2_try_fmt = in csi2dc_init_cfg() local
445 v4l2_try_fmt->height = 480; in csi2dc_init_cfg()
446 v4l2_try_fmt->width = 640; in csi2dc_init_cfg()
447 v4l2_try_fmt->code = csi2dc_formats[0].mbus_code; in csi2dc_init_cfg()
448 v4l2_try_fmt->colorspace = V4L2_COLORSPACE_SRGB; in csi2dc_init_cfg()
449 v4l2_try_fmt->field = V4L2_FIELD_NONE; in csi2dc_init_cfg()
450 v4l2_try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in csi2dc_init_cfg()
451 v4l2_try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in csi2dc_init_cfg()
452 v4l2_try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in csi2dc_init_cfg()