D3D12DDI_VIDEO_DECODE_SUPPORT_DATA_0020 structure (d3d12umddi.h)

Specifies data used to determine support of hardware for a configuration. Used by the PFND3D12DDI_VIDEO_GETCAPS callback function, with the Type parameter in D3D12DDIARG_VIDEO_GETCAPS_0020 set to D3D12DDICAPS_TYPE_VIDEO_DECODE_SUPPORT.

Syntax

typedef struct D3D12DDI_VIDEO_DECODE_SUPPORT_DATA_0020 {
  UINT                                           NodeIndex;
  D3D12DDI_VIDEO_DECODE_CONFIGURATION_0020       Configuration;
  UINT                                           Width;
  UINT                                           Height;
  DXGI_FORMAT                                    DecodeFormat;
  DXGI_RATIONAL                                  FrameRate;
  UINT                                           BitRate;
  D3D12DDI_VIDEO_DECODE_SUPPORT_FLAGS_0020       SupportFlags;
  D3D12DDI_VIDEO_DECODE_CONFIGURATION_FLAGS_0020 ConfigurationFlags;
  D3D12DDI_VIDEO_DECODE_TIER_0020                DecodeTier;
} D3D12DDI_VIDEO_DECODE_SUPPORT_DATA_0020;

Members

NodeIndex

In multi-adapter operation, this indicates which physical adapter of the device this operation applies to.

Configuration

The decode profile and bitstream encryption. For more information, see D3D12DDI_VIDEO_DECODE_CONFIGURATION.

Width

The decode width of the source stream.

Height

The decode height of the source stream.

DecodeFormat

The DirectX resource data format to use as the decode format. If no decoder conversion is specified, this format is the output format.

FrameRate

The frame rate of the video format. Used to help return performance hints in the SupportFlags member. A value of zero (0) means unknown.

BitRate

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

SupportFlags

Supported flags. For more information, see D3D12DDI_VIDEO_DECODE_SUPPORT_FLAGS.

ConfigurationFlags

Configuration flags. For more information, see D3D12DDI_VIDEO_DECODE_CONFIGURATION_FLAGS.

DecodeTier

The tier supported by this configuration. For more information, see D3D12DDI_VIDEO_DECODE_TIER.

Remarks

This structure is retrieved through the pfnGetCaps callback function with the D3D12DDICAPS_TYPE set to a value of D3D12DDICAPS_TYPE_VIDEO_DECODE_SUPPORT.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)

See also

D3D12DDI_VIDEO_DECODE_CONFIGURATION

D3D12DDI_VIDEO_DECODE_CONFIGURATION_FLAGS

D3D12DDI_VIDEO_DECODE_SUPPORT_FLAGS

D3D12DDI_VIDEO_DECODE_TIER