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/
H A 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()
53 CAMERA_LOGE("bufferPool is nullptr id: %{public}" PRIu64 "", id); 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/
H A Dbuffer_manager_utest.cpp163 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); in HWTEST_F() local
164 EXPECT_EQ(true, bufferPool != nullptr); in HWTEST_F()
166 RetCode rc = bufferPool->Init(2, 1, CAMERA_USAGE_SW_WRITE_OFTEN, CAMERA_FORMAT_YCBCR_422_P, 1, in HWTEST_F()
170 buffer = bufferPool->AcquireBuffer(); in HWTEST_F()
185 EXPECT_EQ(true, RC_OK == bufferPool->ReturnBuffer(buffer)); in HWTEST_F()
202 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); in HWTEST_F() local
203 EXPECT_EQ(true, bufferPool != nullptr); in HWTEST_F()
206 rc = bufferPool->Init(1280, 720, in HWTEST_F()
220 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); in HWTEST_F() local
221 EXPECT_EQ(true, bufferPool ! in HWTEST_F()
273 std::shared_ptr<IBufferPool> bufferPool = manager->GetBufferPool(bufferPoolId); HWTEST_F() local
[all...]
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
H A 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/
H A Doffline_stream_context.h34 std::shared_ptr<IBufferPool> bufferPool; member
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dstream_still_capture.cpp67 context->bufferPool = bufferPool_; in ChangeToOfflineStream()
68 CHECK_IF_PTR_NULL_RETURN_VALUE(context->bufferPool, RC_ERROR); in ChangeToOfflineStream()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
H A Doffline_pipeline.cpp205 auto bufferPool = bufferManager->GetBufferPool(it->GetPoolId()); in DeliverCacheCheck() local
206 if (bufferPool == nullptr) { in DeliverCacheCheck()
210 bufferPool->ReturnBuffer(it); in DeliverCacheCheck()
H A Dipp_node.cpp402 auto bufferPool = bufferManager->GetBufferPool(id); in GetOutputBuffer() local
403 if (bufferPool == nullptr) { in GetOutputBuffer()
408 outBuffer = bufferPool->AcquireBuffer(-1); in GetOutputBuffer()

Completed in 5 milliseconds