Home
last modified time | relevance | path

Searched refs:v4l2_fmt (Results 1 – 3 of 3) sorted by relevance

/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c137 struct v4l2_format *v4l2_fmt, /* format of V4L2 */
173 width = v4l2_fmt->fmt.pix.width;
174 height = v4l2_fmt->fmt.pix.height;
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp3411 struct v4l2_format v4l2_fmt; in m_setWidthHeight() local
3416 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 …]
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp117 struct v4l2_format v4l2_fmt; in cam_int_s_fmt() local
121 memset(&v4l2_fmt, 0, sizeof(struct v4l2_format)); in cam_int_s_fmt()
123 v4l2_fmt.type = node->type; in cam_int_s_fmt()
127 v4l2_fmt.fmt.pix_mp.width = node->width; in cam_int_s_fmt()
128 v4l2_fmt.fmt.pix_mp.height = node->height; in cam_int_s_fmt()
129 v4l2_fmt.fmt.pix_mp.pixelformat = node->format; in cam_int_s_fmt()
130 v4l2_fmt.fmt.pix_mp.field = V4L2_FIELD_ANY; in cam_int_s_fmt()
136 ret = exynos_v4l2_s_fmt(node->fd, &v4l2_fmt); in cam_int_s_fmt()