Home
last modified time | relevance | path

Searched refs:bufferPool (Results 1 – 7 of 7) sorted by relevance

/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dbuffer_manager.cpp36 std::shared_ptr<IBufferPool> bufferPool = nullptr; in GenerateBufferPoolId() local
37 bufferPoolMap_[id] = bufferPool; in GenerateBufferPoolId()
51 std::shared_ptr<IBufferPool> bufferPool = std::make_shared<BufferPool>(); in GetBufferPool() local
52 if (bufferPool == nullptr) { in GetBufferPool()
56 bufferPoolMap_[id] = bufferPool; in GetBufferPool()
57 bufferPool->SetId(id); in GetBufferPool()
58 return bufferPool; in GetBufferPool()
/drivers/peripheral/camera/test/ut/buffer_manager/
Dbuffer_manager_utest.cpp163 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); variable
164 EXPECT_EQ(true, bufferPool != nullptr);
166 … RetCode rc = bufferPool->Init(2, 1, CAMERA_USAGE_SW_WRITE_OFTEN, CAMERA_FORMAT_YCBCR_422_P, 1,
170 buffer = bufferPool->AcquireBuffer();
185 EXPECT_EQ(true, RC_OK == bufferPool->ReturnBuffer(buffer));
202 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); variable
203 EXPECT_EQ(true, bufferPool != nullptr);
206 rc = bufferPool->Init(1280, 720,
220 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); variable
221 EXPECT_EQ(true, bufferPool != nullptr);
[all …]
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
Doffline_stream.cpp30 context_->bufferPool->ClearBuffers(); in ~OfflineStream()
114 auto bufferPool = context_->bufferPool; in ReturnBuffer() local
121 bufferPool->ReturnBuffer(buffer); in ReturnBuffer()
165 bufferPool->ReturnBuffer(buffer); in ReturnBuffer()
/drivers/peripheral/camera/vdi_base/v4l2/include/offline_stream_operator/
Doffline_stream_context.h34 std::shared_ptr<IBufferPool> bufferPool; member
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
Doffline_pipeline.cpp203 auto bufferPool = bufferManager->GetBufferPool(it->GetPoolId()); in DeliverCacheCheck() local
204 if (bufferPool == nullptr) { in DeliverCacheCheck()
208 bufferPool->ReturnBuffer(it); in DeliverCacheCheck()
Dipp_node.cpp403 auto bufferPool = bufferManager->GetBufferPool(id); in GetOutputBuffer() local
404 if (bufferPool == nullptr) { in GetOutputBuffer()
409 outBuffer = bufferPool->AcquireBuffer(-1); in GetOutputBuffer()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dstream_still_capture.cpp65 context->bufferPool = bufferPool_; in ChangeToOfflineStream()
66 CHECK_IF_PTR_NULL_RETURN_VALUE(context->bufferPool, RC_ERROR); in ChangeToOfflineStream()