33 #include "livox_sdk.h" 37 #define kMaxPointSize 1500 38 #define kDefaultFrameDurationTime 50 149 LivoxPoint raw_point[100];
177 int Open(
const char *
filename, std::ios_base::openmode mode);
224 sizeof(frame_header));
229 sizeof(frame_header_v0));
LvxFilePublicHeader public_header_
bool ReadAndCheckHeader()
uint64_t DataSizeOfFrame(FrameHeaderV0 &frame_header_v0)
uint64_t PrivateHeaderOffset()
uint32_t cur_frame_index_
LvxFilePrivateHeader private_header_
const uint32_t kMaxFrameSize
int GetDeviceInfoListSize()
uint64_t DataStartOffset()
int GetDeviceInfo(uint8_t idx, LvxFileDeviceInfo *info)
uint32_t PacketNumOfFrame()
int GetPacketsOfFrame(OutPacketBuffer *PacketsOfFrame)
int GetLvxFileReadProgress()
int Open(const char *filename, std::ios_base::openmode mode)
void SaveFrameToLvxFile(std::list< LvxFilePacket > &point_packet_list_temp)
std::vector< LvxFileDeviceInfo > device_info_list_
unsigned __int64 uint64_t
uint64_t data_start_offset_
uint64_t DataSizeOfFrame(FrameHeader &frame_header)
void BasePointsHandle(LivoxEthPacket *data, LvxFilePacket &packet)
LvxFilePrivateHeaderV0 private_header_v0_
void AddDeviceInfo(LvxFileDeviceInfo &info)
bool AddAndCheckDeviceInfo()