Home
last modified time | relevance | path

Searched refs:AHardwareBuffer (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h150 typedef struct AHardwareBuffer AHardwareBuffer; typedef
160 AHardwareBuffer** outBuffer);
165 void AHardwareBuffer_acquire(AHardwareBuffer* buffer);
171 void AHardwareBuffer_release(AHardwareBuffer* buffer);
177 void AHardwareBuffer_describe(const AHardwareBuffer* buffer,
213 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage,
226 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence);
234 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd);
242 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer);
/frameworks/native/libs/nativewindow/include/private/android/
DAHardwareBufferHelpers.h30 struct AHardwareBuffer;
51 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer);
52 GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(AHardwareBuffer* buffer);
54 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer);
55 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer);
57 AHardwareBuffer* AHardwareBuffer_from_GraphicBuffer(GraphicBuffer* buffer);
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h14 typedef struct AHardwareBuffer AHardwareBuffer; typedef
37 AHardwareBuffer** hardware_buffer);
73 AHardwareBuffer** hardware_buffer);
96 AHardwareBuffer** hardware_buffer);
Ddvr_hardware_composer_client.h11 typedef struct AHardwareBuffer AHardwareBuffer; typedef
60 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame,
Ddvr_api.h28 typedef struct AHardwareBuffer AHardwareBuffer; typedef
96 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer);
112 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer);
124 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer);
219 typedef AHardwareBuffer* (*DvrHwcFrameGetLayerBufferPtr)(DvrHwcFrame* frame,
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate()
85 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire()
90 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release()
95 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe()
111 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock()
133 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock()
143 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket()
199 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) { in AHardwareBuffer_recvHandleFromUnixSocket()
276 const AHardwareBuffer* buffer) { in AHardwareBuffer_getNativeHandle()
423 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer()
[all …]
DAndroid.bp42 "AHardwareBuffer.cpp",
DANativeWindow.cpp110 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb) { in ANativeWindowBuffer_getHardwareBuffer()
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_native_client_buffer.txt42 AHardwareBuffer object which can be later used to create an EGLImage.
46 struct AHardwareBuffer
50 EGLClientBuffer eglGetNativeClientBufferANDROID(const AHardwareBuffer *buffer)
65 AHardwareBuffer *buffer)
67 may be used to create an EGLClientBuffer from an AHardwareBuffer object.
84 1. Should this extension define what particular AHardwareBuffer formats EGL
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer.cpp27 AHardwareBuffer** hardware_buffer) { in ConvertToAHardwareBuffer()
31 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer()
69 AHardwareBuffer** hardware_buffer) { in dvrWriteBufferGetAHardwareBuffer()
131 AHardwareBuffer** hardware_buffer) { in dvrReadBufferGetAHardwareBuffer()
170 AHardwareBuffer** hardware_buffer) { in dvrBufferGetAHardwareBuffer()
Ddvr_hardware_composer_client.cpp134 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame, in dvrHwcFrameGetLayerBuffer()
136 AHardwareBuffer* buffer = android::AHardwareBuffer_from_GraphicBuffer( in dvrHwcFrameGetLayerBuffer()
/frameworks/native/include/android/
Dhardware_buffer_jni.h38 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env,
46 AHardwareBuffer* hardwareBuffer);
Dsensor.h61 typedef struct AHardwareBuffer AHardwareBuffer; typedef
465 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size);
/frameworks/base/native/android/
Dhardware_buffer_jni.cpp25 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env, jobject hardwareBufferObj) { in AHardwareBuffer_fromHardwareBuffer()
29 jobject AHardwareBuffer_toHardwareBuffer(JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in AHardwareBuffer_toHardwareBuffer()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_hardware_HardwareBuffer.h27 extern AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer(
32 JNIEnv* env, AHardwareBuffer* hardwareBuffer);
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp45 AHardwareBuffer* hardware_buffer1 = nullptr; in TEST_F()
50 AHardwareBuffer* hardware_buffer2 = nullptr; in TEST_F()
78 AHardwareBuffer* hardware_buffer3 = nullptr; in TEST_F()
144 AHardwareBuffer* hardware_buffer = nullptr; in TEST_F()
/frameworks/native/libs/nativewindow/include/vndk/
Dhardware_buffer.h27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
Dwindow.h105 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb);
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp178 AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer( in android_hardware_HardwareBuffer_getNativeHardwareBuffer()
191 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
/frameworks/av/media/ndk/
DNdkImagePriv.h64 media_status_t getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const;
DNdkImage.cpp599 AImage::getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const { in getHardwareBuffer()
606 *buffer = reinterpret_cast<AHardwareBuffer*>(mBuffer->mGraphicBuffer.get()); in getHardwareBuffer()
770 const AImage* image, /*out*/AHardwareBuffer** buffer) { in AImage_getHardwareBuffer()
/frameworks/av/include/ndk/
DNdkImage.h757 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer);
DNdkImageReader.h391 AHardwareBuffer* buffer);
/frameworks/rs/
DrsAllocation.h24 struct AHardwareBuffer;
70 AHardwareBuffer *nativeBuffer;
/frameworks/native/opengl/include/EGL/
Deglext.h610 struct AHardwareBuffer;
612 EGLAPI EGLClientBuffer eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer);
614 …entBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROID) (const struct AHardwareBuffer *buffer);

12