D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT enumeration (d3d11_4.h)

Specifies indices for arrays of per component histogram information.

Syntax

typedef enum D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT {
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y = 0,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U = 1,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V = 2,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R = 0,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G = 1,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B = 2,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A = 3
} ;

Constants

 
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y
Value: 0
If the format is a YUV format, indicates a histogram for the Y component.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U
Value: 1
If the format is a YUV format, indicates a histogram for the U component.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V
Value: 2
If the format is a YUV format, indicates a histogram for the V component.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R
Value: 0
If the format is an RGB/BGR format, indicates a histogram for the R component.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G
Value: 1
If the format is an RGB/BGR format, indicates a histogram for the G component.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B
Value: 2
If the format is an RGB/BGR format, indicates a histogram for the B component.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A
Value: 3
If the format has an alpha channel, indicates a histogram for the A component.

Remarks

The D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS is the flags enumeration used by D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM to allow you to specify one or more components for which histogram data is queried.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d11_4.h