Home
last modified time | relevance | path

Searched refs:GetIndex (Results 1 – 20 of 20) sorted by relevance

/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dbuffer_pool.cpp126 CAMERA_LOGE("unmap (%{public}d) buffer failed", it->GetIndex()); in DestroyBuffer()
130 CAMERA_LOGE("free (%{public}d) buffer failed", it->GetIndex()); in DestroyBuffer()
141 CAMERA_LOGE("unmap (%{public}d) buffer failed", it->GetIndex()); in DestroyBuffer()
145 CAMERA_LOGE("free (%{public}d) buffer failed", it->GetIndex()); in DestroyBuffer()
172 CAMERA_LOGV("acquire buffer immediately, index = %{public}d", buffer->GetIndex()); in AcquireBuffer()
185 CAMERA_LOGV("acquire buffer wait all the time, index = %{public}d", buffer->GetIndex()); in AcquireBuffer()
202 … CAMERA_LOGV("acquire buffer wait %{public}ds, index = %{public}d", timeout, buffer->GetIndex()); in AcquireBuffer()
Dimage_buffer.cpp44 int32_t ImageBuffer::GetIndex() const in GetIndex() function in OHOS::Camera::ImageBuffer
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
Dcamera_buffer.cpp141 uint32_t bufferId = frameSpec->buffer_->GetIndex(); in CameraAllocBuffer()
197 isFailed |= !HdfSbufWriteUint32(reqData, frameSpec->buffer_->GetIndex()); in CameraStreamQueue()
203 isFailed |= !HdfSbufWriteUint32(reqData, offArray_[frameSpec->buffer_->GetIndex()]); in CameraStreamQueue()
214 bufferMap[frameSpec->buffer_->GetIndex()] = frameSpec; in CameraStreamQueue()
Dcamera_dev.cpp244 CAMERA_LOGD("frameSpec->buffer index == %{public}d\n", frameSpec->buffer_->GetIndex()); in CreatBuffer()
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddbuffer_manager.cpp29 DHLOGD("Acquire buffer success, index = %d", (*it)->GetIndex()); in AcquireBuffer()
154 buffer.index_ = imageBuffer->GetIndex(); in DImageBufferToDCameraBuffer()
Ddimage_buffer.cpp26 int32_t DImageBuffer::GetIndex() const in GetIndex() function in OHOS::DistributedHardware::DImageBuffer
238 return u.GetIndex() == index_; in operator ==()
Ddcamera_stream.cpp225 …DHLOGD("Add new image buffer success: index = %d, fenceFd = %d", imageBuffer->GetIndex(), syncFenc… in GetNextRequest()
284 if (buffer.index_ == iter->first->GetIndex()) { in FlushDCameraBuffer()
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
Doffline_stream.cpp119 streamId_, buffer->GetIndex()); in ReturnBuffer()
135 streamId_, buffer->GetIndex()); in ReturnBuffer()
163 streamId_, buffer->GetIndex(), in ReturnBuffer()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dstream_base.cpp401 …MERA_LOGI("stream [id:%{public}d] enqueue buffer index:%{public}d", streamId_, buffer->GetIndex()); in DeliverBuffer()
410 buffer->GetIndex()); in HandleResult()
417 … this buffer belongs to stream:%{public}d", streamId_, buffer->GetIndex(), buffer->GetStreamId()); in HandleResult()
437 streamId_, buffer->GetIndex()); in HandleResult()
463 streamId_, buffer->GetIndex(), buffer->GetBufferStatus()); in OnFrame()
523 streamId_, buffer->GetIndex(), buffer->GetBufferStatus()); in ReceiveBuffer()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_buffer.cpp107 buf.index = (uint32_t)frameSpec->buffer_->GetIndex(); in MakeInqueueBuffer()
235 buf.index = (uint32_t)frameSpec->buffer_->GetIndex(); in V4L2AllocBuffer()
263 int32_t index = (uint32_t)frameSpec->buffer_->GetIndex(); in SetAdapterBuffer()
316 int32_t index = (uint32_t)frameSpec->buffer_->GetIndex(); in SetDmabufOn()
Dv4l2_dev.cpp166 CAMERA_LOGD("Creatbuffer frameSpec->buffer index == %d\n", frameSpec->buffer_->GetIndex()); in CreatBuffer()
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
Ddimage_buffer.h32 int32_t GetIndex() const;
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
Dv4l2_temp.h39 int32_t GetIndex() in GetIndex() function
/drivers/peripheral/camera/vdi_base/common/include/
Dibuffer.h33 virtual int32_t GetIndex() const = 0;
Dimage_buffer.h35 int32_t GetIndex() const override;
/drivers/peripheral/camera/test/ut/buffer_manager/
Dbuffer_manager_utest.cpp243 int32_t id = bufferVector[1]->GetIndex();
250 EXPECT_EQ(true, id == nullBuffer->GetIndex());
251 id = bufferVector[3]->GetIndex();
264 EXPECT_EQ(true, id == lastBuffer->GetIndex());
300 CAMERA_LOGI("Enq buffer : %{public}d", (*it)->GetIndex()); in __anonbce123ec0802()
328 CAMERA_LOGI("Deq buffer : %{public}d", (*retBufferIt)->GetIndex()); in __anonbce123ec0a02()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
Dbuffer_operator.h29 int32_t GetIndex() const override;
110 int32_t MyBuffer::GetIndex() const in GetIndex() function
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/lite/
Dstream_tunnel.cpp118 CAMERA_LOGE("buffer [%{public}d] doesn't belong to this tunnel.", buffer->GetIndex()); in PutBuffer()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/
Dstream_tunnel.cpp109 CAMERA_LOGE("buffer [%{public}d] doesn't belong to this tunnel.", buffer->GetIndex()); in PutBuffer()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/
Dv4l2_main.cpp319 int32_t index = buffer->buffer_->GetIndex(); in V4L2BufferCallback()