/frameworks/av/media/ndk/tests/ |
D | AImageReaderWindowTest.cpp | 130 void validateIGBP(sp<IGraphicBufferProducer>& igbp) { in validateIGBP() argument 134 ASSERT_EQ(OK, igbp->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in validateIGBP() 139 (igbp->dequeueBuffer(&dequeuedSlot, &dequeuedFence, in validateIGBP() 147 igbp->requestBuffer(dequeuedSlot, &dequeuedBuffer); in validateIGBP() 163 ASSERT_EQ(OK, igbp->queueBuffer(dequeuedSlot, queueBufferInput, in validateIGBP() 203 sp<IGraphicBufferProducer> igbp = new H2BGraphicBufferProducer(hgbp); in TEST_F() local 205 validateIGBP(igbp); in TEST_F() 214 sp<IGraphicBufferProducer> igbp = Surface::getIGraphicBufferProducer(window); in TEST_F() local 216 validateIGBP(igbp); in TEST_F()
|
/frameworks/av/media/codec2/hal/client/ |
D | output.cpp | 101 sp<HGraphicBufferProducer> getHgbp(const sp<IGraphicBufferProducer>& igbp) { in getHgbp() argument 103 igbp->getHalInterface<HGraphicBufferProducer>(); in getHgbp() 105 new B2HGraphicBufferProducer(igbp); in getHgbp() 109 const sp<IGraphicBufferProducer>& igbp, in attachToBufferQueue() argument 113 if (!igbp) { in attachToBufferQueue() 146 result = igbp->attachBuffer(bqSlot, graphicBuffer); in attachToBufferQueue() 153 result = igbp->attachBuffer(bqSlot, graphicBuffer); in attachToBufferQueue() 183 bool OutputBufferQueue::configure(const sp<IGraphicBufferProducer>& igbp, in configure() argument 189 if (igbp && igbp->getConsumerUsage(&consumerUsage) != OK) { in configure() 196 if (syncObj && igbp) { in configure() [all …]
|
D | GraphicsTracker.cpp | 235 const sp<IGraphicBufferProducer>& igbp, uint32_t generation) { in configureGraphics() argument 257 if (igbp) { in configureGraphics() 258 ret = igbp->getUniqueId(&bqId); in configureGraphics() 263 "igbp(%d:%llu -> %llu), gen(%lu -> %lu)", (bool)igbp, in configureGraphics() 275 if (igbp) { in configureGraphics() 276 ret = igbp->setMaxDequeuedBufferCount(prevDequeueCommitted); in configureGraphics() 287 std::shared_ptr<BufferCache> newCache = std::make_shared<BufferCache>(bqId, generation, igbp); in configureGraphics() 627 ::android::sp<IGraphicBufferProducer> igbp = cache->mIgbp; in _allocate() 629 if (!igbp) { in _allocate() 669 ::android::status_t status = igbp->dequeueBuffer( in _allocate() [all …]
|
D | GraphicBufferAllocator.cpp | 80 const ::android::sp<IGraphicBufferProducer>& igbp, in configure() 85 ret = mGraphicsTracker->configureGraphics(igbp, generation); in configure()
|
D | client.cpp | 2401 sp<HGraphicBufferProducer2> igbp = surface ? in setOutputSurface() local 2403 if (surface && !igbp) { in setOutputSurface() 2404 igbp = new B2HGraphicBufferProducer2(surface); in setOutputSurface() 2461 bqId == 0 ? nullHgbp : igbp, *syncObj) : in setOutputSurface() 2464 bqId == 0 ? nullHgbp : igbp); in setOutputSurface()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | AidlUtils.cpp | 84 sp<IGraphicBufferProducer> igbp = in convertFromAidl() local 86 if (igbp == nullptr) { in convertFromAidl() 91 iGBPs.push_back(igbp); in convertFromAidl() 106 auto igbp = AImageReader_getHGBPFromHandle(nh); in convertFromAidl() local 107 if (igbp == nullptr) { in convertFromAidl() 113 iGBPs.push_back(new H2BGraphicBufferProducer(igbp)); in convertFromAidl()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_biometrics_SurfaceToNativeHandleConverter.cpp | 80 sp<IGraphicBufferProducer> igbp = surface->getIGraphicBufferProducer(); in acquireSurfaceHandle() local 81 sp<HGraphicBufferProducer> hgbp = new TWGraphicBufferProducer<HGraphicBufferProducer>(igbp); in acquireSurfaceHandle()
|
/frameworks/hardware/interfaces/automotive/display/1.0/vts/functional/ |
D | VtsHalAutomotiveDisplayV1_0TargetTest.cpp | 67 sp<IGraphicBufferProducer> igbp = mDisplayProxy->getIGraphicBufferProducer(id); in TEST_P() local 68 ASSERT_NE(igbp, nullptr); in TEST_P()
|
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/ |
D | GraphicsTracker.h | 79 c2_status_t configureGraphics(const sp<IGraphicBufferProducer>& igbp, uint32_t generation); 221 BufferCache(uint64_t bqId, uint32_t generation, const sp<IGraphicBufferProducer>& igbp) : in BufferCache() 222 mBqId{bqId}, mGeneration{generation}, mIgbp{igbp} {} in BufferCache()
|
D | GraphicBufferAllocator.h | 55 bool configure(const ::android::sp<::android::IGraphicBufferProducer>& igbp,
|
/frameworks/hardware/interfaces/automotive/display/1.0/ |
D | IAutomotiveDisplayProxyService.hal | 27 * @return igbp Returns an IGraphicBufferProducer object, that can be 30 getIGraphicBufferProducer(uint64_t id) generates (IGraphicBufferProducer igbp);
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2BqBufferPriv.h | 199 const android::sp<HGraphicBufferProducer>& igbp, 205 const android::sp<HGraphicBufferProducer>& igbp,
|
/frameworks/av/media/codec2/vndk/internal/ |
D | C2BlockInternal.h | 366 V2_0::IGraphicBufferProducer>& igbp = nullptr, 437 V2_0::IGraphicBufferProducer>& igbp,
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 88 const sp<IGraphicBufferProducer>& igbp, in AMediaCodecPersistentSurface() 90 : Surface(igbp) { in AMediaCodecPersistentSurface() 821 sp<IGraphicBufferProducer> igbp = NULL; in AMediaCodec_createInputSurface() local 822 status_t err = mData->mCodec->createInputSurface(&igbp); in AMediaCodec_createInputSurface() 827 *surface = new Surface(igbp); in AMediaCodec_createInputSurface() 844 sp<IGraphicBufferProducer> igbp = ps->getBufferProducer(); in AMediaCodec_createPersistentInputSurface() local 845 if (igbp == NULL) { in AMediaCodec_createPersistentInputSurface() 849 *surface = new AMediaCodecPersistentSurface(igbp, ps); in AMediaCodec_createPersistentInputSurface()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | Utils.cpp | 91 auto igbp = AImageReader_getHGBPFromHandle(handle); in convertFromHidl() local 92 if (igbp == nullptr) { in convertFromHidl() 97 iGBPs.push_back(new H2BGraphicBufferProducer(igbp)); in convertFromHidl()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 357 sp<IGraphicBufferProducer> igbp = in disableLegacyBufferDropPostQ() local 359 if (igbp) { in disableLegacyBufferDropPostQ() 367 status_t err = igbp->setLegacyBufferDrop(false); in disableLegacyBufferDropPostQ()
|
/frameworks/av/media/codec2/hal/client/include/codec2/hidl/ |
D | output.h | 48 bool configure(const sp<IGraphicBufferProducer>& igbp,
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 79 const sp<HGraphicBufferProducer>& igbp, in HoldBlockFromBufferQueue() argument 83 return poolData->holdBlockFromBufferQueue(owner, igbp, syncMem); in HoldBlockFromBufferQueue() 112 const sp<HGraphicBufferProducer>& igbp, in EndAttachBlockToBufferQueue() argument 119 return poolData->endAttachBlockToBufferQueue(owner, igbp, syncMem, generation, bqId, bqSlot); in EndAttachBlockToBufferQueue() 1072 const sp<HGraphicBufferProducer>& igbp, in holdBlockFromBufferQueue() argument 1077 mIgbp = igbp; in holdBlockFromBufferQueue() 1117 const sp<HGraphicBufferProducer>& igbp, in endAttachBlockToBufferQueue() argument 1134 mIgbp = igbp; in endAttachBlockToBufferQueue()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 232 const sp<IGraphicBufferProducer> &igbp = mSurface->getIGraphicBufferProducer(); in play() local 264 status_t err = igbp->attachBuffer(&slot, buffer); in play() 276 err = igbp->queueBuffer(slot, qbi, &qbo); in play()
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 320 void queueBuffer(sp<IGraphicBufferProducer> igbp, uint8_t r, uint8_t g, uint8_t b, in queueBuffer() argument 325 auto ret = igbp->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in queueBuffer() 329 ASSERT_EQ(OK, igbp->requestBuffer(slot, &buf)); in queueBuffer() 343 igbp->queueBuffer(slot, input, &qbOutput); in queueBuffer() 1264 TestProducerListener(const sp<IGraphicBufferProducer>& igbp) : mIgbp(igbp) {} in TestProducerListener() argument
|
/frameworks/native/libs/gui/ |
D | BLASTBufferQueue.cpp | 898 BBQSurface(const sp<IGraphicBufferProducer>& igbp, bool controlledByApp, in BBQSurface() argument 900 : Surface(igbp, controlledByApp, scHandle), mBbq(bbq) {} in BBQSurface()
|