Lines Matching refs:pixm
674 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp;
675 struct v4l2_plane_pix_format *plane_fmt = &pixm->plane_fmt[0];
682 pixm->num_planes = fmt->memplanes;
683 pixm->pixelformat = fmt->fourcc;
684 pixm->width = frame->f_width;
685 pixm->height = frame->f_height;
686 pixm->field = V4L2_FIELD_NONE;
687 pixm->colorspace = fmt->colorspace;
692 struct v4l2_pix_format_mplane *pixm,
695 u32 bpl = pixm->plane_fmt[0].bytesperline;
708 fmt = fimc_lite_find_format(&pixm->pixelformat, NULL,
717 v4l_bound_align_image(&pixm->width, 8, dd->max_width,
719 &pixm->height, 0, dd->max_height, 0, 0);
721 if ((bpl == 0 || ((bpl * 8) / fmt->depth[0]) < pixm->width))
722 pixm->plane_fmt[0].bytesperline = (pixm->width *
725 if (pixm->plane_fmt[0].sizeimage == 0)
726 pixm->plane_fmt[0].sizeimage = (pixm->width * pixm->height *
728 pixm->num_planes = fmt->memplanes;
729 pixm->pixelformat = fmt->fourcc;
730 pixm->colorspace = fmt->colorspace;
731 pixm->field = V4L2_FIELD_NONE;
745 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp;
759 fimc->payload[0] = max((pixm->width * pixm->height * fmt->depth[0]) / 8,
760 pixm->plane_fmt[0].sizeimage);
761 frame->f_width = pixm->width;
762 frame->f_height = pixm->height;