Редагувати

Поділитися через


MF_TOPOLOGY_DXVA_MODE attribute

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

Data type

MFTOPOLOGY_DXVA_MODE stored as UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Applies to

IMFTopology

Remarks

The value of this attribute is an MFTOPOLOGY_DXVA_MODE enumeration constant. The default value is MFTOPOLOGY_DXVA_DEFAULT.

This attribute controls which MFTs receive a pointer to the Direct3D device manager. To enable full video acceleration, set the value to MFTOPOLOGY_DXVA_FULL. The value MFTOPOLOGY_DXVA_DEFAULT is defined for backward compatibility; it matches the behavior of all earlier versions of Microsoft Media Foundation.

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

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

Alphabetical List of Media Foundation Attributes

Direct3D Device Manager

Topology Attributes