Searched refs:streamparm (Results 1 – 5 of 5) sorted by relevance
/hardware/google/graphics/common/libv4l2/ |
D | exynos_v4l2.c | 788 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()
|
D | exynos_v4l2.h | 91 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/ |
D | exynos_v4l2.h | 91 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/ |
D | ExternalCameraDeviceSession.cpp | 1972 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/ |
D | ExternalCameraDeviceSession.cpp | 1448 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()
|