Class VkVideoEncodeH264GopRemainingFrameInfoKHR

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

public class VkVideoEncodeH264GopRemainingFrameInfoKHR extends org.lwjgl.system.Struct<VkVideoEncodeH264GopRemainingFrameInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying H.264 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 VkVideoEncodeH264CapabilitiesKHR::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 VkVideoEncodeH264CapabilitiesKHR::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 VkVideoEncodeH264GopRemainingFrameInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkBool32 useGopRemainingFrames();
     uint32_t gopRemainingI();
     uint32_t gopRemainingP();
     uint32_t gopRemainingB();
 }