D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT. Retrieves a value indicating if the specified codec configuration support parameters are supported for the provided HEVC encoding configuration or retrieves the supported configuration for H.264 encoding.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT {
  UINT                                            NodeIndex;
  D3D12_VIDEO_ENCODER_CODEC                       Codec;
  D3D12_VIDEO_ENCODER_PROFILE_DESC                Profile;
  BOOL                                            IsSupported;
  D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT CodecSupportLimits;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT;

Members

NodeIndex

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

Codec

A member of the D3D12_VIDEO_ENCODER_CODEC enumeration specifying the codec for which rate control mode support is being queried.

Profile

A D3D12_VIDEO_ENCODER_PROFILE_DESC structure specifying the profile for which intra refresh mode support is being queried.

IsSupported

Receives a boolean value indicating if the specified configuration parameters are supported for the specified codec.

CodecSupportLimits

A D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT structure. For HEVC, the caller populates this structure with the desired encoder configuration. For H.264, the CheckFeatureSupport call populates the structure with the supported configuration.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h