Lines Matching refs:streamParams
239 struct v4l2_streamparm streamParams;
257 streamParams.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
258 streamParams.parm.capture.capability = V4L2_CAP_TIMEPERFRAME;
259 streamParams.parm.capture.capturemode = V4L2_MODE_HIGHQUALITY;
260 streamParams.parm.capture.timeperframe.denominator = FPS_PERIOD;
261 streamParams.parm.capture.timeperframe.numerator= 1;
262 ret = v4lIoctl(mCameraHandle, VIDIOC_S_PARM, &streamParams);
385 struct v4l2_streamparm streamParams;
400 streamParams.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
401 streamParams.parm.capture.capability = V4L2_CAP_TIMEPERFRAME;
402 streamParams.parm.capture.capturemode = V4L2_MODE_HIGHQUALITY;
403 streamParams.parm.capture.timeperframe.denominator = FPS_PERIOD;
404 streamParams.parm.capture.timeperframe.numerator= 1;
405 ret = v4lIoctl(mCameraHandle, VIDIOC_S_PARM, &streamParams);
410 int actualFps = streamParams.parm.capture.timeperframe.denominator / streamParams.parm.capture.timeperframe.numerator;