Expand Minimize

DXVAHDDDI_COLOR_RGBA structure

The DXVAHDDDI_COLOR_RGBA structure describes color in RGB terms.

Syntax


typedef struct _DXVAHDDDI_COLOR_RGBA {
  FLOAT R;
  FLOAT G;
  FLOAT B;
  FLOAT A;
} DXVAHDDDI_COLOR_RGBA;

Members

R

[in] A FLOAT value in the 0.0 to 1.0 range that is used to describe the red component of the RGB color.

G

[in] A FLOAT value in the 0.0 to 1.0 range that is used to describe the green component of the RGB color.

B

[in] A FLOAT value in the 0.0 to 1.0 range that is used to describe the blue component of the RGB color.

A

[in] A FLOAT value in the 0.0 to 1.0 range that is used to describe the alpha component (that is, the transparency level) of the RGB color.

Remarks

The setting of DXVAHDDDI_COLOR_RGBA for full range RGB black with opaque alpha is (0.0, 0.0, 0.0, 1.0). The setting of DXVAHDDDI_COLOR_RGBA for limited range RGB black with half transparent alpha is (0.0625, 0.0625, 0.0625, 0.5), which is (0, 0, 0, 255) and (16, 16, 16, 128) respectively when 8-bit presentation is used.

R, G, and B values can be out of the [0.0, 1.0] range for wide gamut format (for example, for XR_BIAS, FP16, and FP32 formats).

A DXVAHDDDI_COLOR_YCbCrA structure is specified in the RGB member of the DXVAHDDDI_COLOR union to specify the color in RGB terms.

Requirements

Version

DXVAHDDDI_COLOR_RGBA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

DXVAHDDDI_COLOR

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft