Home
last modified time | relevance | path

Searched refs:framefmt (Results 1 – 15 of 15) sorted by relevance

/drivers/media/platform/microchip/
Dmicrochip-isc-scaler.c19 static void isc_scaler_prepare_fmt(struct v4l2_mbus_framefmt *framefmt) in isc_scaler_prepare_fmt() argument
21 framefmt->colorspace = V4L2_COLORSPACE_SRGB; in isc_scaler_prepare_fmt()
22 framefmt->field = V4L2_FIELD_NONE; in isc_scaler_prepare_fmt()
23 framefmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in isc_scaler_prepare_fmt()
24 framefmt->quantization = V4L2_QUANTIZATION_DEFAULT; in isc_scaler_prepare_fmt()
25 framefmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in isc_scaler_prepare_fmt()
/drivers/media/i2c/
Dimx412.c723 struct v4l2_mbus_framefmt *framefmt; in imx412_get_pad_format() local
725 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx412_get_pad_format()
726 fmt->format = *framefmt; in imx412_get_pad_format()
758 struct v4l2_mbus_framefmt *framefmt; in imx412_set_pad_format() local
760 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx412_set_pad_format()
761 *framefmt = fmt->format; in imx412_set_pad_format()
Dimx335.c572 struct v4l2_mbus_framefmt *framefmt; in imx335_get_pad_format() local
574 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx335_get_pad_format()
575 fmt->format = *framefmt; in imx335_get_pad_format()
607 struct v4l2_mbus_framefmt *framefmt; in imx335_set_pad_format() local
609 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx335_set_pad_format()
610 *framefmt = fmt->format; in imx335_set_pad_format()
Dimx334.c832 struct v4l2_mbus_framefmt *framefmt; in imx334_get_pad_format() local
834 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx334_get_pad_format()
835 fmt->format = *framefmt; in imx334_get_pad_format()
873 struct v4l2_mbus_framefmt *framefmt; in imx334_set_pad_format() local
875 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx334_set_pad_format()
876 *framefmt = fmt->format; in imx334_set_pad_format()
Dov13858.c1322 struct v4l2_mbus_framefmt *framefmt; in ov13858_do_get_pad_format() local
1326 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov13858_do_get_pad_format()
1327 fmt->format = *framefmt; in ov13858_do_get_pad_format()
1356 struct v4l2_mbus_framefmt *framefmt; in ov13858_set_pad_format() local
1375 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov13858_set_pad_format()
1376 *framefmt = fmt->format; in ov13858_set_pad_format()
Dimx355.c1304 struct v4l2_mbus_framefmt *framefmt; in imx355_do_get_pad_format() local
1308 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx355_do_get_pad_format()
1309 fmt->format = *framefmt; in imx355_do_get_pad_format()
1338 struct v4l2_mbus_framefmt *framefmt; in imx355_set_pad_format() local
1359 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx355_set_pad_format()
1360 *framefmt = fmt->format; in imx355_set_pad_format()
Dimx319.c2005 struct v4l2_mbus_framefmt *framefmt; in imx319_do_get_pad_format() local
2009 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx319_do_get_pad_format()
2010 fmt->format = *framefmt; in imx319_do_get_pad_format()
2039 struct v4l2_mbus_framefmt *framefmt; in imx319_set_pad_format() local
2060 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx319_set_pad_format()
2061 *framefmt = fmt->format; in imx319_set_pad_format()
Dov08x40.c2779 struct v4l2_mbus_framefmt *framefmt; in ov08x40_do_get_pad_format() local
2783 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov08x40_do_get_pad_format()
2784 fmt->format = *framefmt; in ov08x40_do_get_pad_format()
2813 struct v4l2_mbus_framefmt *framefmt; in ov08x40_set_pad_format() local
2832 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov08x40_set_pad_format()
2833 *framefmt = fmt->format; in ov08x40_set_pad_format()
Dov5695.c782 struct v4l2_mbus_framefmt *framefmt) in ov5695_get_reso_dist() argument
784 return abs(mode->width - framefmt->width) + in ov5695_get_reso_dist()
785 abs(mode->height - framefmt->height); in ov5695_get_reso_dist()
791 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov5695_find_best_fit() local
798 dist = ov5695_get_reso_dist(&supported_modes[i], framefmt); in ov5695_find_best_fit()
Dov9282.c817 struct v4l2_mbus_framefmt *framefmt; in ov9282_get_pad_format() local
819 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov9282_get_pad_format()
820 fmt->format = *framefmt; in ov9282_get_pad_format()
863 struct v4l2_mbus_framefmt *framefmt; in ov9282_set_pad_format() local
865 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov9282_set_pad_format()
866 *framefmt = fmt->format; in ov9282_set_pad_format()
Dov13b10.c951 struct v4l2_mbus_framefmt *framefmt; in ov13b10_do_get_pad_format() local
955 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov13b10_do_get_pad_format()
956 fmt->format = *framefmt; in ov13b10_do_get_pad_format()
985 struct v4l2_mbus_framefmt *framefmt; in ov13b10_set_pad_format() local
1004 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in ov13b10_set_pad_format()
1005 *framefmt = fmt->format; in ov13b10_set_pad_format()
Dimx258.c897 struct v4l2_mbus_framefmt *framefmt; in imx258_set_pad_format() local
914 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx258_set_pad_format()
915 *framefmt = fmt->format; in imx258_set_pad_format()
Dadv7180.c785 struct v4l2_mbus_framefmt *framefmt; in adv7180_set_pad_format() local
808 framefmt = v4l2_subdev_get_try_format(sd, sd_state, 0); in adv7180_set_pad_format()
809 *framefmt = format->format; in adv7180_set_pad_format()
/drivers/media/platform/renesas/
Drcar-isp.c275 struct v4l2_mbus_framefmt *framefmt; in risp_set_pad_format() local
285 framefmt = v4l2_subdev_get_try_format(sd, sd_state, 0); in risp_set_pad_format()
286 *framefmt = format->format; in risp_set_pad_format()
/drivers/media/platform/renesas/rcar-vin/
Drcar-csi2.c1178 struct v4l2_mbus_framefmt *framefmt; in rcsi2_set_pad_format() local
1188 framefmt = v4l2_subdev_get_try_format(sd, sd_state, 0); in rcsi2_set_pad_format()
1189 *framefmt = format->format; in rcsi2_set_pad_format()