D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_VBR_0080 structure (d3d12umddi.h)
The D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_VBR_0080 structure contains the rate control definition for variable bitrate (VBR) mode.
Syntax
typedef struct D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_VBR_0080 {
UINT InitialQP;
UINT MinQP;
UINT MaxQP;
UINT64 MaxFrameBitSize;
UINT64 TargetAvgBitRate;
UINT64 PeakBitRate;
UINT64 VBVCapacity;
UINT64 InitialVBVFullness;
} D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_VBR_0080;
Members
InitialQP
When the D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_ENABLE_INITIAL_QP flag is set, InitialQP can be used by the rate control algorithm.
MinQP
When 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.
MaxQP
When the D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_FLAG_0080_ENABLE_QP_RANGE flag is set, MaxQP limits the QP range of the rate control algorithm.
MaxFrameBitSize
Maximum 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.
TargetAvgBitRate
Average bitrate to be used, in bits per second.
PeakBitRate
Maximum bitrate that can be reached, in bits per second.
VBVCapacity
When 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.
InitialVBVFullness
When 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.
Remarks
See D3D12 video encoding for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |
See also
D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS_0080_2