Class StdVideoEncodeH264PictureInfoFlags

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

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

Layout


 struct StdVideoEncodeH264PictureInfoFlags {
     uint32_t IdrPicFlag : 1;
     uint32_t is_reference : 1;
     uint32_t no_output_of_prior_pics_flag : 1;
     uint32_t long_term_reference_flag : 1;
     uint32_t adaptive_ref_pic_marking_mode_flag : 1;
     uint32_t reserved : 27;
 }
  • 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.
  • Constructor Details

    • StdVideoEncodeH264PictureInfoFlags

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

      public boolean IdrPicFlag()
      Returns:
      the value of the IdrPicFlag field.
    • is_reference

      public boolean is_reference()
      Returns:
      the value of the is_reference field.
    • no_output_of_prior_pics_flag

      public boolean no_output_of_prior_pics_flag()
      Returns:
      the value of the no_output_of_prior_pics_flag field.
    • long_term_reference_flag

      public boolean long_term_reference_flag()
      Returns:
      the value of the long_term_reference_flag field.
    • adaptive_ref_pic_marking_mode_flag

      public boolean adaptive_ref_pic_marking_mode_flag()
      Returns:
      the value of the adaptive_ref_pic_marking_mode_flag field.
    • IdrPicFlag

      public StdVideoEncodeH264PictureInfoFlags IdrPicFlag(boolean value)
      Sets the specified value to the IdrPicFlag field.
    • is_reference

      public StdVideoEncodeH264PictureInfoFlags is_reference(boolean value)
      Sets the specified value to the is_reference field.
    • no_output_of_prior_pics_flag

      public StdVideoEncodeH264PictureInfoFlags no_output_of_prior_pics_flag(boolean value)
      Sets the specified value to the no_output_of_prior_pics_flag field.
    • long_term_reference_flag

      public StdVideoEncodeH264PictureInfoFlags long_term_reference_flag(boolean value)
      Sets the specified value to the long_term_reference_flag field.
    • adaptive_ref_pic_marking_mode_flag

      public StdVideoEncodeH264PictureInfoFlags adaptive_ref_pic_marking_mode_flag(boolean value)
      Sets the specified value to the adaptive_ref_pic_marking_mode_flag field.
    • set

      public StdVideoEncodeH264PictureInfoFlags set(boolean IdrPicFlag, boolean is_reference, boolean no_output_of_prior_pics_flag, boolean long_term_reference_flag, boolean adaptive_ref_pic_marking_mode_flag)
      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 StdVideoEncodeH264PictureInfoFlags malloc()
      Returns a new StdVideoEncodeH264PictureInfoFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nIdrPicFlag(long struct)
      Unsafe version of IdrPicFlag().
    • nis_reference

      public static int nis_reference(long struct)
      Unsafe version of is_reference().
    • nno_output_of_prior_pics_flag

      public static int nno_output_of_prior_pics_flag(long struct)
    • nlong_term_reference_flag

      public static int nlong_term_reference_flag(long struct)
      Unsafe version of long_term_reference_flag().
    • nadaptive_ref_pic_marking_mode_flag

      public static int nadaptive_ref_pic_marking_mode_flag(long struct)
    • nreserved

      public static int nreserved(long struct)
    • nbitfield0

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

      public static void nIdrPicFlag(long struct, int value)
      Unsafe version of IdrPicFlag.
    • nis_reference

      public static void nis_reference(long struct, int value)
      Unsafe version of is_reference.
    • nno_output_of_prior_pics_flag

      public static void nno_output_of_prior_pics_flag(long struct, int value)
      Unsafe version of no_output_of_prior_pics_flag.
    • nlong_term_reference_flag

      public static void nlong_term_reference_flag(long struct, int value)
      Unsafe version of long_term_reference_flag.
    • nadaptive_ref_pic_marking_mode_flag

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

      public static void nreserved(long struct, int value)