/linux-6.1.9/drivers/media/platform/amphion/ |
D | vpu_helpers.c | 32 const struct vpu_format *pfmt; in vpu_helper_check_type() local 34 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_check_type() 35 if (!vpu_iface_check_format(inst, pfmt->pixfmt)) in vpu_helper_check_type() 37 if (pfmt->type == type) in vpu_helper_check_type() 46 const struct vpu_format *pfmt; in vpu_helper_find_format() local 54 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_find_format() 55 if (pfmt->pixfmt == pixelfmt && (!type || type == pfmt->type)) in vpu_helper_find_format() 56 return pfmt; in vpu_helper_find_format() 64 const struct vpu_format *pfmt; in vpu_helper_enum_format() local 70 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_enum_format() [all …]
|
/linux-6.1.9/drivers/staging/media/meson/vdec/ |
D | vdec.c | 496 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in vdec_try_fmt_common() local 501 memset(pfmt[0].reserved, 0, sizeof(pfmt[0].reserved)); in vdec_try_fmt_common() 524 if (!pfmt[0].sizeimage) in vdec_try_fmt_common() 525 pfmt[0].sizeimage = sess->src_buffer_size; in vdec_try_fmt_common() 526 pfmt[0].bytesperline = 0; in vdec_try_fmt_common() 533 memset(pfmt[1].reserved, 0, sizeof(pfmt[1].reserved)); in vdec_try_fmt_common() 535 pfmt[0].sizeimage = output_size; in vdec_try_fmt_common() 536 pfmt[0].bytesperline = ALIGN(pixmp->width, 32); in vdec_try_fmt_common() 538 pfmt[1].sizeimage = output_size / 2; in vdec_try_fmt_common() 539 pfmt[1].bytesperline = ALIGN(pixmp->width, 32); in vdec_try_fmt_common() [all …]
|
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.c | 270 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[0]; in mtk_jpeg_try_fmt_mplane() local 277 pfmt->bytesperline = 0; in mtk_jpeg_try_fmt_mplane() 279 pfmt->sizeimage = round_up(pfmt->sizeimage, 128); in mtk_jpeg_try_fmt_mplane() 280 if (pfmt->sizeimage == 0) in mtk_jpeg_try_fmt_mplane() 281 pfmt->sizeimage = MTK_JPEG_DEFAULT_SIZEIMAGE; in mtk_jpeg_try_fmt_mplane() 292 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[i]; in mtk_jpeg_try_fmt_mplane() local 296 pfmt->bytesperline = stride; in mtk_jpeg_try_fmt_mplane() 297 pfmt->sizeimage = stride * h; in mtk_jpeg_try_fmt_mplane() 337 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[i]; in mtk_jpeg_g_fmt_vid_mplane() local 339 pfmt->bytesperline = q_data->pix_mp.plane_fmt[i].bytesperline; in mtk_jpeg_g_fmt_vid_mplane() [all …]
|
/linux-6.1.9/drivers/media/platform/renesas/ |
D | sh_vou.c | 140 u32 pfmt; member 151 .pfmt = V4L2_PIX_FMT_NV12, 158 .pfmt = V4L2_PIX_FMT_NV16, 165 .pfmt = V4L2_PIX_FMT_RGB24, 172 .pfmt = V4L2_PIX_FMT_RGB565, 179 .pfmt = V4L2_PIX_FMT_RGB565X, 392 fmt->pixelformat = vou_fmt[fmt->index].pfmt; in sh_vou_enum_fmt_vid_out() 486 fmt->pfmt, vouvcr); in sh_vou_configure_geometry() 666 if (vou_fmt[pix_idx].pfmt == pix->pixelformat) in sh_vou_try_fmt_vid_out() 707 if (vou_fmt[pix_idx].pfmt == pix->pixelformat) in sh_vou_set_fmt_vid_out()
|
/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-vid-out.c | 355 struct v4l2_plane_pix_format *pfmt = mp->plane_fmt; in vivid_try_fmt_vid_out() local 410 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_out() 411 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_out() 412 if (pfmt[p].bytesperline < bytesperline) in vivid_try_fmt_vid_out() 413 pfmt[p].bytesperline = bytesperline; in vivid_try_fmt_vid_out() 415 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) / in vivid_try_fmt_vid_out() 418 memset(pfmt[p].reserved, 0, sizeof(pfmt[p].reserved)); in vivid_try_fmt_vid_out() 421 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height * in vivid_try_fmt_vid_out()
|
D | vivid-vid-cap.c | 574 struct v4l2_plane_pix_format *pfmt = mp->plane_fmt; in vivid_try_fmt_vid_cap() local 640 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap() 641 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap() 642 if (pfmt[p].bytesperline < bytesperline) in vivid_try_fmt_vid_cap() 643 pfmt[p].bytesperline = bytesperline; in vivid_try_fmt_vid_cap() 645 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) / in vivid_try_fmt_vid_cap() 648 memset(pfmt[p].reserved, 0, sizeof(pfmt[p].reserved)); in vivid_try_fmt_vid_cap() 651 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height * in vivid_try_fmt_vid_cap()
|
/linux-6.1.9/tools/perf/ |
D | builtin-diff.c | 1327 char pfmt[20] = " "; in hpp__color_baseline() local 1330 scnprintf(pfmt, 20, "%%%d.2f%%%%", dfmt->header_width - 1); in hpp__color_baseline() 1332 pfmt, percent); in hpp__color_baseline() 1335 dfmt->header_width, pfmt); in hpp__color_baseline() 1403 char pfmt[20] = " "; in __hpp__color_compare() local 1424 scnprintf(pfmt, 20, "%%%+d.2f%%%%", dfmt->header_width - 1); in __hpp__color_compare() 1426 pfmt, diff); in __hpp__color_compare() 1435 scnprintf(pfmt, 20, "%%%d.6f", dfmt->header_width); in __hpp__color_compare() 1437 pfmt, diff); in __hpp__color_compare() 1446 scnprintf(pfmt, 20, "%%14ld", dfmt->header_width); in __hpp__color_compare() [all …]
|
/linux-6.1.9/drivers/media/platform/qcom/venus/ |
D | vdec.c | 170 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in vdec_try_fmt_common() local 174 memset(pfmt[0].reserved, 0, sizeof(pfmt[0].reserved)); in vdec_try_fmt_common() 207 pfmt[0].sizeimage = szimage; in vdec_try_fmt_common() 208 pfmt[0].bytesperline = ALIGN(pixmp->width, 128); in vdec_try_fmt_common() 210 pfmt[0].sizeimage = clamp_t(u32, pfmt[0].sizeimage, 0, SZ_8M); in vdec_try_fmt_common() 211 pfmt[0].sizeimage = max(pfmt[0].sizeimage, szimage); in vdec_try_fmt_common() 212 pfmt[0].bytesperline = 0; in vdec_try_fmt_common()
|
D | venc.c | 170 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in venc_try_fmt_common() local 174 memset(pfmt[0].reserved, 0, sizeof(pfmt[0].reserved)); in venc_try_fmt_common() 209 pfmt[0].sizeimage = max(ALIGN(pfmt[0].sizeimage, SZ_4K), sizeimage); in venc_try_fmt_common() 212 pfmt[0].bytesperline = ALIGN(pixmp->width, 128); in venc_try_fmt_common() 214 pfmt[0].bytesperline = 0; in venc_try_fmt_common()
|
/linux-6.1.9/drivers/media/platform/nxp/imx-jpeg/ |
D | mxc-jpeg.c | 1751 struct v4l2_plane_pix_format *pfmt; in mxc_jpeg_try_fmt() local 1781 pfmt = &pix_mp->plane_fmt[i]; in mxc_jpeg_try_fmt() 1782 tmp_q.bytesperline[i] = pfmt->bytesperline; in mxc_jpeg_try_fmt() 1783 tmp_q.sizeimage[i] = pfmt->sizeimage; in mxc_jpeg_try_fmt() 1792 pfmt = &pix_mp->plane_fmt[i]; in mxc_jpeg_try_fmt() 1793 memset(pfmt->reserved, 0, sizeof(pfmt->reserved)); in mxc_jpeg_try_fmt() 1794 pfmt->bytesperline = tmp_q.bytesperline[i]; in mxc_jpeg_try_fmt() 1795 pfmt->sizeimage = tmp_q.sizeimage[i]; in mxc_jpeg_try_fmt()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | qdio.h | 101 u32 pfmt : 8; member
|
/linux-6.1.9/drivers/s390/cio/ |
D | qdio_setup.c | 334 irq_ptr->qib.pfmt = init_data->qib_param_field_format; in setup_qib()
|
/linux-6.1.9/drivers/media/platform/marvell/ |
D | mcam-core.c | 316 static bool mcam_fmt_is_planar(__u32 pfmt) in mcam_fmt_is_planar() argument 320 f = mcam_find_format(pfmt); in mcam_fmt_is_planar()
|