DXVAHD_BLT_STATE enumeration
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
-
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
-
Specifies the background color. The state data is a DXVAHD_BLT_STATE_BACKGROUND_COLOR_DATA structure.
- DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE
-
Specifies the output color space. The state data is a DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE_DATA structure.
- DXVAHD_BLT_STATE_ALPHA_FILL
-
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
-
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
-
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 |
|
See also