/openbmc/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-scaler.c | 19 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()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-subdev-enum-mbus-code.rst | 118 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. 125 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. 132 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. 139 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set. 146 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
|
H A D | subdev-formats.rst | 110 - flags See: :ref:v4l2-mbus-framefmt-flags 116 .. _v4l2-mbus-framefmt-flags: 125 * .. _`mbus-framefmt-set-csc`:
|
/openbmc/linux/drivers/media/i2c/ |
H A D | imx412.c | 723 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()
|
H A D | imx335.c | 581 struct v4l2_mbus_framefmt *framefmt; in imx335_get_pad_format() local 583 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx335_get_pad_format() 584 fmt->format = *framefmt; in imx335_get_pad_format() 616 struct v4l2_mbus_framefmt *framefmt; in imx335_set_pad_format() local 618 framefmt = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in imx335_set_pad_format() 619 *framefmt = fmt->format; in imx335_set_pad_format()
|
H A D | imx334.c | 832 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()
|
H A D | ov13858.c | 1322 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()
|
H A D | imx319.c | 2005 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()
|
H A D | imx355.c | 1304 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()
|
H A D | ov08x40.c | 2779 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()
|
H A D | ov5695.c | 782 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()
|
H A D | ov9282.c | 817 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()
|
H A D | ov13b10.c | 951 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()
|
H A D | imx258.c | 897 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()
|
H A D | adv7180.c | 785 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()
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar-isp.c | 275 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()
|
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-csi2.c | 1178 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()
|