Home
last modified time | relevance | path

Searched refs:AHardwareBuffer (Results 1 – 25 of 37) 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/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",
/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
96 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame,
Ddvr_api.h39 typedef struct AHardwareBuffer AHardwareBuffer; typedef
136 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer);
152 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer);
164 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer);
322 typedef AHardwareBuffer* (*DvrHwcFrameGetLayerBufferPtr)(DvrHwcFrame* frame,
/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.cpp28 AHardwareBuffer** hardware_buffer) { in ConvertToAHardwareBuffer()
32 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer()
76 AHardwareBuffer** hardware_buffer) { in dvrWriteBufferGetAHardwareBuffer()
146 AHardwareBuffer** hardware_buffer) { in dvrReadBufferGetAHardwareBuffer()
185 AHardwareBuffer** hardware_buffer) { in dvrBufferGetAHardwareBuffer()
Ddvr_hardware_composer_client.cpp164 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame, in dvrHwcFrameGetLayerBuffer()
166 AHardwareBuffer* buffer = android::AHardwareBuffer_from_GraphicBuffer( in dvrHwcFrameGetLayerBuffer()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp28 AHardwareBuffer* hardware_buffer1 = nullptr; in TEST()
33 AHardwareBuffer* hardware_buffer2 = nullptr; in TEST()
61 AHardwareBuffer* hardware_buffer3 = nullptr; in TEST()
124 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
152 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
185 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
226 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
Ddvr_buffer_queue-test.cpp253 AHardwareBuffer* ahb1 = nullptr; in TEST_F()
254 AHardwareBuffer* ahb2 = nullptr; in TEST_F()
255 AHardwareBuffer* ahb3 = nullptr; in TEST_F()
394 std::unordered_map<int, AHardwareBuffer*> rhbs; in TEST_F()
396 std::unordered_map<int, AHardwareBuffer*> whbs; in TEST_F()
411 AHardwareBuffer* hb = nullptr; in TEST_F()
446 AHardwareBuffer* hb = nullptr; in TEST_F()
/frameworks/native/include/android/
Dhardware_buffer_jni.h38 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env,
46 AHardwareBuffer* hardwareBuffer);
Dsensor.h62 typedef struct AHardwareBuffer AHardwareBuffer; typedef
472 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/include_sensor/android/
Dsensor.h62 typedef struct AHardwareBuffer AHardwareBuffer; typedef
472 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size);
/frameworks/native/libs/nativewindow/include/vndk/
Dhardware_buffer.h27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
Dwindow.h31 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/include/media/
DNdkImage.h763 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer);
DNdkImageReader.h420 AHardwareBuffer* buffer);
/frameworks/av/media/ndk/
DNdkImagePriv.h64 media_status_t getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const;
DNdkImage.cpp601 AImage::getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const { in getHardwareBuffer()
608 *buffer = reinterpret_cast<AHardwareBuffer*>(mBuffer->mGraphicBuffer.get()); in getHardwareBuffer()
772 const AImage* image, /*out*/AHardwareBuffer** buffer) { in AImage_getHardwareBuffer()
/frameworks/rs/
DrsAllocation.h24 struct AHardwareBuffer;
70 AHardwareBuffer *nativeBuffer;

12