Class StdVideoH264SpsVuiFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH264SpsVuiFlags extends Struct<StdVideoH264SpsVuiFlags> implements NativeResource

 struct StdVideoH264SpsVuiFlags {
     uint32_t aspect_ratio_info_present_flag : 1;
     uint32_t overscan_info_present_flag : 1;
     uint32_t overscan_appropriate_flag : 1;
     uint32_t video_signal_type_present_flag : 1;
     uint32_t video_full_range_flag : 1;
     uint32_t color_description_present_flag : 1;
     uint32_t chroma_loc_info_present_flag : 1;
     uint32_t timing_info_present_flag : 1;
     uint32_t fixed_frame_rate_flag : 1;
     uint32_t bitstream_restriction_flag : 1;
     uint32_t nal_hrd_parameters_present_flag : 1;
     uint32_t vcl_hrd_parameters_present_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

    • StdVideoH264SpsVuiFlags

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

      public boolean aspect_ratio_info_present_flag()
      Returns:
      the value of the aspect_ratio_info_present_flag field.
    • overscan_info_present_flag

      public boolean overscan_info_present_flag()
      Returns:
      the value of the overscan_info_present_flag field.
    • overscan_appropriate_flag

      public boolean overscan_appropriate_flag()
      Returns:
      the value of the overscan_appropriate_flag field.
    • video_signal_type_present_flag

      public boolean video_signal_type_present_flag()
      Returns:
      the value of the video_signal_type_present_flag field.
    • video_full_range_flag

      public boolean video_full_range_flag()
      Returns:
      the value of the video_full_range_flag field.
    • color_description_present_flag

      public boolean color_description_present_flag()
      Returns:
      the value of the color_description_present_flag field.
    • chroma_loc_info_present_flag

      public boolean chroma_loc_info_present_flag()
      Returns:
      the value of the chroma_loc_info_present_flag field.
    • timing_info_present_flag

      public boolean timing_info_present_flag()
      Returns:
      the value of the timing_info_present_flag field.
    • fixed_frame_rate_flag

      public boolean fixed_frame_rate_flag()
      Returns:
      the value of the fixed_frame_rate_flag field.
    • bitstream_restriction_flag

      public boolean bitstream_restriction_flag()
      Returns:
      the value of the bitstream_restriction_flag field.
    • 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.
    • aspect_ratio_info_present_flag

      public StdVideoH264SpsVuiFlags aspect_ratio_info_present_flag(boolean value)
      Sets the specified value to the aspect_ratio_info_present_flag field.
    • overscan_info_present_flag

      public StdVideoH264SpsVuiFlags overscan_info_present_flag(boolean value)
      Sets the specified value to the overscan_info_present_flag field.
    • overscan_appropriate_flag

      public StdVideoH264SpsVuiFlags overscan_appropriate_flag(boolean value)
      Sets the specified value to the overscan_appropriate_flag field.
    • video_signal_type_present_flag

      public StdVideoH264SpsVuiFlags video_signal_type_present_flag(boolean value)
      Sets the specified value to the video_signal_type_present_flag field.
    • video_full_range_flag

      public StdVideoH264SpsVuiFlags video_full_range_flag(boolean value)
      Sets the specified value to the video_full_range_flag field.
    • color_description_present_flag

      public StdVideoH264SpsVuiFlags color_description_present_flag(boolean value)
      Sets the specified value to the color_description_present_flag field.
    • chroma_loc_info_present_flag

      public StdVideoH264SpsVuiFlags chroma_loc_info_present_flag(boolean value)
      Sets the specified value to the chroma_loc_info_present_flag field.
    • timing_info_present_flag

      public StdVideoH264SpsVuiFlags timing_info_present_flag(boolean value)
      Sets the specified value to the timing_info_present_flag field.
    • fixed_frame_rate_flag

      public StdVideoH264SpsVuiFlags fixed_frame_rate_flag(boolean value)
      Sets the specified value to the fixed_frame_rate_flag field.
    • bitstream_restriction_flag

      public StdVideoH264SpsVuiFlags bitstream_restriction_flag(boolean value)
      Sets the specified value to the bitstream_restriction_flag field.
    • nal_hrd_parameters_present_flag

      public StdVideoH264SpsVuiFlags 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 StdVideoH264SpsVuiFlags vcl_hrd_parameters_present_flag(boolean value)
      Sets the specified value to the vcl_hrd_parameters_present_flag field.
    • set

      public StdVideoH264SpsVuiFlags set(boolean aspect_ratio_info_present_flag, boolean overscan_info_present_flag, boolean overscan_appropriate_flag, boolean video_signal_type_present_flag, boolean video_full_range_flag, boolean color_description_present_flag, boolean chroma_loc_info_present_flag, boolean timing_info_present_flag, boolean fixed_frame_rate_flag, boolean bitstream_restriction_flag, boolean nal_hrd_parameters_present_flag, boolean vcl_hrd_parameters_present_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 StdVideoH264SpsVuiFlags malloc()
      Returns a new StdVideoH264SpsVuiFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int naspect_ratio_info_present_flag(long struct)
    • noverscan_info_present_flag

      public static int noverscan_info_present_flag(long struct)
      Unsafe version of overscan_info_present_flag().
    • noverscan_appropriate_flag

      public static int noverscan_appropriate_flag(long struct)
      Unsafe version of overscan_appropriate_flag().
    • nvideo_signal_type_present_flag

      public static int nvideo_signal_type_present_flag(long struct)
    • nvideo_full_range_flag

      public static int nvideo_full_range_flag(long struct)
      Unsafe version of video_full_range_flag().
    • ncolor_description_present_flag

      public static int ncolor_description_present_flag(long struct)
    • nchroma_loc_info_present_flag

      public static int nchroma_loc_info_present_flag(long struct)
    • ntiming_info_present_flag

      public static int ntiming_info_present_flag(long struct)
      Unsafe version of timing_info_present_flag().
    • nfixed_frame_rate_flag

      public static int nfixed_frame_rate_flag(long struct)
      Unsafe version of fixed_frame_rate_flag().
    • nbitstream_restriction_flag

      public static int nbitstream_restriction_flag(long struct)
      Unsafe version of bitstream_restriction_flag().
    • 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)
    • nbitfield0

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

      public static void naspect_ratio_info_present_flag(long struct, int value)
    • noverscan_info_present_flag

      public static void noverscan_info_present_flag(long struct, int value)
      Unsafe version of overscan_info_present_flag.
    • noverscan_appropriate_flag

      public static void noverscan_appropriate_flag(long struct, int value)
      Unsafe version of overscan_appropriate_flag.
    • nvideo_signal_type_present_flag

      public static void nvideo_signal_type_present_flag(long struct, int value)
    • nvideo_full_range_flag

      public static void nvideo_full_range_flag(long struct, int value)
      Unsafe version of video_full_range_flag.
    • ncolor_description_present_flag

      public static void ncolor_description_present_flag(long struct, int value)
    • nchroma_loc_info_present_flag

      public static void nchroma_loc_info_present_flag(long struct, int value)
      Unsafe version of chroma_loc_info_present_flag.
    • ntiming_info_present_flag

      public static void ntiming_info_present_flag(long struct, int value)
      Unsafe version of timing_info_present_flag.
    • nfixed_frame_rate_flag

      public static void nfixed_frame_rate_flag(long struct, int value)
      Unsafe version of fixed_frame_rate_flag.
    • nbitstream_restriction_flag

      public static void nbitstream_restriction_flag(long struct, int value)
      Unsafe version of bitstream_restriction_flag.
    • 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)