D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR structure (d3d12video.h)

Represents a rate control structure definition for constant quality target with constrained bitrate.

Syntax

typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR {
  UINT   InitialQP;
  UINT   MinQP;
  UINT   MaxQP;
  UINT64 MaxFrameBitSize;
  UINT64 TargetAvgBitRate;
  UINT64 PeakBitRate;
  UINT   ConstantQualityTarget;
} D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR;

Members

InitialQP

When D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_INITIAL_QP is enabled, allows the Initial QP to be used by the rate control algorithm.

MinQP

When D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QP_RANGE is enabled, limits QP range of the rate control algorithm.

MaxQP

When D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QP_RANGE is enabled, limits QP range of the rate control algorithm.

MaxFrameBitSize

Maximum size in bits for each frame to be coded. When D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_MAX_FRAME_SIZE is enabled, limits each frame maximum size in the rate control algorithm.

TargetAvgBitRate

Indicates the target average bit rate, in bits/second.

PeakBitRate

Indicates the maximum bit rate that can be reached in bits/second while using this rate control mode.

ConstantQualityTarget

The quality level target. The values are codec-specific as each standard defines the range for this argument.

Requirements

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