C Specification
The VkVideoEncodeRateControlLayerInfoKHR
structure is defined as:
// Provided by VK_KHR_video_encode_queue
typedef struct VkVideoEncodeRateControlLayerInfoKHR {
VkStructureType sType;
const void* pNext;
uint64_t averageBitrate;
uint64_t maxBitrate;
uint32_t frameRateNumerator;
uint32_t frameRateDenominator;
} VkVideoEncodeRateControlLayerInfoKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
is a pointer to a structure extending this structure. -
averageBitrate
is the average bitrate to be targeted by the implementation’s rate control algorithm. -
maxBitrate
is the peak bitrate to be targeted by the implementation’s rate control algorithm. -
frameRateNumerator
is the numerator of the frame rate assumed by the implementation’s rate control algorithm. -
frameRateDenominator
is the denominator of the frame rate assumed by the implementation’s rate control algorithm.
Description
Note
The ability of the implementation’s rate control algorithm to be able to match the requested average and/or peak bitrates may be limited by the set of other codec-independent and codec-specific rate control parameters specified by the application, the input content, as well as the application conforming to the rate control guidance provided to the implementation, as described earlier. |
Additional structures providing codec-specific rate control parameters can
be included in the pNext
chain of
VkVideoEncodeRateControlLayerInfoKHR
depending on the
video profile the bound video session was created with.
For further details see:
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.