MFPaletteEntry Structure

Contains one palette entry in a color table.

Syntax

typedef union _MFPaletteEntry {
    MFARGB ARGB;
    MFAYUVSample AYCbCr;
} MFPaletteEntry;  

Members

ARGB
MFARGB structure that contains an RGB color.

AYCbCr
MFAYUVSample structure that contains a Y’Cb’Cr’ color.

Remarks

This union can be used to represent both RGB palettes and Y’Cb’Cr’ palettes. The video format that defines the palette determines which union member should be used.

Requirements

Header: Declared in mfobjects.h.