Class StdVideoAV1LoopFilter

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

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

Layout


 struct StdVideoAV1LoopFilter {
     StdVideoAV1LoopFilterFlags flags;
     uint8_t loop_filter_level[STD_VIDEO_AV1_MAX_LOOP_FILTER_STRENGTHS];
     uint8_t loop_filter_sharpness;
     uint8_t update_ref_delta;
     int8_t loop_filter_ref_deltas[STD_VIDEO_AV1_TOTAL_REFS_PER_FRAME];
     uint8_t update_mode_delta;
     int8_t loop_filter_mode_deltas[STD_VIDEO_AV1_LOOP_FILTER_ADJUSTMENTS];
 }
  • Field Details

    • SIZEOF

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

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

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

      public static final int LOOP_FILTER_LEVEL
      The struct member offsets.
    • LOOP_FILTER_SHARPNESS

      public static final int LOOP_FILTER_SHARPNESS
      The struct member offsets.
    • UPDATE_REF_DELTA

      public static final int UPDATE_REF_DELTA
      The struct member offsets.
    • LOOP_FILTER_REF_DELTAS

      public static final int LOOP_FILTER_REF_DELTAS
      The struct member offsets.
    • UPDATE_MODE_DELTA

      public static final int UPDATE_MODE_DELTA
      The struct member offsets.
    • LOOP_FILTER_MODE_DELTAS

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

    • StdVideoAV1LoopFilter

      public StdVideoAV1LoopFilter(ByteBuffer container)
      Creates a StdVideoAV1LoopFilter 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<StdVideoAV1LoopFilter>
    • flags

      Returns:
      a StdVideoAV1LoopFilterFlags view of the flags field.
    • loop_filter_level

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

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

      public byte loop_filter_sharpness()
      Returns:
      the value of the loop_filter_sharpness field.
    • update_ref_delta

      public byte update_ref_delta()
      Returns:
      the value of the update_ref_delta field.
    • loop_filter_ref_deltas

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

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

      public byte update_mode_delta()
      Returns:
      the value of the update_mode_delta field.
    • loop_filter_mode_deltas

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

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

      Copies the specified StdVideoAV1LoopFilterFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • loop_filter_level

      public StdVideoAV1LoopFilter loop_filter_level(ByteBuffer value)
      Copies the specified ByteBuffer to the loop_filter_level field.
    • loop_filter_level

      public StdVideoAV1LoopFilter loop_filter_level(int index, byte value)
      Sets the specified value at the specified index of the loop_filter_level field.
    • loop_filter_sharpness

      public StdVideoAV1LoopFilter loop_filter_sharpness(byte value)
      Sets the specified value to the loop_filter_sharpness field.
    • update_ref_delta

      public StdVideoAV1LoopFilter update_ref_delta(byte value)
      Sets the specified value to the update_ref_delta field.
    • loop_filter_ref_deltas

      public StdVideoAV1LoopFilter loop_filter_ref_deltas(ByteBuffer value)
      Copies the specified ByteBuffer to the loop_filter_ref_deltas field.
    • loop_filter_ref_deltas

      public StdVideoAV1LoopFilter loop_filter_ref_deltas(int index, byte value)
      Sets the specified value at the specified index of the loop_filter_ref_deltas field.
    • update_mode_delta

      public StdVideoAV1LoopFilter update_mode_delta(byte value)
      Sets the specified value to the update_mode_delta field.
    • loop_filter_mode_deltas

      public StdVideoAV1LoopFilter loop_filter_mode_deltas(ByteBuffer value)
      Copies the specified ByteBuffer to the loop_filter_mode_deltas field.
    • loop_filter_mode_deltas

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

      public StdVideoAV1LoopFilter set(StdVideoAV1LoopFilterFlags flags, ByteBuffer loop_filter_level, byte loop_filter_sharpness, byte update_ref_delta, ByteBuffer loop_filter_ref_deltas, byte update_mode_delta, ByteBuffer loop_filter_mode_deltas)
      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 StdVideoAV1LoopFilter malloc()
      Returns a new StdVideoAV1LoopFilter instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static StdVideoAV1LoopFilter.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoAV1LoopFilter.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
    • nflags

      public static StdVideoAV1LoopFilterFlags nflags(long struct)
      Unsafe version of flags().
    • nloop_filter_level

      public static ByteBuffer nloop_filter_level(long struct)
      Unsafe version of loop_filter_level().
    • nloop_filter_level

      public static byte nloop_filter_level(long struct, int index)
      Unsafe version of loop_filter_level.
    • nloop_filter_sharpness

      public static byte nloop_filter_sharpness(long struct)
      Unsafe version of loop_filter_sharpness().
    • nupdate_ref_delta

      public static byte nupdate_ref_delta(long struct)
      Unsafe version of update_ref_delta().
    • nloop_filter_ref_deltas

      public static ByteBuffer nloop_filter_ref_deltas(long struct)
      Unsafe version of loop_filter_ref_deltas().
    • nloop_filter_ref_deltas

      public static byte nloop_filter_ref_deltas(long struct, int index)
      Unsafe version of loop_filter_ref_deltas.
    • nupdate_mode_delta

      public static byte nupdate_mode_delta(long struct)
      Unsafe version of update_mode_delta().
    • nloop_filter_mode_deltas

      public static ByteBuffer nloop_filter_mode_deltas(long struct)
      Unsafe version of loop_filter_mode_deltas().
    • nloop_filter_mode_deltas

      public static byte nloop_filter_mode_deltas(long struct, int index)
      Unsafe version of loop_filter_mode_deltas.
    • nflags

      public static void nflags(long struct, StdVideoAV1LoopFilterFlags value)
      Unsafe version of flags.
    • nloop_filter_level

      public static void nloop_filter_level(long struct, ByteBuffer value)
      Unsafe version of loop_filter_level.
    • nloop_filter_level

      public static void nloop_filter_level(long struct, int index, byte value)
      Unsafe version of loop_filter_level.
    • nloop_filter_sharpness

      public static void nloop_filter_sharpness(long struct, byte value)
      Unsafe version of loop_filter_sharpness.
    • nupdate_ref_delta

      public static void nupdate_ref_delta(long struct, byte value)
      Unsafe version of update_ref_delta.
    • nloop_filter_ref_deltas

      public static void nloop_filter_ref_deltas(long struct, ByteBuffer value)
      Unsafe version of loop_filter_ref_deltas.
    • nloop_filter_ref_deltas

      public static void nloop_filter_ref_deltas(long struct, int index, byte value)
      Unsafe version of loop_filter_ref_deltas.
    • nupdate_mode_delta

      public static void nupdate_mode_delta(long struct, byte value)
      Unsafe version of update_mode_delta.
    • nloop_filter_mode_deltas

      public static void nloop_filter_mode_deltas(long struct, ByteBuffer value)
      Unsafe version of loop_filter_mode_deltas.
    • nloop_filter_mode_deltas

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