Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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[1];
} 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[1]
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | mfobjects.h (include Mfidl.h) |