Home
last modified time | relevance | path

Searched refs:native_handle_t (Results 1 – 21 of 21) sorted by relevance

/device/google/contexthub/sensorhal/
Ddirectchannel.h59 int registerBuffer(const native_handle_t *handle);
60 int unregisterBuffer(const native_handle_t *handle);
61 int lock(const native_handle_t *handle, int usage, int l, int t, int w, int h, void **vaddr);
62 int unlock(const native_handle_t *handle);
63 bool isSameMemory(const native_handle_t *h1, const native_handle_t *h2);
93 native_handle_t *mNativeHandle;
Ddirectchannel.cpp178 int GrallocHalWrapper::registerBuffer(const native_handle_t *handle) { in registerBuffer()
189 int GrallocHalWrapper::unregisterBuffer(const native_handle_t *handle) { in unregisterBuffer()
200 int GrallocHalWrapper::lock(const native_handle_t *handle, in lock()
222 int GrallocHalWrapper::unlock(const native_handle_t *handle) { in unlock()
235 bool GrallocHalWrapper::isSameMemory(const native_handle_t *h1, const native_handle_t *h2) { in isSameMemory()
/device/generic/opengl-transport/host/libs/virglrenderer/include/cutils/
Dnative_handle.h19 struct native_handle_t;
21 typedef const struct native_handle_t* buffer_handle_t;
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.h35 virtual uint32_t getHostHandle(native_handle_t const* handle);
36 virtual int getFormat(native_handle_t const* handle);
DHostConnection.h93 virtual uint32_t getHostHandle(native_handle_t const* handle) = 0;
94 virtual int getFormat(native_handle_t const* handle) = 0;
DVirtioGpuStream.cpp55 uint32_t CrosGralloc::getHostHandle(native_handle_t const* handle_) in getHostHandle()
68 int CrosGralloc::getFormat(native_handle_t const* handle) in getFormat()
DHostConnection.cpp83 uint32_t getHostHandle(native_handle_t const* handle) in getHostHandle()
88 int getFormat(native_handle_t const* handle) in getFormat()
/device/generic/goldfish-opengl/fuchsia/include/cutils/
Dnative_handle.h8 } native_handle_t; typedef
/device/generic/opengl-transport/host/libs/virglrenderer/include/nativebase/
Dnativebase.h60 const native_handle_t* handle;
/device/generic/goldfish-opengl/system/vulkan_enc/
DAndroidHardwareBuffer.cpp112 const native_handle_t *handle = in getAndroidHardwareBufferPropertiesANDROID()
167 const native_handle_t *handle = in importAndroidHardwareBuffer()
DResourceTracker.cpp52 native_handle_t *AHardwareBuffer_getNativeHandle(AHardwareBuffer*) { return NULL; } in AHardwareBuffer_getNativeHandle()
1670 const native_handle_t *handle = in on_vkAllocateMemory()
/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc_vsoc_priv.h47 return ((sizeof(vsoc_buffer_handle_t) - sizeof(native_handle_t)) / in sNumInts()
/device/generic/goldfish/gralloc/
Dgralloc_priv.h83 return (((sizeof(private_handle_t) - sizeof(native_handle_t))/sizeof(int)) - sNumFds); in sNumInts()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.h234 native_handle_t *updateNativeHandle(uint32_t index, bool metadata = true);
240 native_handle_t *mNativeHandle[MM_CAMERA_MAX_NUM_FRAMES];
DQCameraMem.cpp1344 native_handle_t *nh = mNativeHandle[i]; in allocate()
1412 native_handle_t *nh = mNativeHandle[i]; in allocateMore()
1499 native_handle_t *nh = mNativeHandle[i]; in deallocateMeta()
1569 native_handle_t *QCameraVideoMemory::updateNativeHandle(uint32_t index, bool metadata) in updateNativeHandle()
1575 native_handle_t *nh = NULL; in updateNativeHandle()
DQCamera2HWICallbacks.cpp1443 native_handle_t *nh = NULL; in video_stream_cb_routine()
1510 native_handle_t *nh = NULL; in video_stream_cb_routine()
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dgralloc_vsoc_priv.h81 return (((sizeof(private_handle_t) - sizeof(native_handle_t))/sizeof(int)) - sNumFds); in sNumInts()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h379 HWC2::Error setSidebandStream(const native_handle_t* stream);
409 const native_handle_t* mSidebandStream;
DEmuHWC2.cpp263 &Layer::setSidebandStream, const native_handle_t*>); in doGetFunction()
1300 Error EmuHWC2::Layer::setSidebandStream(const native_handle_t* stream) { in setSidebandStream()
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp879 (native_handle_t *) (*camHal->previewMem.buffer_handle[cnt]), in initDisplayBuffers()
942 (native_handle_t *)(*(camHal->previewMem.buffer_handle[cnt])))){ in initDisplayBuffers()
1023 (native_handle_t *)(*(camHal->previewMem.buffer_handle[cnt])))){ in deInitDisplayBuffers()
1808 genlock_lock_buffer((native_handle_t *)(*buffer_handle), in get_buf_from_display()
1873 (native_handle_t *) in put_buf_to_display()
/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp179 buffer->handle = reinterpret_cast<const native_handle_t*>(res->args.handle); in resourceToANWB()