/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | fork_node.cpp | 100 if (forkBuffer->GetVirAddress() == forkBuffer->GetSuffaceBufferAddr()) { in CopyBufferToForkBuffer() 112 forkBuffer->GetVirAddress(), forkBuffer->GetSuffaceBufferAddr()); in CopyBufferToForkBuffer() 118 if (forkBuffer->GetVirAddress() != forkBuffer->GetSuffaceBufferAddr()) { in CopyBufferToForkBuffer() 119 auto err = memcpy_s(forkBuffer->GetVirAddress(), forkBuffer->GetSize(), in CopyBufferToForkBuffer() 120 buffer->GetVirAddress(), buffer->GetSize()); in CopyBufferToForkBuffer()
|
H A D | face_node.cpp | 167 ret = memset_s(outPutBuffer->GetVirAddress(), bufferSize, 0, bufferSize); in CopyMetadataBuffer() 173 if (memcpy_s(outPutBuffer->GetVirAddress(), metadataSize, static_cast<void*>(metadata->get()), in CopyMetadataBuffer() 186 if (memcpy_s(outPutBuffer->GetVirAddress(), dataSize, sourceBuffer, dataSize) != 0) { in CopyBuffer()
|
H A D | exif_node.cpp | 70 ExifUtils::AddCustomExifInfo(exifInfo, buffer->GetVirAddress(), outPutBufferSize); in DeliverBuffer() 72 __FUNCTION__, buffer->GetVirAddress(), outPutBufferSize); in DeliverBuffer()
|
H A D | node_utils.cpp | 113 if (memcpy_s(buffer->GetVirAddress(), buffer->GetSize(), in BufferScaleFormatTransform() 124 .bufferAddr = buffer->GetVirAddress(), in BufferScaleFormatTransform()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/ |
H A D | fork_node.cpp | 120 if (forkBuffer->GetVirAddress() == forkBuffer->GetSuffaceBufferAddr()) { in CopyBufferToForkBuffer() 135 if (forkBuffer->GetVirAddress() != forkBuffer->GetSuffaceBufferAddr()) { in CopyBufferToForkBuffer() 136 auto err = memcpy_s(forkBuffer->GetVirAddress(), forkBuffer->GetSize(), in CopyBufferToForkBuffer() 137 buffer->GetVirAddress(), buffer->GetSize()); in CopyBufferToForkBuffer()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
H A D | buffer_operator.h | 36 void *GetVirAddress() const override; 145 void *MyBuffer::GetVirAddress() const in GetVirAddress() function in OHOS::Camera::MyBuffer 399 return u.GetVirAddress() == virAddr_; in operator ==()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/ |
H A D | algo_plugin.cpp | 99 outAlgoBuffer->addr = outBuffer->GetVirAddress(); in Process() 110 inAlgoBuffers[i]->addr = inBuffers[i]->GetVirAddress(); in Process()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_buffer.cpp | 130 void *addr = frameSpec->buffer_->GetVirAddress(); in SetAndPushBuffer() 238 buf.m.planes[0].m.userptr = (unsigned long)frameSpec->buffer_->GetVirAddress(); in SetInqueueBuffer() 242 buf.m.userptr = (unsigned long)frameSpec->buffer_->GetVirAddress(); in SetInqueueBuffer() 405 adapterBufferMap_[index].userBufPtr = frameSpec->buffer_->GetVirAddress(); in SetAdapterBuffer()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/ |
H A D | v4l2_temp.h | 47 void* GetVirAddress() in GetVirAddress() function in OHOS::Camera::IBuffer
|
/drivers/peripheral/camera/vdi_base/common/include/ |
H A D | ibuffer.h | 45 virtual void* GetVirAddress() const = 0;
|
H A D | image_buffer.h | 47 void* GetVirAddress() const override;
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/ |
H A D | uvc_node.cpp | 237 YUV422To420(static_cast<uint8_t *>(buffer->GetVirAddress()), static_cast<uint8_t *>(jBuf), in DeliverBuffer() 239 int ret = memcpy_s(static_cast<uint8_t *>(buffer->GetVirAddress()), buffer->GetSize(), in DeliverBuffer()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
H A D | image_buffer.cpp | 104 void* ImageBuffer::GetVirAddress() const in GetVirAddress() function in OHOS::Camera::ImageBuffer 404 return u.GetVirAddress() == virAddr_; in operator ==()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
H A D | camera_buffer.cpp | 201 isFailed |= !HdfSbufWriteUint64(reqData, (uint64_t)frameSpec->buffer_->GetVirAddress()); in CameraStreamQueue() 253 memcpy_s(bufferMap[id]->buffer_->GetVirAddress(), lengthArray_[id], mmapArray_[id], lengthArray_[id]); in CameraStreamDequeue()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/buffer_adapter/standard/ |
H A D | buffer_adapter.cpp | 67 pHandle->virAddr = buffer->GetVirAddress(); in CameraBufferToSurfaceBuffer()
|
/drivers/peripheral/camera/vdi_base/usb_camera/buffer_manager/src/buffer_adapter/standard/ |
H A D | buffer_adapter.cpp | 69 pHandle->virAddr = buffer->GetVirAddress(); in CameraBufferToSurfaceBuffer()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/gralloc_buffer_allocator/ |
H A D | gralloc_buffer_allocator.cpp | 222 dest.virAddr = src->GetVirAddress(); in CameraBufferToGrallocBuffer()
|
/drivers/peripheral/camera/test/ut/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 172 EXPECT_EQ(true, buffer->GetVirAddress() != nullptr); in HWTEST_F() 180 char* dest = reinterpret_cast<char*>(buffer->GetVirAddress()); in HWTEST_F() 187 EXPECT_EQ(true, buffer->GetVirAddress() == nullptr); in HWTEST_F()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/ |
H A D | v4l2_main.cpp | 317 unsigned char* addr = reinterpret_cast<unsigned char*>(buffer->buffer_->GetVirAddress()); in V4L2BufferCallback() 322 unsigned char* addr = reinterpret_cast<unsigned char*>(buffer->buffer_->GetVirAddress()); in V4L2BufferCallback() 327 LcdDrawScreen(g_displayBuf, reinterpret_cast<unsigned char*>(buffer->buffer_->GetVirAddress())); in V4L2BufferCallback()
|
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/ |
H A D | stream_tunnel.cpp | 129 auto ret = memcpy_s(sb->GetVirAddr(), sb->GetSize(), buffer->GetVirAddress(), sb->GetSize()); in PrepareBufferBeforeFlush()
|
/drivers/peripheral/camera/vdi_base/common/dump/src/ |
H A D | camera_dump.cpp | 134 void* srcAddr = buffer->GetIsValidDataInSurfaceBuffer() ? buffer->GetSuffaceBufferAddr() : buffer->GetVirAddress(); in DumpBuffer()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/source_node/ |
H A D | source_node.cpp | 273 if (buffer->GetVirAddress() == buffer->GetSuffaceBufferAddr()) { in CollectBuffers()
|