/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 40 ANativeWindowBuffer* anb; in TEST_F() local 42 &anb)); in TEST_F() 43 ASSERT_TRUE(anb != nullptr); in TEST_F() 45 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in TEST_F() 90 ANativeWindowBuffer* anb; in TEST_F() local 92 &anb)); in TEST_F() 93 ASSERT_TRUE(anb != nullptr); in TEST_F() 95 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in TEST_F() 155 ANativeWindowBuffer* anb; in TEST_F() local 157 &anb)); in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 39 android_native_buffer_t* anb; in TEST_F() local 41 &anb)); in TEST_F() 42 ASSERT_TRUE(anb != nullptr); in TEST_F() 44 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in TEST_F() 65 &anb)); in TEST_F() 66 ASSERT_TRUE(anb != nullptr); in TEST_F() 68 buf = GraphicBuffer::from(anb); in TEST_F()
|
D | FillBuffer.cpp | 93 android_native_buffer_t* anb; in produceOneRGBA8Frame() local 95 &anb)); in produceOneRGBA8Frame() 96 ASSERT_TRUE(anb != nullptr); in produceOneRGBA8Frame() 98 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in produceOneRGBA8Frame()
|
D | CpuConsumer_test.cpp | 482 ANativeWindowBuffer* anb; in produceOneFrame() local 484 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); in produceOneFrame() 487 ASSERT_TRUE(anb != nullptr); in produceOneFrame() 489 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in produceOneFrame()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3InputStream.cpp | 70 ANativeWindowBuffer* anb; in getInputBufferLocked() local 88 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); in getInputBufferLocked() 89 assert(anb != NULL); in getInputBufferLocked() 95 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getInputBufferLocked() 129 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); in returnBufferCheckedLocked() local 130 if (anb != NULL && &(anb->handle) == buffer.buffer) { in returnBufferCheckedLocked()
|
D | Camera3SharedOutputStream.cpp | 81 ANativeWindowBuffer* anb, in attachBufferToSplitterLocked() argument 90 res = splitter->attachBufferToOutputs(anb, surface_ids); in attachBufferToSplitterLocked() 163 ANativeWindowBuffer* anb; in getBufferLocked() local 167 res = getBufferLockedCommon(&anb, &fenceFd); in getBufferLocked() 173 res = attachBufferToSplitterLocked(anb, surfaceIds); in getBufferLocked() 183 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getBufferLocked()
|
D | Camera3OutputStream.cpp | 180 ANativeWindowBuffer* anb; in getBufferLocked() local 184 res = getBufferLockedCommon(&anb, &fenceFd); in getBufferLocked() 193 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getBufferLocked() 604 status_t Camera3OutputStream::getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd) { in getBufferLockedCommon() argument 621 *anb = gb.get(); in getBufferLockedCommon() 622 res = mConsumer->attachBuffer(*anb); in getBufferLockedCommon() 666 res = anw->dequeueBuffer(anw.get(), anb, fenceFd); in getBufferLockedCommon() 694 *anb = mBatchedBuffers.back().buffer; in getBufferLockedCommon() 716 *anb = gb.get(); in getBufferLockedCommon() 717 res = mConsumer->attachBuffer(*anb); in getBufferLockedCommon()
|
D | Camera3SharedOutputStream.h | 114 status_t attachBufferToSplitterLocked(ANativeWindowBuffer* anb,
|
D | Camera3StreamSplitter.h | 83 status_t attachBufferToOutputs(ANativeWindowBuffer* anb,
|
D | Camera3OutputStream.h | 266 status_t getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd);
|
D | Camera3StreamSplitter.cpp | 413 status_t Camera3StreamSplitter::attachBufferToOutputs(ANativeWindowBuffer* anb, in attachBufferToOutputs() argument 420 sp<GraphicBuffer> gb(static_cast<GraphicBuffer*>(anb)); in attachBufferToOutputs()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 196 ANativeWindowBuffer* anb = NULL; in pushBlankBuffersToNativeWindow() local 245 err = native_window_dequeue_buffer_and_wait(nativeWindow, &anb); in pushBlankBuffersToNativeWindow() 252 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in pushBlankBuffersToNativeWindow() 276 anb = NULL; in pushBlankBuffersToNativeWindow() 281 if (anb != NULL) { in pushBlankBuffersToNativeWindow() 282 nativeWindow->cancelBuffer(nativeWindow, anb, -1); in pushBlankBuffersToNativeWindow() 283 anb = NULL; in pushBlankBuffersToNativeWindow()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 247 ANativeWindowBuffer *anb; in processInputFrame() local 292 res = outputANW->dequeueBuffer(mOutputSurface.get(), &anb, &fenceFd); in processInputFrame() 299 sp<GraphicBuffer> gb = GraphicBuffer::from(anb); in processInputFrame() 304 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 311 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 365 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 372 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 389 outputANW->queueBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
|
D | HeicCompositeStream.h | 172 ANativeWindowBuffer *anb; member 180 fileFd(-1), trackIndex(-1), anb(nullptr), appSegmentWritten(false), in InputFrame()
|
D | HeicCompositeStream.cpp | 911 auto res = outputANW->dequeueBuffer(mOutputSurface.get(), &inputFrame.anb, &inputFrame.fenceFd); in startMuxerForInputFrame() 1131 sp<GraphicBuffer> gb = GraphicBuffer::from(inputFrame.anb); in processCompletedInputFrame() 1171 res = outputANW->queueBuffer(mOutputSurface.get(), inputFrame.anb, /*fence*/ -1); in processCompletedInputFrame() 1177 inputFrame.anb = nullptr; in processCompletedInputFrame() 1225 if (inputFrame->anb != nullptr) { in releaseInputFrameLocked() 1227 outputANW->cancelBuffer(mOutputSurface.get(), inputFrame->anb, /*fence*/ -1); in releaseInputFrameLocked() 1228 inputFrame->anb = nullptr; in releaseInputFrameLocked()
|
/frameworks/base/tests/SurfaceViewBufferTests/cpp/ |
D | SurfaceProxy.cpp | 126 ANativeWindowBuffer* anb; in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer() local 128 int result = sAnw->dequeueBuffer(sAnw, &anb, &fenceFd); in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer() 132 sBuffers[slot] = anb; in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 883 struct ANativeWindowBuffer** anb) { in native_window_dequeue_buffer_and_wait() argument 884 return anw->dequeueBuffer_DEPRECATED(anw, anb); in native_window_dequeue_buffer_and_wait()
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 520 android_native_buffer_t *anb = NULL; in ImageWriter_dequeueImage() local 522 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd); in ImageWriter_dequeueImage() 538 sp<GraphicBuffer> buffer(GraphicBuffer::from(anb)); in ImageWriter_dequeueImage()
|