Home
last modified time | relevance | path

Searched refs:GetVirAddress (Results 1 - 22 of 22) sorted by relevance

/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/
H A Dfork_node.cpp100 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 Dface_node.cpp167 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 Dexif_node.cpp70 ExifUtils::AddCustomExifInfo(exifInfo, buffer->GetVirAddress(), outPutBufferSize); in DeliverBuffer()
72 __FUNCTION__, buffer->GetVirAddress(), outPutBufferSize); in DeliverBuffer()
H A Dnode_utils.cpp113 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 Dfork_node.cpp120 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 Dbuffer_operator.h36 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 Dalgo_plugin.cpp99 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 Dv4l2_buffer.cpp130 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 Dv4l2_temp.h47 void* GetVirAddress() in GetVirAddress() function in OHOS::Camera::IBuffer
/drivers/peripheral/camera/vdi_base/common/include/
H A Dibuffer.h45 virtual void* GetVirAddress() const = 0;
H A Dimage_buffer.h47 void* GetVirAddress() const override;
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/
H A Duvc_node.cpp237 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 Dimage_buffer.cpp104 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 Dcamera_buffer.cpp201 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 Dbuffer_adapter.cpp67 pHandle->virAddr = buffer->GetVirAddress(); in CameraBufferToSurfaceBuffer()
/drivers/peripheral/camera/vdi_base/usb_camera/buffer_manager/src/buffer_adapter/standard/
H A Dbuffer_adapter.cpp69 pHandle->virAddr = buffer->GetVirAddress(); in CameraBufferToSurfaceBuffer()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/gralloc_buffer_allocator/
H A Dgralloc_buffer_allocator.cpp222 dest.virAddr = src->GetVirAddress(); in CameraBufferToGrallocBuffer()
/drivers/peripheral/camera/test/ut/buffer_manager/
H A Dbuffer_manager_utest.cpp172 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 Dv4l2_main.cpp317 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 Dstream_tunnel.cpp129 auto ret = memcpy_s(sb->GetVirAddr(), sb->GetSize(), buffer->GetVirAddress(), sb->GetSize()); in PrepareBufferBeforeFlush()
/drivers/peripheral/camera/vdi_base/common/dump/src/
H A Dcamera_dump.cpp134 void* srcAddr = buffer->GetIsValidDataInSurfaceBuffer() ? buffer->GetSuffaceBufferAddr() : buffer->GetVirAddress(); in DumpBuffer()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/source_node/
H A Dsource_node.cpp273 if (buffer->GetVirAddress() == buffer->GetSuffaceBufferAddr()) { in CollectBuffers()

Completed in 13 milliseconds