/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
D | imx-media-csi.c | 147 struct v4l2_mbus_framefmt *infmt, in requires_passthrough() argument 152 infmt->code != MEDIA_BUS_FMT_UYVY8_2X8 && in requires_passthrough() 153 infmt->code != MEDIA_BUS_FMT_YUYV8_2X8); in requires_passthrough() 408 struct v4l2_mbus_framefmt *infmt; in csi_idmac_setup_channel() local 418 infmt = &priv->format_mbus[CSI_SINK_PAD]; in csi_idmac_setup_channel() 433 passthrough = requires_passthrough(&priv->upstream_ep, infmt, incc); in csi_idmac_setup_channel() 707 struct v4l2_mbus_framefmt *infmt, *outfmt; in csi_setup() local 713 infmt = &priv->format_mbus[CSI_SINK_PAD]; in csi_setup() 723 if_fmt = *infmt; in csi_setup() 1198 struct v4l2_mbus_framefmt *infmt, in csi_try_crop() argument [all …]
|
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() 818 struct v4l2_mbus_framefmt *infmt, in prp_bound_align_output() argument 826 infmt->height / 4, MAX_H_SRC, in prp_bound_align_output() [all …]
|
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 …]
|
D | imx-ic-prp.c | 102 struct v4l2_mbus_framefmt *infmt; in prp_enum_mbus_code() local 118 infmt = __prp_get_fmt(priv, cfg, PRP_SINK_PAD, code->which); in prp_enum_mbus_code() 119 code->code = infmt->code; in prp_enum_mbus_code() 159 struct v4l2_mbus_framefmt *fmt, *infmt; in prp_set_fmt() local 174 infmt = __prp_get_fmt(priv, cfg, PRP_SINK_PAD, sdformat->which); in prp_set_fmt() 198 sdformat->format = *infmt; in prp_set_fmt()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
D | vsp1_rpf.c | 71 u32 infmt; in rpf_configure_stream() local 98 infmt = VI6_RPF_INFMT_CIPM in rpf_configure_stream() 102 infmt |= VI6_RPF_INFMT_SPYCS; in rpf_configure_stream() 104 infmt |= VI6_RPF_INFMT_SPUVS; in rpf_configure_stream() 107 infmt |= VI6_RPF_INFMT_CSC; in rpf_configure_stream() 109 vsp1_rpf_write(rpf, dlb, VI6_RPF_INFMT, infmt); in rpf_configure_stream()
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 379 const struct v4l2_mbus_framefmt *infmt, in ipu_csi_set_bt_interlaced_codes() argument 387 infield = ipu_csi_translate_field(infmt->field, std); in ipu_csi_set_bt_interlaced_codes() 429 const struct v4l2_mbus_framefmt *infmt, in ipu_csi_init_interface() argument 438 ret = fill_csi_bus_cfg(&cfg, mbus_cfg, infmt); in ipu_csi_init_interface() 443 width = infmt->width; in ipu_csi_init_interface() 444 height = infmt->height; in ipu_csi_init_interface() 445 if (infmt->field == V4L2_FIELD_ALTERNATE) in ipu_csi_init_interface() 486 ret = ipu_csi_set_bt_interlaced_codes(csi, infmt, outfmt, std); in ipu_csi_init_interface()
|
D | ipu-image-convert.c | 1971 const struct ipu_image_pixfmt *infmt, *outfmt; in ipu_image_convert_adjust() local 1975 infmt = get_format(in->pix.pixelformat); in ipu_image_convert_adjust() 1979 if (!infmt) { in ipu_image_convert_adjust() 1981 infmt = get_format(V4L2_PIX_FMT_RGB24); in ipu_image_convert_adjust() 2005 w_align_in = ilog2(tile_width_align(IMAGE_CONVERT_IN, infmt, in ipu_image_convert_adjust() 2007 h_align_in = ilog2(tile_height_align(IMAGE_CONVERT_IN, infmt, in ipu_image_convert_adjust() 2025 in->pix.bytesperline = infmt->planar ? in ipu_image_convert_adjust() 2028 clamp_align((in->pix.width * infmt->bpp) >> 3, in ipu_image_convert_adjust() 2029 ((2 << w_align_in) * infmt->bpp) >> 3, in ipu_image_convert_adjust() 2030 (MAX_W * infmt->bpp) >> 3, in ipu_image_convert_adjust() [all …]
|
/kernel/linux/linux-5.10/include/video/ |
D | imx-ipu-v3.h | 360 const struct v4l2_mbus_framefmt *infmt,
|