DXVAHDDDI_COLOR_YCbCrA structure

The DXVAHDDDI_COLOR_YCbCrA structure describes color in YCbCr terms.

Syntax


typedef struct _DXVAHDDDI_COLOR_YCbCrA {
  FLOAT Y;
  FLOAT Cb;
  FLOAT Cr;
  FLOAT A;
} DXVAHDDDI_COLOR_YCbCrA;

Members

Y

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

Cb

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

Cr

[in] A FLOAT value in the 0.0 to 1.0 range that is used to describe the red chroma component of the YCbCr 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 YCbCr color.

Remarks

The setting of DXVAHDDDI_COLOR_YCbCrA for YCbCr black with opaque alpha is (0.0625, 0.5, 0.5, 1.0), which is (16, 128, 128, 255) when 8-bit presentation is used.

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

Requirements

Version

DXVAHDDDI_COLOR_YCbCrA 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: