/linux/drivers/staging/media/imx/ |
H A D | imx-media-csi.c | 149 struct v4l2_mbus_framefmt *infmt, in requires_passthrough() argument 157 infmt->code != MEDIA_BUS_FMT_UYVY8_2X8 && in requires_passthrough() 158 infmt->code != MEDIA_BUS_FMT_YUYV8_2X8); in requires_passthrough() 410 struct v4l2_mbus_framefmt *infmt; in csi_idmac_setup_channel() local 420 infmt = &priv->format_mbus[CSI_SINK_PAD]; in csi_idmac_setup_channel() 435 passthrough = requires_passthrough(&priv->mbus_cfg, infmt, incc); in csi_idmac_setup_channel() 706 struct v4l2_mbus_framefmt *infmt, *outfmt; in csi_setup() local 711 infmt = &priv->format_mbus[CSI_SINK_PAD]; in csi_setup() 715 if_fmt = *infmt; in csi_setup() 1195 struct v4l2_mbus_framefmt *infmt, in csi_try_crop() argument [all …]
|
H A D | imx-ic-prpencvf.c | 453 struct v4l2_mbus_framefmt *infmt; in prp_setup_rotation() local 459 infmt = &priv->format_mbus[PRPENCVF_SINK_PAD]; in prp_setup_rotation() 465 infmt->ycbcr_enc, infmt->quantization, in prp_setup_rotation() 489 infmt->width, infmt->height, in prp_setup_rotation() 582 struct v4l2_mbus_framefmt *infmt; in prp_setup_norotation() local 588 infmt = &priv->format_mbus[PRPENCVF_SINK_PAD]; in prp_setup_norotation() 594 infmt->ycbcr_enc, infmt->quantization, in prp_setup_norotation() 605 infmt->width, infmt->height, in prp_setup_norotation() 813 struct v4l2_mbus_framefmt *infmt, in prp_bound_align_output() argument 821 infmt->height / 4, MAX_H_SRC, in prp_bound_align_output() [all …]
|
H A D | imx-media-vdic.c | 296 struct v4l2_mbus_framefmt *infmt; in vdic_setup_indirect() local 300 infmt = &priv->format_mbus[VDIC_SINK_PAD_IDMAC]; in vdic_setup_indirect() 303 in_size = (infmt->width * incc->bpp * infmt->height) >> 3; in vdic_setup_indirect() 308 infmt->width : (infmt->width * incc->bpp) >> 3; in vdic_setup_indirect() 313 priv->fieldtype = infmt->field; in vdic_setup_indirect() 361 struct v4l2_mbus_framefmt *infmt; in vdic_start() local 364 infmt = &priv->format_mbus[priv->active_input_pad]; in vdic_start() 380 infmt->width, infmt->height); in vdic_start() 381 ipu_vdi_set_field_order(priv->vdi, V4L2_STD_UNKNOWN, infmt->field); in vdic_start() 585 struct v4l2_mbus_framefmt *infmt; in vdic_try_fmt() local [all …]
|
H A D | imx-ic-prp.c | 100 struct v4l2_mbus_framefmt *infmt; in prp_enum_mbus_code() local 116 infmt = __prp_get_fmt(priv, sd_state, PRP_SINK_PAD, in prp_enum_mbus_code() 118 code->code = infmt->code; in prp_enum_mbus_code() 158 struct v4l2_mbus_framefmt *fmt, *infmt; in prp_set_fmt() local 173 infmt = __prp_get_fmt(priv, sd_state, PRP_SINK_PAD, sdformat->which); in prp_set_fmt() 197 sdformat->format = *infmt; in prp_set_fmt()
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rpf.c | 64 u32 infmt; in rpf_configure_stream() local 87 infmt = VI6_RPF_INFMT_CIPM in rpf_configure_stream() 91 infmt |= VI6_RPF_INFMT_SPYCS; in rpf_configure_stream() 93 infmt |= VI6_RPF_INFMT_SPUVS; in rpf_configure_stream() 96 infmt |= VI6_RPF_INFMT_CSC; in rpf_configure_stream() 98 vsp1_rpf_write(rpf, dlb, VI6_RPF_INFMT, infmt); in rpf_configure_stream()
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-csi.c | 400 const struct v4l2_mbus_framefmt *infmt, in ipu_csi_set_bt_interlaced_codes() argument 408 infield = ipu_csi_translate_field(infmt->field, std); in ipu_csi_set_bt_interlaced_codes() 450 const struct v4l2_mbus_framefmt *infmt, in ipu_csi_init_interface() argument 459 ret = fill_csi_bus_cfg(&cfg, mbus_cfg, infmt); in ipu_csi_init_interface() 464 width = infmt->width; in ipu_csi_init_interface() 465 height = infmt->height; in ipu_csi_init_interface() 466 if (infmt->field == V4L2_FIELD_ALTERNATE) in ipu_csi_init_interface() 507 ret = ipu_csi_set_bt_interlaced_codes(csi, infmt, outfmt, std); in ipu_csi_init_interface()
|
H A D | ipu-image-convert.c | 1967 const struct ipu_image_pixfmt *infmt, *outfmt; in ipu_image_convert_adjust() local 1971 infmt = get_format(in->pix.pixelformat); in ipu_image_convert_adjust() 1975 if (!infmt) { in ipu_image_convert_adjust() 1977 infmt = get_format(V4L2_PIX_FMT_RGB24); in ipu_image_convert_adjust() 2001 w_align_in = ilog2(tile_width_align(IMAGE_CONVERT_IN, infmt, in ipu_image_convert_adjust() 2003 h_align_in = ilog2(tile_height_align(IMAGE_CONVERT_IN, infmt, in ipu_image_convert_adjust() 2021 in->pix.bytesperline = infmt->planar ? in ipu_image_convert_adjust() 2024 clamp_align((in->pix.width * infmt->bpp) >> 3, in ipu_image_convert_adjust() 2025 ((2 << w_align_in) * infmt->bpp) >> 3, in ipu_image_convert_adjust() 2026 (MAX_W * infmt->bpp) >> 3, in ipu_image_convert_adjust() [all …]
|
/linux/include/video/ |
H A D | imx-ipu-v3.h | 362 const struct v4l2_mbus_framefmt *infmt,
|