Searched refs:pfmt (Results 1 – 9 of 9) sorted by relevance
/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 …]
|
/drivers/media/platform/mtk-jpeg/ |
D | mtk_jpeg_core.c | 273 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 …]
|
/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 | 562 struct v4l2_plane_pix_format *pfmt = mp->plane_fmt; in vivid_try_fmt_vid_cap() local 628 if (pfmt[p].bytesperline > max_bpl) in vivid_try_fmt_vid_cap() 629 pfmt[p].bytesperline = max_bpl; in vivid_try_fmt_vid_cap() 630 if (pfmt[p].bytesperline < bytesperline) in vivid_try_fmt_vid_cap() 631 pfmt[p].bytesperline = bytesperline; in vivid_try_fmt_vid_cap() 633 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) / in vivid_try_fmt_vid_cap() 636 memset(pfmt[p].reserved, 0, sizeof(pfmt[p].reserved)); in vivid_try_fmt_vid_cap() 639 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height * in vivid_try_fmt_vid_cap()
|
/drivers/media/platform/ |
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()
|
/drivers/media/platform/qcom/venus/ |
D | vdec.c | 145 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() 182 pfmt[0].sizeimage = szimage; in vdec_try_fmt_common() 183 pfmt[0].bytesperline = ALIGN(pixmp->width, 128); in vdec_try_fmt_common() 185 pfmt[0].sizeimage = clamp_t(u32, pfmt[0].sizeimage, 0, SZ_8M); in vdec_try_fmt_common() 186 pfmt[0].sizeimage = max(pfmt[0].sizeimage, szimage); in vdec_try_fmt_common() 187 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()
|
/drivers/s390/cio/ |
D | qdio_setup.c | 116 irq_ptr->qib.pfmt = qib_param_field_format; in set_impl_params()
|
/drivers/media/platform/marvell-ccic/ |
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()
|