Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h344 typedef struct AHardwareBuffer AHardwareBuffer; typedef
362 AHardwareBuffer* _Nullable* _Nonnull outBuffer) __INTRODUCED_IN(26);
371 void AHardwareBuffer_acquire(AHardwareBuffer* _Nonnull buffer) __INTRODUCED_IN(26);
379 void AHardwareBuffer_release(AHardwareBuffer* _Nonnull buffer) __INTRODUCED_IN(26);
387 void AHardwareBuffer_describe(const AHardwareBuffer* _Nonnull buffer,
442 int AHardwareBuffer_lock(AHardwareBuffer* _Nonnull buffer, uint64_t usage, int32_t fence,
464 int AHardwareBuffer_unlock(AHardwareBuffer* _Nonnull buffer, int32_t* _Nullable fence)
475 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* _Nonnull buffer, int socketFd)
487 AHardwareBuffer* _Nullable* _Nonnull outBuffer)
517 int AHardwareBuffer_lockPlanes(AHardwareBuffer* _Nonnull buffer, uint64_t usage, int32_t fence,
[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,
/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.h234 struct AHardwareBuffer;
235 typedef struct AHardwareBuffer AHardwareBuffer; typedef
255 AHardwareBuffer** outBuffer) __INTRODUCED_IN(30);
Dhardware_buffer_jni.h48 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env,
69 AHardwareBuffer* hardwareBuffer) __INTRODUCED_IN(26);
Dsensor.h66 typedef struct AHardwareBuffer AHardwareBuffer; typedef
665 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.h80 static sk_sp<Bitmap> createFrom(AHardwareBuffer* hardwareBuffer,
84 static sk_sp<Bitmap> createFrom(AHardwareBuffer* hardwareBuffer,
126 AHardwareBuffer* hardwareBuffer();
175 Bitmap(AHardwareBuffer* buffer, const SkImageInfo& info, size_t rowBytes,
181 static sk_sp<Bitmap> createFrom(AHardwareBuffer* hardwareBuffer, const SkImageInfo& info,
211 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/base/libs/hwui/utils/
DNdkUtils.h28 void operator()(AHardwareBuffer* ahb) const { AHardwareBuffer_release(ahb); } in operator()
31 using UniqueAHardwareBuffer = std::unique_ptr<AHardwareBuffer, AHardwareBuffer_deleter>;
/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()
/frameworks/native/libs/nativewindow/include/vndk/
Dhardware_buffer.h34 const AHardwareBuffer* _Nonnull buffer);
60 AHardwareBuffer* _Nullable* _Nonnull outBuffer);
/frameworks/base/core/jni/include/android_runtime/
Dandroid_hardware_HardwareBuffer.h28 extern AHardwareBuffer* android_hardware_HardwareBuffer_getNativeHardwareBuffer(
37 JNIEnv* env, AHardwareBuffer* hardwareBuffer);
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.h35 AHardwareBuffer* buffer);
46 void makeImage(AHardwareBuffer* buffer,
DAutoBackendTextureRelease.cpp29 AHardwareBuffer* buffer) { in AutoBackendTextureRelease()
71 void AutoBackendTextureRelease::makeImage(AHardwareBuffer* buffer, in makeImage()
DDeferredLayerUpdater.h111 sk_sp<SkImage> createIfNeeded(AHardwareBuffer* buffer, android_dataspace dataspace,
123 AHardwareBuffer* mBuffer = nullptr;
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp120 AHardwareBuffer* buffer = nullptr; in TEST()
125 AHardwareBuffer* otherBuffer = nullptr; in TEST()
139 AHardwareBuffer* ahb1 = nullptr; in TEST()
164 const AHardwareBuffer* ahb2 = AHardwareBuffer_from_GraphicBuffer(gb2.get()); in TEST()
/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/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.h66 typedef struct AHardwareBuffer AHardwareBuffer; typedef
665 ASensorManager* manager, AHardwareBuffer const * buffer, size_t size) __INTRODUCED_IN(26);
/frameworks/native/libs/renderengine/skia/
DAutoBackendTexture.h83 LocalRef(GrDirectContext* context, AHardwareBuffer* buffer, bool isOutputBuffer, in LocalRef()
118 AutoBackendTexture(GrDirectContext* context, AHardwareBuffer* buffer, bool isOutputBuffer,

1234