D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR structure (d3d12video.h)

Represents a rate control structure definition for variable bitrate mode.

Syntax

typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR {
  UINT   InitialQP;
  UINT   MinQP;
  UINT   MaxQP;
  UINT64 MaxFrameBitSize;
  UINT64 TargetAvgBitRate;
  UINT64 PeakBitRate;
  UINT64 VBVCapacity;
  UINT64 InitialVBVFullness;
} D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR;

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

The 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

Average bitrate to be used, in bits/second.

PeakBitRate

The maximum bit rate that can be reached 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

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