Searched refs:bufferPool (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
D | buffer_manager.cpp | 36 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/ |
D | buffer_manager_utest.cpp | 163 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/ |
D | offline_stream.cpp | 30 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/ |
D | offline_stream_context.h | 34 std::shared_ptr<IBufferPool> bufferPool; member
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/ |
D | offline_pipeline.cpp | 203 auto bufferPool = bufferManager->GetBufferPool(it->GetPoolId()); in DeliverCacheCheck() local 204 if (bufferPool == nullptr) { in DeliverCacheCheck() 208 bufferPool->ReturnBuffer(it); in DeliverCacheCheck()
|
D | ipp_node.cpp | 403 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/ |
D | stream_still_capture.cpp | 65 context->bufferPool = bufferPool_; in ChangeToOfflineStream() 66 CHECK_IF_PTR_NULL_RETURN_VALUE(context->bufferPool, RC_ERROR); in ChangeToOfflineStream()
|