Class StdVideoH265HrdFlags

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

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

    Layout

    
     struct StdVideoH265HrdFlags {
         uint32_t nal_hrd_parameters_present_flag : 1;
         uint32_t vcl_hrd_parameters_present_flag : 1;
         uint32_t sub_pic_hrd_params_present_flag : 1;
         uint32_t sub_pic_cpb_params_in_pic_timing_sei_flag : 1;
         uint32_t fixed_pic_rate_general_flag() : 8;
         uint32_t fixed_pic_rate_within_cvs_flag() : 8;
         uint32_t low_delay_hrd_flag() : 8;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • BITFIELD0, BITFIELD1

        The struct member offsets.
    • Constructor Detail

      • StdVideoH265HrdFlags

        public StdVideoH265HrdFlags​(java.nio.ByteBuffer container)
        Creates a StdVideoH265HrdFlags 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
      • nal_hrd_parameters_present_flag

        public boolean nal_hrd_parameters_present_flag()
        Returns:
        the value of the nal_hrd_parameters_present_flag field.
      • vcl_hrd_parameters_present_flag

        public boolean vcl_hrd_parameters_present_flag()
        Returns:
        the value of the vcl_hrd_parameters_present_flag field.
      • sub_pic_hrd_params_present_flag

        public boolean sub_pic_hrd_params_present_flag()
        Returns:
        the value of the sub_pic_hrd_params_present_flag field.
      • sub_pic_cpb_params_in_pic_timing_sei_flag

        public boolean sub_pic_cpb_params_in_pic_timing_sei_flag()
        Returns:
        the value of the sub_pic_cpb_params_in_pic_timing_sei_flag field.
      • fixed_pic_rate_general_flag, fixed_pic_rate_within_cvs_flag, low_delay_hrd_flag

        public int fixed_pic_rate_general_flag()
        
        public int fixed_pic_rate_within_cvs_flag()
        
        public int low_delay_hrd_flag()
        
        each bit represents a sublayer, bit 0 - vps_max_sub_layers_minus1
      • nal_hrd_parameters_present_flag

        public StdVideoH265HrdFlags nal_hrd_parameters_present_flag​(boolean value)
        Sets the specified value to the nal_hrd_parameters_present_flag field.
      • vcl_hrd_parameters_present_flag

        public StdVideoH265HrdFlags vcl_hrd_parameters_present_flag​(boolean value)
        Sets the specified value to the vcl_hrd_parameters_present_flag field.
      • sub_pic_hrd_params_present_flag

        public StdVideoH265HrdFlags sub_pic_hrd_params_present_flag​(boolean value)
        Sets the specified value to the sub_pic_hrd_params_present_flag field.
      • sub_pic_cpb_params_in_pic_timing_sei_flag

        public StdVideoH265HrdFlags sub_pic_cpb_params_in_pic_timing_sei_flag​(boolean value)
        Sets the specified value to the sub_pic_cpb_params_in_pic_timing_sei_flag field.
      • set

        public StdVideoH265HrdFlags set​(boolean nal_hrd_parameters_present_flag,
                                        boolean vcl_hrd_parameters_present_flag,
                                        boolean sub_pic_hrd_params_present_flag,
                                        boolean sub_pic_cpb_params_in_pic_timing_sei_flag,
                                        int fixed_pic_rate_general_flag,
                                        int fixed_pic_rate_within_cvs_flag,
                                        int low_delay_hrd_flag)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

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

        public static int nbitfield0​(long struct)
      • nbitfield1

        public static int nbitfield1​(long struct)
      • nfixed_pic_rate_general_flag

        public static int nfixed_pic_rate_general_flag​(long struct)
      • nlow_delay_hrd_flag

        public static int nlow_delay_hrd_flag​(long struct)
        Unsafe version of low_delay_hrd_flag().
      • nbitfield0

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

        public static void nnal_hrd_parameters_present_flag​(long struct,
                                                            int value)
      • nvcl_hrd_parameters_present_flag

        public static void nvcl_hrd_parameters_present_flag​(long struct,
                                                            int value)
      • nsub_pic_hrd_params_present_flag

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

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

        public static void nfixed_pic_rate_general_flag​(long struct,
                                                        int value)
        Unsafe version of fixed_pic_rate_general_flag.
      • nfixed_pic_rate_within_cvs_flag

        public static void nfixed_pic_rate_within_cvs_flag​(long struct,
                                                           int value)
      • nlow_delay_hrd_flag

        public static void nlow_delay_hrd_flag​(long struct,
                                               int value)
        Unsafe version of low_delay_hrd_flag.