TRUECOLORINFO structure (amvideo.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The TRUECOLORINFO structure contains color palette and bitmask information for a video image.
Syntax
typedef struct tag_TRUECOLORINFO {
DWORD dwBitMasks[iMASK_COLORS];
RGBQUAD bmiColors[iPALETTE_COLORS];
} TRUECOLORINFO;
Members
dwBitMasks[iMASK_COLORS]
Array of color masks (one per color element).
bmiColors[iPALETTE_COLORS]
Array of palette colors.
Remarks
This structure is not used for some RGB formats. For more information about which fields are valid under different circumstances, see the Platform SDK documentation for BITMAPINFO.
Requirements
Requirement | Value |
---|---|
Header | amvideo.h (include Dshow.h) |