|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
13 #ifndef _DS3D_DATALOADER_LIDARSOURCE_LIDAR_FILE_SOURCE_IMPL_H
14 #define _DS3D_DATALOADER_LIDARSOURCE_LIDAR_FILE_SOURCE_IMPL_H
23 namespace ds3d {
namespace impl {
namespace lidarsource {
25 using MemPtr = std::unique_ptr<MemData>;
50 ErrCode startImpl(
const std::string& content,
const std::string& path)
override;
80 std::vector<uint8_t> _tmpStrideBuf;
84 uint32_t _bytesPerFrame = 0;
85 uint32_t _bytesStrideFrame = 0;
86 uint32_t _totalNumFrames = 0;
87 uint32_t _totalFrameDuration = 0;
88 uint32_t _readFrameCount = 0;
89 bool _isFirstFrame =
true;
ErrCode stopImpl() override
Stop and close all resources.
LidarFileSourceImpl()=default
~LidarFileSourceImpl() override=default
Class for lidar data file reader,.
std::unique_ptr< MemData > MemPtr
ErrCode readDataImpl(GuardDataMap &datamap) override
Read a frame, create new output datamap and fill the frame into it.
ErrCode flushImpl() final
flush all frames, Implementation of this function could be skipped.
ErrCode startImpl(const std::string &content, const std::string &path) override
Parse yaml config content and prepare all of the resource ready to fill into each frame datamap.