Searched refs:v4l2_fmt (Results 1 – 2 of 2) sorted by relevance
3411 struct v4l2_format v4l2_fmt; in m_setWidthHeight() local3416 memset(&v4l2_fmt, 0, sizeof(struct v4l2_format)); in m_setWidthHeight()3422 v4l2_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in m_setWidthHeight()3426 v4l2_fmt.fmt.pix_mp.width = w; in m_setWidthHeight()3427 v4l2_fmt.fmt.pix_mp.height = h; in m_setWidthHeight()3428 v4l2_fmt.fmt.pix_mp.pixelformat = colorFormat; in m_setWidthHeight()3429 v4l2_fmt.fmt.pix_mp.num_planes = planes; in m_setWidthHeight()3431 if (exynos_v4l2_s_fmt(fd, &v4l2_fmt) < 0) { in m_setWidthHeight()3437 v4l2_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in m_setWidthHeight()3445 v4l2_fmt.fmt.pix = pixfmt; in m_setWidthHeight()[all …]
116 struct v4l2_format v4l2_fmt; in cam_int_s_fmt() local120 memset(&v4l2_fmt, 0, sizeof(struct v4l2_format)); in cam_int_s_fmt()122 v4l2_fmt.type = node->type; in cam_int_s_fmt()126 v4l2_fmt.fmt.pix_mp.width = node->width; in cam_int_s_fmt()127 v4l2_fmt.fmt.pix_mp.height = node->height; in cam_int_s_fmt()128 v4l2_fmt.fmt.pix_mp.pixelformat = node->format; in cam_int_s_fmt()129 v4l2_fmt.fmt.pix_mp.field = V4L2_FIELD_ANY; in cam_int_s_fmt()135 ret = exynos_v4l2_s_fmt(node->fd, &v4l2_fmt); in cam_int_s_fmt()