Windows Dev Center

DXVAHD_DEVICE_USAGE enumeration

Specifies the intended use for a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax


typedef enum _DXVAHD_DEVICE_USAGE { 
  DXVAHD_DEVICE_USAGE_PLAYBACK_NORMAL  = 0,
  DXVAHD_DEVICE_USAGE_OPTIMAL_SPEED    = 1,
  DXVAHD_DEVICE_USAGE_OPTIMAL_QUALITY  = 2
} DXVAHD_DEVICE_USAGE;

Constants

DXVAHD_DEVICE_USAGE_PLAYBACK_NORMAL

Normal video playback. The graphics driver should expose a set of capabilities that are appropriate for real-time video playback.

DXVAHD_DEVICE_USAGE_OPTIMAL_SPEED

Optimal speed. The graphics driver should expose a minimal set of capabilities that are optimized for performance.

Use this setting if you want better performance and can accept some reduction in video quality. For example, you might use this setting in power-saving mode or to play video thumbnails.

DXVAHD_DEVICE_USAGE_OPTIMAL_QUALITY

Optimal quality. The grahics driver should expose its maximum set of capabilities.

Specify this setting to get the best video quality possible. It is appropriate for tasks such as video editing, when quality is more important than speed. It is not appropriate for real-time playback.

Remarks

The graphics driver uses one of these enumeration constants as a hint when it creates the DXVA-HD device.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

DXVA-HD
Media Foundation Enumerations
DXVAHD_CreateDevice

 

 

Community Additions

ADD
Show:
© 2015 Microsoft