PALETTISED

 
Microsoft DirectShow 9.0

PALETTISED

The PALETTISED macro checks whether a bitmap has a color depth of 8 bits or less.

Syntax

  PALETTISED(
  pbmi
  );

Parameters

pbmi

Pointer to a VIDEOINFOHEADER structure or VIDEOINFO structure.

Return Value

Returns TRUE if the color depth (bmiHeader.biBitCount) is 8 bits or less, or FALSE otherwise.

Requirements

**  Header:** Declared in Amvideo.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also