Lines Matching refs:mV4l2Fd

107         mV4l2Fd(std::move(v4l2Fd)),  in ExternalCameraDeviceSession()
112 if (mV4l2Fd.get() < 0) { in initialize()
113 ALOGE("%s: invalid v4l2 device fd %d!", __FUNCTION__, mV4l2Fd.get()); in initialize()
118 int ret = ioctl(mV4l2Fd.get(), VIDIOC_QUERYCAP, &capability); in initialize()
269 mCameraId.c_str(), mV4l2Fd.get(), in dumpState()
495 ALOGV("%s: closing V4L2 camera FD %d", __FUNCTION__, mV4l2Fd.get()); in close()
496 mV4l2Fd.reset(); in close()
2249 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_STREAMOFF, &capture_type)) < 0) { in v4l2StreamOffLocked()
2259 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_REQBUFS, &req_buffers)) < 0) { in v4l2StreamOffLocked()
2272 int ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_G_PARM, &streamparm)); in setV4l2FpsLocked()
2291 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_PARM, &streamparm)) < 0) { in setV4l2FpsLocked()
2321 ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_FMT, &fmt)); in configureV4l2StreamLocked()
2327 ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_FMT, &fmt)); in configureV4l2StreamLocked()
2398 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_REQBUFS, &req_buffers)) < 0) { in configureV4l2StreamLocked()
2417 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_QUERYBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
2422 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_QBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
2430 ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_STREAMON, &capture_type)); in configureV4l2StreamLocked()
2436 ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_STREAMON, &capture_type)); in configureV4l2StreamLocked()
2453 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_DQBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
2458 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_QBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
2494 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_DQBUF, &buffer)) < 0) { in dequeueV4l2FrameLocked()
2531 buffer.index, mV4l2Fd.get(), buffer.bytesused, buffer.m.offset); in dequeueV4l2FrameLocked()
2542 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_QBUF, &buffer)) < 0) { in enqueueV4l2Frame()