D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_DECODE_SUPPORT. Retrieves support information for video decoding.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT {
  UINT                                   NodeIndex;
  D3D12_VIDEO_DECODE_CONFIGURATION       Configuration;
  UINT                                   Width;
  UINT                                   Height;
  DXGI_FORMAT                            DecodeFormat;
  DXGI_RATIONAL                          FrameRate;
  UINT                                   BitRate;
  D3D12_VIDEO_DECODE_SUPPORT_FLAGS       SupportFlags;
  D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ConfigurationFlags;
  D3D12_VIDEO_DECODE_TIER                DecodeTier;
} D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT;

Members

NodeIndex

For single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.

Configuration

A D3D12_VIDEO_DECODE_CONFIGURATION structure specifying the decode profile, bitstream encryption, and interlace type of the source stream.

Width

The decode width of the source stream.

Height

The decode height of the source stream

DecodeFormat

The DXGI_FORMAT to use as the decode format. This format is the output format if no decoder conversion is specified.

FrameRate

The frame rate of the video format. A value of 0 means the frame rate is unknown.

BitRate

The average bits per second data compression rate for the compressed video stream. This information is used by the driver to determine whether the video can be decoded in real-time. A value of 0 means the bit rate is unknown.

SupportFlags

A combination of values from the D3D12_VIDEO_DECODE_SUPPORT_FLAGS enumeration indicating the support for video decoding. This value is populated by the call to ID3D12Device::CheckFeatureSupport.

ConfigurationFlags

A combination of values from the D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS enumeration describing the video decode configuration. This value is populated by the call to ID3D12Device::CheckFeatureSupport.

DecodeTier

A member of the D3D12_VIDEO_DECODE_TIER enumeration specifying the decoding tier of a hardware video decoder.

Requirements

Requirement Value
Header d3d12video.h