Home
last modified time | relevance | path

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

/drivers/media/platform/exynos4-is/
Dfimc-lite.c373 const struct v4l2_pix_format_mplane *pixm = NULL; in queue_setup() local
381 pixm = &pfmt->fmt.pix_mp; in queue_setup()
382 fmt = fimc_lite_find_format(&pixm->pixelformat, NULL, 0, -1); in queue_setup()
383 wh = pixm->width * pixm->height; in queue_setup()
395 if (pixm) in queue_setup()
396 sizes[i] = max(size, pixm->plane_fmt[i].sizeimage); in queue_setup()
669 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in fimc_lite_g_fmt_mplane() local
670 struct v4l2_plane_pix_format *plane_fmt = &pixm->plane_fmt[0]; in fimc_lite_g_fmt_mplane()
677 pixm->num_planes = fmt->memplanes; in fimc_lite_g_fmt_mplane()
678 pixm->pixelformat = fmt->fourcc; in fimc_lite_g_fmt_mplane()
[all …]
Dfimc-m2m.c353 struct v4l2_pix_format_mplane *pixm) in __set_frame_format() argument
358 frame->bytesperline[i] = pixm->plane_fmt[i].bytesperline; in __set_frame_format()
359 frame->payload[i] = pixm->plane_fmt[i].sizeimage; in __set_frame_format()
362 frame->f_width = pixm->width; in __set_frame_format()
363 frame->f_height = pixm->height; in __set_frame_format()
364 frame->o_width = pixm->width; in __set_frame_format()
365 frame->o_height = pixm->height; in __set_frame_format()
366 frame->width = pixm->width; in __set_frame_format()
367 frame->height = pixm->height; in __set_frame_format()
644 struct v4l2_pix_format_mplane pixm = { in fimc_m2m_set_default_format() local
[all …]
Dfimc-core.c711 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in __fimc_get_format() local
714 pixm->width = frame->o_width; in __fimc_get_format()
715 pixm->height = frame->o_height; in __fimc_get_format()
716 pixm->field = V4L2_FIELD_NONE; in __fimc_get_format()
717 pixm->pixelformat = frame->fmt->fourcc; in __fimc_get_format()
718 pixm->colorspace = V4L2_COLORSPACE_JPEG; in __fimc_get_format()
719 pixm->num_planes = frame->fmt->memplanes; in __fimc_get_format()
721 for (i = 0; i < pixm->num_planes; ++i) { in __fimc_get_format()
722 pixm->plane_fmt[i].bytesperline = frame->bytesperline[i]; in __fimc_get_format()
723 pixm->plane_fmt[i].sizeimage = frame->payload[i]; in __fimc_get_format()
Dfimc-capture.c351 const struct v4l2_pix_format_mplane *pixm = NULL; in queue_setup() local
359 pixm = &pfmt->fmt.pix_mp; in queue_setup()
360 fmt = fimc_find_format(&pixm->pixelformat, NULL, in queue_setup()
362 wh = pixm->width * pixm->height; in queue_setup()
374 if (pixm) in queue_setup()
375 sizes[i] = max(size, pixm->plane_fmt[i].sizeimage); in queue_setup()