Searched refs:bufferPool (Results 1 – 7 of 7) sorted by relevance
36 std::shared_ptr<IBufferPool> bufferPool = nullptr; in GenerateBufferPoolId() local37 bufferPoolMap_[id] = bufferPool; in GenerateBufferPoolId()51 std::shared_ptr<IBufferPool> bufferPool = std::make_shared<BufferPool>(); in GetBufferPool() local52 if (bufferPool == nullptr) { in GetBufferPool()56 bufferPoolMap_[id] = bufferPool; in GetBufferPool()57 bufferPool->SetId(id); in GetBufferPool()58 return bufferPool; in GetBufferPool()
164 EXPECT_EQ(true, bufferPool != nullptr);170 buffer = bufferPool->AcquireBuffer();203 EXPECT_EQ(true, bufferPool != nullptr);206 rc = bufferPool->Init(1280, 720,221 EXPECT_EQ(true, bufferPool != nullptr);228 auto buffer = bufferPool->AcquireBuffer();246 nullBuffer = bufferPool->AcquireBuffer(1);274 EXPECT_EQ(true, bufferPool != nullptr);285 bufferPool->AddBuffer(buffer);324 bufferPool->ReturnBuffer(*it); in __anon7b5b49e50a02()[all …]
30 context_->bufferPool->ClearBuffers(); in ~OfflineStream()114 auto bufferPool = context_->bufferPool; in ReturnBuffer() local121 bufferPool->ReturnBuffer(buffer); in ReturnBuffer()165 bufferPool->ReturnBuffer(buffer); in ReturnBuffer()
205 auto bufferPool = bufferManager->GetBufferPool(it->GetPoolId()); in DeliverCacheCheck() local206 if (bufferPool == nullptr) { in DeliverCacheCheck()210 bufferPool->ReturnBuffer(it); in DeliverCacheCheck()
402 auto bufferPool = bufferManager->GetBufferPool(id); in GetOutputBuffer() local403 if (bufferPool == nullptr) { in GetOutputBuffer()408 outBuffer = bufferPool->AcquireBuffer(-1); in GetOutputBuffer()
67 context->bufferPool = bufferPool_; in ChangeToOfflineStream()68 CHECK_IF_PTR_NULL_RETURN_VALUE(context->bufferPool, RC_ERROR); in ChangeToOfflineStream()
34 std::shared_ptr<IBufferPool> bufferPool; member