MFVideoSurfaceInfo
TOC
Collapse the table of content
Expand the table of content

MFVideoSurfaceInfo structure

Contains information about an uncompressed video format. This structure is used in the MFVIDEOFORMAT structure.

Syntax


typedef struct _MFVideoSurfaceInfo {
  DWORD          Format;
  DWORD          PaletteEntries;
  MFPaletteEntry Palette[];
} MFVideoSurfaceInfo;

Members

Format

For compressed formats, this value must be zero. For uncompressed formats, the value is a FOURCC or D3DFORMAT value that identifies the format. Use the Data1 field from the subtype GUID. See Video Subtype GUIDs.

PaletteEntries

Number of palette entries. The value must be between 0 and 256.

Palette

Array of MFPaletteEntry Unions that contains the color table for a palettized format. The size of the array is given in the PaletteEntries member. If the format is not palettized, set PaletteEntries to zero.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfobjects.h (include Mfidl.h)

See also

Media Foundation Structures
Media Types

 

 

Community Additions

ADD
Show:
© 2016 Microsoft