D:/opendownloadmanager/ODM-1.x/Include.Add/DShow/winutil.h File Reference

Go to the source code of this file.

Classes

class  CBaseWindow
class  CDrawImage
struct  tagDIBDATA
class  CImageSample
class  CImageAllocator
class  CImagePalette
class  CImageDisplay

Defines

#define WIDTH(x)   ((*(x)).right - (*(x)).left)
#define HEIGHT(x)   ((*(x)).bottom - (*(x)).top)
#define SHOWSTAGE   TEXT("WM_SHOWSTAGE")
#define SHOWSTAGETOP   TEXT("WM_SHOWSTAGETOP")
#define REALIZEPALETTE   TEXT("WM_REALIZEPALETTE")

Typedefs

typedef struct tagDIBDATA DIBDATA

Functions

STDAPI ConvertVideoInfoToVideoInfo2 (AM_MEDIA_TYPE *pmt)

Variables

const int DEFWIDTH = 320
const int DEFHEIGHT = 240
const int CAPTION = 256
const int TIMELENGTH = 50
const int PROFILESTR = 128
const WORD PALVERSION = 0x300
const LONG PALETTE_VERSION = (LONG) 1
const COLORREF VIDEO_COLOUR = 0
const HANDLE hMEMORY = (HANDLE) (-1)


Define Documentation

#define HEIGHT (  )     ((*(x)).bottom - (*(x)).top)

#define REALIZEPALETTE   TEXT("WM_REALIZEPALETTE")

Definition at line 23 of file winutil.h.

Referenced by CBaseWindow::PrepareWindow().

#define SHOWSTAGE   TEXT("WM_SHOWSTAGE")

Definition at line 21 of file winutil.h.

Referenced by CBaseWindow::PrepareWindow().

#define SHOWSTAGETOP   TEXT("WM_SHOWSTAGETOP")

Definition at line 22 of file winutil.h.

Referenced by CBaseWindow::PrepareWindow().

#define WIDTH (  )     ((*(x)).right - (*(x)).left)


Typedef Documentation

typedef struct tagDIBDATA DIBDATA


Function Documentation

STDAPI ConvertVideoInfoToVideoInfo2 ( AM_MEDIA_TYPE *  pmt  ) 

Definition at line 2092 of file winutil.cpp.

References ASSERT, E_OUTOFMEMORY, NULL, and S_OK.


Variable Documentation

const int CAPTION = 256

Definition at line 11 of file winutil.h.

Referenced by CBaseControlWindow::get_Caption(), and CBaseControlWindow::put_Caption().

const int DEFHEIGHT = 240

Definition at line 10 of file winutil.h.

Referenced by CBaseWindow::DoCreateWindow(), and CBaseWindow::GetDefaultRect().

const int DEFWIDTH = 320

Definition at line 9 of file winutil.h.

Referenced by CBaseWindow::DoCreateWindow(), and CBaseWindow::GetDefaultRect().

const HANDLE hMEMORY = (HANDLE) (-1)

Definition at line 17 of file winutil.h.

Referenced by CImageAllocator::CreateDIB().

const LONG PALETTE_VERSION = (LONG) 1

Definition at line 15 of file winutil.h.

Referenced by CImageAllocator::CreateDIB(), and CDrawImage::ResetPaletteVersion().

const WORD PALVERSION = 0x300

Definition at line 14 of file winutil.h.

Referenced by CImagePalette::MakePalette().

const int PROFILESTR = 128

Definition at line 13 of file winutil.h.

const int TIMELENGTH = 50

Definition at line 12 of file winutil.h.

Referenced by CDrawImage::DisplaySampleTimes().

Definition at line 16 of file winutil.h.

Referenced by CBaseControlWindow::CBaseControlWindow().


Generated on Sun May 25 00:19:57 2008 by  doxygen 1.5.6