Searched refs:streamparm (Results 1 – 1 of 1) sorted by relevance
2270 v4l2_streamparm streamparm = { .type = V4L2_BUF_TYPE_VIDEO_CAPTURE }; in setV4l2FpsLocked() local2272 int ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_G_PARM, &streamparm)); in setV4l2FpsLocked()2280 if (!(streamparm.parm.capture.capability & V4L2_CAP_TIMEPERFRAME)) { in setV4l2FpsLocked()2287 streamparm.parm.capture.timeperframe.numerator = kFrameRatePrecision; in setV4l2FpsLocked()2288 streamparm.parm.capture.timeperframe.denominator = in setV4l2FpsLocked()2291 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_PARM, &streamparm)) < 0) { in setV4l2FpsLocked()2296 double retFps = streamparm.parm.capture.timeperframe.denominator / in setV4l2FpsLocked()2297 static_cast<double>(streamparm.parm.capture.timeperframe.numerator); in setV4l2FpsLocked()