66 |
|
|
67 |
IGraphBuilder* m_pGraph; |
IGraphBuilder* m_pGraph; |
68 |
ICaptureGraphBuilder2 *m_pBuilder; |
ICaptureGraphBuilder2 *m_pBuilder; |
69 |
|
IMediaEvent *m_pEvent; |
70 |
|
IMediaControl *m_pControl; |
71 |
|
|
72 |
IBaseFilter *m_pVideoMeter; |
IBaseFilter *m_pVideoMeter; |
73 |
//IBaseFilter *m_pEmmsDummy; |
//IBaseFilter *m_pEmmsDummy; |
74 |
IBaseFilter* m_pSrcFilter; |
IBaseFilter* m_pSrcFilter; |
75 |
|
IBaseFilter* m_pSplitter; |
76 |
IBaseFilter* m_pXvidEncoder; |
IBaseFilter* m_pXvidEncoder; |
77 |
IAMVfwCompressDialogs *m_pXvidConfig; |
IAMVfwCompressDialogs *m_pXvidConfig; |
78 |
IBaseFilter* m_pMuxer; |
IBaseFilter* m_pMuxer; |
82 |
std::vector <IBaseFilter *>m_vOtherFilters; |
std::vector <IBaseFilter *>m_vOtherFilters; |
83 |
TCHAR *m_szSourceFilePath, *m_szDstFilePath; |
TCHAR *m_szSourceFilePath, *m_szDstFilePath; |
84 |
HRESULT AddSourceFilter(LPCTSTR in_szFilePath); |
HRESULT AddSourceFilter(LPCTSTR in_szFilePath); |
85 |
|
HRESULT TrySourceFilter(LPCOLESTR pwName, GUID *in_Clsid); |
86 |
HRESULT AddFileWriter(LPCTSTR in_szFilePath); |
HRESULT AddFileWriter(LPCTSTR in_szFilePath); |
87 |
HRESULT AddFilterByCLSID(GUID *in_Filter, IBaseFilter **out_pFilter); |
HRESULT AddFilterByCLSID(GUID *in_Filter, IBaseFilter **out_pFilter); |
88 |
|
|
92 |
int m_ToAlloc; |
int m_ToAlloc; |
93 |
|
|
94 |
HRESULT AddAudioStreams(int check_only); |
HRESULT AddAudioStreams(int check_only); |
95 |
|
void RemoveIfUnconnectedInput(IBaseFilter *in_pFilter); |
96 |
|
|
97 |
DWORD m_CountedFrames; |
DWORD m_CountedFrames; |
98 |
LONGLONG m_TotalFramesSize; |
LONGLONG m_TotalFramesSize; |
100 |
int m_bFileCopy; |
int m_bFileCopy; |
101 |
|
|
102 |
DWORD m_Width, m_Height; |
DWORD m_Width, m_Height; |
103 |
int m_bIsWM; |
int m_bIsWMV; |
104 |
int m_bBreakRequested; |
int m_bBreakRequested; |
105 |
DWORD m_curSize, m_totalSize, m_elapsedSize; |
DWORD m_curSize, m_totalSize, m_elapsedSize; |
106 |
|
|
107 |
|
HRESULT WaitForCompletion(long *out_Evt); |
108 |
}; |
}; |
109 |
|
|
110 |
#endif /* _RECOMPRESS_H_ */ |
#endif /* _RECOMPRESS_H_ */ |