Home
last modified time | relevance | path

Searched refs:imageBuffer (Results 1 – 3 of 3) sorted by relevance

/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddcamera_stream.cpp209 std::shared_ptr<DImageBuffer> imageBuffer = std::make_shared<DImageBuffer>(); in GetNextRequest() local
210 RetCode ret = DBufferManager::SurfaceBufferToDImageBuffer(surfaceBuffer, imageBuffer); in GetNextRequest()
217 imageBuffer->SetIndex(++index_); in GetNextRequest()
218 imageBuffer->SetSyncFence(syncFence); in GetNextRequest()
219 ret = dcStreamBufferMgr_->AddBuffer(imageBuffer); in GetNextRequest()
225 …DHLOGD("Add new image buffer success: index = %d, fenceFd = %d", imageBuffer->GetIndex(), syncFenc… in GetNextRequest()
227 auto itr = bufferConfigMap_.find(imageBuffer); in GetNextRequest()
230 bufferConfigMap_.insert(std::make_pair(imageBuffer, bufferCfg)); in GetNextRequest()
255 std::shared_ptr<DImageBuffer> imageBuffer = dcStreamBufferMgr_->AcquireBuffer(); in GetDCameraBuffer() local
256 if (imageBuffer == nullptr) { in GetDCameraBuffer()
[all …]
Ddbuffer_manager.cpp142 …tCode DBufferManager::DImageBufferToDCameraBuffer(const std::shared_ptr<DImageBuffer> &imageBuffer, in DImageBufferToDCameraBuffer() argument
145 BufferHandle *bufHandle = imageBuffer->GetBufferHandle(); in DImageBufferToDCameraBuffer()
154 buffer.index_ = imageBuffer->GetIndex(); in DImageBufferToDCameraBuffer()
155 buffer.size_ = imageBuffer->GetSize(); in DImageBufferToDCameraBuffer()
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
Ddbuffer_manager.h50 static RetCode DImageBufferToDCameraBuffer(const std::shared_ptr<DImageBuffer> &imageBuffer,