Go to the source code of this file.
Defines | |
#define | _WIN32_DCOM |
#define | SAFE_RELEASE(x) { if (x) x->Release(); x = NULL; } |
#define | JIF(x) |
#define | DEFAULT_VIDEO_WIDTH 320 |
#define | DEFAULT_VIDEO_HEIGHT 240 |
#define | APPLICATIONNAME TEXT("AVI GET FRAME \0") |
#define | CLASSNAME TEXT("OFX:AVI_READER\0") |
#define | WM_GRAPHNOTIFY WM_APP+1 |
#define | BFT_BITMAP 0x4d42 |
Functions | |
struct | __declspec (uuid("{1125E600-3F8F-4856-9491-34B1443B0E60}")) CLSID_TransSmpte |
HRESULT | GetInterfaces (void) |
HRESULT | CaptureVideo () |
HRESULT | SetupVideoWindow (void) |
HRESULT | HandleGraphEvent (void) |
void | Msg (TCHAR *szFormat,...) |
void | CloseInterfaces (void) |
void | ResizeVideoWindow (void) |
LRESULT CALLBACK | WndMainProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
int | AviDecoderEntry (HINSTANCE hInstance, char *movie_name, long frame) |
void | WriteBitmap (long nx, long ny, unsigned char *S, long f) |
Variables | |
char | bmproot [255] = "c:\\rsfz" |
HWND | ghApp = 0 |
BOOL | bDir = TRUE |
long | framecount = 0 |
BOOL | b32 = FALSE |
char | MediaFile [255] |
IVideoWindow * | g_pVW = NULL |
IMediaControl * | g_pMC = NULL |
IMediaEventEx * | g_pME = NULL |
IMediaFilter * | g_pMF = NULL |
IGraphBuilder * | g_pGraph = NULL |
ICaptureGraphBuilder2 * | g_pCapture = NULL |
IBaseFilter * | g_pMux = NULL |
IBaseFilter * | g_pTee = NULL |
IBaseFilter * | pSmpte = NULL |
#define _WIN32_DCOM |
Definition at line 11 of file avi_mapDecode.cpp.
Definition at line 49 of file avi_mapDecode.cpp.
Referenced by CloseInterfaces(), and CreateCompressionFilter().
#define JIF | ( | x | ) |
#define DEFAULT_VIDEO_WIDTH 320 |
#define DEFAULT_VIDEO_HEIGHT 240 |
#define APPLICATIONNAME TEXT("AVI GET FRAME \0") |
#define CLASSNAME TEXT("OFX:AVI_READER\0") |
#define WM_GRAPHNOTIFY WM_APP+1 |
Definition at line 61 of file avi_mapDecode.cpp.
Referenced by CloseInterfaces(), GetInterfaces(), and WndMainProc().
#define BFT_BITMAP 0x4d42 |
struct __declspec | ( | uuid("{1125E600-3F8F-4856-9491-34B1443B0E60}") | ) | [read] |
HRESULT GetInterfaces | ( | void | ) |
HRESULT CaptureVideo | ( | ) |
Definition at line 80 of file avi_mapDecode.cpp.
HRESULT SetupVideoWindow | ( | void | ) |
Definition at line 211 of file avi_mapDecode.cpp.
HRESULT HandleGraphEvent | ( | void | ) |
void Msg | ( | TCHAR * | szFormat, | |
... | ||||
) |
Definition at line 231 of file avi_mapDecode.cpp.
void CloseInterfaces | ( | void | ) |
void ResizeVideoWindow | ( | void | ) |
Definition at line 223 of file avi_mapDecode.cpp.
Referenced by SetupVideoWindow(), and WndMainProc().
LRESULT CALLBACK WndMainProc | ( | HWND | hwnd, | |
UINT | message, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) |
int AviDecoderEntry | ( | HINSTANCE | hInstance, | |
char * | movie_name, | |||
long | frame | |||
) |
Definition at line 282 of file avi_mapDecode.cpp.
void WriteBitmap | ( | long | nx, | |
long | ny, | |||
unsigned char * | S, | |||
long | f | |||
) |
Definition at line 413 of file avi_mapDecode.cpp.
char bmproot[255] = "c:\\rsfz" |
Definition at line 63 of file avi_mapDecode.cpp.
HWND ghApp = 0 |
Definition at line 64 of file avi_mapDecode.cpp.
Referenced by AVIEntryPoint(), GetInterfaces(), HandleGraphEvent(), ResizeVideoWindow(), SetupVideoWindow(), and WndMainProc().
BOOL bDir = TRUE |
Definition at line 65 of file avi_mapDecode.cpp.
long framecount = 0 |
Definition at line 66 of file avi_mapDecode.cpp.
BOOL b32 = FALSE |
Definition at line 67 of file avi_mapDecode.cpp.
char MediaFile[255] |
Definition at line 68 of file avi_mapDecode.cpp.
IVideoWindow* g_pVW = NULL |
Definition at line 70 of file avi_mapDecode.cpp.
Referenced by CloseInterfaces(), GetInterfaces(), ResizeVideoWindow(), SetupVideoWindow(), and WndMainProc().
IMediaControl* g_pMC = NULL |
Definition at line 71 of file avi_mapDecode.cpp.
Referenced by BuildFilterGraph(), ChangePreviewState(), CloseInterfaces(), and GetInterfaces().
IMediaEventEx* g_pME = NULL |
Definition at line 72 of file avi_mapDecode.cpp.
Referenced by CloseInterfaces(), GetInterfaces(), and HandleGraphEvent().
IMediaFilter* g_pMF = NULL |
Definition at line 73 of file avi_mapDecode.cpp.
IGraphBuilder* g_pGraph = NULL |
Definition at line 74 of file avi_mapDecode.cpp.
Referenced by BuildFilterGraph(), CloseInterfaces(), and GetInterfaces().
ICaptureGraphBuilder2* g_pCapture = NULL |
Definition at line 75 of file avi_mapDecode.cpp.
Referenced by BuildFilterGraph(), CloseInterfaces(), and GetInterfaces().
IBaseFilter* g_pMux = NULL |
Definition at line 76 of file avi_mapDecode.cpp.
Referenced by BuildFilterGraph(), and CloseInterfaces().
IBaseFilter* g_pTee = NULL |
Definition at line 77 of file avi_mapDecode.cpp.
IBaseFilter* pSmpte = NULL |
Definition at line 78 of file avi_mapDecode.cpp.