Home
last modified time | relevance | path

Searched refs:GetDeviceFD (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-v4l2.cpp26 : CHWJpegCompressor("/dev/video12"), file_lock_(FileLock(GetDeviceFD())) { in CHWJpegV4L2Compressor()
55 if (ioctl(GetDeviceFD(), VIDIOC_QUERYCAP, &cap) < 0) { in CHWJpegV4L2Compressor()
64 ALOGD("CHWJpegV4L2Compressor Created: %p, FD %d", this, GetDeviceFD()); in CHWJpegV4L2Compressor()
70 ALOGD("CHWJpegV4L2Compressor Destroyed: %p, FD %d", this, GetDeviceFD()); in ~CHWJpegV4L2Compressor()
155 if (ioctl(GetDeviceFD(), VIDIOC_S_EXT_CTRLS, &ctrls) < 0) { in SetQuality()
453 if (ioctl(GetDeviceFD(), VIDIOC_TRY_FMT, &m_v4l2Format) < 0) { in TryFormat()
462 if (ioctl(GetDeviceFD(), VIDIOC_S_FMT, &m_v4l2Format) < 0) { in SetFormat()
475 if (ioctl(GetDeviceFD(), VIDIOC_S_FMT, &v4l2JpegFormat) < 0) { in SetFormat()
516 if (ioctl(GetDeviceFD(), VIDIOC_S_EXT_CTRLS, &ctrls) < 0) { in UpdateControls()
537 if (ioctl(GetDeviceFD(), VIDIOC_REQBUFS, &reqbufs) < 0) { in ReqBufs()
[all …]
/hardware/google/graphics/common/libhwjpeg/include/
Dexynos-hwjpeg.h80 int GetDeviceFD() { return m_iFD; } in GetDeviceFD() function