Searched refs:v4l2_fmt (Results 1 - 2 of 2) sorted by relevance

/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCamera.cpp3411 struct v4l2_format v4l2_fmt; local
3416 memset(&v4l2_fmt, 0, sizeof(struct v4l2_format));
3422 v4l2_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
3426 v4l2_fmt.fmt.pix_mp.width = w;
3427 v4l2_fmt.fmt.pix_mp.height = h;
3428 v4l2_fmt.fmt.pix_mp.pixelformat = colorFormat;
3429 v4l2_fmt.fmt.pix_mp.num_planes = planes;
3431 if (exynos_v4l2_s_fmt(fd, &v4l2_fmt) < 0) {
3437 v4l2_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
3445 v4l2_fmt
[all...]
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosCameraHWInterface2.cpp116 struct v4l2_format v4l2_fmt; local
120 memset(&v4l2_fmt, 0, sizeof(struct v4l2_format));
122 v4l2_fmt.type = node->type;
126 v4l2_fmt.fmt.pix_mp.width = node->width;
127 v4l2_fmt.fmt.pix_mp.height = node->height;
128 v4l2_fmt.fmt.pix_mp.pixelformat = node->format;
129 v4l2_fmt.fmt.pix_mp.field = V4L2_FIELD_ANY;
135 ret = exynos_v4l2_s_fmt(node->fd, &v4l2_fmt);

Completed in 117 milliseconds