Expand Minimize

MFTOPOLOGY_DXVA_MODE enumeration

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

Syntax


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

Constants

MFTOPOLOGY_DXVA_DEFAULT

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

The topology loader disables all video acceleration. This setting forces software processing, even when the decoder supports DXVA.

MFTOPOLOGY_DXVA_FULL

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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft