#include <frame_handler_impl.h>
Public Member Functions | |
FrameHandlerImpl () | |
aditof::Status | readNextFrame (aditof::Frame &frame, const std::string &fullFileName="") |
aditof::Status | saveFrameToFile (aditof::Frame &frame, const std::string &fileName="") |
aditof::Status | saveFrameToFileMultithread (aditof::Frame &frame, const std::string &filename="") |
aditof::Status | setCustomFormat (const std::string &format) |
aditof::Status | setFrameContent (const std::string &frameContent) |
aditof::Status | setInputFileName (const std::string &fullFileName) |
aditof::Status | setOutputFilePath (const std::string &filePath) |
aditof::Status | storeFramesToSingleFile (bool enable) |
~FrameHandlerImpl () | |
Private Member Functions | |
aditof::Status | createFile (const std::string &fileName) |
std::string | getOutputFileFullPath (const std::string &fileName) |
void | threadWritter () |
Private Attributes | |
int | m_bitsInAB |
int | m_bitsInConf |
int | m_bitsInDepth |
bool | m_concatFrames |
bool | m_customFormat |
std::string | m_customFormatType |
std::string | m_dir |
bool | m_enableMultithreading |
bool | m_endOfFile |
std::fstream | m_file |
bool | m_fileCreated |
int | m_frameCount = 0 |
int | m_frameHeight |
int | m_frameIndex |
std::queue< std::string > | m_frameNameQueue |
std::queue< aditof::Frame > | m_frameQueue |
int | m_frameWidth |
aditof::FrameDetails | m_frDetails |
std::string | m_fullInputFileName |
std::string | m_inputFileName |
aditof::Metadata | m_metadataStruct |
std::mutex | m_mutex |
std::string | m_outputFileName |
size_t | m_pos |
aditof::Frame | m_swapFrame |
volatile bool | m_threadRunning |
std::thread | m_threadWorker |
Definition at line 51 of file frame_handler_impl.h.
FrameHandlerImpl::FrameHandlerImpl | ( | ) |
Definition at line 44 of file frame_handler_impl.cpp.
FrameHandlerImpl::~FrameHandlerImpl | ( | ) |
Definition at line 50 of file frame_handler_impl.cpp.
|
private |
Definition at line 327 of file frame_handler_impl.cpp.
|
private |
Definition at line 360 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::readNextFrame | ( | aditof::Frame & | frame, |
const std::string & | fullFileName = "" |
||
) |
Definition at line 186 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::saveFrameToFile | ( | aditof::Frame & | frame, |
const std::string & | fileName = "" |
||
) |
Definition at line 70 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::saveFrameToFileMultithread | ( | aditof::Frame & | frame, |
const std::string & | filename = "" |
||
) |
Definition at line 146 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::setCustomFormat | ( | const std::string & | format | ) |
Definition at line 312 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::setFrameContent | ( | const std::string & | frameContent | ) |
Definition at line 323 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::setInputFileName | ( | const std::string & | fullFileName | ) |
Definition at line 63 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::setOutputFilePath | ( | const std::string & | filePath | ) |
Definition at line 56 of file frame_handler_impl.cpp.
Status FrameHandlerImpl::storeFramesToSingleFile | ( | bool | enable | ) |
Definition at line 316 of file frame_handler_impl.cpp.
|
private |
Definition at line 171 of file frame_handler_impl.cpp.
|
private |
Definition at line 114 of file frame_handler_impl.h.
|
private |
Definition at line 115 of file frame_handler_impl.h.
|
private |
Definition at line 113 of file frame_handler_impl.h.
|
private |
Definition at line 100 of file frame_handler_impl.h.
|
private |
Definition at line 109 of file frame_handler_impl.h.
|
private |
Definition at line 110 of file frame_handler_impl.h.
|
private |
Definition at line 125 of file frame_handler_impl.h.
|
private |
Definition at line 103 of file frame_handler_impl.h.
|
private |
Definition at line 130 of file frame_handler_impl.h.
|
private |
Definition at line 131 of file frame_handler_impl.h.
|
private |
Definition at line 129 of file frame_handler_impl.h.
|
private |
Definition at line 133 of file frame_handler_impl.h.
|
private |
Definition at line 117 of file frame_handler_impl.h.
|
private |
Definition at line 118 of file frame_handler_impl.h.
|
private |
Definition at line 139 of file frame_handler_impl.h.
|
private |
Definition at line 138 of file frame_handler_impl.h.
|
private |
Definition at line 116 of file frame_handler_impl.h.
|
private |
Definition at line 121 of file frame_handler_impl.h.
|
private |
Definition at line 127 of file frame_handler_impl.h.
|
private |
Definition at line 128 of file frame_handler_impl.h.
|
private |
Definition at line 122 of file frame_handler_impl.h.
|
private |
Definition at line 136 of file frame_handler_impl.h.
|
private |
Definition at line 126 of file frame_handler_impl.h.
|
private |
Definition at line 132 of file frame_handler_impl.h.
|
private |
Definition at line 120 of file frame_handler_impl.h.
|
private |
Definition at line 140 of file frame_handler_impl.h.
|
private |
Definition at line 137 of file frame_handler_impl.h.