Class VkVideoEncodeAV1GopRemainingFrameInfoKHR

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

public class VkVideoEncodeAV1GopRemainingFrameInfoKHR extends org.lwjgl.system.Struct<VkVideoEncodeAV1GopRemainingFrameInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying AV1 encode rate control GOP remaining frame counts.
Description

Setting useGopRemainingFrames to TRUE and including this structure in the pNext chain of VkVideoBeginCodingInfoKHR is only mandatory if the VkVideoEncodeAV1CapabilitiesKHR::requiresGopRemainingFrames reported for the used video profile is TRUE. However, implementations may use these remaining frame counts, when specified, even when it is not required. In particular, when the application does not use a regular GOP structure, these values may provide additional guidance for the implementation’s rate control algorithm.

The VkVideoEncodeAV1CapabilitiesKHR::prefersGopRemainingFrames capability is also used to indicate that the implementation’s rate control algorithm may operate more accurately if the application specifies the remaining frame counts using this structure.

As with other rate control guidance values, if the effective order and number of frames encoded by the application are not in line with the remaining frame counts specified in this structure at any given point, then the behavior of the implementation’s rate control algorithm may deviate from the one expected by the application.

Valid Usage (Implicit)

Layout


 struct VkVideoEncodeAV1GopRemainingFrameInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkBool32 useGopRemainingFrames();
     uint32_t gopRemainingIntra();
     uint32_t gopRemainingPredictive();
     uint32_t gopRemainingBipredictive();
 }