4 #ifndef __RS_CONVERTER_CONVERTER_RAW_H 5 #define __RS_CONVERTER_CONVERTER_RAW_H 10 #include "../converter.hpp" 24 , _streamType(streamType)
28 std::string
name()
const override 30 return "RAW converter";
52 <<
"_" << std::setprecision(14) << std::fixed << videoframe.
get_timestamp()
55 std::stringstream metadata_file;
56 metadata_file << _filePath
58 <<
"_metadata_" << std::setprecision(14) << std::fixed << videoframe.
get_timestamp()
61 std::string filenameS = filename.str();
62 std::string metadataS = metadata_file.str();
65 [filenameS, metadataS, videoframe] {
70 static_cast<const char *>(videoframe.
get_data())
std::string stream_name() const
double get_timestamp() const
rs2_stream
Streams are different types of data provided by RealSense devices.
unsigned long long get_frame_number() const
const void * get_data() const
int get_stride_in_bytes() const
rs2_stream stream_type() const
stream_profile get_profile() const