Home
last modified time | relevance | path

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

123

/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h333 typedef struct AHardwareBuffer AHardwareBuffer; typedef
351 AHardwareBuffer** outBuffer) __INTRODUCED_IN(26);
360 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) __INTRODUCED_IN(26);
368 void AHardwareBuffer_release(AHardwareBuffer* buffer) __INTRODUCED_IN(26);
376 void AHardwareBuffer_describe(const AHardwareBuffer* buffer,
431 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage,
461 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage,
482 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) __INTRODUCED_IN(26);
492 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) __INTRODUCE…
502 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) __INTRODUCE…
[all …]
/frameworks/native/libs/nativewindow/include-private/private/android/
DAHardwareBufferHelpers.h30 struct AHardwareBuffer;
62 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer);
63 GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(AHardwareBuffer* buffer);
65 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer);
66 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer);
68 AHardwareBuffer* AHardwareBuffer_from_GraphicBuffer(GraphicBuffer* buffer);
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h14 typedef struct AHardwareBuffer AHardwareBuffer; typedef
29 AHardwareBuffer** hardware_buffer);
43 AHardwareBuffer** hardware_buffer);
51 AHardwareBuffer** hardware_buffer);
Ddvr_hardware_composer_client.h11 typedef struct AHardwareBuffer AHardwareBuffer; typedef
96 AHardwareBuffer* dvrHwcFrameGetLayerBuffer(DvrHwcFrame* frame,
Ddvr_api.h40 typedef struct AHardwareBuffer AHardwareBuffer; typedef
143 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer);
159 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer);
171 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer);
329 typedef AHardwareBuffer* (*DvrHwcFrameGetLayerBufferPtr)(DvrHwcFrame* frame,
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer.cpp29 AHardwareBuffer** hardware_buffer) { in ConvertToAHardwareBuffer()
33 *hardware_buffer = reinterpret_cast<AHardwareBuffer*>(graphic_buffer); in ConvertToAHardwareBuffer()
65 AHardwareBuffer** hardware_buffer) { in dvrWriteBufferGetAHardwareBuffer()
96 AHardwareBuffer** hardware_buffer) { in dvrReadBufferGetAHardwareBuffer()
107 AHardwareBuffer** hardware_buffer) { in dvrBufferGetAHardwareBuffer()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate()
70 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire()
75 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release()
80 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe()
96 int AHardwareBuffer_lockAndGetInfo(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockAndGetInfo()
151 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock()
183 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockPlanes()
231 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock()
241 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket()
297 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) { in AHardwareBuffer_recvHandleFromUnixSocket()
[all …]
/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 struct AHardwareBuffer *buffer)
65 const struct 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/tests/
Ddvr_named_buffer-test.cpp27 AHardwareBuffer* hardware_buffer1 = nullptr; in TEST()
32 AHardwareBuffer* hardware_buffer2 = nullptr; in TEST()
60 AHardwareBuffer* hardware_buffer3 = nullptr; in TEST()
123 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
151 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
184 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
225 AHardwareBuffer* hardware_buffer = nullptr; in TEST()
Ddvr_buffer_queue-test.cpp257 AHardwareBuffer* ahb1 = nullptr; in TEST_F()
258 AHardwareBuffer* ahb2 = nullptr; in TEST_F()
259 AHardwareBuffer* ahb3 = nullptr; in TEST_F()
398 std::unordered_map<int, AHardwareBuffer*> rhbs; in TEST_F()
400 std::unordered_map<int, AHardwareBuffer*> whbs; in TEST_F()
415 AHardwareBuffer* hb = nullptr; in TEST_F()
450 AHardwareBuffer* hb = nullptr; in TEST_F()
/frameworks/native/include/android/
Dhardware_buffer_jni.h48 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env,
58 AHardwareBuffer* hardwareBuffer) __INTRODUCED_IN(26);
Dsensor.h62 typedef struct AHardwareBuffer AHardwareBuffer; typedef
647 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);
/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/native/libs/nativewindow/include/vndk/
Dhardware_buffer.h27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
50 AHardwareBuffer** outBuffer);
/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
647 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h53 std::unique_ptr<AHardwareBuffer, void (*)(AHardwareBuffer*)> mScratchBuffer{
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h87 static GraphicBuffer* fromAHardwareBuffer(AHardwareBuffer*);
88 static GraphicBuffer const* fromAHardwareBuffer(AHardwareBuffer const*);
89 AHardwareBuffer* toAHardwareBuffer();
90 AHardwareBuffer const* toAHardwareBuffer() const;
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h87 static GraphicBuffer* fromAHardwareBuffer(AHardwareBuffer*);
88 static GraphicBuffer const* fromAHardwareBuffer(AHardwareBuffer const*);
89 AHardwareBuffer* toAHardwareBuffer();
90 AHardwareBuffer const* toAHardwareBuffer() const;
/frameworks/ml/nn/runtime/test/
DGeneratedTestUtils.cpp62 AHardwareBuffer* ahwb = nullptr; in create()
81 MemoryAHWB(AHardwareBuffer* ahwb, void* buffer) : Memory(ahwb), mAhwb(ahwb), mBuffer(buffer) {} in MemoryAHWB()
83 AHardwareBuffer* mAhwb;
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp121 AHardwareBuffer* buffer = nullptr; in TEST()
126 AHardwareBuffer* otherBuffer = nullptr; in TEST()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp52 GraphicBuffer* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer* buffer) { in fromAHardwareBuffer()
56 GraphicBuffer const* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer const* buffer) { in fromAHardwareBuffer()
60 AHardwareBuffer* GraphicBuffer::toAHardwareBuffer() { in toAHardwareBuffer()
61 return reinterpret_cast<AHardwareBuffer*>(this); in toAHardwareBuffer()
64 AHardwareBuffer const* GraphicBuffer::toAHardwareBuffer() const { in toAHardwareBuffer()
65 return reinterpret_cast<AHardwareBuffer const*>(this); in toAHardwareBuffer()
/frameworks/ml/nn/runtime/
DMemory.h323 static std::pair<int, std::unique_ptr<MemoryAHWB>> create(const AHardwareBuffer& ahwb);
350 MemoryRuntimeAHWB(hal::hidl_memory memory, AHardwareBuffer* ahwb, uint8_t* buffer);
354 AHardwareBuffer* const mAhwb;
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp89 AHardwareBuffer *hardwareBuffer = nullptr; in HandleImageAvailable()
107 static void onBufferRemoved(void *, AImageReader *, AHardwareBuffer *) { in onBufferRemoved() argument
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp200 AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer( in android_hardware_HardwareBuffer_getNativeHardwareBuffer()
213 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer()

123