Go to the source code of this file.
Defines | |
#define | SAFE_RELEASE(x) { if (x) x->Release(); x = NULL; } |
#define | JIF(x) |
#define | DEFAULT_VIDEO_WIDTH 200 |
#define | DEFAULT_VIDEO_HEIGHT 100 |
#define | APPLICATIONNAME TEXT("OpenFX\0") |
#define | CLASSNAME TEXT("OFX:AVI_WriteWindow\0") |
#define | WM_GRAPHNOTIFY WM_APP+1 |
#define | IDI_VIDPREVIEW 100 |
#define | IDD_DIALOG1 101 |
#define | IDC_LIST1 1000 |
#define | IDC_STATIC -1 |
Enumerations | |
enum | PLAYSTATE { Stopped, Paused, Running, Init } |
Functions | |
int PASCAL | WinMain (HINSTANCE hInstance, HINSTANCE hInstP, LPSTR lpCmdLine, int nCmdShow) |
LRESULT CALLBACK | WndMainProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
HRESULT | GetInterfaces (void) |
HRESULT | CaptureVideo () |
HRESULT | SetupVideoWindow (void) |
HRESULT | ChangePreviewState (int nShow) |
HRESULT | HandleGraphEvent (void) |
void | Msg (TCHAR *szFormat,...) |
void | CloseInterfaces (void) |
void | ResizeVideoWindow (void) |
HRESULT | AddGraphToRot (IUnknown *pUnkGraph, DWORD *pdwRegister) |
void | RemoveGraphFromRot (DWORD pdwRegister) |
Definition at line 26 of file avi_write.h.
#define JIF | ( | x | ) |
#define DEFAULT_VIDEO_WIDTH 200 |
Definition at line 34 of file avi_write.h.
#define DEFAULT_VIDEO_HEIGHT 100 |
Definition at line 35 of file avi_write.h.
#define APPLICATIONNAME TEXT("OpenFX\0") |
Definition at line 37 of file avi_write.h.
#define CLASSNAME TEXT("OFX:AVI_WriteWindow\0") |
Definition at line 38 of file avi_write.h.
#define WM_GRAPHNOTIFY WM_APP+1 |
Definition at line 41 of file avi_write.h.
#define IDI_VIDPREVIEW 100 |
#define IDD_DIALOG1 101 |
#define IDC_LIST1 1000 |
#define IDC_STATIC -1 |
Definition at line 50 of file avi_write.h.
enum PLAYSTATE |
int PASCAL WinMain | ( | HINSTANCE | hInstance, | |
HINSTANCE | hInstP, | |||
LPSTR | lpCmdLine, | |||
int | nCmdShow | |||
) |
Definition at line 46 of file ANIMATE.C.
References ActivatePreferences(), ANIMATOR_ACCEL, ANIMATOR_MENU, AnimatorShutdown(), AnimatorStartup(), AnimatorTriViewWndProc(), AnimatorViewWndProc(), CreateAppPalette(), debug, DesignShutdown(), DesignStartup(), DisengageTool(), EnableGLview(), FALSE, FileInPath(), gCurAction, gCurCommand, gCurCoord, gCurLock, gCurSelect, gCurTool, gCurZoom, ghbm_triview, ghbm_view, ghdc_triview_Bitmap, ghdc_view_Bitmap, ghinst_main, ghpaletteScreen, ghwnd_main, ghwndCoord1, ghwndDlgAttribs, ghwndDlgExpand, ghwndDlgPrimitives, ghwndDlgTools, ghwndOpenGLview, ghwndSkEdit, ghwndSkToolbar, ghwndTimeline, hLibSpin, IDM_FILE_KEYFRAMER, IDM_FILE_LOAD_DIRECT, IDM_WINDOW_SHOWALL, IDQ_FAILEDACCELS, IDQ_FAILEDSPIN, IDQ_FAILEDTIDE, IDQ_FATALERROR, IniFilename, IniSection, IsAttribDlgMessage(), IsPrimitivesDialogMessage(), j_buf, LoadArrowIcons(), LoadPreferences(), LogOnMessage(), MainAnimatorWndProc(), MainModelerWndProc(), MODELER_ACCEL, MODELER_MENU, ModelerTriViewWndProc(), ModelerViewWndProc(), Nprocessors, opengl_visible, QuicktimeWndProc(), R_GetEnv(), RegisterNoAlphaWndClass(), ResourceX(), ruler_name, SendPrgmQuery(), SetupMainWindow(), StartedInAnimator, StartGLview(), StartOpenGL(), szMainClass, szQuicktimeClass, szToolboxClass, szToolBtnClass, szTriViewClass, szViewClass, TempPath, ToolboxWndProc(), ToolBtnWndProc(), TRUE, and Viewer().
LRESULT CALLBACK WndMainProc | ( | HWND | hwnd, | |
UINT | message, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) |
Definition at line 261 of file avi_mapDecode.cpp.
References CentreDialogOnScreen(), ChangePreviewState(), CloseInterfaces(), g_pVW, ghApp, HandleGraphEvent(), ResizeVideoWindow(), and WM_GRAPHNOTIFY.
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.
HRESULT CaptureVideo | ( | ) |
HRESULT SetupVideoWindow | ( | 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().
HRESULT HandleGraphEvent | ( | void | ) |
void Msg | ( | TCHAR * | szFormat, | |
... | ||||
) |
Definition at line 114 of file avi_write.cpp.
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.
void ResizeVideoWindow | ( | void | ) |
HRESULT AddGraphToRot | ( | IUnknown * | pUnkGraph, | |
DWORD * | pdwRegister | |||
) |
void RemoveGraphFromRot | ( | DWORD | pdwRegister | ) |