Home
last modified time | relevance | path

Searched refs:compBuffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp225 && mBuffers[i].compBuffer.expired()) { in assignSlot()
254 std::shared_ptr<C2Buffer> result = mBuffers[index].compBuffer.lock(); in releaseSlot()
257 mBuffers[index].compBuffer = result; in releaseSlot()
267 std::shared_ptr<C2Buffer> compBuffer = in expireComponentBuffer() local
268 mBuffers[i].compBuffer.lock(); in expireComponentBuffer()
269 if (!compBuffer || compBuffer != c2buffer) { in expireComponentBuffer()
272 mBuffers[i].compBuffer.reset(); in expireComponentBuffer()
297 return !entry.compBuffer.expired(); in numComponentBuffers()
315 mBuffers.push_back({ clientBuffer, impl.mBuffers[i].compBuffer, ownedByClient }); in initialize()
331 if (!mBuffers[i].ownedByClient && mBuffers[i].compBuffer.expired()) { in grabBuffer()
[all …]
DCCodecBuffers.h374 std::weak_ptr<C2Buffer> compBuffer; member
492 std::weak_ptr<C2Buffer> compBuffer; member