Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libv4l2/
Dexynos_v4l2.c788 int exynos_v4l2_g_parm(int fd, struct v4l2_streamparm *streamparm) in exynos_v4l2_g_parm() argument
799 if (__v4l2_check_buf_type(streamparm->type) == false) { in exynos_v4l2_g_parm()
804 ret = ioctl(fd, VIDIOC_G_PARM, streamparm); in exynos_v4l2_g_parm()
815 int exynos_v4l2_s_parm(int fd, struct v4l2_streamparm *streamparm) in exynos_v4l2_s_parm() argument
826 if (__v4l2_check_buf_type(streamparm->type) == false) { in exynos_v4l2_s_parm()
831 ret = ioctl(fd, VIDIOC_S_PARM, streamparm); in exynos_v4l2_s_parm()
Dexynos_v4l2.h91 int exynos_v4l2_g_parm(int fd, struct v4l2_streamparm *streamparm);
93 int exynos_v4l2_s_parm(int fd, struct v4l2_streamparm *streamparm);
/hardware/google/gchips/include/
Dexynos_v4l2.h91 int exynos_v4l2_g_parm(int fd, struct v4l2_streamparm *streamparm);
93 int exynos_v4l2_s_parm(int fd, struct v4l2_streamparm *streamparm);
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp1972 v4l2_streamparm streamparm = { .type = V4L2_BUF_TYPE_VIDEO_CAPTURE }; in setV4l2FpsLocked() local
1974 int ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_G_PARM, &streamparm)); in setV4l2FpsLocked()
1982 if (!(streamparm.parm.capture.capability & V4L2_CAP_TIMEPERFRAME)) { in setV4l2FpsLocked()
1989 streamparm.parm.capture.timeperframe.numerator = kFrameRatePrecision; in setV4l2FpsLocked()
1990 streamparm.parm.capture.timeperframe.denominator = in setV4l2FpsLocked()
1993 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_PARM, &streamparm)) < 0) { in setV4l2FpsLocked()
1998 double retFps = streamparm.parm.capture.timeperframe.denominator / in setV4l2FpsLocked()
1999 static_cast<double>(streamparm.parm.capture.timeperframe.numerator); in setV4l2FpsLocked()
/hardware/interfaces/camera/device/default/
DExternalCameraDeviceSession.cpp1448 v4l2_streamparm streamparm = {.type = V4L2_BUF_TYPE_VIDEO_CAPTURE}; in setV4l2FpsLocked() local
1450 int ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_G_PARM, &streamparm)); in setV4l2FpsLocked()
1458 if (!(streamparm.parm.capture.capability & V4L2_CAP_TIMEPERFRAME)) { in setV4l2FpsLocked()
1465 streamparm.parm.capture.timeperframe.numerator = kFrameRatePrecision; in setV4l2FpsLocked()
1466 streamparm.parm.capture.timeperframe.denominator = (fps * kFrameRatePrecision); in setV4l2FpsLocked()
1468 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_PARM, &streamparm)) < 0) { in setV4l2FpsLocked()
1473 double retFps = streamparm.parm.capture.timeperframe.denominator / in setV4l2FpsLocked()
1474 static_cast<double>(streamparm.parm.capture.timeperframe.numerator); in setV4l2FpsLocked()