/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | native_buffer.h | 23 : public android::ANativeObjectBase<ANativeWindowBuffer, NativeBuffer, 30 ANativeWindowBuffer::width = buffer->width(); in NativeBuffer() 31 ANativeWindowBuffer::height = buffer->height(); in NativeBuffer() 32 ANativeWindowBuffer::stride = buffer->stride(); in NativeBuffer() 33 ANativeWindowBuffer::format = buffer->format(); in NativeBuffer() 34 ANativeWindowBuffer::usage = buffer->usage(); in NativeBuffer() 58 ANativeWindowBuffer, NativeBufferProducer, 69 ANativeWindowBuffer::width = buffer_->width(); in NativeBufferProducer() 70 ANativeWindowBuffer::height = buffer_->height(); in NativeBufferProducer() 71 ANativeWindowBuffer::stride = buffer_->stride(); in NativeBufferProducer() [all …]
|
/frameworks/native/libs/nativewindow/include/vndk/ |
D | window.h | 65 typedef struct ANativeWindowBuffer struct 68 ANativeWindowBuffer() { in ANativeWindowBuffer() function 70 common.version = sizeof(ANativeWindowBuffer); in ANativeWindowBuffer() 100 typedef struct ANativeWindowBuffer ANativeWindowBuffer; argument 105 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb); 273 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd); 295 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 323 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
|
/frameworks/native/include/gui/ |
D | Surface.h | 180 ANativeWindowBuffer* buffer, int fenceFd); 182 ANativeWindowBuffer** buffer, int* fenceFd); 186 ANativeWindowBuffer* buffer, int fenceFd); 190 ANativeWindowBuffer* buffer); 192 ANativeWindowBuffer** buffer); 194 ANativeWindowBuffer* buffer); 196 ANativeWindowBuffer* buffer); 228 virtual int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd); 229 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd); 230 virtual int queueBuffer(ANativeWindowBuffer* buffer, int fenceFd); [all …]
|
/frameworks/native/libs/nativewindow/include/private/android/ |
D | AHardwareBufferHelpers.h | 31 struct ANativeWindowBuffer; 54 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer); 55 ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(AHardwareBuffer* buffer);
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 393 struct ANativeWindowBuffer** buffer); 407 struct ANativeWindowBuffer* buffer); 429 struct ANativeWindowBuffer* buffer); 474 struct ANativeWindowBuffer* buffer); 496 struct ANativeWindowBuffer** buffer, int* fenceFd); 518 struct ANativeWindowBuffer* buffer, int fenceFd); 546 struct ANativeWindowBuffer* buffer, int fenceFd); 853 struct ANativeWindowBuffer** anb) { in native_window_dequeue_buffer_and_wait()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_image_native_buffer.txt | 43 ANativeWindowBuffer) as an EGLImage source. 70 | EGL_NATIVE_BUFFER_ANDROID | Used for ANativeWindowBuffer objects | 78 ANativeWindowBuffer object (cast into the type EGLClientBuffer), and 84 pointer to a valid ANativeWindowBuffer, the error EGL_BAD_PARAMETER 96 1. Should this extension define what combinations of ANativeWindowBuffer
|
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 42 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) { in from() 124 ANativeWindowBuffer* GraphicBuffer::getNativeBuffer() const in getNativeBuffer() 127 return static_cast<ANativeWindowBuffer*>( in getNativeBuffer() 190 ANativeWindowBuffer::width = static_cast<int>(width); in initWithHandle() 191 ANativeWindowBuffer::height = static_cast<int>(height); in initWithHandle() 192 ANativeWindowBuffer::stride = static_cast<int>(stride); in initWithHandle() 193 ANativeWindowBuffer::format = format; in initWithHandle() 194 ANativeWindowBuffer::usage = static_cast<int>(usage); in initWithHandle() 196 ANativeWindowBuffer::layerCount = layerCount; in initWithHandle() 217 ANativeWindowBuffer::handle = handle; in initWithHandle()
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 110 AHardwareBuffer* ANativeWindowBuffer_getHardwareBuffer(ANativeWindowBuffer* anwb) { in ANativeWindowBuffer_getHardwareBuffer() 182 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in ANativeWindow_dequeueBuffer() 186 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in ANativeWindow_queueBuffer() 190 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in ANativeWindow_cancelBuffer()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3SharedOutputStream.h | 43 virtual status_t notifyBufferReleased(ANativeWindowBuffer *buffer); 71 ANativeWindowBuffer* buffer, int anwReleaseFence);
|
D | Camera3SharedOutputStream.cpp | 57 status_t Camera3SharedOutputStream::notifyBufferReleased(ANativeWindowBuffer *anwBuffer) { in notifyBufferReleased() 105 ANativeWindowBuffer* anb; in getBufferLocked() 144 ANativeWindowBuffer* buffer, int anwReleaseFence) { in queueBufferToConsumer()
|
D | Camera3OutputStream.h | 166 virtual status_t notifyBufferReleased(ANativeWindowBuffer *anwBuffer); 205 status_t getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd); 261 ANativeWindowBuffer* buffer, int anwReleaseFence);
|
D | Camera3OutputStream.cpp | 159 ANativeWindowBuffer* anb; in getBufferLocked() 179 ANativeWindowBuffer* buffer, int anwReleaseFence) { in queueBufferToConsumer() 225 ANativeWindowBuffer *anwBuffer = container_of(buffer.buffer, ANativeWindowBuffer, handle); in returnBufferCheckedLocked() 488 status_t Camera3OutputStream::getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd) { in getBufferLockedCommon() 781 status_t Camera3OutputStream::notifyBufferReleased(ANativeWindowBuffer* /*anwBuffer*/) { in notifyBufferReleased() argument
|
D | Camera3InputStream.cpp | 62 ANativeWindowBuffer* anb; in getInputBufferLocked() 117 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); in returnBufferCheckedLocked()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 40 ANativeWindowBuffer* anb; in TEST_F() 90 ANativeWindowBuffer* anb; in TEST_F() 155 ANativeWindowBuffer* anb; in TEST_F() 232 ANativeWindowBuffer* anb; in TEST_F() 448 ANativeWindowBuffer* anb; in TEST_F() 509 ANativeWindowBuffer *anb; in TEST_F() 549 ANativeWindowBuffer *anb; in TEST_F() 580 ANativeWindowBuffer *anb; in TEST_F() 633 ANativeWindowBuffer* anb; in TEST_F() 702 ANativeWindowBuffer* anb; in TEST_F()
|
D | SurfaceTextureClient_test.cpp | 221 ANativeWindowBuffer* buf; in TEST_F() 231 ANativeWindowBuffer* buf; in TEST_F() 243 ANativeWindowBuffer* buf; in TEST_F() 255 ANativeWindowBuffer* buf; in TEST_F() 267 ANativeWindowBuffer* buf; in TEST_F() 286 ANativeWindowBuffer* buf; in TEST_F() 305 ANativeWindowBuffer* buf; in TEST_F() 315 ANativeWindowBuffer* buf[2]; in TEST_F() 336 ANativeWindowBuffer* buf[2]; in TEST_F()
|
D | Surface_test.cpp | 135 ANativeWindowBuffer* buf = 0; in TEST_F() 225 ANativeWindowBuffer* buffer; in TEST_F() 239 buffer = static_cast<ANativeWindowBuffer*>(graphicBuffer.get()); in TEST_F() 315 ANativeWindowBuffer* buffer; in TEST_F() 346 ANativeWindowBuffer* buffers[BUFFER_COUNT]; in TEST_F() 400 ANativeWindowBuffer* buffer = nullptr; in TEST_F() 764 ANativeWindowBuffer* buffer = nullptr; in dequeueAndQueue() 879 ANativeWindowBuffer* buffer; in TEST_F() 940 ANativeWindowBuffer* buffer; in TEST_F()
|
/frameworks/native/include/ui/ |
D | GraphicBuffer.h | 33 struct ANativeWindowBuffer; 44 : public ANativeObjectBase< ANativeWindowBuffer, GraphicBuffer, RefBase >, 75 static sp<GraphicBuffer> from(ANativeWindowBuffer *); 182 ANativeWindowBuffer* getNativeBuffer() const;
|
/frameworks/native/opengl/libagl/ |
D | TextureObjectManager.h | 51 status_t setImage(ANativeWindowBuffer* buffer); 83 ANativeWindowBuffer* buffer;
|
D | egl.cpp | 242 status_t lock(ANativeWindowBuffer* buf, int usage, void** vaddr); 243 status_t unlock(ANativeWindowBuffer* buf); 245 ANativeWindowBuffer* buffer; 246 ANativeWindowBuffer* previousBuffer; 333 ANativeWindowBuffer* dst, void* dst_vaddr, 334 ANativeWindowBuffer* src, void const* src_vaddr, 438 ANativeWindowBuffer* buf, int usage, void** vaddr) in lock() 445 status_t egl_window_surface_v2_t::unlock(ANativeWindowBuffer* buf) in unlock() 453 ANativeWindowBuffer* dst, void* dst_vaddr, in copyBlt() 454 ANativeWindowBuffer* src, void const* src_vaddr, in copyBlt() [all …]
|
/frameworks/native/include/media/hardware/ |
D | HardwareAPI.h | 146 struct ANativeWindowBuffer* pBuffer; 198 const sp<ANativeWindowBuffer>& nativeBuffer;
|
/frameworks/av/media/libstagefright/include/ |
D | FrameRenderTracker.h | 108 Info *updateInfoForDequeuedBuffer(ANativeWindowBuffer *buf, int fenceFd, int index);
|
D | SurfaceMediaSource.h | 239 void passMetadataBuffer_l(MediaBuffer **buffer, ANativeWindowBuffer *bufferHandle) const;
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 378 ANativeWindowBuffer** buffer, int* fenceFd) { in hook_dequeueBuffer() 384 ANativeWindowBuffer* buffer, int fenceFd) { in hook_cancelBuffer() 390 ANativeWindowBuffer* buffer, int fenceFd) { in hook_queueBuffer() 396 ANativeWindowBuffer** buffer) { in hook_dequeueBuffer_DEPRECATED() 398 ANativeWindowBuffer* buf; in hook_dequeueBuffer_DEPRECATED() 417 ANativeWindowBuffer* buffer) { in hook_cancelBuffer_DEPRECATED() 423 ANativeWindowBuffer* buffer) { in hook_lockBuffer_DEPRECATED() 429 ANativeWindowBuffer* buffer) { in hook_queueBuffer_DEPRECATED() 1248 int Surface::attachBuffer(ANativeWindowBuffer* buffer) in attachBuffer() 1594 ANativeWindowBuffer* out; in lock()
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 32 struct ANativeWindowBuffer; 59 ANativeWindowBuffer *wndBuffer;
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 407 std::pair<bool, uint64_t> getBufferId(ANativeWindowBuffer* anb); 522 std::unordered_map<uint64_t, ANativeWindowBuffer*> mReversedBufMap;
|