D:/opendownloadmanager/ODM-1.x/Include.Add/DShow/amvideo.cpp File Reference

#include <streams.h>
#include <limits.h>

Go to the source code of this file.

Functions

 STDAPI_ (DWORD) GetBitmapSize(const BITMAPINFOHEADER *pHeader)
 STDAPI_ (const GUID) GetTrueColorType(const BITMAPINFOHEADER *pbmiHeader)
 STDAPI_ (WORD) GetBitCount(const GUID *pSubtype)
int LocateSubtype (const GUID *pSubtype)
 STDAPI_ (WCHAR *) GetSubtypeNameW(const GUID *pSubtype)
 STDAPI_ (CHAR *) GetSubtypeNameA(const GUID *pSubtype)
 STDAPI_ (LONG) GetBitmapFormatSize(const BITMAPINFOHEADER *pHeader)
 STDAPI_ (BOOL) ContainsPalette(const VIDEOINFOHEADER *pVideoInfo)
 STDAPI_ (const RGBQUAD *) GetBitmapPalette(const VIDEOINFOHEADER *pVideoInfo)

Variables

const DWORD bits555 [] = {0x007C00,0x0003E0,0x00001F}
const DWORD bits565 [] = {0x00F800,0x0007E0,0x00001F}
const DWORD bits888 [] = {0xFF0000,0x00FF00,0x0000FF}
struct {
   const GUID *   pSubtype
   WORD   BitCount
   CHAR *   pName
   WCHAR *   wszName
BitCountMap []


Function Documentation

int LocateSubtype ( const GUID *  pSubtype  ) 

Definition at line 104 of file amvideo.cpp.

References ASSERT, BitCountMap, and TRUE.

Referenced by STDAPI_().

STDAPI_ ( const RGBQUAD *   )  const

Definition at line 179 of file amvideo.cpp.

STDAPI_ ( BOOL   )  const

Definition at line 169 of file amvideo.cpp.

References FALSE, and TRUE.

STDAPI_ ( LONG   )  const

Definition at line 145 of file amvideo.cpp.

References ASSERT, if(), and LONG.

STDAPI_ ( CHAR  )  const

Definition at line 130 of file amvideo.cpp.

References BitCountMap, and LocateSubtype().

STDAPI_ ( WCHAR  )  const

Definition at line 125 of file amvideo.cpp.

References BitCountMap, and LocateSubtype().

STDAPI_ ( WORD   )  const

Definition at line 86 of file amvideo.cpp.

References ASSERT, BitCountMap, and TRUE.

STDAPI_ ( const   GUID  )  const

Definition at line 35 of file amvideo.cpp.

References ASSERT, bits555, bits565, and if().

STDAPI_ ( DWORD   )  const

Definition at line 30 of file amvideo.cpp.


Variable Documentation

Definition at line 15 of file amvideo.cpp.

struct { ... } BitCountMap[]

Referenced by LocateSubtype(), and STDAPI_().

const DWORD bits555[] = {0x007C00,0x0003E0,0x00001F}

Definition at line 9 of file amvideo.cpp.

Referenced by CImageDisplay::GetBitMasks(), and STDAPI_().

const DWORD bits565[] = {0x00F800,0x0007E0,0x00001F}

Definition at line 10 of file amvideo.cpp.

Referenced by STDAPI_().

const DWORD bits888[] = {0xFF0000,0x00FF00,0x0000FF}

Definition at line 11 of file amvideo.cpp.

Referenced by CImageDisplay::GetBitMasks().

Definition at line 16 of file amvideo.cpp.

Referenced by DllEntryPoint().

const GUID* pSubtype

Definition at line 14 of file amvideo.cpp.

Definition at line 17 of file amvideo.cpp.


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