// d3d12umddi.h
typedef struct D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_CBR_0080 {
UINT InitialQP;
UINT MinQP;
UINT MaxQP;
UINT64 MaxFrameBitSize;
UINT64 TargetBitRate;
UINT64 VBVCapacity;
UINT64 InitialVBVFullness;
} D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_CBR_0080;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_CBR_0080 structure contains the rate control definition for constant bitrate (CBR) mode.
InitialQPWhen the D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_ENABLE_INITIAL_QP flag is set, InitialQP can be used by the rate control algorithm.
MinQPWhen the D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_ENABLE_QP_RANGE flag is set, MinQP limits the quantization parameter (QP) range of the rate control algorithm.
MaxQPWhen the D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_ENABLE_QP_RANGE flag is set, MaxQP limits the QP range of the rate control algorithm.
MaxFrameBitSizeMaximum size for each frame to be encoded, in bits. When D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_ENABLE_MAX_FRAME_SIZE is set, MaxFrameBitSize limits each frame's maximum size in the rate control algorithm.
TargetBitRateThe constant bitrate to be used, in bits per second.
VBVCapacityWhen D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_1_ENABLE_VBV_SIZES is set, VBVCapacity specifies the capacity, in bits, of the Video Buffer Verifier (VBV) to be used in the rate control algorithm.
InitialVBVFullnessWhen D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_1_ENABLE_VBV_SIZES is set, InitialVBVFullness specifies the initial fullness, in bits, of the VBV to be used in the rate control algorithm.
See D3D12 video encoding for general information.
D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS_0080_2
D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAGS_0080