Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Specifies whether the Source Reader enables DirectX Video Acceleration (DXVA) on the video decoder.

Data type



To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.


This attribute applies if the following conditions are true:

This attribute enables the application to disable DXVA while still decoding to Direct3D surfaces.

By default, the source reader uses the Direct3D Device Manager for two purposes:

  • To enable DXVA decoding in the video decoder.
  • To allocate Direct3D surfaces for the video samples.

If the value of the MF_SOURCE_READER_DISABLE_DXVA attribute is TRUE, the source reader does disables DXVA decoding, although it still uses the Direct3D Device Manager to allocate Direct3D surfaces.

If the MF_SOURCE_READER_D3D_MANAGER attribute is not set, the MF_SOURCE_READER_DISABLE_DXVA attribute is ignored.

The default value of this attribute is FALSE, meaning that DXVA decoding is enabled when available.


Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]



See also

Alphabetical List of Media Foundation Attributes
Source Reader
Source Reader Attributes



© 2017 Microsoft