Class StdVideoH264ScalingLists.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
StdVideoH264ScalingLists

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates StdVideoH264ScalingLists.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 StdVideoH264ScalingLists asSlice(long index)
      Creates a slice of StdVideoH264ScalingLists.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of StdVideoH264ScalingLists
    • asSlice

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

      public short scaling_list_present_maskAt(long index)
      Returns scaling_list_present_mask at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      scaling_list_present_mask at the given index
    • scaling_list_present_maskAt

      public StdVideoH264ScalingLists.Buffer scaling_list_present_maskAt(long index, short value)
      Sets scaling_list_present_mask with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • use_default_scaling_matrix_maskAt

      public short use_default_scaling_matrix_maskAt(long index)
      Returns use_default_scaling_matrix_mask at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      use_default_scaling_matrix_mask at the given index
    • use_default_scaling_matrix_maskAt

      public StdVideoH264ScalingLists.Buffer use_default_scaling_matrix_maskAt(long index, short value)
      Sets use_default_scaling_matrix_mask with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • ScalingList4x4At

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

      public byte ScalingList4x4At(long index, long index0, long index1)
      Returns ScalingList4x4 at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      index1 - the Index 1 of the array
      Returns:
      ScalingList4x4 at the given index
    • ScalingList4x4At

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

      public StdVideoH264ScalingLists.Buffer ScalingList4x4At(long index, long index0, long index1, byte value)
      Sets ScalingList4x4 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      index1 - the Index 1 of the array
      value - the value
      Returns:
      this
    • ScalingList8x8At

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

      public byte ScalingList8x8At(long index, long index0, long index1)
      Returns ScalingList8x8 at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      index1 - the Index 1 of the array
      Returns:
      ScalingList8x8 at the given index
    • ScalingList8x8At

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

      public StdVideoH264ScalingLists.Buffer ScalingList8x8At(long index, long index0, long index1, byte value)
      Sets ScalingList8x8 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      index1 - the Index 1 of the array
      value - the value
      Returns:
      this