Macros | |
#define | SAFE_RELEASE(x) |
#define | JIF(x) |
#define | DEFAULT_VIDEO_WIDTH 320 |
#define | DEFAULT_VIDEO_HEIGHT 320 |
#define | APPLICATIONNAME TEXT("SpinSimpleGUI_DirectShow\0") |
#define | CLASSNAME TEXT("SpinSimpleGUI_DirectShow\0") |
#define | WM_GRAPHNOTIFY WM_APP + 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 | FindCaptureDevice (IBaseFilter **ppSrcFilter) |
HRESULT | SetupVideoWindow (void) |
HRESULT | ChangePreviewState (int nShow) |
HRESULT | HandleGraphEvent (void) |
HRESULT | SetupCamera (IBaseFilter *pSrcFilter) |
void | MsgError (TCHAR *szFormat,...) |
void | MsgInfo (TCHAR *szFormat,...) |
void | CloseInterfaces (void) |
void | ResizeVideoWindow (void) |
#define APPLICATIONNAME TEXT("SpinSimpleGUI_DirectShow\0") |
#define CLASSNAME TEXT("SpinSimpleGUI_DirectShow\0") |
#define DEFAULT_VIDEO_HEIGHT 320 |
#define DEFAULT_VIDEO_WIDTH 320 |
#define JIF | ( | x | ) |
#define SAFE_RELEASE | ( | x | ) |
#define WM_GRAPHNOTIFY WM_APP + 1 |
enum PLAYSTATE |
HRESULT CaptureVideo | ( | ) |
HRESULT ChangePreviewState | ( | int | nShow | ) |
void CloseInterfaces | ( | void | ) |
HRESULT FindCaptureDevice | ( | IBaseFilter ** | ppSrcFilter | ) |
HRESULT GetInterfaces | ( | void | ) |
HRESULT HandleGraphEvent | ( | void | ) |
void MsgError | ( | TCHAR * | szFormat, |
... | |||
) |
void MsgInfo | ( | TCHAR * | szFormat, |
... | |||
) |
void ResizeVideoWindow | ( | void | ) |
HRESULT SetupCamera | ( | IBaseFilter * | pSrcFilter | ) |
HRESULT SetupVideoWindow | ( | void | ) |
int PASCAL WinMain | ( | HINSTANCE | hInstance, |
HINSTANCE | hInstP, | ||
LPSTR | lpCmdLine, | ||
int | nCmdShow | ||
) |
LRESULT CALLBACK WndMainProc | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |