Home
last modified time | relevance | path

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

1234

/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
145 DvrWriteBuffer* write_buffer, AHardwareBuffer** hardware_buffer);
161 DvrReadBuffer* read_buffer, AHardwareBuffer** hardware_buffer);
173 DvrBuffer* buffer, AHardwareBuffer** hardware_buffer);
331 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/include/android/
Dbitmap.h229 struct AHardwareBuffer;
230 typedef struct AHardwareBuffer AHardwareBuffer; typedef
247 AHardwareBuffer** outBuffer) __INTRODUCED_IN(30);
Dhardware_buffer_jni.h48 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env,
58 AHardwareBuffer* hardwareBuffer) __INTRODUCED_IN(26);
Dsensor.h59 typedef struct AHardwareBuffer AHardwareBuffer; typedef
651 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);
/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/base/libs/hwui/hwui/
DBitmap.h79 static sk_sp<Bitmap> createFrom(AHardwareBuffer* hardwareBuffer,
83 static sk_sp<Bitmap> createFrom(AHardwareBuffer* hardwareBuffer,
119 AHardwareBuffer* hardwareBuffer();
170 Bitmap(AHardwareBuffer* buffer, const SkImageInfo& info, size_t rowBytes,
176 static sk_sp<Bitmap> createFrom(AHardwareBuffer* hardwareBuffer, const SkImageInfo& info,
209 AHardwareBuffer* buffer;
/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/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/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/base/libs/hwui/
DAutoBackendTextureRelease.h34 AutoBackendTextureRelease(GrContext* context, AHardwareBuffer* buffer);
45 void makeImage(AHardwareBuffer* buffer, android_dataspace dataspace, GrContext* context);
DAutoBackendTextureRelease.cpp28 AutoBackendTextureRelease::AutoBackendTextureRelease(GrContext* context, AHardwareBuffer* buffer) { in AutoBackendTextureRelease()
70 void AutoBackendTextureRelease::makeImage(AHardwareBuffer* buffer, android_dataspace dataspace, in makeImage()
DDeferredLayerUpdater.h108 sk_sp<SkImage> createIfNeeded(AHardwareBuffer* buffer, android_dataspace dataspace,
117 AHardwareBuffer* mBuffer = nullptr;
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dbitmap.h25 struct AHardwareBuffer;
79 ANDROID_API AHardwareBuffer* ABitmap_getHardwareBuffer(ABitmap* bitmap);
134 AHardwareBuffer* getHardwareBuffer() const { return ABitmap_getHardwareBuffer(mBitmap); } in getHardwareBuffer()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h70 std::unique_ptr<AHardwareBuffer, void (*)(AHardwareBuffer*)> mScratchBuffer{
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h83 static GraphicBuffer* fromAHardwareBuffer(AHardwareBuffer*);
84 static GraphicBuffer const* fromAHardwareBuffer(AHardwareBuffer const*);
85 AHardwareBuffer* toAHardwareBuffer();
86 AHardwareBuffer const* toAHardwareBuffer() const;
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h83 static GraphicBuffer* fromAHardwareBuffer(AHardwareBuffer*);
84 static GraphicBuffer const* fromAHardwareBuffer(AHardwareBuffer const*);
85 AHardwareBuffer* toAHardwareBuffer();
86 AHardwareBuffer const* toAHardwareBuffer() const;
/frameworks/native/include_sensor/android/
Dsensor.h59 typedef struct AHardwareBuffer AHardwareBuffer; typedef
651 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);

1234