Class StdVideoEncodeAV1DecoderModelInfo

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

public class StdVideoEncodeAV1DecoderModelInfo extends org.lwjgl.system.Struct<StdVideoEncodeAV1DecoderModelInfo> implements org.lwjgl.system.NativeResource

Layout


 struct StdVideoEncodeAV1DecoderModelInfo {
     uint8_t buffer_delay_length_minus_1;
     uint8_t buffer_removal_time_length_minus_1;
     uint8_t frame_presentation_time_length_minus_1;
     uint8_t reserved1;
     uint32_t num_units_in_decoding_tick;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int BUFFER_DELAY_LENGTH_MINUS_1
      The struct member offsets.
    • BUFFER_REMOVAL_TIME_LENGTH_MINUS_1

      public static final int BUFFER_REMOVAL_TIME_LENGTH_MINUS_1
      The struct member offsets.
    • FRAME_PRESENTATION_TIME_LENGTH_MINUS_1

      public static final int FRAME_PRESENTATION_TIME_LENGTH_MINUS_1
      The struct member offsets.
    • RESERVED1

      public static final int RESERVED1
      The struct member offsets.
    • NUM_UNITS_IN_DECODING_TICK

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

    • StdVideoEncodeAV1DecoderModelInfo

      public StdVideoEncodeAV1DecoderModelInfo(ByteBuffer container)
      Creates a StdVideoEncodeAV1DecoderModelInfo 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

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<StdVideoEncodeAV1DecoderModelInfo>
    • buffer_delay_length_minus_1

      public byte buffer_delay_length_minus_1()
      Returns:
      the value of the buffer_delay_length_minus_1 field.
    • buffer_removal_time_length_minus_1

      public byte buffer_removal_time_length_minus_1()
      Returns:
      the value of the buffer_removal_time_length_minus_1 field.
    • frame_presentation_time_length_minus_1

      public byte frame_presentation_time_length_minus_1()
      Returns:
      the value of the frame_presentation_time_length_minus_1 field.
    • num_units_in_decoding_tick

      public int num_units_in_decoding_tick()
      Returns:
      the value of the num_units_in_decoding_tick field.
    • buffer_delay_length_minus_1

      public StdVideoEncodeAV1DecoderModelInfo buffer_delay_length_minus_1(byte value)
      Sets the specified value to the buffer_delay_length_minus_1 field.
    • buffer_removal_time_length_minus_1

      public StdVideoEncodeAV1DecoderModelInfo buffer_removal_time_length_minus_1(byte value)
      Sets the specified value to the buffer_removal_time_length_minus_1 field.
    • frame_presentation_time_length_minus_1

      public StdVideoEncodeAV1DecoderModelInfo frame_presentation_time_length_minus_1(byte value)
      Sets the specified value to the frame_presentation_time_length_minus_1 field.
    • num_units_in_decoding_tick

      public StdVideoEncodeAV1DecoderModelInfo num_units_in_decoding_tick(int value)
      Sets the specified value to the num_units_in_decoding_tick field.
    • set

      public StdVideoEncodeAV1DecoderModelInfo set(byte buffer_delay_length_minus_1, byte buffer_removal_time_length_minus_1, byte frame_presentation_time_length_minus_1, int num_units_in_decoding_tick)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static StdVideoEncodeAV1DecoderModelInfo malloc()
      Returns a new StdVideoEncodeAV1DecoderModelInfo instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static StdVideoEncodeAV1DecoderModelInfo calloc()
      Returns a new StdVideoEncodeAV1DecoderModelInfo instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static StdVideoEncodeAV1DecoderModelInfo create()
      Returns a new StdVideoEncodeAV1DecoderModelInfo instance allocated with BufferUtils.
    • create

      public static StdVideoEncodeAV1DecoderModelInfo create(long address)
      Returns a new StdVideoEncodeAV1DecoderModelInfo instance for the specified memory address.
    • createSafe

      public static @Nullable StdVideoEncodeAV1DecoderModelInfo createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static StdVideoEncodeAV1DecoderModelInfo.Buffer malloc(int capacity)
      Returns a new StdVideoEncodeAV1DecoderModelInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static StdVideoEncodeAV1DecoderModelInfo.Buffer calloc(int capacity)
      Returns a new StdVideoEncodeAV1DecoderModelInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoEncodeAV1DecoderModelInfo.Buffer create(int capacity)
      Returns a new StdVideoEncodeAV1DecoderModelInfo.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoEncodeAV1DecoderModelInfo.Buffer create(long address, int capacity)
      Create a StdVideoEncodeAV1DecoderModelInfo.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable StdVideoEncodeAV1DecoderModelInfo.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static StdVideoEncodeAV1DecoderModelInfo malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoEncodeAV1DecoderModelInfo instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static StdVideoEncodeAV1DecoderModelInfo calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoEncodeAV1DecoderModelInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static StdVideoEncodeAV1DecoderModelInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoEncodeAV1DecoderModelInfo.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static StdVideoEncodeAV1DecoderModelInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoEncodeAV1DecoderModelInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nbuffer_delay_length_minus_1

      public static byte nbuffer_delay_length_minus_1(long struct)
    • nbuffer_removal_time_length_minus_1

      public static byte nbuffer_removal_time_length_minus_1(long struct)
    • nframe_presentation_time_length_minus_1

      public static byte nframe_presentation_time_length_minus_1(long struct)
    • nreserved1

      public static byte nreserved1(long struct)
    • nnum_units_in_decoding_tick

      public static int nnum_units_in_decoding_tick(long struct)
      Unsafe version of num_units_in_decoding_tick().
    • nbuffer_delay_length_minus_1

      public static void nbuffer_delay_length_minus_1(long struct, byte value)
      Unsafe version of buffer_delay_length_minus_1.
    • nbuffer_removal_time_length_minus_1

      public static void nbuffer_removal_time_length_minus_1(long struct, byte value)
    • nframe_presentation_time_length_minus_1

      public static void nframe_presentation_time_length_minus_1(long struct, byte value)
    • nreserved1

      public static void nreserved1(long struct, byte value)
    • nnum_units_in_decoding_tick

      public static void nnum_units_in_decoding_tick(long struct, int value)
      Unsafe version of num_units_in_decoding_tick.