D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR structure (d3d12video.h)

Represents a rate control structure definition for constant bitrate mode.

Syntax

typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR {
  UINT   InitialQP;
  UINT   MinQP;
  UINT   MaxQP;
  UINT64 MaxFrameBitSize;
  UINT64 TargetBitRate;
  UINT64 VBVCapacity;
  UINT64 InitialVBVFullness;
} D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR;

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.

TargetBitRate

Specifies the constant bitrate to be used in bits/second.

VBVCapacity

When D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_VBV_SIZE_CONFIG_AVAILABLE is enabled, specifies the capacity in bits of the Video Buffer Verifier to be used in the rate control algorithm.

InitialVBVFullness

When D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_VBV_SIZE_CONFIG_AVAILABLE is enabled, specifies the initial fullness in bits of the Video Buffer Verifier to be used in the rate control algorithm.

Requirements

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