DXVAHDDDI_COLOR_YCbCrA structure (d3dumddi.h)
The DXVAHDDDI_COLOR_YCbCrA structure describes color in YCbCr terms.
Syntax
typedef struct _DXVAHDDDI_COLOR_YCbCrA {
[in] FLOAT Y;
[in] FLOAT Cb;
[in] FLOAT Cr;
[in] FLOAT A;
} DXVAHDDDI_COLOR_YCbCrA;
Members
[in] Y
A FLOAT value in the 0.0 to 1.0 range that is used to describe the luma component of the YCbCr color.
[in] Cb
A FLOAT value in the 0.0 to 1.0 range that is used to describe the blue chroma component of the YCbCr color.
[in] Cr
A FLOAT value in the 0.0 to 1.0 range that is used to describe the red chroma component of the YCbCr color.
[in] A
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
Requirement | Value |
---|---|
Minimum supported client | DXVAHDDDI_COLOR_YCbCrA is supported beginning with the Windows 7 operating system. |
Header | d3dumddi.h (include D3dumddi.h) |