Home
last modified time | relevance | path

Searched refs:infmt (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/staging/media/imx/
Dimx-media-csi.c149 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()
413 struct v4l2_mbus_framefmt *infmt; in csi_idmac_setup_channel() local
423 infmt = &priv->format_mbus[CSI_SINK_PAD]; in csi_idmac_setup_channel()
438 passthrough = requires_passthrough(&priv->upstream_ep, infmt, incc); in csi_idmac_setup_channel()
709 struct v4l2_mbus_framefmt *infmt, *outfmt; in csi_setup() local
715 infmt = &priv->format_mbus[CSI_SINK_PAD]; in csi_setup()
726 if_fmt = *infmt; in csi_setup()
1194 struct v4l2_mbus_framefmt *infmt, in csi_try_crop() argument
[all …]
Dimx-ic-prpencvf.c453 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()
815 struct v4l2_mbus_framefmt *infmt, in prp_bound_align_output() argument
823 infmt->height / 4, MAX_H_SRC, in prp_bound_align_output()
[all …]
Dimx-media-vdic.c296 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 …]
Dimx-ic-prp.c102 struct v4l2_mbus_framefmt *infmt; in prp_enum_mbus_code() local
118 infmt = __prp_get_fmt(priv, sd_state, PRP_SINK_PAD, in prp_enum_mbus_code()
120 code->code = infmt->code; in prp_enum_mbus_code()
160 struct v4l2_mbus_framefmt *fmt, *infmt; in prp_set_fmt() local
175 infmt = __prp_get_fmt(priv, sd_state, PRP_SINK_PAD, sdformat->which); in prp_set_fmt()
199 sdformat->format = *infmt; in prp_set_fmt()
/Linux-v6.1/drivers/media/platform/renesas/vsp1/
Dvsp1_rpf.c71 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()
/Linux-v6.1/drivers/gpu/ipu-v3/
Dipu-csi.c400 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()
Dipu-image-convert.c1968 const struct ipu_image_pixfmt *infmt, *outfmt; in ipu_image_convert_adjust() local
1972 infmt = get_format(in->pix.pixelformat); in ipu_image_convert_adjust()
1976 if (!infmt) { in ipu_image_convert_adjust()
1978 infmt = get_format(V4L2_PIX_FMT_RGB24); in ipu_image_convert_adjust()
2002 w_align_in = ilog2(tile_width_align(IMAGE_CONVERT_IN, infmt, in ipu_image_convert_adjust()
2004 h_align_in = ilog2(tile_height_align(IMAGE_CONVERT_IN, infmt, in ipu_image_convert_adjust()
2022 in->pix.bytesperline = infmt->planar ? in ipu_image_convert_adjust()
2025 clamp_align((in->pix.width * infmt->bpp) >> 3, in ipu_image_convert_adjust()
2026 ((2 << w_align_in) * infmt->bpp) >> 3, in ipu_image_convert_adjust()
2027 (MAX_W * infmt->bpp) >> 3, in ipu_image_convert_adjust()
[all …]
/Linux-v6.1/include/video/
Dimx-ipu-v3.h362 const struct v4l2_mbus_framefmt *infmt,