Home
last modified time | relevance | path

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

/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c49 const struct v4l2_pix_format_mplane *pixm = NULL; in isp_video_capture_queue_setup() local
54 pixm = &pfmt->fmt.pix_mp; in isp_video_capture_queue_setup()
55 fmt = fimc_isp_find_format(&pixm->pixelformat, NULL, -1); in isp_video_capture_queue_setup()
56 wh = pixm->width * pixm->height; in isp_video_capture_queue_setup()
71 if (pixm) in isp_video_capture_queue_setup()
72 sizes[i] = max(size, pixm->plane_fmt[i].sizeimage); in isp_video_capture_queue_setup()
391 struct v4l2_pix_format_mplane *pixm, in __isp_video_try_fmt() argument
396 __fmt = fimc_isp_find_format(&pixm->pixelformat, NULL, 2); in __isp_video_try_fmt()
401 pixm->colorspace = V4L2_COLORSPACE_SRGB; in __isp_video_try_fmt()
402 pixm->field = V4L2_FIELD_NONE; in __isp_video_try_fmt()
[all …]
Dfimc-lite.c363 const struct v4l2_pix_format_mplane *pixm = NULL; in queue_setup() local
371 pixm = &pfmt->fmt.pix_mp; in queue_setup()
372 fmt = fimc_lite_find_format(&pixm->pixelformat, NULL, 0, -1); in queue_setup()
373 wh = pixm->width * pixm->height; in queue_setup()
385 if (pixm) in queue_setup()
386 sizes[i] = max(size, pixm->plane_fmt[i].sizeimage); in queue_setup()
693 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in fimc_lite_g_fmt_mplane() local
694 struct v4l2_plane_pix_format *plane_fmt = &pixm->plane_fmt[0]; in fimc_lite_g_fmt_mplane()
701 pixm->num_planes = fmt->memplanes; in fimc_lite_g_fmt_mplane()
702 pixm->pixelformat = fmt->fourcc; in fimc_lite_g_fmt_mplane()
[all …]
Dfimc-m2m.c341 struct v4l2_pix_format_mplane *pixm) in __set_frame_format() argument
346 frame->bytesperline[i] = pixm->plane_fmt[i].bytesperline; in __set_frame_format()
347 frame->payload[i] = pixm->plane_fmt[i].sizeimage; in __set_frame_format()
350 frame->f_width = pixm->width; in __set_frame_format()
351 frame->f_height = pixm->height; in __set_frame_format()
352 frame->o_width = pixm->width; in __set_frame_format()
353 frame->o_height = pixm->height; in __set_frame_format()
354 frame->width = pixm->width; in __set_frame_format()
355 frame->height = pixm->height; in __set_frame_format()
584 struct v4l2_pix_format_mplane pixm = { in fimc_m2m_set_default_format() local
[all …]
Dfimc-core.c700 struct v4l2_pix_format_mplane *pixm = &f->fmt.pix_mp; in __fimc_get_format() local
703 pixm->width = frame->o_width; in __fimc_get_format()
704 pixm->height = frame->o_height; in __fimc_get_format()
705 pixm->field = V4L2_FIELD_NONE; in __fimc_get_format()
706 pixm->pixelformat = frame->fmt->fourcc; in __fimc_get_format()
707 pixm->colorspace = V4L2_COLORSPACE_JPEG; in __fimc_get_format()
708 pixm->num_planes = frame->fmt->memplanes; in __fimc_get_format()
710 for (i = 0; i < pixm->num_planes; ++i) { in __fimc_get_format()
711 pixm->plane_fmt[i].bytesperline = frame->bytesperline[i]; in __fimc_get_format()
712 pixm->plane_fmt[i].sizeimage = frame->payload[i]; in __fimc_get_format()
Dfimc-capture.c346 const struct v4l2_pix_format_mplane *pixm = NULL; in queue_setup() local
354 pixm = &pfmt->fmt.pix_mp; in queue_setup()
355 fmt = fimc_find_format(&pixm->pixelformat, NULL, in queue_setup()
357 wh = pixm->width * pixm->height; in queue_setup()
369 if (pixm) in queue_setup()
370 sizes[i] = max(size, pixm->plane_fmt[i].sizeimage); in queue_setup()