Class StdVideoEncodeH265PictureInfoFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoEncodeH265PictureInfoFlags extends Struct<StdVideoEncodeH265PictureInfoFlags> implements NativeResource

 struct StdVideoEncodeH265PictureInfoFlags {
     uint32_t is_reference : 1;
     uint32_t IrapPicFlag : 1;
     uint32_t used_for_long_term_reference : 1;
     uint32_t discardable_flag : 1;
     uint32_t cross_layer_bla_flag : 1;
     uint32_t pic_output_flag : 1;
     uint32_t no_output_of_prior_pics_flag : 1;
     uint32_t short_term_ref_pic_set_sps_flag : 1;
     uint32_t slice_temporal_mvp_enabled_flag : 1;
     uint32_t reserved : 23;
 }
  • 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

    • StdVideoEncodeH265PictureInfoFlags

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

      public boolean is_reference()
      Returns:
      the value of the is_reference field.
    • IrapPicFlag

      public boolean IrapPicFlag()
      Returns:
      the value of the IrapPicFlag field.
    • used_for_long_term_reference

      public boolean used_for_long_term_reference()
      Returns:
      the value of the used_for_long_term_reference field.
    • discardable_flag

      public boolean discardable_flag()
      Returns:
      the value of the discardable_flag field.
    • cross_layer_bla_flag

      public boolean cross_layer_bla_flag()
      Returns:
      the value of the cross_layer_bla_flag field.
    • pic_output_flag

      public boolean pic_output_flag()
      Returns:
      the value of the pic_output_flag field.
    • no_output_of_prior_pics_flag

      public boolean no_output_of_prior_pics_flag()
      Returns:
      the value of the no_output_of_prior_pics_flag field.
    • short_term_ref_pic_set_sps_flag

      public boolean short_term_ref_pic_set_sps_flag()
      Returns:
      the value of the short_term_ref_pic_set_sps_flag field.
    • slice_temporal_mvp_enabled_flag

      public boolean slice_temporal_mvp_enabled_flag()
      Returns:
      the value of the slice_temporal_mvp_enabled_flag field.
    • is_reference

      public StdVideoEncodeH265PictureInfoFlags is_reference(boolean value)
      Sets the specified value to the is_reference field.
    • IrapPicFlag

      public StdVideoEncodeH265PictureInfoFlags IrapPicFlag(boolean value)
      Sets the specified value to the IrapPicFlag field.
    • used_for_long_term_reference

      public StdVideoEncodeH265PictureInfoFlags used_for_long_term_reference(boolean value)
      Sets the specified value to the used_for_long_term_reference field.
    • discardable_flag

      public StdVideoEncodeH265PictureInfoFlags discardable_flag(boolean value)
      Sets the specified value to the discardable_flag field.
    • cross_layer_bla_flag

      public StdVideoEncodeH265PictureInfoFlags cross_layer_bla_flag(boolean value)
      Sets the specified value to the cross_layer_bla_flag field.
    • pic_output_flag

      public StdVideoEncodeH265PictureInfoFlags pic_output_flag(boolean value)
      Sets the specified value to the pic_output_flag field.
    • no_output_of_prior_pics_flag

      public StdVideoEncodeH265PictureInfoFlags no_output_of_prior_pics_flag(boolean value)
      Sets the specified value to the no_output_of_prior_pics_flag field.
    • short_term_ref_pic_set_sps_flag

      public StdVideoEncodeH265PictureInfoFlags short_term_ref_pic_set_sps_flag(boolean value)
      Sets the specified value to the short_term_ref_pic_set_sps_flag field.
    • slice_temporal_mvp_enabled_flag

      public StdVideoEncodeH265PictureInfoFlags slice_temporal_mvp_enabled_flag(boolean value)
      Sets the specified value to the slice_temporal_mvp_enabled_flag field.
    • set

      public StdVideoEncodeH265PictureInfoFlags set(boolean is_reference, boolean IrapPicFlag, boolean used_for_long_term_reference, boolean discardable_flag, boolean cross_layer_bla_flag, boolean pic_output_flag, boolean no_output_of_prior_pics_flag, boolean short_term_ref_pic_set_sps_flag, boolean slice_temporal_mvp_enabled_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 StdVideoEncodeH265PictureInfoFlags malloc()
      Returns a new StdVideoEncodeH265PictureInfoFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nis_reference(long struct)
      Unsafe version of is_reference().
    • nIrapPicFlag

      public static int nIrapPicFlag(long struct)
      Unsafe version of IrapPicFlag().
    • nused_for_long_term_reference

      public static int nused_for_long_term_reference(long struct)
    • ndiscardable_flag

      public static int ndiscardable_flag(long struct)
      Unsafe version of discardable_flag().
    • ncross_layer_bla_flag

      public static int ncross_layer_bla_flag(long struct)
      Unsafe version of cross_layer_bla_flag().
    • npic_output_flag

      public static int npic_output_flag(long struct)
      Unsafe version of pic_output_flag().
    • nno_output_of_prior_pics_flag

      public static int nno_output_of_prior_pics_flag(long struct)
    • nshort_term_ref_pic_set_sps_flag

      public static int nshort_term_ref_pic_set_sps_flag(long struct)
    • nslice_temporal_mvp_enabled_flag

      public static int nslice_temporal_mvp_enabled_flag(long struct)
    • nbitfield1

      public static int nbitfield1(long struct)
    • nreserved

      public static int nreserved(long struct)
    • nbitfield0

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

      public static void nis_reference(long struct, int value)
      Unsafe version of is_reference.
    • nIrapPicFlag

      public static void nIrapPicFlag(long struct, int value)
      Unsafe version of IrapPicFlag.
    • nused_for_long_term_reference

      public static void nused_for_long_term_reference(long struct, int value)
      Unsafe version of used_for_long_term_reference.
    • ndiscardable_flag

      public static void ndiscardable_flag(long struct, int value)
      Unsafe version of discardable_flag.
    • ncross_layer_bla_flag

      public static void ncross_layer_bla_flag(long struct, int value)
      Unsafe version of cross_layer_bla_flag.
    • npic_output_flag

      public static void npic_output_flag(long struct, int value)
      Unsafe version of pic_output_flag.
    • nno_output_of_prior_pics_flag

      public static void nno_output_of_prior_pics_flag(long struct, int value)
      Unsafe version of no_output_of_prior_pics_flag.
    • nshort_term_ref_pic_set_sps_flag

      public static void nshort_term_ref_pic_set_sps_flag(long struct, int value)
    • nslice_temporal_mvp_enabled_flag

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

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

      public static void nreserved(long struct, int value)