Class StdVideoH265VpsFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH265VpsFlags extends Struct<StdVideoH265VpsFlags> implements NativeResource

 struct StdVideoH265VpsFlags {
     uint32_t vps_temporal_id_nesting_flag : 1;
     uint32_t vps_sub_layer_ordering_info_present_flag : 1;
     uint32_t vps_timing_info_present_flag : 1;
     uint32_t vps_poc_proportional_to_timing_flag : 1;
 }
  • 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

    • StdVideoH265VpsFlags

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

      public boolean vps_temporal_id_nesting_flag()
      Returns:
      the value of the vps_temporal_id_nesting_flag field.
    • vps_sub_layer_ordering_info_present_flag

      public boolean vps_sub_layer_ordering_info_present_flag()
      Returns:
      the value of the vps_sub_layer_ordering_info_present_flag field.
    • vps_timing_info_present_flag

      public boolean vps_timing_info_present_flag()
      Returns:
      the value of the vps_timing_info_present_flag field.
    • vps_poc_proportional_to_timing_flag

      public boolean vps_poc_proportional_to_timing_flag()
      Returns:
      the value of the vps_poc_proportional_to_timing_flag field.
    • vps_temporal_id_nesting_flag

      public StdVideoH265VpsFlags vps_temporal_id_nesting_flag(boolean value)
      Sets the specified value to the vps_temporal_id_nesting_flag field.
    • vps_sub_layer_ordering_info_present_flag

      public StdVideoH265VpsFlags vps_sub_layer_ordering_info_present_flag(boolean value)
      Sets the specified value to the vps_sub_layer_ordering_info_present_flag field.
    • vps_timing_info_present_flag

      public StdVideoH265VpsFlags vps_timing_info_present_flag(boolean value)
      Sets the specified value to the vps_timing_info_present_flag field.
    • vps_poc_proportional_to_timing_flag

      public StdVideoH265VpsFlags vps_poc_proportional_to_timing_flag(boolean value)
      Sets the specified value to the vps_poc_proportional_to_timing_flag field.
    • set

      public StdVideoH265VpsFlags set(boolean vps_temporal_id_nesting_flag, boolean vps_sub_layer_ordering_info_present_flag, boolean vps_timing_info_present_flag, boolean vps_poc_proportional_to_timing_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 StdVideoH265VpsFlags malloc()
      Returns a new StdVideoH265VpsFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nvps_temporal_id_nesting_flag(long struct)
    • nvps_sub_layer_ordering_info_present_flag

      public static int nvps_sub_layer_ordering_info_present_flag(long struct)
    • nvps_timing_info_present_flag

      public static int nvps_timing_info_present_flag(long struct)
    • nvps_poc_proportional_to_timing_flag

      public static int nvps_poc_proportional_to_timing_flag(long struct)
    • nbitfield0

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

      public static void nvps_temporal_id_nesting_flag(long struct, int value)
      Unsafe version of vps_temporal_id_nesting_flag.
    • nvps_sub_layer_ordering_info_present_flag

      public static void nvps_sub_layer_ordering_info_present_flag(long struct, int value)
    • nvps_timing_info_present_flag

      public static void nvps_timing_info_present_flag(long struct, int value)
      Unsafe version of vps_timing_info_present_flag.
    • nvps_poc_proportional_to_timing_flag

      public static void nvps_poc_proportional_to_timing_flag(long struct, int value)