D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT. Retrieves the number of supported resolution ratios for the specified codec.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT {
  UINT                      NodeIndex;
  D3D12_VIDEO_ENCODER_CODEC Codec;
  UINT                      ResolutionRatiosCount;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT;

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 the number of supported resolution ratios is being queried.

ResolutionRatiosCount

Receives a UINT indicating the number of supported resolution ratios for the specified codec.

Requirements

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