Class StdVideoAV1LoopFilterFlags

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

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

Layout


 struct StdVideoAV1LoopFilterFlags {
     uint32_t loop_filter_delta_enabled : 1;
     uint32_t loop_filter_delta_update : 1;
     uint32_t reserved : 30;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int BITFIELD0
      The struct member offsets.
    • BITFIELD1

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

    • StdVideoAV1LoopFilterFlags

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

      public boolean loop_filter_delta_enabled()
      Returns:
      the value of the loop_filter_delta_enabled field.
    • loop_filter_delta_update

      public boolean loop_filter_delta_update()
      Returns:
      the value of the loop_filter_delta_update field.
    • loop_filter_delta_enabled

      public StdVideoAV1LoopFilterFlags loop_filter_delta_enabled(boolean value)
      Sets the specified value to the loop_filter_delta_enabled field.
    • loop_filter_delta_update

      public StdVideoAV1LoopFilterFlags loop_filter_delta_update(boolean value)
      Sets the specified value to the loop_filter_delta_update field.
    • set

      public StdVideoAV1LoopFilterFlags set(boolean loop_filter_delta_enabled, boolean loop_filter_delta_update)
      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 StdVideoAV1LoopFilterFlags malloc()
      Returns a new StdVideoAV1LoopFilterFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nbitfield0(long struct)
    • nloop_filter_delta_enabled

      public static int nloop_filter_delta_enabled(long struct)
      Unsafe version of loop_filter_delta_enabled().
    • nloop_filter_delta_update

      public static int nloop_filter_delta_update(long struct)
      Unsafe version of loop_filter_delta_update().
    • nbitfield1

      public static int nbitfield1(long struct)
    • nreserved

      public static int nreserved(long struct)
    • nbitfield0

      public static void nbitfield0(long struct, int value)
    • nloop_filter_delta_enabled

      public static void nloop_filter_delta_enabled(long struct, int value)
      Unsafe version of loop_filter_delta_enabled.
    • nloop_filter_delta_update

      public static void nloop_filter_delta_update(long struct, int value)
      Unsafe version of loop_filter_delta_update.
    • nbitfield1

      public static void nbitfield1(long struct, int value)
    • nreserved

      public static void nreserved(long struct, int value)