CAVIGenerator::CAVIGenerator(LPCTSTR sFileName, CView* pView, DWORD dwRate) : m_sFile(sFileName), m_dwRate(dwRate), m_pAVIFile(NULL), m_pStream(NULL), m_pStreamCompressed(NULL) { MakeExtAvi(); SetBitmapHeader(pView); }
CAVIGenerator::CAVIGenerator(LPCTSTR sFileName, LPBITMAPINFOHEADER lpbih, DWORD dwRate) : m_sFile(sFileName), m_dwRate(dwRate), m_pAVIFile(NULL), m_pStream(NULL), m_pStreamCompressed(NULL) { MakeExtAvi(); SetBitmapHeader(lpbih); }
CAVIGenerator::CAVIGenerator(LPCTSTR sFileName, LPBITMAPINFOHEADER lpbih) :m_pAVIFile(NULL), m_pStream(NULL), m_pStreamCompressed(NULL), released(false),m_dwRate(10) { _tcscpy_s(m_sFile,sFileName); MakeExtAvi(); SetBitmapHeader(lpbih); }