Lines Matching defs:fmt
452 struct v4l2_mbus_framefmt fmt;
1586 rate *= ov5640_code_to_bpp(sensor, sensor->fmt.code);
1656 if (sensor->fmt.code == MEDIA_BUS_FMT_JPEG_1X8) {
2430 return ov5640_set_framefmt(sensor, &sensor->fmt);
2792 struct v4l2_mbus_framefmt *fmt;
2800 fmt = v4l2_subdev_get_try_format(&sensor->sd, sd_state,
2803 fmt = &sensor->fmt;
2805 format->format = *fmt;
2813 struct v4l2_mbus_framefmt *fmt,
2821 mode = ov5640_find_mode(sensor, fmt->width, fmt->height, true);
2825 pixfmt = ov5640_code_to_pixfmt(sensor, fmt->code);
2838 fmt->width = mode->width;
2839 fmt->height = mode->height;
2844 fmt->code = pixfmt->code;
2845 fmt->colorspace = pixfmt->colorspace;
2846 fmt->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace);
2847 fmt->quantization = V4L2_QUANTIZATION_FULL_RANGE;
2848 fmt->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(fmt->colorspace);
2867 struct v4l2_mbus_framefmt *fmt = &sensor->fmt;
2900 bpp = ov5640_code_to_bpp(sensor, fmt->code);
2983 if (mbus_fmt->code != sensor->fmt.code)
2987 sensor->fmt = *mbus_fmt;
3722 ret = ov5640_set_framefmt(sensor, &sensor->fmt);
3752 struct v4l2_mbus_framefmt *fmt =
3756 *fmt = ov5640_is_csi2(sensor) ? ov5640_csi2_default_fmt :
3878 sensor->fmt = ov5640_is_csi2(sensor) ? ov5640_csi2_default_fmt :