Class StdVideoEncodeH264SliceHeaderFlags

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

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

    Layout

    
     struct StdVideoEncodeH264SliceHeaderFlags {
         uint32_t direct_spatial_mv_pred_flag : 1;
         uint32_t num_ref_idx_active_override_flag : 1;
         uint32_t no_output_of_prior_pics_flag : 1;
         uint32_t adaptive_ref_pic_marking_mode_flag : 1;
         uint32_t no_prior_references_available_flag : 1;
     }
    • Field Detail

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

      • StdVideoEncodeH264SliceHeaderFlags

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

        public boolean direct_spatial_mv_pred_flag()
        Returns:
        the value of the direct_spatial_mv_pred_flag field.
      • num_ref_idx_active_override_flag

        public boolean num_ref_idx_active_override_flag()
        Returns:
        the value of the num_ref_idx_active_override_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.
      • adaptive_ref_pic_marking_mode_flag

        public boolean adaptive_ref_pic_marking_mode_flag()
        Returns:
        the value of the adaptive_ref_pic_marking_mode_flag field.
      • no_prior_references_available_flag

        public boolean no_prior_references_available_flag()
        Returns:
        the value of the no_prior_references_available_flag field.
      • direct_spatial_mv_pred_flag

        public StdVideoEncodeH264SliceHeaderFlags direct_spatial_mv_pred_flag​(boolean value)
        Sets the specified value to the direct_spatial_mv_pred_flag field.
      • num_ref_idx_active_override_flag

        public StdVideoEncodeH264SliceHeaderFlags num_ref_idx_active_override_flag​(boolean value)
        Sets the specified value to the num_ref_idx_active_override_flag field.
      • no_output_of_prior_pics_flag

        public StdVideoEncodeH264SliceHeaderFlags no_output_of_prior_pics_flag​(boolean value)
        Sets the specified value to the no_output_of_prior_pics_flag field.
      • adaptive_ref_pic_marking_mode_flag

        public StdVideoEncodeH264SliceHeaderFlags adaptive_ref_pic_marking_mode_flag​(boolean value)
        Sets the specified value to the adaptive_ref_pic_marking_mode_flag field.
      • no_prior_references_available_flag

        public StdVideoEncodeH264SliceHeaderFlags no_prior_references_available_flag​(boolean value)
        Sets the specified value to the no_prior_references_available_flag field.
      • set

        public StdVideoEncodeH264SliceHeaderFlags set​(boolean direct_spatial_mv_pred_flag,
                                                      boolean num_ref_idx_active_override_flag,
                                                      boolean no_output_of_prior_pics_flag,
                                                      boolean adaptive_ref_pic_marking_mode_flag,
                                                      boolean no_prior_references_available_flag)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

        public static int nbitfield0​(long struct)
      • ndirect_spatial_mv_pred_flag

        public static int ndirect_spatial_mv_pred_flag​(long struct)
      • nbitfield0

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

        public static void ndirect_spatial_mv_pred_flag​(long struct,
                                                        int value)
        Unsafe version of direct_spatial_mv_pred_flag.
      • nnum_ref_idx_active_override_flag

        public static void nnum_ref_idx_active_override_flag​(long struct,
                                                             int value)
      • 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.
      • nadaptive_ref_pic_marking_mode_flag

        public static void nadaptive_ref_pic_marking_mode_flag​(long struct,
                                                               int value)
      • nno_prior_references_available_flag

        public static void nno_prior_references_available_flag​(long struct,
                                                               int value)