MFIsFormatYUV function (mfapi.h)
Queries whether a FOURCC code or D3DFORMAT value is a YUV format.
Syntax
BOOL MFIsFormatYUV(
[in] DWORD Format
);
Parameters
[in] Format
FOURCC code or D3DFORMAT value.
Return value
The function returns one of the following values.
Return code | Description |
---|---|
|
The value specifies a YUV format. |
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | mfapi.h |
Library | Evr.lib |
DLL | Evr.dll |