Lines Matching defs:pixm
670 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp;
671 struct v4l2_plane_pix_format *plane_fmt = &pixm->plane_fmt[0];
678 pixm->num_planes = fmt->memplanes;
679 pixm->pixelformat = fmt->fourcc;
680 pixm->width = frame->f_width;
681 pixm->height = frame->f_height;
682 pixm->field = V4L2_FIELD_NONE;
683 pixm->colorspace = fmt->colorspace;
688 struct v4l2_pix_format_mplane *pixm,
691 u32 bpl = pixm->plane_fmt[0].bytesperline;
704 fmt = fimc_lite_find_format(&pixm->pixelformat, NULL,
713 v4l_bound_align_image(&pixm->width, 8, dd->max_width,
715 &pixm->height, 0, dd->max_height, 0, 0);
717 if ((bpl == 0 || ((bpl * 8) / fmt->depth[0]) < pixm->width))
718 pixm->plane_fmt[0].bytesperline = (pixm->width *
721 if (pixm->plane_fmt[0].sizeimage == 0)
722 pixm->plane_fmt[0].sizeimage = (pixm->width * pixm->height *
724 pixm->num_planes = fmt->memplanes;
725 pixm->pixelformat = fmt->fourcc;
726 pixm->colorspace = fmt->colorspace;
727 pixm->field = V4L2_FIELD_NONE;
741 const struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp;
755 fimc->payload[0] = max((pixm->width * pixm->height * fmt->depth[0]) / 8,
756 pixm->plane_fmt[0].sizeimage);
757 frame->f_width = pixm->width;
758 frame->f_height = pixm->height;