16 PAVISTREAM m_pAviStream;
17 PAVISTREAM m_pAviCompressedStream;
18 AVISTREAMINFO m_AviStreamInfo;
19 AVICOMPRESSOPTIONS m_AviCompressOptions;
22 TCHAR m_szFileName[MAX_PATH];
23 TCHAR m_szErrMsg[MAX_PATH];
25 int m_nAppendFuncSelector;
27 HRESULT AppendFrameFirstTime(HBITMAP );
28 HRESULT AppendFrameUsual(HBITMAP);
29 HRESULT AppendDummy(HBITMAP);
30 HRESULT (
CAviFile::*pAppendFrame[3])(HBITMAP hBitmap);
32 HRESULT AppendFrameFirstTime(
int,
int, LPVOID,
int );
33 HRESULT AppendFrameUsual(
int,
int, LPVOID,
int );
34 HRESULT AppendDummy(
int,
int, LPVOID,
int );
35 HRESULT (
CAviFile::*pAppendFrameBits[3])(int, int, LPVOID, int);
38 HRESULT InitMovieCreation(
int nFrameWidth,
int nFrameHeight,
int nBitsPerPixel);
44 void SetErrorMessage(LPCTSTR lpszErrMsg);
68 CAviFile(LPCTSTR lpszFileName=_T(
"Output.avi"),
69 DWORD dwCodec = mmioFOURCC(
'M',
'P',
'G',
'4'),
70 DWORD dwFrameRate = 1);
87 HRESULT
AppendNewFrame(
int nWidth,
int nHeight, LPVOID pBits,
int nBitsPerPixel);
HRESULT AppendNewFrame(HBITMAP hBitmap)
CAviFile(LPCTSTR lpszFileName=_T("Output.avi"), DWORD dwCodec=mmioFOURCC('M','P','G','4'), DWORD dwFrameRate=1)
LPCTSTR GetLastErrorMessage() const