Class StdVideoEncodeH265ReferenceListsInfo.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoEncodeH265ReferenceListsInfo
overrungl.vulkan.video.StdVideoEncodeH265ReferenceListsInfo.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
StdVideoEncodeH265ReferenceListsInfo

public static final class StdVideoEncodeH265ReferenceListsInfo.Buffer extends StdVideoEncodeH265ReferenceListsInfo
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates StdVideoEncodeH265ReferenceListsInfo.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public StdVideoEncodeH265ReferenceListsInfo asSlice(long index)
      Creates a slice of StdVideoEncodeH265ReferenceListsInfo.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of StdVideoEncodeH265ReferenceListsInfo
    • asSlice

      public StdVideoEncodeH265ReferenceListsInfo.Buffer asSlice(long index, long count)
      Creates a slice of StdVideoEncodeH265ReferenceListsInfo.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of StdVideoEncodeH265ReferenceListsInfo
    • flagsAt

      public MemorySegment flagsAt(long index)
      Returns flags at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      flags at the given index
    • flagsAt

      public StdVideoEncodeH265ReferenceListsInfo.Buffer flagsAt(long index, MemorySegment value)
      Sets flags with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • num_ref_idx_l0_active_minus1At

      public byte num_ref_idx_l0_active_minus1At(long index)
      Returns num_ref_idx_l0_active_minus1 at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      num_ref_idx_l0_active_minus1 at the given index
    • num_ref_idx_l0_active_minus1At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer num_ref_idx_l0_active_minus1At(long index, byte value)
      Sets num_ref_idx_l0_active_minus1 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • num_ref_idx_l1_active_minus1At

      public byte num_ref_idx_l1_active_minus1At(long index)
      Returns num_ref_idx_l1_active_minus1 at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      num_ref_idx_l1_active_minus1 at the given index
    • num_ref_idx_l1_active_minus1At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer num_ref_idx_l1_active_minus1At(long index, byte value)
      Sets num_ref_idx_l1_active_minus1 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • RefPicList0At

      public MemorySegment RefPicList0At(long index)
      Returns RefPicList0 at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      RefPicList0 at the given index
    • RefPicList0At

      public byte RefPicList0At(long index, long index0)
      Returns RefPicList0 at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      RefPicList0 at the given index
    • RefPicList0At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer RefPicList0At(long index, MemorySegment value)
      Sets RefPicList0 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • RefPicList0At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer RefPicList0At(long index, long index0, byte value)
      Sets RefPicList0 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • RefPicList1At

      public MemorySegment RefPicList1At(long index)
      Returns RefPicList1 at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      RefPicList1 at the given index
    • RefPicList1At

      public byte RefPicList1At(long index, long index0)
      Returns RefPicList1 at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      RefPicList1 at the given index
    • RefPicList1At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer RefPicList1At(long index, MemorySegment value)
      Sets RefPicList1 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • RefPicList1At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer RefPicList1At(long index, long index0, byte value)
      Sets RefPicList1 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • list_entry_l0At

      public MemorySegment list_entry_l0At(long index)
      Returns list_entry_l0 at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      list_entry_l0 at the given index
    • list_entry_l0At

      public byte list_entry_l0At(long index, long index0)
      Returns list_entry_l0 at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      list_entry_l0 at the given index
    • list_entry_l0At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer list_entry_l0At(long index, MemorySegment value)
      Sets list_entry_l0 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • list_entry_l0At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer list_entry_l0At(long index, long index0, byte value)
      Sets list_entry_l0 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • list_entry_l1At

      public MemorySegment list_entry_l1At(long index)
      Returns list_entry_l1 at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      list_entry_l1 at the given index
    • list_entry_l1At

      public byte list_entry_l1At(long index, long index0)
      Returns list_entry_l1 at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      list_entry_l1 at the given index
    • list_entry_l1At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer list_entry_l1At(long index, MemorySegment value)
      Sets list_entry_l1 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • list_entry_l1At

      public StdVideoEncodeH265ReferenceListsInfo.Buffer list_entry_l1At(long index, long index0, byte value)
      Sets list_entry_l1 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this