Class StdVideoH265HrdFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH265HrdFlags extends Struct<StdVideoH265HrdFlags> implements NativeResource

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

    • StdVideoH265HrdFlags

      public StdVideoH265HrdFlags(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 Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<StdVideoH265HrdFlags>
    • 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

      public int fixed_pic_rate_general_flag()
      Returns:
      the value of the fixed_pic_rate_general_flag field.
    • fixed_pic_rate_within_cvs_flag

      public int fixed_pic_rate_within_cvs_flag()
      Returns:
      the value of the fixed_pic_rate_within_cvs_flag field.
    • low_delay_hrd_flag

      public int low_delay_hrd_flag()
      Returns:
      the value of the low_delay_hrd_flag field.
    • 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.
    • fixed_pic_rate_general_flag

      public StdVideoH265HrdFlags fixed_pic_rate_general_flag(int value)
      Sets the specified value to the fixed_pic_rate_general_flag field.
    • fixed_pic_rate_within_cvs_flag

      public StdVideoH265HrdFlags fixed_pic_rate_within_cvs_flag(int value)
      Sets the specified value to the fixed_pic_rate_within_cvs_flag field.
    • low_delay_hrd_flag

      public StdVideoH265HrdFlags low_delay_hrd_flag(int value)
      Sets the specified value to the low_delay_hrd_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.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • 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

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

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

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

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

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

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

      public static StdVideoH265HrdFlags malloc(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(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, MemoryStack stack)
      Returns a new StdVideoH265HrdFlags.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static StdVideoH265HrdFlags.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new StdVideoH265HrdFlags.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)
    • nnal_hrd_parameters_present_flag

      public static int nnal_hrd_parameters_present_flag(long struct)
    • nvcl_hrd_parameters_present_flag

      public static int nvcl_hrd_parameters_present_flag(long struct)
    • nsub_pic_hrd_params_present_flag

      public static int nsub_pic_hrd_params_present_flag(long struct)
    • nsub_pic_cpb_params_in_pic_timing_sei_flag

      public static int nsub_pic_cpb_params_in_pic_timing_sei_flag(long struct)
    • nbitfield1

      public static int nbitfield1(long struct)
    • nfixed_pic_rate_general_flag

      public static int nfixed_pic_rate_general_flag(long struct)
    • nfixed_pic_rate_within_cvs_flag

      public static int nfixed_pic_rate_within_cvs_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)
    • nsub_pic_cpb_params_in_pic_timing_sei_flag

      public static void nsub_pic_cpb_params_in_pic_timing_sei_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.