MFPaletteEntry union (mfobjects.h)

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

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header mfobjects.h