Class VkVideoEncodeH265GopRemainingFrameInfoKHR

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

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