Class VkVideoEncodeAV1RateControlInfoKHR

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

public class VkVideoEncodeAV1RateControlInfoKHR extends org.lwjgl.system.Struct<VkVideoEncodeAV1RateControlInfoKHR> implements org.lwjgl.system.NativeResource
Structure describing AV1 stream rate control parameters.
Description

When an instance of this structure is included in the pNext chain of the VkVideoCodingControlInfoKHR structure passed to the CmdControlVideoCodingKHR command, and VkVideoCodingControlInfoKHR::flags includes VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHR, the parameters in this structure are used as guidance for the implementation’s rate control algorithm (see Video Coding Control).

Valid Usage
Valid Usage (Implicit)

Layout


 struct VkVideoEncodeAV1RateControlInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkVideoEncodeAV1RateControlFlagsKHR flags();
     uint32_t gopFrameCount();
     uint32_t keyFramePeriod();
     uint32_t consecutiveBipredictiveFrameCount();
     uint32_t temporalLayerCount();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • GOPFRAMECOUNT

      public static final int GOPFRAMECOUNT
      The struct member offsets.
    • KEYFRAMEPERIOD

      public static final int KEYFRAMEPERIOD
      The struct member offsets.
    • CONSECUTIVEBIPREDICTIVEFRAMECOUNT

      public static final int CONSECUTIVEBIPREDICTIVEFRAMECOUNT
      The struct member offsets.
    • TEMPORALLAYERCOUNT

      public static final int TEMPORALLAYERCOUNT
      The struct member offsets.
  • Constructor Details

    • VkVideoEncodeAV1RateControlInfoKHR

      public VkVideoEncodeAV1RateControlInfoKHR(ByteBuffer container)
      Creates a VkVideoEncodeAV1RateControlInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details