Untitled
Anonymous
Plain Text
09/10/2025 6:53 PM
736 B
17
Indexable
Never
enum NOISESESSIONSTATE
{
INIT,
RUNNING,
DATA_READY,
ENDED,
};
typedef struct NoiseSession
{
//what we need to know?
time_t m_nSessionStartTime; //epoch UTC start of this session
time_t m_nLastVDumpTime;
UINT16 m_nSampleCountDone; //number of samples done in this session
//UTC time of sample of last v-mask
//temp folder path to dump this struct to retrieve if this cam object shuts down abruptly
//the actual motionmask data
std::vector<BYTE> m_nNoiseMask;
std::vector<BYTE> m_nNoiseMaskAvg;
std::vector<BYTE> m_curr_noise_mask;
NOISESESSIONSTATE state;
NoiseMaskCallbackWrapper doneCallback; //callback to notify when noise mask is ready
void* instance; //cc_base instance
}NoiseSession;Editor is loading...
Leave a Comment