Home
last modified time | relevance | path

Searched refs:mV4l2Fd (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp105 mV4l2Fd(std::move(v4l2Fd)), in ExternalCameraDeviceSession()
110 if (mV4l2Fd.get() < 0) { in initialize()
111 ALOGE("%s: invalid v4l2 device fd %d!", __FUNCTION__, mV4l2Fd.get()); in initialize()
116 int ret = ioctl(mV4l2Fd.get(), VIDIOC_QUERYCAP, &capability); in initialize()
267 mCameraId.c_str(), mV4l2Fd.get(), in dumpState()
493 ALOGV("%s: closing V4L2 camera FD %d", __FUNCTION__, mV4l2Fd.get()); in close()
494 mV4l2Fd.reset(); in close()
1951 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_STREAMOFF, &capture_type)) < 0) { in v4l2StreamOffLocked()
1961 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_REQBUFS, &req_buffers)) < 0) { in v4l2StreamOffLocked()
1974 int ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_G_PARM, &streamparm)); in setV4l2FpsLocked()
[all …]
/hardware/interfaces/camera/device/default/
DExternalCameraDeviceSession.cpp124 mV4l2Fd(std::move(v4l2Fd)), in ExternalCameraDeviceSession()
143 if (mV4l2Fd.get() < 0) { in initialize()
144 ALOGE("%s: invalid v4l2 device fd %d!", __FUNCTION__, mV4l2Fd.get()); in initialize()
149 int ret = ioctl(mV4l2Fd.get(), VIDIOC_QUERYCAP, &capability); in initialize()
1072 ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_S_FMT, &fmt)); in configureV4l2StreamLocked()
1144 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_REQBUFS, &req_buffers)) < 0) { in configureV4l2StreamLocked()
1163 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_QUERYBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
1168 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_QBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
1179 ret = TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_STREAMON, &capture_type)); in configureV4l2StreamLocked()
1200 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_DQBUF, &buffer)) < 0) { in configureV4l2StreamLocked()
[all …]
DExternalCameraDeviceSession.h319 unique_fd mV4l2Fd; variable
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h331 unique_fd mV4l2Fd; member