Home
last modified time | relevance | path

Searched refs:igbp (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/codec2/hidl/1.0/utils/
DClientBlockHelper.cpp98 sp<HGraphicBufferProducer> getHgbp(const sp<IGraphicBufferProducer>& igbp) { in getHgbp() argument
100 igbp->getHalInterface<HGraphicBufferProducer>(); in getHgbp()
102 new B2HGraphicBufferProducer(igbp); in getHgbp()
106 const sp<IGraphicBufferProducer>& igbp, in attachToBufferQueue() argument
109 if (!igbp) { in attachToBufferQueue()
129 status_t result = igbp->attachBuffer(bqSlot, graphicBuffer); in attachToBufferQueue()
164 bool configure(const sp<IGraphicBufferProducer>& igbp, in configure() argument
177 mIgbp = igbp; in configure()
193 status_t result = igbp->attachBuffer(&bqSlot, mBuffers[i]); in configure()
202 igbp->cancelBuffer(bqSlot, Fence::NO_FENCE); in configure()
[all …]
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp146 sp<IGraphicBufferProducer> igbp = new H2BGraphicBufferProducer(hgbp); in TEST_F() local
150 ASSERT_EQ(OK, igbp->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
155 (igbp->dequeueBuffer(&dequeuedSlot, &dequeuedFence, in TEST_F()
163 igbp->requestBuffer(dequeuedSlot, &dequeuedBuffer); in TEST_F()
179 ASSERT_EQ(OK, igbp->queueBuffer(dequeuedSlot, queueBufferInput, in TEST_F()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp68 sp<HGraphicBufferProducer> igbp; member
118 const sp<HGraphicBufferProducer>& igbp) { in HoldBlockFromBufferQueue() argument
124 poolData->igbp = igbp; in HoldBlockFromBufferQueue()
176 const sp<HGraphicBufferProducer>& igbp, in EndAttachBlockToBufferQueue() argument
194 poolData->igbp = igbp; in EndAttachBlockToBufferQueue()
673 owner(owner), igbp(producer), in C2BufferQueueBlockPoolData()
683 igbp(pool ? pool->mProducer : nullptr), in C2BufferQueueBlockPoolData()
695 } else if (igbp && !owner.expired()) { in ~C2BufferQueueBlockPoolData()
696 igbp->cancelBuffer(bqSlot, hidl_handle{}).isOk(); in ~C2BufferQueueBlockPoolData()
/frameworks/av/media/codec2/vndk/internal/
DC2BlockInternal.h290 V2_0::IGraphicBufferProducer>& igbp = nullptr);
360 V2_0::IGraphicBufferProducer>& igbp,
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp63 const sp<IGraphicBufferProducer>& igbp, in AMediaCodecPersistentSurface()
65 : Surface(igbp) { in AMediaCodecPersistentSurface()
655 sp<IGraphicBufferProducer> igbp = NULL; in AMediaCodec_createInputSurface() local
656 status_t err = mData->mCodec->createInputSurface(&igbp); in AMediaCodec_createInputSurface()
661 *surface = new Surface(igbp); in AMediaCodec_createInputSurface()
678 sp<IGraphicBufferProducer> igbp = ps->getBufferProducer(); in AMediaCodec_createPersistentInputSurface() local
679 if (igbp == NULL) { in AMediaCodec_createPersistentInputSurface()
683 *surface = new AMediaCodecPersistentSurface(igbp, ps); in AMediaCodec_createPersistentInputSurface()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp299 sp<IGraphicBufferProducer> igbp = in disableLegacyBufferDropPostQ() local
301 if (igbp) { in disableLegacyBufferDropPostQ()
309 status_t err = igbp->setLegacyBufferDrop(false); in disableLegacyBufferDropPostQ()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DClientBlockHelper.h44 bool configure(const sp<IGraphicBufferProducer>& igbp,
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp232 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/av/media/codec2/hidl/client/
Dclient.cpp1252 sp<HGraphicBufferProducer2> igbp = surface ? in setOutputSurface() local
1254 if (surface && !igbp) { in setOutputSurface()
1255 igbp = new B2HGraphicBufferProducer2(surface); in setOutputSurface()
1272 bqId == 0 ? nullHgbp : igbp); in setOutputSurface()