Microsoft DirectX 8.1 (C++)

CImageDisplay Class

CImageDisplayClassHierarchy

The CImageDisplay class initializes itself with a display format so that other objects can query or reset the display type. It also provides member functions to check display formats and accept only those video formats that can be efficiently rendered by using GDI calls.

Protected Data Members

m_Display VIDEOINFO structure corresponding to the current device display type.

Member Functions

CheckBitFields Checks that the bit fields on a VIDEOINFO structure are correct.
CheckHeaderValidity Determines if a BITMAPINFOHEADER structure is valid.
CheckMediaType Determines if the filter can support the media type proposed by the output pin.
CheckPaletteHeader Determines if the palette on a VIDEOINFO structure is correct.
CheckVideoType Compares a video type to determine if it is compatible with the current display mode.
CImageDisplay Constructs a CImageDisplay object.
CountPrefixBits Counts the number of prefix bits.
CountSetBits Counts the total number of bits set in a field.
GetBitMasks Retrieves a set of color element bitmasks for the supplied VIDEOINFO structure.
GetColourMask Retrieves a set of individual color element masks.
GetDisplayDepth Retrieves the bit depth of the current display mode.
GetDisplayFormat Retrieves a VIDEOINFO structure representing the current display mode.
IsPalettized Determines if the display uses a palette.
RefreshDisplayType Updates the CImageDisplay object with the current display type.
UpdateFormat Updates the VIDEOINFO structure to remove implicit assumptions.