Hardware Dev Center

Expand Minimize

DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA structure

The DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA structure describes data that specifies the background color to fill in the target rectangle of the output.

Syntax


typedef struct _DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA {
  BOOL            YCbCr;
  DXVAHDDDI_COLOR BackgroundColor;
} DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA;

Members

YCbCr

[in] A Boolean value that specifies whether the driver should determine whether the BackgroundColor member specifies a YCbCr or RGB color space. The default value is FALSE, which indicates a RGB color space. TRUE specifies a YCbCr color space.

BackgroundColor

[in] A DXVAHDDDI_COLOR union that specifies the background color as either a YCbCr or RGB color space. The default value is full range RGB black with opaque alpha, that is (R,G,B,A) = (0.0,0.0,0.0,1.0).

Remarks

The color space of the background color is determined by the color space of the output. For more information about output color space, see DXVAHDDDI_BLT_STATE_OUTPUT_COLOR_SPACE_DATA.

The alpha value of the background color is used when the DXVAHDDDI_ALPHA_FILL_MODE_BACKGROUND value is specified in the alpha fill mode (that is, the Mode member of the DXVAHDDDI_BLT_STATE_ALPHA_FILL_DATA structure) when the DXVAHDDDI_BLT_STATE_ALPHA_FILL value is specified in the State member of the D3DDDIARG_DXVAHD_SETVIDEOPROCESSBLTSTATE structure in a call to the SetVideoProcessBltState function.

Requirements

Version

DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_SETVIDEOPROCESSBLTSTATE
DXVAHDDDI_BLT_STATE_ALPHA_FILL_DATA
DXVAHDDDI_BLT_STATE_OUTPUT_COLOR_SPACE_DATA
DXVAHDDDI_COLOR
SetVideoProcessBltState

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft