Class StdVideoH265ScalingLists

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH265ScalingLists extends Struct<StdVideoH265ScalingLists> implements NativeResource

 struct StdVideoH265ScalingLists {
     uint8_t ScalingList4x4[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS];
     uint8_t ScalingList8x8[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS];
     uint8_t ScalingList16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS];
     uint8_t ScalingList32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS];
     uint8_t ScalingListDCCoef16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS];
     uint8_t ScalingListDCCoef32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int SCALINGLIST4X4
      The struct member offsets.
    • SCALINGLIST8X8

      public static final int SCALINGLIST8X8
      The struct member offsets.
    • SCALINGLIST16X16

      public static final int SCALINGLIST16X16
      The struct member offsets.
    • SCALINGLIST32X32

      public static final int SCALINGLIST32X32
      The struct member offsets.
    • SCALINGLISTDCCOEF16X16

      public static final int SCALINGLISTDCCOEF16X16
      The struct member offsets.
    • SCALINGLISTDCCOEF32X32

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

    • StdVideoH265ScalingLists

      public StdVideoH265ScalingLists(ByteBuffer container)
      Creates a StdVideoH265ScalingLists 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()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<StdVideoH265ScalingLists>
    • ScalingList4x4

      public ByteBuffer ScalingList4x4()
      Returns:
      a ByteBuffer view of the ScalingList4x4 field.
    • ScalingList4x4

      public byte ScalingList4x4(int index)
      Returns:
      the value at the specified index of the ScalingList4x4 field.
    • ScalingList8x8

      public ByteBuffer ScalingList8x8()
      Returns:
      a ByteBuffer view of the ScalingList8x8 field.
    • ScalingList8x8

      public byte ScalingList8x8(int index)
      Returns:
      the value at the specified index of the ScalingList8x8 field.
    • ScalingList16x16

      public ByteBuffer ScalingList16x16()
      Returns:
      a ByteBuffer view of the ScalingList16x16 field.
    • ScalingList16x16

      public byte ScalingList16x16(int index)
      Returns:
      the value at the specified index of the ScalingList16x16 field.
    • ScalingList32x32

      public ByteBuffer ScalingList32x32()
      Returns:
      a ByteBuffer view of the ScalingList32x32 field.
    • ScalingList32x32

      public byte ScalingList32x32(int index)
      Returns:
      the value at the specified index of the ScalingList32x32 field.
    • ScalingListDCCoef16x16

      public ByteBuffer ScalingListDCCoef16x16()
      Returns:
      a ByteBuffer view of the ScalingListDCCoef16x16 field.
    • ScalingListDCCoef16x16

      public byte ScalingListDCCoef16x16(int index)
      Returns:
      the value at the specified index of the ScalingListDCCoef16x16 field.
    • ScalingListDCCoef32x32

      public ByteBuffer ScalingListDCCoef32x32()
      Returns:
      a ByteBuffer view of the ScalingListDCCoef32x32 field.
    • ScalingListDCCoef32x32

      public byte ScalingListDCCoef32x32(int index)
      Returns:
      the value at the specified index of the ScalingListDCCoef32x32 field.
    • ScalingList4x4

      public StdVideoH265ScalingLists ScalingList4x4(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingList4x4 field.
    • ScalingList4x4

      public StdVideoH265ScalingLists ScalingList4x4(int index, byte value)
      Sets the specified value at the specified index of the ScalingList4x4 field.
    • ScalingList8x8

      public StdVideoH265ScalingLists ScalingList8x8(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingList8x8 field.
    • ScalingList8x8

      public StdVideoH265ScalingLists ScalingList8x8(int index, byte value)
      Sets the specified value at the specified index of the ScalingList8x8 field.
    • ScalingList16x16

      public StdVideoH265ScalingLists ScalingList16x16(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingList16x16 field.
    • ScalingList16x16

      public StdVideoH265ScalingLists ScalingList16x16(int index, byte value)
      Sets the specified value at the specified index of the ScalingList16x16 field.
    • ScalingList32x32

      public StdVideoH265ScalingLists ScalingList32x32(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingList32x32 field.
    • ScalingList32x32

      public StdVideoH265ScalingLists ScalingList32x32(int index, byte value)
      Sets the specified value at the specified index of the ScalingList32x32 field.
    • ScalingListDCCoef16x16

      public StdVideoH265ScalingLists ScalingListDCCoef16x16(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingListDCCoef16x16 field.
    • ScalingListDCCoef16x16

      public StdVideoH265ScalingLists ScalingListDCCoef16x16(int index, byte value)
      Sets the specified value at the specified index of the ScalingListDCCoef16x16 field.
    • ScalingListDCCoef32x32

      public StdVideoH265ScalingLists ScalingListDCCoef32x32(ByteBuffer value)
      Copies the specified ByteBuffer to the ScalingListDCCoef32x32 field.
    • ScalingListDCCoef32x32

      public StdVideoH265ScalingLists ScalingListDCCoef32x32(int index, byte value)
      Sets the specified value at the specified index of the ScalingListDCCoef32x32 field.
    • set

      public StdVideoH265ScalingLists set(ByteBuffer ScalingList4x4, ByteBuffer ScalingList8x8, ByteBuffer ScalingList16x16, ByteBuffer ScalingList32x32, ByteBuffer ScalingListDCCoef16x16, ByteBuffer ScalingListDCCoef32x32)
      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 StdVideoH265ScalingLists malloc()
      Returns a new StdVideoH265ScalingLists instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static StdVideoH265ScalingLists.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new StdVideoH265ScalingLists.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
    • nScalingList4x4

      public static ByteBuffer nScalingList4x4(long struct)
      Unsafe version of ScalingList4x4().
    • nScalingList4x4

      public static byte nScalingList4x4(long struct, int index)
      Unsafe version of ScalingList4x4.
    • nScalingList8x8

      public static ByteBuffer nScalingList8x8(long struct)
      Unsafe version of ScalingList8x8().
    • nScalingList8x8

      public static byte nScalingList8x8(long struct, int index)
      Unsafe version of ScalingList8x8.
    • nScalingList16x16

      public static ByteBuffer nScalingList16x16(long struct)
      Unsafe version of ScalingList16x16().
    • nScalingList16x16

      public static byte nScalingList16x16(long struct, int index)
      Unsafe version of ScalingList16x16.
    • nScalingList32x32

      public static ByteBuffer nScalingList32x32(long struct)
      Unsafe version of ScalingList32x32().
    • nScalingList32x32

      public static byte nScalingList32x32(long struct, int index)
      Unsafe version of ScalingList32x32.
    • nScalingListDCCoef16x16

      public static ByteBuffer nScalingListDCCoef16x16(long struct)
      Unsafe version of ScalingListDCCoef16x16().
    • nScalingListDCCoef16x16

      public static byte nScalingListDCCoef16x16(long struct, int index)
      Unsafe version of ScalingListDCCoef16x16.
    • nScalingListDCCoef32x32

      public static ByteBuffer nScalingListDCCoef32x32(long struct)
      Unsafe version of ScalingListDCCoef32x32().
    • nScalingListDCCoef32x32

      public static byte nScalingListDCCoef32x32(long struct, int index)
      Unsafe version of ScalingListDCCoef32x32.
    • nScalingList4x4

      public static void nScalingList4x4(long struct, ByteBuffer value)
      Unsafe version of ScalingList4x4.
    • nScalingList4x4

      public static void nScalingList4x4(long struct, int index, byte value)
      Unsafe version of ScalingList4x4.
    • nScalingList8x8

      public static void nScalingList8x8(long struct, ByteBuffer value)
      Unsafe version of ScalingList8x8.
    • nScalingList8x8

      public static void nScalingList8x8(long struct, int index, byte value)
      Unsafe version of ScalingList8x8.
    • nScalingList16x16

      public static void nScalingList16x16(long struct, ByteBuffer value)
      Unsafe version of ScalingList16x16.
    • nScalingList16x16

      public static void nScalingList16x16(long struct, int index, byte value)
      Unsafe version of ScalingList16x16.
    • nScalingList32x32

      public static void nScalingList32x32(long struct, ByteBuffer value)
      Unsafe version of ScalingList32x32.
    • nScalingList32x32

      public static void nScalingList32x32(long struct, int index, byte value)
      Unsafe version of ScalingList32x32.
    • nScalingListDCCoef16x16

      public static void nScalingListDCCoef16x16(long struct, ByteBuffer value)
      Unsafe version of ScalingListDCCoef16x16.
    • nScalingListDCCoef16x16

      public static void nScalingListDCCoef16x16(long struct, int index, byte value)
      Unsafe version of ScalingListDCCoef16x16.
    • nScalingListDCCoef32x32

      public static void nScalingListDCCoef32x32(long struct, ByteBuffer value)
      Unsafe version of ScalingListDCCoef32x32.
    • nScalingListDCCoef32x32

      public static void nScalingListDCCoef32x32(long struct, int index, byte value)
      Unsafe version of ScalingListDCCoef32x32.