DXVAHD_BLT_STATE enumeration (dxvahd.h)

Specifies state parameters for blit operations when using Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

To set a state parameter, call the IDXVAHD_VideoProcessor::SetVideoProcessBltState method. This method takes a DXVAHD_BLT_STATE value and a byte array as input. The byte array contains state data, the structure of which is defined by the DXVAHD_BLT_STATE value.

Syntax

typedef enum _DXVAHD_BLT_STATE {
  DXVAHD_BLT_STATE_TARGET_RECT = 0,
  DXVAHD_BLT_STATE_BACKGROUND_COLOR = 1,
  DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE = 2,
  DXVAHD_BLT_STATE_ALPHA_FILL = 3,
  DXVAHD_BLT_STATE_CONSTRICTION = 4,
  DXVAHD_BLT_STATE_PRIVATE = 1000
} DXVAHD_BLT_STATE;

Constants

 
DXVAHD_BLT_STATE_TARGET_RECT
Value: 0
Specifies the target rectangle, which is the area within the destination surface where the output will be drawn. The state data is a DXVAHD_BLT_STATE_TARGET_RECT_DATA structure.
DXVAHD_BLT_STATE_BACKGROUND_COLOR
Value: 1
Specifies the background color. The state data is a DXVAHD_BLT_STATE_BACKGROUND_COLOR_DATA structure.
DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE
Value: 2
Specifies the output color space. The state data is a DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE_DATA structure.
DXVAHD_BLT_STATE_ALPHA_FILL
Value: 3
Specifies how DXVA-HD device calculates output alpha values. The state data is a DXVAHD_BLT_STATE_ALPHA_FILL_DATA structure.
DXVAHD_BLT_STATE_CONSTRICTION
Value: 4
Specifies the amount of downsampling to perform on the output. The state data is a DXVAHD_BLT_STATE_CONSTRICTION_DATA structure.
DXVAHD_BLT_STATE_PRIVATE
Value: 1000
Specifies that the state data contains a private DXVA-HD blit state. Use this state for proprietary or device-specific parameters. The state data is a DXVAHD_BLT_STATE_PRIVATE_DATA structure.

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

Direct3D Video Enumerations

Media Foundation Enumerations