D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT enumeration (d3d12video.h)
Specifies indices for arrays of per component histogram information.
Syntax
typedef enum D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT {
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_Y,
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_U,
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_V,
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_R,
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_G,
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_B,
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_A
} ;
Constants
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_Y If the format is a YUV format, indicates a histogram for the Y component. |
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_U If the format is a YUV format, indicates a histogram for the U component. |
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_V If the format is a YUV format, indicates a histogram for the V component. |
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_R If the format is an RGB/BGR format, indicates a histogram for the R component. |
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_G If the format is an RGB/BGR format, indicates a histogram for the G component. |
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_B If the format is an RGB/BGR format, indicates a histogram for the B component. |
D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_A If the format has an alpha channel, indicates a histogram for the A component. |
Remarks
The D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS is the flags enumeration used by D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM to allow you to specify one or more components for which histogram data is queried.
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |