Редагувати

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


MF_CAPTURE_ENGINE_DISABLE_DXVA attribute

Specifies whether the capture engine uses DirectX Video Acceleration (DXVA) for video decoding.

Data type

BOOL stored as UINT32

Remarks

This attribute applies if the following conditions are true:

  • The capture engine decodes a compressed video stream from the capture device (for example, if the capture device outputs H.264 video).
  • The video decoder supports hardware-accelerated decoding using DXVA.
  • The application uses the MF_CAPTURE_ENGINE_D3D_MANAGER attribute to set the DXGI Device Manager on the capture engine.

Otherwise, this attribute is ignored.

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

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

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Mfcaptureengine.h

See also

Alphabetical List of Media Foundation Attributes

Capture Engine Attributes

IMFCaptureEngine::Initialize