D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC structure (d3d12video.h)

Defines a video encoder picture resolution ratio as an irreducible fraction.

Syntax

typedef struct D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC {
  UINT WidthRatio;
  UINT HeightRatio;
} D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC;

Members

WidthRatio

The resolution ratio numerator.

HeightRatio

The resolution ratio denominator.

Requirements

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