Class StdVideoEncodeH264RefMgmtFlags

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class StdVideoEncodeH264RefMgmtFlags
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource

    Layout

    
     struct StdVideoEncodeH264RefMgmtFlags {
         uint32_t ref_pic_list_modification_l0_flag : 1;
         uint32_t ref_pic_list_modification_l1_flag : 1;
     }
    • Field Detail

      • 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 Detail

      • StdVideoEncodeH264RefMgmtFlags

        public StdVideoEncodeH264RefMgmtFlags​(java.nio.ByteBuffer container)
        Creates a StdVideoEncodeH264RefMgmtFlags 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • ref_pic_list_modification_l0_flag

        public boolean ref_pic_list_modification_l0_flag()
        Returns:
        the value of the ref_pic_list_modification_l0_flag field.
      • ref_pic_list_modification_l1_flag

        public boolean ref_pic_list_modification_l1_flag()
        Returns:
        the value of the ref_pic_list_modification_l1_flag field.
      • ref_pic_list_modification_l0_flag

        public StdVideoEncodeH264RefMgmtFlags ref_pic_list_modification_l0_flag​(boolean value)
        Sets the specified value to the ref_pic_list_modification_l0_flag field.
      • ref_pic_list_modification_l1_flag

        public StdVideoEncodeH264RefMgmtFlags ref_pic_list_modification_l1_flag​(boolean value)
        Sets the specified value to the ref_pic_list_modification_l1_flag field.
      • set

        public StdVideoEncodeH264RefMgmtFlags set​(boolean ref_pic_list_modification_l0_flag,
                                                  boolean ref_pic_list_modification_l1_flag)
        Initializes this struct with the specified values.
      • malloc

        public static StdVideoEncodeH264RefMgmtFlags malloc()
        Returns a new StdVideoEncodeH264RefMgmtFlags instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

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

        public static StdVideoEncodeH264RefMgmtFlags create​(long address)
        Returns a new StdVideoEncodeH264RefMgmtFlags instance for the specified memory address.
      • malloc

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

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

        public static int nbitfield0​(long struct)
      • nbitfield0

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

        public static void nref_pic_list_modification_l0_flag​(long struct,
                                                              int value)
      • nref_pic_list_modification_l1_flag

        public static void nref_pic_list_modification_l1_flag​(long struct,
                                                              int value)