Home
last modified time | relevance | path

Searched refs:pfmt (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec.c496 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 …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.c273 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[0]; in mtk_jpeg_try_fmt_mplane() local
280 pfmt->bytesperline = 0; in mtk_jpeg_try_fmt_mplane()
282 pfmt->sizeimage = round_up(pfmt->sizeimage, 128); in mtk_jpeg_try_fmt_mplane()
283 if (pfmt->sizeimage == 0) in mtk_jpeg_try_fmt_mplane()
284 pfmt->sizeimage = MTK_JPEG_DEFAULT_SIZEIMAGE; in mtk_jpeg_try_fmt_mplane()
295 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[i]; in mtk_jpeg_try_fmt_mplane() local
299 pfmt->bytesperline = stride; in mtk_jpeg_try_fmt_mplane()
300 pfmt->sizeimage = stride * h; in mtk_jpeg_try_fmt_mplane()
340 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[i]; in mtk_jpeg_g_fmt_vid_mplane() local
342 pfmt->bytesperline = q_data->pix_mp.plane_fmt[i].bytesperline; in mtk_jpeg_g_fmt_vid_mplane()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/
Dsh_vou.c140 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()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-out.c355 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()
Dvivid-vid-cap.c556 struct v4l2_plane_pix_format *pfmt = mp->plane_fmt; in vivid_try_fmt_vid_cap() local
622 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap()
623 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap()
624 if (pfmt[p].bytesperline < bytesperline) in vivid_try_fmt_vid_cap()
625 pfmt[p].bytesperline = bytesperline; in vivid_try_fmt_vid_cap()
627 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) / in vivid_try_fmt_vid_cap()
630 memset(pfmt[p].reserved, 0, sizeof(pfmt[p].reserved)); in vivid_try_fmt_vid_cap()
633 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height * in vivid_try_fmt_vid_cap()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-diff.c1326 char pfmt[20] = " "; in hpp__color_baseline() local
1329 scnprintf(pfmt, 20, "%%%d.2f%%%%", dfmt->header_width - 1); in hpp__color_baseline()
1331 pfmt, percent); in hpp__color_baseline()
1334 dfmt->header_width, pfmt); in hpp__color_baseline()
1402 char pfmt[20] = " "; in __hpp__color_compare() local
1423 scnprintf(pfmt, 20, "%%%+d.2f%%%%", dfmt->header_width - 1); in __hpp__color_compare()
1425 pfmt, diff); in __hpp__color_compare()
1434 scnprintf(pfmt, 20, "%%%d.6f", dfmt->header_width); in __hpp__color_compare()
1436 pfmt, diff); in __hpp__color_compare()
1445 scnprintf(pfmt, 20, "%%14ld", dfmt->header_width); in __hpp__color_compare()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dvdec.c145 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in vdec_try_fmt_common() local
149 memset(pfmt[0].reserved, 0, sizeof(pfmt[0].reserved)); in vdec_try_fmt_common()
180 pfmt[0].sizeimage = szimage; in vdec_try_fmt_common()
181 pfmt[0].bytesperline = ALIGN(pixmp->width, 128); in vdec_try_fmt_common()
183 pfmt[0].sizeimage = clamp_t(u32, pfmt[0].sizeimage, 0, SZ_8M); in vdec_try_fmt_common()
184 pfmt[0].sizeimage = max(pfmt[0].sizeimage, szimage); in vdec_try_fmt_common()
185 pfmt[0].bytesperline = 0; in vdec_try_fmt_common()
Dvenc.c170 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()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dqdio.h102 u32 pfmt : 8; member
/kernel/linux/linux-5.10/drivers/s390/cio/
Dqdio_setup.c116 irq_ptr->qib.pfmt = qib_param_field_format; in set_impl_params()
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
Dmcam-core.c316 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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0027_linux_drivers_media.patch2649 + struct v4l2_plane_pix_format *pfmt;
2684 + pfmt = &pix_mp->plane_fmt[i];
2685 + tmp_q.bytesperline[i] = pfmt->bytesperline;
2686 + tmp_q.sizeimage[i] = pfmt->sizeimage;
2695 + pfmt = &pix_mp->plane_fmt[i];
2696 + memset(pfmt->reserved, 0, sizeof(pfmt->reserved));
2697 + pfmt->bytesperline = tmp_q.bytesperline[i];
2698 + pfmt->sizeimage = tmp_q.sizeimage[i];
D0038_linux_drivers_mxc.patch174097 + struct vsi_video_fmt *pfmt;
174105 + pfmt = vsi_enum_dec_format(f->index, braw, ctx);
174106 + if (pfmt == NULL)
174109 + if (pfmt->name && strlen(pfmt->name))
174110 + strlcpy(f->description, pfmt->name, strlen(pfmt->name) + 1);
174111 + f->pixelformat = pfmt->fourcc;
174112 + f->flags = pfmt->flag;
174113 + v4l2_klog(LOGLVL_CONFIG, "%s:%d:%d:%x", __func__, f->index, f->type, pfmt->fourcc);
175301 + struct vsi_video_fmt *pfmt;
175309 + pfmt = vsi_enum_encformat(f->index, braw);
[all …]