MF_SA_D3D_AWARE attribute

Specifies whether a Media Foundation transform (MFT) supports DirectX Video Acceleration (DXVA). This attribute applies only to video MFTs.

Data type

BOOL stored as UINT32

Syntax

DECLSPEC_SELECTANY GUID MF_SA_D3D_AWARE = {0xeaa35c29,0x775e,0x488e,{0x9b,0x61,0xb3,0x28,0x3e,0x49,0x58,0x3b} }  

Remarks

To query this attribute, call IMFTransform::GetAttributes to get the global attribute store of the MFT. If IMFTransform::GetAttributes succeeds, call IMFAttributes::GetUINT32.

This attribute tells the client whether the MFT can use Direct3D 9 video:

The default value of this attribute is FALSE. Treat this attribute as read-only. Do not change the value; the MFT will ignore any changes to the value.

For more information about implementing this attribute in a custom MFT, see Direct3D-Aware MFTs.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Header: Declared in mftransform.h.