/kernel/linux/linux-5.10/include/media/ |
D | v4l2-mediabus.h | 138 const struct v4l2_mbus_framefmt *mbus_fmt) in v4l2_fill_pix_format() argument 140 pix_fmt->width = mbus_fmt->width; in v4l2_fill_pix_format() 141 pix_fmt->height = mbus_fmt->height; in v4l2_fill_pix_format() 142 pix_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format() 143 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format() 144 pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc; in v4l2_fill_pix_format() 145 pix_fmt->quantization = mbus_fmt->quantization; in v4l2_fill_pix_format() 146 pix_fmt->xfer_func = mbus_fmt->xfer_func; in v4l2_fill_pix_format() 158 static inline void v4l2_fill_mbus_format(struct v4l2_mbus_framefmt *mbus_fmt, in v4l2_fill_mbus_format() argument 162 mbus_fmt->width = pix_fmt->width; in v4l2_fill_mbus_format() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | renesas-ceu.c | 160 struct ceu_mbus_fmt mbus_fmt; member 354 struct ceu_mbus_fmt *mbus_fmt = &ceu_sd->mbus_fmt; in ceu_hw_config() local 364 capwr = (pix->height << 16) | pix->width * mbus_fmt->bpp / 8; in ceu_hw_config() 410 if (mbus_fmt->swapped) in ceu_hw_config() 411 camcr = mbus_fmt->fmt_order_swap; in ceu_hw_config() 413 camcr = mbus_fmt->fmt_order; in ceu_hw_config() 424 if (mbus_fmt->swapped) in ceu_hw_config() 425 camcr = mbus_fmt->fmt_order; in ceu_hw_config() 427 camcr = mbus_fmt->fmt_order_swap; in ceu_hw_config() 811 mbus_code_old = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() [all …]
|
D | pxa_camera.c | 255 static const struct pxa_mbus_lookup mbus_fmt[] = { variable 605 return pxa_mbus_find_fmtdesc(code, mbus_fmt, ARRAY_SIZE(mbus_fmt)); in pxa_mbus_get_fmtdesc()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | cal-video.c | 212 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_get_format() local 222 *fmt = *mbus_fmt; in __subdev_get_format() 234 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_set_format() local 239 *mbus_fmt = *fmt; in __subdev_set_format() 360 struct v4l2_mbus_framefmt mbus_fmt; in cal_s_fmt_vid_cap() local 374 v4l2_fill_mbus_format(&mbus_fmt, &f->fmt.pix, fmt->code); in cal_s_fmt_vid_cap() 376 ret = __subdev_set_format(ctx, &mbus_fmt); in cal_s_fmt_vid_cap() 381 if (mbus_fmt.code != fmt->code) { in cal_s_fmt_vid_cap() 388 v4l2_fill_pix_format(&ctx->v_fmt.fmt.pix, &mbus_fmt); in cal_s_fmt_vid_cap() 393 ctx->m_fmt = mbus_fmt; in cal_s_fmt_vid_cap() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | s5k6aa.c | 198 struct v4l2_mbus_framefmt mbus_fmt; member 317 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init() 318 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init() 319 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init() 632 int fmt_index = s5k6aa_get_pixfmt_index(s5k6aa, &preset->mbus_fmt); in s5k6aa_set_output_framefmt() 636 preset->mbus_fmt.width); in s5k6aa_set_output_framefmt() 639 preset->mbus_fmt.height); in s5k6aa_set_output_framefmt() 949 struct v4l2_mbus_framefmt *mbus_fmt = &s5k6aa->preset->mbus_fmt; in __s5k6aa_set_frame_interval() local 962 if (mbus_fmt->width > iv->size.width || in __s5k6aa_set_frame_interval() 963 mbus_fmt->height > iv->size.height) in __s5k6aa_set_frame_interval() [all …]
|
D | ov7740.c | 813 struct v4l2_mbus_framefmt *mbus_fmt; in ov7740_set_fmt() local 828 mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in ov7740_set_fmt() 829 *mbus_fmt = format->format; in ov7740_set_fmt() 856 struct v4l2_mbus_framefmt *mbus_fmt; in ov7740_get_fmt() local 863 mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, 0); in ov7740_get_fmt() 864 format->format = *mbus_fmt; in ov7740_get_fmt()
|
D | ov2685.c | 335 struct v4l2_mbus_framefmt *mbus_fmt = &fmt->format; in ov2685_set_fmt() local 338 ov2685_fill_fmt(ov2685->cur_mode, mbus_fmt); in ov2685_set_fmt() 348 struct v4l2_mbus_framefmt *mbus_fmt = &fmt->format; in ov2685_get_fmt() local 350 ov2685_fill_fmt(ov2685->cur_mode, mbus_fmt); in ov2685_get_fmt()
|
D | st-mipid02.c | 677 struct v4l2_mbus_framefmt *mbus_fmt = &format->format; in mipid02_get_fmt() local 697 *mbus_fmt = *fmt; in mipid02_get_fmt() 700 mbus_fmt->code = serial_to_parallel_code(mbus_fmt->code); in mipid02_get_fmt()
|
D | ov7670.c | 1099 struct v4l2_mbus_framefmt *mbus_fmt; in ov7670_set_fmt() local 1111 mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in ov7670_set_fmt() 1112 *mbus_fmt = format->format; in ov7670_set_fmt() 1138 struct v4l2_mbus_framefmt *mbus_fmt; in ov7670_get_fmt() local 1143 mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, 0); in ov7670_get_fmt() 1144 format->format = *mbus_fmt; in ov7670_get_fmt()
|
D | ov9650.c | 1121 struct v4l2_mbus_framefmt *mbus_fmt = &ov965x->format; in __ov965x_set_frame_interval() local 1135 if (mbus_fmt->width != iv->size.width || in __ov965x_set_frame_interval() 1136 mbus_fmt->height != iv->size.height) in __ov965x_set_frame_interval()
|
D | ov5640.c | 2269 struct v4l2_mbus_framefmt *mbus_fmt = &format->format; in ov5640_set_fmt() local 2283 ret = ov5640_try_fmt_internal(sd, mbus_fmt, in ov5640_set_fmt() 2293 *fmt = *mbus_fmt; in ov5640_set_fmt() 2299 if (mbus_fmt->code != sensor->fmt.code) in ov5640_set_fmt()
|
/kernel/linux/linux-5.10/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 824 if (src_fmt.format.width != camif->mbus_fmt.width || in camif_pipeline_validate() 825 src_fmt.format.height != camif->mbus_fmt.height || in camif_pipeline_validate() 826 src_fmt.format.code != camif->mbus_fmt.code) in camif_pipeline_validate() 1230 *mf = camif->mbus_fmt; in s3c_camif_subdev_get_fmt() 1237 mf->code = camif->mbus_fmt.code; in s3c_camif_subdev_get_fmt() 1317 camif->mbus_fmt = *mf; in s3c_camif_subdev_set_fmt() 1337 mf->code = camif->mbus_fmt.code; in s3c_camif_subdev_set_fmt() 1353 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in s3c_camif_subdev_get_selection() 1387 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in __camif_try_crop() 1472 camif->mbus_fmt.width, camif->mbus_fmt.height); in s3c_camif_subdev_set_selection() [all …]
|
D | camif-core.h | 265 struct v4l2_mbus_framefmt mbus_fmt; member
|
D | camif-regs.c | 105 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in camif_hw_set_source_format() 130 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in camif_hw_set_camera_crop()
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 333 const struct v4l2_mbus_framefmt *mbus_fmt) in fill_csi_bus_cfg() argument 339 ret = mbus_code_to_bus_cfg(csicfg, mbus_fmt->code, mbus_cfg->type); in fill_csi_bus_cfg() 356 if (V4L2_FIELD_HAS_BOTH(mbus_fmt->field) || in fill_csi_bus_cfg() 357 mbus_fmt->field == V4L2_FIELD_ALTERNATE) in fill_csi_bus_cfg() 639 struct v4l2_mbus_framefmt *mbus_fmt) in ipu_csi_set_mipi_datatype() argument 649 ret = mbus_code_to_bus_cfg(&cfg, mbus_fmt->code, V4L2_MBUS_CSI2_DPHY); in ipu_csi_set_mipi_datatype()
|
/kernel/linux/linux-5.10/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 960 struct v4l2_mbus_framefmt mbus_fmt; in vpfe_config_image_format() local 982 ret = __subdev_get_format(vpfe, &mbus_fmt); in vpfe_config_image_format() 986 fmt = find_format_by_code(vpfe, mbus_fmt.code); in vpfe_config_image_format() 989 mbus_fmt.code); in vpfe_config_image_format() 994 v4l2_fill_pix_format(&vpfe->fmt.fmt.pix, &mbus_fmt); in vpfe_config_image_format() 1003 vpfe->crop.width = mbus_fmt.width; in vpfe_config_image_format() 1004 vpfe->crop.height = mbus_fmt.height; in vpfe_config_image_format() 1289 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_get_format() local 1299 *fmt = *mbus_fmt; in __subdev_get_format() 1313 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_set_format() local [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
D | saa7134-empress.c | 105 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in empress_g_fmt_vid_cap() local 109 v4l2_fill_pix_format(&f->fmt.pix, mbus_fmt); in empress_g_fmt_vid_cap()
|
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
D | vpif_capture.c | 1001 struct v4l2_mbus_framefmt *mbus_fmt = &format.format; in vpif_g_fmt_vid_cap() local 1013 if (!ret && mbus_fmt->code) { in vpif_g_fmt_vid_cap() 1014 v4l2_fill_pix_format(pix_fmt, mbus_fmt); in vpif_g_fmt_vid_cap() 1016 if (mbus_fmt->code == MEDIA_BUS_FMT_SGRBG10_1X10) { in vpif_g_fmt_vid_cap() 1020 } else if (mbus_fmt->code == MEDIA_BUS_FMT_UYVY8_2X8) { in vpif_g_fmt_vid_cap() 1026 __func__, mbus_fmt->code); in vpif_g_fmt_vid_cap() 1032 mbus_fmt->code, pix_fmt->field, pix_fmt->sizeimage); in vpif_g_fmt_vid_cap()
|
D | vpfe_capture.c | 302 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in vpfe_config_image_format() local 336 v4l2_fill_mbus_format(mbus_fmt, pix, in vpfe_config_image_format() 342 v4l2_fill_mbus_format(mbus_fmt, pix, in vpfe_config_image_format() 355 v4l2_fill_pix_format(pix, mbus_fmt); in vpfe_config_image_format()
|
/kernel/linux/linux-5.10/include/video/ |
D | imx-ipu-v3.h | 370 struct v4l2_mbus_framefmt *mbus_fmt);
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
D | fimc-capture.c | 944 struct v4l2_mbus_framefmt mbus_fmt; in __video_try_or_set_format() local 947 mf = try ? &mbus_fmt : &fimc->vid_cap.ci_fmt; in __video_try_or_set_format()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0027_linux_drivers_media.patch | 378 + sensor->fmt = *mbus_fmt;
|