Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/media/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
416 rkisp1_write(rkisp1, rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y), in rkisp1_mp_config()
418 rkisp1_write(rkisp1, rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_CB), in rkisp1_mp_config()
420 rkisp1_write(rkisp1, 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
453 rkisp1_write(rkisp1, rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y), in rkisp1_sp_config()
[all …]
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c381 struct v4l2_pix_format_mplane *pixm, in __isp_video_try_fmt() argument
386 __fmt = fimc_isp_find_format(&pixm->pixelformat, NULL, 2); in __isp_video_try_fmt()
391 pixm->colorspace = V4L2_COLORSPACE_SRGB; in __isp_video_try_fmt()
392 pixm->field = V4L2_FIELD_NONE; in __isp_video_try_fmt()
393 pixm->num_planes = __fmt->memplanes; in __isp_video_try_fmt()
394 pixm->pixelformat = __fmt->fourcc; in __isp_video_try_fmt()
399 v4l_bound_align_image(&pixm->width, FIMC_ISP_SOURCE_WIDTH_MIN, in __isp_video_try_fmt()
401 &pixm->height, FIMC_ISP_SOURCE_HEIGHT_MIN, in __isp_video_try_fmt()
419 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in isp_video_s_fmt_mplane() local
423 __isp_video_try_fmt(isp, pixm, &ifmt); in isp_video_s_fmt_mplane()
[all …]
Dfimc-lite.c673 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in fimc_lite_g_fmt_mplane() local
674 struct v4l2_plane_pix_format *plane_fmt = &pixm->plane_fmt[0]; in fimc_lite_g_fmt_mplane()
681 pixm->num_planes = fmt->memplanes; in fimc_lite_g_fmt_mplane()
682 pixm->pixelformat = fmt->fourcc; in fimc_lite_g_fmt_mplane()
683 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
684 pixm->height = frame->f_height; in fimc_lite_g_fmt_mplane()
685 pixm->field = V4L2_FIELD_NONE; in fimc_lite_g_fmt_mplane()
686 pixm->colorspace = fmt->colorspace; in fimc_lite_g_fmt_mplane()
691 struct v4l2_pix_format_mplane *pixm, in fimc_lite_try_fmt() argument
694 u32 bpl = pixm->plane_fmt[0].bytesperline; in fimc_lite_try_fmt()
[all …]
Dfimc-m2m.c321 struct v4l2_pix_format_mplane *pixm) in __set_frame_format() argument
326 frame->bytesperline[i] = pixm->plane_fmt[i].bytesperline; in __set_frame_format()
327 frame->payload[i] = pixm->plane_fmt[i].sizeimage; in __set_frame_format()
330 frame->f_width = pixm->width; in __set_frame_format()
331 frame->f_height = pixm->height; in __set_frame_format()
332 frame->o_width = pixm->width; in __set_frame_format()
333 frame->o_height = pixm->height; in __set_frame_format()
334 frame->width = pixm->width; in __set_frame_format()
335 frame->height = pixm->height; in __set_frame_format()
585 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-v5.10/drivers/staging/media/ipu3/
Dipu3-v4l2.c764 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in imgu_try_fmt() local
774 pixm->pixelformat = fmt->fourcc; in imgu_try_fmt()
776 memset(pixm->plane_fmt[0].reserved, 0, in imgu_try_fmt()
777 sizeof(pixm->plane_fmt[0].reserved)); in imgu_try_fmt()
Dipu3-css-params.c1959 const struct v4l2_pix_format_mplane *pixm = in imgu_css_cfg_acc() local
1974 ofs_x = ((pixm->width - in imgu_css_cfg_acc()
1980 ofs_y = ((pixm->height - in imgu_css_cfg_acc()
1986 acc->input_feeder.data.row_stride = pixm->plane_fmt[0].bytesperline; in imgu_css_cfg_acc()