D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_CODEC. Retrieves a value indicating if the specified codec is supported for video encoding.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC {
  UINT                      NodeIndex;
  D3D12_VIDEO_ENCODER_CODEC Codec;
  BOOL                      IsSupported;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC;

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 encoder support is being queried.

IsSupported

Receives a boolean value indicating if the specified codec is supported.

Requirements

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