Go to the source code of this file.
Defines | |
| #define | _WIN32_DCOM |
Functions | |
| BOOL | DoDialog (HINSTANCE hInstance, HWND hWnd) |
| void | CentreDialogOnScreen (HWND) |
| HRESULT | BuildFilterGraph (HINSTANCE hInstance, char *ffn) |
| HRESULT | GetInterfaces (void) |
| void | CloseInterfaces (void) |
| HRESULT | SetupVideoWindow (void) |
| void | ResizeVideoWindow (void) |
| HRESULT | ChangePreviewState (int nShow) |
| void | Msg (TCHAR *szFormat,...) |
| HRESULT | HandleGraphEvent (void) |
| LRESULT CALLBACK | WndMainProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| void | CreateCompressionFilter (IMoniker *pMoniker, BOOL dvPal) |
| int | AVIEntryPoint (HINSTANCE hInstance, long first_file, long last_file, char *avi_outname) |
Variables | |
| HWND | ghApp = 0 |
| DWORD | g_dwGraphRegister = 0 |
| int | gFirstF |
| int | gLastF |
| int | gCurrentF |
| BOOL | bCompressed = TRUE |
| IVideoWindow * | g_pVW = NULL |
| IMediaControl * | g_pMC = NULL |
| IMediaEventEx * | g_pME = NULL |
| IGraphBuilder * | g_pGraph = NULL |
| IBaseFilter * | g_pMux = NULL |
| IBaseFilter * | g_pVComp = NULL |
| ICaptureGraphBuilder2 * | g_pCapture = NULL |
| PLAYSTATE | g_psCurrent = Stopped |
| #define _WIN32_DCOM |
Definition at line 4 of file avi_write.cpp.
| BOOL DoDialog | ( | HINSTANCE | hInstance, | |
| HWND | hWnd | |||
| ) |
Definition at line 144 of file avi_dialogs.cpp.
References DlgProc(), and IDD_DIALOG1.
Referenced by AVIEntryPoint().
| HRESULT BuildFilterGraph | ( | HINSTANCE | hInstance, | |
| char * | ffn | |||
| ) |
Definition at line 280 of file avi_write.cpp.
References bCompressed, g_pCapture, g_pGraph, g_pMC, g_pMux, g_psCurrent, g_pVComp, GetInterfaces(), L, Msg(), and Running.
Referenced by AVIEntryPoint().
| HRESULT GetInterfaces | ( | void | ) |
Definition at line 39 of file avi_write.cpp.
References g_pCapture, g_pGraph, g_pMC, g_pME, g_pVW, ghApp, and WM_GRAPHNOTIFY.
Referenced by BuildFilterGraph().
| void CloseInterfaces | ( | void | ) |
Definition at line 57 of file avi_write.cpp.
References g_pCapture, g_pGraph, g_pMC, g_pME, g_pMux, g_psCurrent, g_pVComp, g_pVW, SAFE_RELEASE, Stopped, and WM_GRAPHNOTIFY.
Referenced by AVIEntryPoint(), and WndMainProc().
| HRESULT SetupVideoWindow | ( | void | ) |
| void ResizeVideoWindow | ( | void | ) |
| HRESULT ChangePreviewState | ( | int | nShow | ) |
Definition at line 95 of file avi_write.cpp.
References g_pMC, g_psCurrent, Running, and Stopped.
Referenced by WndMainProc().
| void Msg | ( | TCHAR * | szFormat, | |
| ... | ||||
| ) |
Definition at line 114 of file avi_write.cpp.
| HRESULT HandleGraphEvent | ( | void | ) |
| LRESULT CALLBACK WndMainProc | ( | HWND | hwnd, | |
| UINT | message, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) |
Definition at line 156 of file avi_write.cpp.
References CentreDialogOnScreen(), ChangePreviewState(), CloseInterfaces(), g_pVW, ghApp, HandleGraphEvent(), ResizeVideoWindow(), and WM_GRAPHNOTIFY.
| void CreateCompressionFilter | ( | IMoniker * | pMoniker, | |
| BOOL | dvPal | |||
| ) |
Definition at line 198 of file avi_write.cpp.
References FALSE, g_pVComp, and SAFE_RELEASE.
Referenced by OnSelectFilter().
| int AVIEntryPoint | ( | HINSTANCE | hInstance, | |
| long | first_file, | |||
| long | last_file, | |||
| char * | avi_outname | |||
| ) |
Definition at line 220 of file avi_write.cpp.
References APPLICATIONNAME, BuildFilterGraph(), CLASSNAME, CloseInterfaces(), DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH, DoDialog(), gFirstF, ghApp, gLastF, IDI_VIDPREVIEW, Msg(), and WndMainProc().
Referenced by _BuildAvi().
| HWND ghApp = 0 |
Definition at line 18 of file avi_write.cpp.
| DWORD g_dwGraphRegister = 0 |
Definition at line 19 of file avi_write.cpp.
| int gFirstF |
Definition at line 21 of file avi_write.cpp.
Referenced by AVIEntryPoint(), and CPushPinBitmapSet::CPushPinBitmapSet().
| int gLastF |
Definition at line 22 of file avi_write.cpp.
Referenced by AVIEntryPoint(), and CPushPinBitmapSet::CPushPinBitmapSet().
| int gCurrentF |
| BOOL bCompressed = TRUE |
| IVideoWindow* g_pVW = NULL |
Definition at line 29 of file avi_write.cpp.
| IMediaControl* g_pMC = NULL |
Definition at line 30 of file avi_write.cpp.
| IMediaEventEx* g_pME = NULL |
Definition at line 31 of file avi_write.cpp.
| IGraphBuilder* g_pGraph = NULL |
Definition at line 32 of file avi_write.cpp.
| IBaseFilter* g_pMux = NULL |
Definition at line 33 of file avi_write.cpp.
| IBaseFilter* g_pVComp = NULL |
Definition at line 34 of file avi_write.cpp.
Referenced by BuildFilterGraph(), CloseInterfaces(), and CreateCompressionFilter().
| ICaptureGraphBuilder2* g_pCapture = NULL |
Definition at line 35 of file avi_write.cpp.
| PLAYSTATE g_psCurrent = Stopped |
Definition at line 36 of file avi_write.cpp.
Referenced by BuildFilterGraph(), ChangePreviewState(), and CloseInterfaces().
1.5.6