Class VkVideoEncodeRateControlLayerInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeRateControlLayerInfoKHR>
org.lwjgl.vulkan.VkVideoEncodeRateControlLayerInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkVideoEncodeRateControlLayerInfoKHR extends org.lwjgl.system.Struct<VkVideoEncodeRateControlLayerInfoKHR> implements org.lwjgl.system.NativeResource
Structure to set encode per-layer rate control parameters.
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:

Valid Usage
  • frameRateNumerator must be greater than zero
  • frameRateDenominator must be greater than zero
Valid Usage (Implicit)
See Also

VkVideoEncodeRateControlInfoKHR

Layout


 struct VkVideoEncodeRateControlLayerInfoKHR {
     VkStructureType sType();
     void const * pNext();
     uint64_t averageBitrate();
     uint64_t maxBitrate();
     uint32_t frameRateNumerator();
     uint32_t frameRateDenominator();
 }