D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE. Retrieves a value indicating if the specified rate control mode is supported for video encoding with the specified codec.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE {
  UINT                                  NodeIndex;
  D3D12_VIDEO_ENCODER_CODEC             Codec;
  D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE RateControlMode;
  BOOL                                  IsSupported;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE;

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.

RateControlMode

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

IsSupported

Receives a boolean value indicating if the specified rate control mode is supported for the specified codec.

Requirements

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