Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 3.25 KB

ne-mfidl-mftopology_dxva_mode.md

File metadata and controls

84 lines (64 loc) · 3.25 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:mfidl.MFTOPOLOGY_DXVA_MODE
MFTOPOLOGY_DXVA_MODE (mfidl.h)
Specifies whether the topology loader enables Microsoft DirectX Video Acceleration (DXVA) in the topology.
MFTOPOLOGY_DXVA_DEFAULT
MFTOPOLOGY_DXVA_FULL
MFTOPOLOGY_DXVA_MODE
MFTOPOLOGY_DXVA_MODE enumeration [Media Foundation]
MFTOPOLOGY_DXVA_NONE
mf.mftopology_dxva_mode
mfidl/MFTOPOLOGY_DXVA_DEFAULT
mfidl/MFTOPOLOGY_DXVA_FULL
mfidl/MFTOPOLOGY_DXVA_MODE
mfidl/MFTOPOLOGY_DXVA_NONE
mf\mftopology_dxva_mode.htm
mf
c47f505a-1b98-4309-b462-5b911e1f591f
12/05/2018
MFTOPOLOGY_DXVA_DEFAULT, MFTOPOLOGY_DXVA_FULL, MFTOPOLOGY_DXVA_MODE, MFTOPOLOGY_DXVA_MODE enumeration [Media Foundation], MFTOPOLOGY_DXVA_NONE, mf.mftopology_dxva_mode, mfidl/MFTOPOLOGY_DXVA_DEFAULT, mfidl/MFTOPOLOGY_DXVA_FULL, mfidl/MFTOPOLOGY_DXVA_MODE, mfidl/MFTOPOLOGY_DXVA_NONE
mfidl.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
MFTOPOLOGY_DXVA_MODE
19H1
MFTOPOLOGY_DXVA_MODE
mfidl/MFTOPOLOGY_DXVA_MODE
c++
APIRef
kbSyntax
HeaderDef
mfidl.h
MFTOPOLOGY_DXVA_MODE

MFTOPOLOGY_DXVA_MODE enumeration

-description

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

-enum-fields

-field MFTOPOLOGY_DXVA_DEFAULT:0

The topology loader enables DXVA on the decoder if possible, and drops optional Media Foundation transforms (MFTs) that do not support DXVA.

-field MFTOPOLOGY_DXVA_NONE:1

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

-field MFTOPOLOGY_DXVA_FULL: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.

-see-also

DirectX Video Acceleration 2.0

Media Foundation Enumerations