Home
last modified time | relevance | path

Searched refs:GetSize (Results 1 - 25 of 49) sorted by relevance

12

/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/
H A Dfork_node.cpp102 uint32_t bufferSize = buffer->GetSize(); in CopyBufferToForkBuffer()
104 CAMERA_LOGE("PcForkNode::DeliverBuffer error, buffer->GetSize() == 0"); in CopyBufferToForkBuffer()
119 auto err = memcpy_s(forkBuffer->GetVirAddress(), forkBuffer->GetSize(), in CopyBufferToForkBuffer()
120 buffer->GetVirAddress(), buffer->GetSize()); in CopyBufferToForkBuffer()
H A Dnode_utils.cpp113 if (memcpy_s(buffer->GetVirAddress(), buffer->GetSize(), in BufferScaleFormatTransform()
125 .bufferSize = buffer->GetSize(), in BufferScaleFormatTransform()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/
H A Dfork_node.cpp122 uint32_t bufferSize = buffer->GetSize(); in CopyBufferToForkBuffer()
124 CAMERA_LOGE("PcForkNode::DeliverBuffer error, buffer->GetSize() == 0"); in CopyBufferToForkBuffer()
136 auto err = memcpy_s(forkBuffer->GetVirAddress(), forkBuffer->GetSize(), in CopyBufferToForkBuffer()
137 buffer->GetVirAddress(), buffer->GetSize()); in CopyBufferToForkBuffer()
/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dlinked_list.c89 IAM_STATIC uint32_t GetSize(LinkedList *list) in GetSize() function
158 list->getSize = GetSize; in CreateLinkedList()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Dstream_customer.h62 int32_t size = buff->GetSize(); in OnBufferAvailable()
/drivers/hdf_core/interfaces/inner_api/hdi/base/
H A Dhdi_smq.h218 size_t GetSize();
270 HDF_LOGI("create SharedMemQueue, count=%{public}u, size=%{public}zu", elementCount, meta_->GetSize()); in SharedMemQueue()
271 int ashmemFd = AshmemCreate("hdi_smq", Align(meta_->GetSize(), PAGE_SIZE)); in SharedMemQueue()
627 size_t SharedMemQueue<T>::GetSize() in GetSize() function in OHOS::HDI::Base::SharedMemQueue
629 return meta_->GetSize(); in GetSize()
H A Dhdi_smq_meta.h137 size_t GetSize();
339 size_t SharedMemQueueMeta<T>::GetSize() in GetSize() function in OHOS::HDI::Base::SharedMemQueueMeta
/drivers/peripheral/camera/test/mpi/src/
H A Dresolution_test.cpp72 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
101 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
178 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
208 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
285 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
315 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
H A Dhdi_stream_test.cpp70 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
124 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
212 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
261 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
307 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
348 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
392 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
433 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
478 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
520 Test_->SaveYUV("preview", buffer->GetVirAddr(), buffer->GetSize()); in HWTEST_F()
[all...]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_buffer.cpp131 uint32_t len = frameSpec->buffer_->GetSize(); in SetAndPushBuffer()
237 buf.m.planes[0].length = frameSpec->buffer_->GetSize(); in SetInqueueBuffer()
241 buf.length = frameSpec->buffer_->GetSize(); in SetInqueueBuffer()
380 CAMERA_LOGI("buf.length = %{public}d frameSpec->buffer_->GetSize() = %{public}d buf.index = %{public}d\n", in V4L2AllocBuffer()
381 buf.length, frameSpec->buffer_->GetSize(), buf.index); in V4L2AllocBuffer()
382 if (buf.length > frameSpec->buffer_->GetSize()) { in V4L2AllocBuffer()
386 buffLong_ = frameSpec->buffer_->GetSize(); in V4L2AllocBuffer()
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dbytecode_gen.cpp161 subSize += child->GetSize();
180 Option::Instance().ShouldAlign() ? -ast_->GetAstRoot()->GetSize() : ast_->GetAstRoot()->GetSize()),
H A Ddecompile_gen.cpp59 if (value > child->GetHash() && value < (child->GetHash() + child->GetSize())) { in GetNodeRefPath()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/
H A Duvc_node.cpp236 uint8_t* jBuf = static_cast<uint8_t *>(malloc(buffer->GetSize())); in DeliverBuffer()
239 int ret = memcpy_s(static_cast<uint8_t *>(buffer->GetVirAddress()), buffer->GetSize(), in DeliverBuffer()
240 static_cast<uint8_t *>(jBuf), buffer->GetSize()); in DeliverBuffer()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/
H A Dstream_tunnel.cpp128 CAMERA_LOGI("copy data from cb to sb, size = %{public}d", sb->GetSize()); in PrepareBufferBeforeFlush()
129 auto ret = memcpy_s(sb->GetVirAddr(), sb->GetSize(), buffer->GetVirAddress(), sb->GetSize()); in PrepareBufferBeforeFlush()
/drivers/peripheral/camera/test/ut/v4l2/
H A Dstream_customer.cpp35 int32_t size = buff->GetSize(); in CamFrame()
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
H A Ddimage_buffer.h37 uint32_t GetSize() const;
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
H A Dalgo_plugin.cpp100 outAlgoBuffer->size = outBuffer->GetSize(); in Process()
111 inAlgoBuffers[i]->size = inBuffers[i]->GetSize(); in Process()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
H A Dv4l2_temp.h43 uint32_t GetSize() in GetSize() function in OHOS::Camera::IBuffer
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/buffer_adapter/lite/
H A Dbuffer_adapter.cpp35 buffer->SetSize(static_cast<uint32_t>(surfaceBuffer->GetSize())); in SurfaceBufferToCameraBuffer()
/drivers/peripheral/camera/vdi_base/common/include/
H A Dibuffer.h41 virtual uint32_t GetSize() const = 0;
H A Dimage_buffer.h43 uint32_t GetSize() const override;
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
H A Dbuffer_operator.h34 uint32_t GetSize() const override;
135 uint32_t MyBuffer::GetSize() const in GetSize() function in OHOS::Camera::MyBuffer
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
H A Dcamera_buffer.cpp164 if (buf.planeCount > frameSpec->buffer_->GetSize()) { in CameraAllocBuffer()
165 CAMERA_LOGE("user buff < buf.planeCount < frameSpec->buffer_->GetSize()\n"); in CameraAllocBuffer()
199 isFailed |= !HdfSbufWriteUint32(reqData, frameSpec->buffer_->GetSize()); in CameraStreamQueue()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/buffer_adapter/standard/
H A Dbuffer_adapter.cpp68 pHandle->size = static_cast<int32_t>(buffer->GetSize()); in CameraBufferToSurfaceBuffer()
/drivers/peripheral/camera/vdi_base/usb_camera/buffer_manager/src/buffer_adapter/standard/
H A Dbuffer_adapter.cpp70 pHandle->size = static_cast<int32_t>(buffer->GetSize()); in CameraBufferToSurfaceBuffer()

Completed in 13 milliseconds

12