/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 | 65 ANativeWindowBuffer* anb; in getInputBufferLocked() local 79 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); in getInputBufferLocked() 80 assert(anb != NULL); in getInputBufferLocked() 87 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getInputBufferLocked() 121 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); in returnBufferCheckedLocked() local 122 if (anb != NULL && &(anb->handle) == buffer.buffer) { in returnBufferCheckedLocked()
|
D | Camera3SharedOutputStream.cpp | 80 ANativeWindowBuffer* anb, in attachBufferToSplitterLocked() argument 89 res = splitter->attachBufferToOutputs(anb, surface_ids); in attachBufferToSplitterLocked() 162 ANativeWindowBuffer* anb; in getBufferLocked() local 166 res = getBufferLockedCommon(&anb, &fenceFd); in getBufferLocked() 172 res = attachBufferToSplitterLocked(anb, surfaceIds); in getBufferLocked() 182 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getBufferLocked()
|
D | Camera3OutputStream.cpp | 170 ANativeWindowBuffer* anb; in getBufferLocked() local 174 res = getBufferLockedCommon(&anb, &fenceFd); in getBufferLocked() 183 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getBufferLocked() 523 status_t Camera3OutputStream::getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd) { in getBufferLockedCommon() argument 539 *anb = gb.get(); in getBufferLockedCommon() 540 res = mConsumer->attachBuffer(*anb); in getBufferLockedCommon() 578 res = currentConsumer->dequeueBuffer(currentConsumer.get(), anb, fenceFd); in getBufferLockedCommon() 594 *anb = gb.get(); in getBufferLockedCommon() 595 res = mConsumer->attachBuffer(*anb); in getBufferLockedCommon()
|
D | Camera3SharedOutputStream.h | 107 status_t attachBufferToSplitterLocked(ANativeWindowBuffer* anb,
|
D | Camera3StreamSplitter.h | 83 status_t attachBufferToOutputs(ANativeWindowBuffer* anb,
|
D | Camera3OutputStream.h | 241 status_t getBufferLockedCommon(ANativeWindowBuffer** anb, int* fenceFd);
|
D | Camera3StreamSplitter.cpp | 411 status_t Camera3StreamSplitter::attachBufferToOutputs(ANativeWindowBuffer* anb, in attachBufferToOutputs() argument 418 sp<GraphicBuffer> gb(static_cast<GraphicBuffer*>(anb)); in attachBufferToOutputs()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 170 ANativeWindowBuffer* anb = NULL; in pushBlankBuffersToNativeWindow() local 219 err = native_window_dequeue_buffer_and_wait(nativeWindow, &anb); in pushBlankBuffersToNativeWindow() 226 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in pushBlankBuffersToNativeWindow() 250 anb = NULL; in pushBlankBuffersToNativeWindow() 255 if (anb != NULL) { in pushBlankBuffersToNativeWindow() 256 nativeWindow->cancelBuffer(nativeWindow, anb, -1); in pushBlankBuffersToNativeWindow() 257 anb = NULL; in pushBlankBuffersToNativeWindow()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 253 ANativeWindowBuffer *anb; in processInputFrame() local 289 res = outputANW->dequeueBuffer(mOutputSurface.get(), &anb, &fenceFd); in processInputFrame() 296 sp<GraphicBuffer> gb = GraphicBuffer::from(anb); in processInputFrame() 301 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 308 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 362 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 369 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 379 outputANW->queueBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
|
D | HeicCompositeStream.h | 164 ANativeWindowBuffer *anb; member 172 trackIndex(-1), anb(nullptr), appSegmentWritten(false), in InputFrame()
|
D | HeicCompositeStream.cpp | 789 auto res = outputANW->dequeueBuffer(mOutputSurface.get(), &inputFrame.anb, &inputFrame.fenceFd); in startMuxerForInputFrame() 1002 sp<GraphicBuffer> gb = GraphicBuffer::from(inputFrame.anb); in processCompletedInputFrame() 1042 res = outputANW->queueBuffer(mOutputSurface.get(), inputFrame.anb, /*fence*/ -1); in processCompletedInputFrame() 1048 inputFrame.anb = nullptr; in processCompletedInputFrame() 1094 if (inputFrame->anb != nullptr) { in releaseInputFrameLocked() 1096 outputANW->cancelBuffer(mOutputSurface.get(), inputFrame->anb, /*fence*/ -1); in releaseInputFrameLocked() 1097 inputFrame->anb = nullptr; in releaseInputFrameLocked()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 207 ANativeWindowBuffer* anb) { in getBufferId() argument 210 buffer_handle_t& buf = anb->handle; in getBufferId() 215 mReversedBufMap[bufId] = anb; in getBufferId() 235 ANativeWindowBuffer* anb; in dequeueBuffer() local 236 int rc = native_window_dequeue_buffer_and_wait(a, &anb); in dequeueBuffer() 243 auto pair = getBufferId(anb); in dequeueBuffer() 244 buf = (pair.first) ? anb->handle : nullptr; in dequeueBuffer() 246 stride = anb->stride; in dequeueBuffer()
|
D | CameraHardwareInterface.h | 370 std::pair<bool, uint64_t> getBufferId(ANativeWindowBuffer* anb);
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 864 struct ANativeWindowBuffer** anb) { in native_window_dequeue_buffer_and_wait() argument 865 return anw->dequeueBuffer_DEPRECATED(anw, anb); in native_window_dequeue_buffer_and_wait()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 175 ANativeWindowBuffer* anb; in produceFrame() local 201 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); in produceFrame() 209 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in produceFrame()
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 455 android_native_buffer_t *anb = NULL; in ImageWriter_dequeueImage() local 457 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd); in ImageWriter_dequeueImage() 473 sp<GraphicBuffer> buffer(GraphicBuffer::from(anb)); in ImageWriter_dequeueImage()
|