D3DWDDM2_4DDI_VIDEO_CAPABILITY_DECODER_HISTOGRAM structure (d3d10umddi.h)

D3DWDDM2_4DDI_VIDEO_CAPABILITY_DECODER_HISTOGRAM describes the video decoder histogram capabilities. The driver provides these capabilities when its PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES function is called.

Syntax

typedef struct D3DWDDM2_4DDI_VIDEO_CAPABILITY_DECODER_HISTOGRAM {
  D3D11_1DDI_VIDEO_DECODER_DESC                         DecoderDesc;
  D3DWDDM2_4DDI_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS Components;
  UINT                                                  BinCount;
  UINT                                                  CounterBitDepth;
} D3DWDDM2_4DDI_VIDEO_CAPABILITY_DECODER_HISTOGRAM;

Members

DecoderDesc

[in] A D3D11_1DDI_VIDEO_DECODER_DESC structure containing the description for the decoder to be used with decode histogram.

Components

[out] A D3DWDDM2_4DDI_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS value that specifies the components (or channels) of a DXGI_FORMAT that the hardware supports.

BinCount

[out] The number of per component bins supported. BinCount must be >= 64 and must be a power of 2 (64, 128, 256, 512, etc.).

CounterBitDepth

[out] The bit depth of the bin counter. The counter is always stored in a 32-bit value and is therefore 32 bits or less. The counter is stored in the lower bits of the 32 bit storage. The upper bits are set to zero. If the in count exceeds this bit depth, the value is set to the maximum counter value. Valid values for CounterBitDepth are 16, 24, and 32.

Requirements

Requirement Value
Minimum supported client Windows 10 version 1803 (WDDM 2.4)
Header d3d10umddi.h

See also

D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY

PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES