/linux-master/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 74 const struct cal_format_info *fmtinfo; local 78 fmtinfo = ctx->active_fmt[k]; 79 if (fmtinfo->fourcc == pixelformat) 80 return fmtinfo; 89 const struct cal_format_info *fmtinfo; local 93 fmtinfo = ctx->active_fmt[k]; 94 if (fmtinfo->code == code) 95 return fmtinfo; 105 const struct cal_format_info *fmtinfo; local 110 fmtinfo 161 cal_calc_format_size(struct cal_ctx *ctx, const struct cal_format_info *fmtinfo, struct v4l2_format *f) argument 193 const struct cal_format_info *fmtinfo; local 260 const struct cal_format_info *fmtinfo; local 306 const struct cal_format_info *fmtinfo; local 367 const struct cal_format_info *fmtinfo; local 468 const struct cal_format_info *fmtinfo; local 531 const struct cal_format_info *fmtinfo; local 550 const struct cal_format_info *fmtinfo; local 832 const struct cal_format_info *fmtinfo; local 908 const struct cal_format_info *fmtinfo; local [all...] |
H A D | cal-camerarx.c | 52 const struct cal_format_info *fmtinfo; local 62 fmtinfo = cal_format_by_code(fmt->code); 63 if (!fmtinfo) 66 bpp = fmtinfo->bpp; 648 const struct cal_format_info *fmtinfo; local 667 fmtinfo = cal_format_by_code(fse->code); 668 if (!fmtinfo) 671 fse->min_width = CAL_MIN_WIDTH_BYTES * 8 / ALIGN(fmtinfo->bpp, 8); 672 fse->max_width = CAL_MAX_WIDTH_BYTES * 8 / ALIGN(fmtinfo->bpp, 8); 684 const struct cal_format_info *fmtinfo; local [all...] |
H A D | cal.h | 234 const struct cal_format_info *fmtinfo; member in struct:cal_ctx
|
H A D | cal.c | 330 switch (ctx->fmtinfo->bpp) { 359 __FILE__, __LINE__, __func__, ctx->fmtinfo->bpp); 493 ctx->use_pix_proc = !ctx->fmtinfo->meta;
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rpf.c | 56 const struct vsp1_format_info *fmtinfo = rpf->fmtinfo; local 91 | (fmtinfo->hwfmt << VI6_RPF_INFMT_RDFMT_SHIFT); 93 if (fmtinfo->swap_yc) 95 if (fmtinfo->swap_uv) 102 vsp1_rpf_write(rpf, dlb, VI6_RPF_DSWAP, fmtinfo->swap); 109 switch (fmtinfo->fourcc) { 199 (fmtinfo->alpha ? VI6_RPF_ALPH_SEL_ASEL_PACKED 205 if (fmtinfo->alpha) { 293 const struct vsp1_format_info *fmtinfo local [all...] |
H A D | vsp1_wpf.c | 258 const struct vsp1_format_info *fmtinfo = wpf->fmtinfo; local 260 outfmt = fmtinfo->hwfmt << VI6_WPF_OUTFMT_WRFMT_SHIFT; 265 if (fmtinfo->alpha) 267 if (fmtinfo->swap_yc) 269 if (fmtinfo->swap_uv) 279 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSWAP, fmtinfo->swap); 378 const struct vsp1_format_info *fmtinfo = wpf->fmtinfo; local 442 unsigned int hsub = i > 0 ? fmtinfo [all...] |
H A D | vsp1_rwpf.h | 43 const struct vsp1_format_info *fmtinfo; member in struct:vsp1_rwpf
|
H A D | vsp1_drm.c | 139 format.format.code = rpf->fmtinfo->mbus; 582 const struct vsp1_format_info *fmtinfo; local 585 fmtinfo = vsp1_get_format_info(vsp1, pixelformat); 586 if (!fmtinfo) { 598 chroma_hsub = (fmtinfo->planes == 3) ? fmtinfo->hsub : 1; 600 rwpf->fmtinfo = fmtinfo; 601 rwpf->format.num_planes = fmtinfo->planes;
|
H A D | vsp1_video.c | 79 if (video->rwpf->fmtinfo->mbus != fmt.format.code || 89 const struct vsp1_format_info **fmtinfo) 169 if (fmtinfo) 170 *fmtinfo = info; 814 uds->scale_alpha = rpf->fmtinfo->alpha; 1018 video->rwpf->fmtinfo = info; 1278 __vsp1_video_try_format(video, &rwpf->format, &rwpf->fmtinfo); 87 __vsp1_video_try_format(struct vsp1_video *video, struct v4l2_pix_format_mplane *pix, const struct vsp1_format_info **fmtinfo) argument
|
/linux-master/drivers/media/platform/broadcom/ |
H A D | bcm2835-unicam.c | 557 const struct unicam_format_info *fmtinfo, 568 if (pix->pixelformat == fmtinfo->unpacked_fourcc) 571 min_bpl = pix->width * fmtinfo->depth / 8; 582 const struct unicam_format_info *fmtinfo, 590 meta->bytesperline = ALIGN(meta->width * fmtinfo->depth / 8, 828 const struct unicam_format_info *fmtinfo) 834 if (node->fmt.fmt.pix.pixelformat == fmtinfo->fourcc) { 838 unpack = fmtinfo->unpack; 911 const struct unicam_format_info *fmtinfo; local 919 fmtinfo 556 unicam_calc_image_size_bpl(struct unicam_device *unicam, const struct unicam_format_info *fmtinfo, struct v4l2_pix_format *pix) argument 581 unicam_calc_meta_size_bpl(struct unicam_device *unicam, const struct unicam_format_info *fmtinfo, struct v4l2_meta_format *meta) argument 827 unicam_set_packing_config(struct unicam_device *unicam, const struct unicam_format_info *fmtinfo) argument 1292 const struct unicam_format_info *fmtinfo; local 1320 const struct unicam_format_info *fmtinfo; local 1871 const struct unicam_format_info *fmtinfo; local 1948 const struct unicam_format_info *fmtinfo; local 2131 const struct unicam_format_info *fmtinfo; local 2155 const struct unicam_format_info *fmtinfo; local 2195 const struct unicam_format_info *fmtinfo = local 2205 const struct unicam_format_info *fmtinfo = local [all...] |
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vi.c | 338 const struct tegra_video_format *fmtinfo; local 344 fmtinfo = tegra_get_format_by_fourcc(chan->vi, sizes->pixel_format); 345 if (!fmtinfo) 348 fse.code = fmtinfo->code; 368 const struct tegra_video_format *fmtinfo; local 376 fmtinfo = tegra_get_format_by_fourcc(chan->vi, ivals->pixel_format); 377 if (!fmtinfo) 380 fie.code = fmtinfo->code; 428 const struct tegra_video_format *fmtinfo; local 461 fmtinfo 530 const struct tegra_video_format *fmtinfo; local [all...] |
H A D | vi.h | 151 * @fmtinfo: format information corresponding to the active @format 201 const struct tegra_video_format *fmtinfo; member in struct:tegra_vi_channel
|
H A D | tegra210.c | 265 u32 format = chan->fmtinfo->img_fmt; 266 u32 data_type = chan->fmtinfo->img_dt; 267 u32 word_count = (width * chan->fmtinfo->bit_width) / 8; 289 word_count = (width * chan->fmtinfo->bit_width) / 8; 398 if (chan->fmtinfo->fourcc != V4L2_PIX_FMT_NV16) 416 int gang_bpl = (chan->format.width >> 1) * chan->fmtinfo->bpp;
|
H A D | tegra20.c | 164 unsigned int input_mbus_code = chan->fmtinfo->code; 357 switch (chan->fmtinfo->fourcc) {
|
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.h | 66 * @lock: protects the @format, @fmtinfo and @queue fields 68 * @fmtinfo: format information corresponding to the active @format 89 const struct xvip_video_format *fmtinfo; member in struct:xvip_dma
|
H A D | xilinx-dma.c | 73 if (dma->fmtinfo->code != fmt.format.code || 351 dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; 520 const struct xvip_video_format **fmtinfo) 563 if (fmtinfo) 564 *fmtinfo = info; 590 dma->fmtinfo = info; 644 dma->fmtinfo = xvip_get_format_by_fourcc(V4L2_PIX_FMT_YUYV); 645 dma->format.pixelformat = dma->fmtinfo->fourcc; 650 dma->format.bytesperline = dma->format.width * dma->fmtinfo->bpp; 519 __xvip_dma_try_format(struct xvip_dma *dma, struct v4l2_pix_format *pix, const struct xvip_video_format **fmtinfo) argument
|
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 243 * @fmtinfo: driver-specific format of this queue 248 struct jpu_fmt *fmtinfo; member in struct:jpu_q_data 761 static int __jpu_try_fmt(struct jpu_ctx *ctx, struct jpu_fmt **fmtinfo, argument 818 if (fmtinfo) 819 *fmtinfo = fmt; 839 struct jpu_fmt *fmtinfo; local 852 ret = __jpu_try_fmt(ctx, &fmtinfo, &f->fmt.pix_mp, f->type); 859 q_data->fmtinfo = fmtinfo; 1089 __jpu_try_fmt(ctx, &adjust.fmtinfo, [all...] |
H A D | rcar_fdp1.c | 1453 const struct fdp1_fmt **fmtinfo, 1465 if (fmtinfo) 1466 *fmtinfo = fmt; 1509 const struct fdp1_fmt **fmtinfo, 1547 if (fmtinfo) 1548 *fmtinfo = fmt; 1607 const struct fdp1_fmt *fmtinfo; local 1610 fdp1_try_fmt_output(ctx, &fmtinfo, pix); 1612 fdp1_try_fmt_capture(ctx, &fmtinfo, pix); 1614 q_data->fmt = fmtinfo; 1452 fdp1_try_fmt_output(struct fdp1_ctx *ctx, const struct fdp1_fmt **fmtinfo, struct v4l2_pix_format_mplane *pix) argument 1508 fdp1_try_fmt_capture(struct fdp1_ctx *ctx, const struct fdp1_fmt **fmtinfo, struct v4l2_pix_format_mplane *pix) argument [all...] |
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-video.c | 889 return mxc_isi_video_queue_setup(&video->pix, video->fmtinfo, 898 mxc_isi_video_buffer_init(vb2, buf->dma_addrs, video->fmtinfo, 909 video->fmtinfo, &video->pix); 934 mxc_isi_channel_set_output_format(pipe, video->fmtinfo, &video->pix); 1141 video->fmtinfo = mxc_isi_format_try(video->pipe, pix, MXC_ISI_VIDEO_CAP); 1427 video->fmtinfo = mxc_isi_format_try(video->pipe, pix, MXC_ISI_VIDEO_CAP);
|
H A D | imx8-isi-core.h | 210 const struct mxc_isi_format_info *fmtinfo; member in struct:mxc_isi_video
|