MFTOPOLOGY_DXVA_MODE enumeration (mfidl.h)

Specifies whether the topology loader enables Microsoft DirectX Video Acceleration (DXVA) in the topology.

Syntax

typedef enum MFTOPOLOGY_DXVA_MODE {
  MFTOPOLOGY_DXVA_DEFAULT = 0,
  MFTOPOLOGY_DXVA_NONE = 1,
  MFTOPOLOGY_DXVA_FULL = 2
} ;

Constants

 
MFTOPOLOGY_DXVA_DEFAULT
Value: 0
The topology loader enables DXVA
on the decoder if possible, and drops optional Media Foundation transforms (MFTs) that do not support DXVA.
MFTOPOLOGY_DXVA_NONE
Value: 1
The topology loader disables all video acceleration. This setting forces software processing, even when the decoder supports DXVA.
MFTOPOLOGY_DXVA_FULL
Value: 2
The topology loader enables DXVA on every MFT that supports it.

Remarks

This enumeration is used with the MF_TOPOLOGY_DXVA_MODE topology attribute.

If an MFT supports DXVA, the MFT must return TRUE for the MF_SA_D3D_AWARE attribute. To enable DXVA, the topology loader calls IMFTransform::ProcessMessage on the MFT, passing the MFT a pointer to the IDirect3DDeviceManager9 interface. The topology loader gets the IDirect3DDeviceManager9 pointer from the media sink for the video stream. Typically the enhanced video renderer (EVR) is the media sink.

Previous versions of Microsoft Media Foundation supported DXVA only for decoders.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header mfidl.h

See also

DirectX Video Acceleration 2.0

Media Foundation Enumerations