XnSensorFPS::~XnSensorFPS() { xnFPSFree(&m_InputDepth); xnFPSFree(&m_InputImage); xnFPSFree(&m_ReadCalls); xnFPSFree(&m_OutputDepth); xnFPSFree(&m_OutputImage); xnDumpClose(&m_FramesDump); }
XnVideoStream::~XnVideoStream() { xnLogVerbose(XN_MASK_FILTER, "Destroying pin..."); CAutoLock cAutoLock(m_pFilter->pStateLock()); m_imageGen.Release(); xnFPSFree(&m_FPS); }