Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MFIsFormatYUV function

Queries whether a FOURCC code or D3DFORMAT value is a YUV format.

Syntax


BOOL MFIsFormatYUV(
  _In_ DWORD Format
);

Parameters

Format [in]

FOURCC code or D3DFORMAT value.

Return value

The function returns one of the following values.

Return codeDescription
TRUE

The value specifies a YUV format.

FALSE

The value does not specify a recognized YUV format.

 

Remarks

This function checks whether Format specifies a YUV format. Not every YUV format is recognized by this function. However, if a YUV format is not recognized by this function, it is probably not supported for video rendering or DirectX video acceleration (DXVA).

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfapi.h

Library

Evr.lib

DLL

Evr.dll

See also

Media Foundation Functions
Media Types

 

 

Community Additions

ADD
Show:
© 2015 Microsoft