Home
last modified time | relevance | path

Searched refs:pixm (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
Drkisp1-capture.c389 static u32 rkisp1_pixfmt_comp_size(const struct v4l2_pix_format_mplane *pixm, in rkisp1_pixfmt_comp_size() argument
397 if (!component && pixm->num_planes == 1) in rkisp1_pixfmt_comp_size()
398 return pixm->plane_fmt[0].bytesperline * pixm->height; in rkisp1_pixfmt_comp_size()
399 return pixm->plane_fmt[component].sizeimage; in rkisp1_pixfmt_comp_size()
412 const struct v4l2_pix_format_mplane *pixm = &cap->pix.fmt; in rkisp1_mp_config() local
417 rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y)); in rkisp1_mp_config()
419 rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_CB)); in rkisp1_mp_config()
421 rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_CR)); in rkisp1_mp_config()
449 const struct v4l2_pix_format_mplane *pixm = &cap->pix.fmt; in rkisp1_sp_config() local
454 rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y)); in rkisp1_sp_config()
[all …]
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/
Dfimc-isp-video.c383 struct v4l2_pix_format_mplane *pixm, in __isp_video_try_fmt() argument
388 __fmt = fimc_isp_find_format(&pixm->pixelformat, NULL, 2); in __isp_video_try_fmt()
393 pixm->colorspace = V4L2_COLORSPACE_SRGB; in __isp_video_try_fmt()
394 pixm->field = V4L2_FIELD_NONE; in __isp_video_try_fmt()
395 pixm->num_planes = __fmt->memplanes; in __isp_video_try_fmt()
396 pixm->pixelformat = __fmt->fourcc; in __isp_video_try_fmt()
401 v4l_bound_align_image(&pixm->width, FIMC_ISP_SOURCE_WIDTH_MIN, in __isp_video_try_fmt()
403 &pixm->height, FIMC_ISP_SOURCE_HEIGHT_MIN, in __isp_video_try_fmt()
421 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in isp_video_s_fmt_mplane() local
425 __isp_video_try_fmt(isp, pixm, &ifmt); in isp_video_s_fmt_mplane()
[all …]
Dfimc-lite.c672 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in fimc_lite_g_fmt_mplane() local
673 struct v4l2_plane_pix_format *plane_fmt = &pixm->plane_fmt[0]; in fimc_lite_g_fmt_mplane()
680 pixm->num_planes = fmt->memplanes; in fimc_lite_g_fmt_mplane()
681 pixm->pixelformat = fmt->fourcc; in fimc_lite_g_fmt_mplane()
682 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
683 pixm->height = frame->f_height; in fimc_lite_g_fmt_mplane()
684 pixm->field = V4L2_FIELD_NONE; in fimc_lite_g_fmt_mplane()
685 pixm->colorspace = fmt->colorspace; in fimc_lite_g_fmt_mplane()
690 struct v4l2_pix_format_mplane *pixm, in fimc_lite_try_fmt() argument
693 u32 bpl = pixm->plane_fmt[0].bytesperline; in fimc_lite_try_fmt()
[all …]
Dfimc-m2m.c318 struct v4l2_pix_format_mplane *pixm) in __set_frame_format() argument
323 frame->bytesperline[i] = pixm->plane_fmt[i].bytesperline; in __set_frame_format()
324 frame->payload[i] = pixm->plane_fmt[i].sizeimage; in __set_frame_format()
327 frame->f_width = pixm->width; in __set_frame_format()
328 frame->f_height = pixm->height; in __set_frame_format()
329 frame->o_width = pixm->width; in __set_frame_format()
330 frame->o_height = pixm->height; in __set_frame_format()
331 frame->width = pixm->width; in __set_frame_format()
332 frame->height = pixm->height; in __set_frame_format()
582 struct v4l2_pix_format_mplane pixm = { in fimc_m2m_set_default_format() local
[all …]
Dfimc-core.c676 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in __fimc_get_format() local
679 pixm->width = frame->o_width; in __fimc_get_format()
680 pixm->height = frame->o_height; in __fimc_get_format()
681 pixm->field = V4L2_FIELD_NONE; in __fimc_get_format()
682 pixm->pixelformat = frame->fmt->fourcc; in __fimc_get_format()
683 pixm->colorspace = V4L2_COLORSPACE_JPEG; in __fimc_get_format()
684 pixm->num_planes = frame->fmt->memplanes; in __fimc_get_format()
686 for (i = 0; i < pixm->num_planes; ++i) { in __fimc_get_format()
687 pixm->plane_fmt[i].bytesperline = frame->bytesperline[i]; in __fimc_get_format()
688 pixm->plane_fmt[i].sizeimage = frame->payload[i]; in __fimc_get_format()
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-v4l2.c780 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in imgu_try_fmt() local
790 pixm->pixelformat = fmt->fourcc; in imgu_try_fmt()
Dipu3-css-params.c1956 const struct v4l2_pix_format_mplane *pixm = in imgu_css_cfg_acc() local
1971 ofs_x = ((pixm->width - in imgu_css_cfg_acc()
1977 ofs_y = ((pixm->height - in imgu_css_cfg_acc()
1983 acc->input_feeder.data.row_stride = pixm->plane_fmt[0].bytesperline; in imgu_css_cfg_acc()