Class StdVideoEncodeH265SliceSegmentHeaderFlags

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

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

    Layout

    
     struct StdVideoEncodeH265SliceSegmentHeaderFlags {
         uint32_t first_slice_segment_in_pic_flag : 1;
         uint32_t no_output_of_prior_pics_flag : 1;
         uint32_t dependent_slice_segment_flag : 1;
         uint32_t short_term_ref_pic_set_sps_flag : 1;
         uint32_t slice_temporal_mvp_enable_flag : 1;
         uint32_t slice_sao_luma_flag : 1;
         uint32_t slice_sao_chroma_flag : 1;
         uint32_t num_ref_idx_active_override_flag : 1;
         uint32_t mvd_l1_zero_flag : 1;
         uint32_t cabac_init_flag : 1;
         uint32_t slice_deblocking_filter_disable_flag : 1;
         uint32_t collocated_from_l0_flag : 1;
         uint32_t slice_loop_filter_across_slices_enabled_flag : 1;
         uint32_t bLastSliceInPic : 1;
         uint32_t reservedBits : 18;
         uint16_t luma_weight_l0_flag();
         uint16_t chroma_weight_l0_flag();
         uint16_t luma_weight_l1_flag();
         uint16_t chroma_weight_l1_flag();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • BITFIELD0, LUMA_WEIGHT_L0_FLAG, CHROMA_WEIGHT_L0_FLAG, LUMA_WEIGHT_L1_FLAG, CHROMA_WEIGHT_L1_FLAG

        The struct member offsets.
    • Constructor Detail

      • StdVideoEncodeH265SliceSegmentHeaderFlags

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

        public int first_slice_segment_in_pic_flag()
        Returns:
        the value of the first_slice_segment_in_pic_flag field.
      • no_output_of_prior_pics_flag

        public int no_output_of_prior_pics_flag()
        Returns:
        the value of the no_output_of_prior_pics_flag field.
      • dependent_slice_segment_flag

        public int dependent_slice_segment_flag()
        Returns:
        the value of the dependent_slice_segment_flag field.
      • short_term_ref_pic_set_sps_flag

        public int short_term_ref_pic_set_sps_flag()
        Returns:
        the value of the short_term_ref_pic_set_sps_flag field.
      • slice_temporal_mvp_enable_flag

        public int slice_temporal_mvp_enable_flag()
        Returns:
        the value of the slice_temporal_mvp_enable_flag field.
      • slice_sao_luma_flag

        public int slice_sao_luma_flag()
        Returns:
        the value of the slice_sao_luma_flag field.
      • slice_sao_chroma_flag

        public int slice_sao_chroma_flag()
        Returns:
        the value of the slice_sao_chroma_flag field.
      • num_ref_idx_active_override_flag

        public int num_ref_idx_active_override_flag()
        Returns:
        the value of the num_ref_idx_active_override_flag field.
      • mvd_l1_zero_flag

        public int mvd_l1_zero_flag()
        Returns:
        the value of the mvd_l1_zero_flag field.
      • cabac_init_flag

        public int cabac_init_flag()
        Returns:
        the value of the cabac_init_flag field.
      • slice_deblocking_filter_disable_flag

        public int slice_deblocking_filter_disable_flag()
        Returns:
        the value of the slice_deblocking_filter_disable_flag field.
      • collocated_from_l0_flag

        public int collocated_from_l0_flag()
        Returns:
        the value of the collocated_from_l0_flag field.
      • slice_loop_filter_across_slices_enabled_flag

        public int slice_loop_filter_across_slices_enabled_flag()
        Returns:
        the value of the slice_loop_filter_across_slices_enabled_flag field.
      • bLastSliceInPic

        public int bLastSliceInPic()
        Returns:
        the value of the bLastSliceInPic field.
      • reservedBits

        public int reservedBits()
        Returns:
        the value of the reservedBits field.
      • luma_weight_l0_flag, chroma_weight_l0_flag

        public short luma_weight_l0_flag()
        
        public short chroma_weight_l0_flag()
        
        bit 0 - num_ref_idx_l0_active_minus1
      • luma_weight_l1_flag, chroma_weight_l1_flag

        public short luma_weight_l1_flag()
        
        public short chroma_weight_l1_flag()
        
        bit 0 - num_ref_idx_l1_active_minus1
      • num_ref_idx_active_override_flag

        public StdVideoEncodeH265SliceSegmentHeaderFlags num_ref_idx_active_override_flag​(int value)
        Sets the specified value to the num_ref_idx_active_override_flag field.
      • slice_deblocking_filter_disable_flag

        public StdVideoEncodeH265SliceSegmentHeaderFlags slice_deblocking_filter_disable_flag​(int value)
        Sets the specified value to the slice_deblocking_filter_disable_flag field.
      • slice_loop_filter_across_slices_enabled_flag

        public StdVideoEncodeH265SliceSegmentHeaderFlags slice_loop_filter_across_slices_enabled_flag​(int value)
        Sets the specified value to the slice_loop_filter_across_slices_enabled_flag field.
      • set

        public StdVideoEncodeH265SliceSegmentHeaderFlags set​(int first_slice_segment_in_pic_flag,
                                                             int no_output_of_prior_pics_flag,
                                                             int dependent_slice_segment_flag,
                                                             int short_term_ref_pic_set_sps_flag,
                                                             int slice_temporal_mvp_enable_flag,
                                                             int slice_sao_luma_flag,
                                                             int slice_sao_chroma_flag,
                                                             int num_ref_idx_active_override_flag,
                                                             int mvd_l1_zero_flag,
                                                             int cabac_init_flag,
                                                             int slice_deblocking_filter_disable_flag,
                                                             int collocated_from_l0_flag,
                                                             int slice_loop_filter_across_slices_enabled_flag,
                                                             int bLastSliceInPic,
                                                             int reservedBits,
                                                             short luma_weight_l0_flag,
                                                             short chroma_weight_l0_flag,
                                                             short luma_weight_l1_flag,
                                                             short chroma_weight_l1_flag)
        Initializes this struct with the specified values.
      • calloc

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

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

        public static StdVideoEncodeH265SliceSegmentHeaderFlags calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags 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)
      • nslice_sao_luma_flag

        public static int nslice_sao_luma_flag​(long struct)
        Unsafe version of slice_sao_luma_flag().
      • nslice_sao_chroma_flag

        public static int nslice_sao_chroma_flag​(long struct)
        Unsafe version of slice_sao_chroma_flag().
      • nmvd_l1_zero_flag

        public static int nmvd_l1_zero_flag​(long struct)
        Unsafe version of mvd_l1_zero_flag().
      • ncabac_init_flag

        public static int ncabac_init_flag​(long struct)
        Unsafe version of cabac_init_flag().
      • ncollocated_from_l0_flag

        public static int ncollocated_from_l0_flag​(long struct)
        Unsafe version of collocated_from_l0_flag().
      • nbLastSliceInPic

        public static int nbLastSliceInPic​(long struct)
        Unsafe version of bLastSliceInPic().
      • nreservedBits

        public static int nreservedBits​(long struct)
        Unsafe version of reservedBits().
      • nluma_weight_l0_flag

        public static short nluma_weight_l0_flag​(long struct)
        Unsafe version of luma_weight_l0_flag().
      • nchroma_weight_l0_flag

        public static short nchroma_weight_l0_flag​(long struct)
        Unsafe version of chroma_weight_l0_flag().
      • nluma_weight_l1_flag

        public static short nluma_weight_l1_flag​(long struct)
        Unsafe version of luma_weight_l1_flag().
      • nchroma_weight_l1_flag

        public static short nchroma_weight_l1_flag​(long struct)
        Unsafe version of chroma_weight_l1_flag().
      • nbitfield0

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

        public static void nfirst_slice_segment_in_pic_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.
      • ndependent_slice_segment_flag

        public static void ndependent_slice_segment_flag​(long struct,
                                                         int value)
        Unsafe version of dependent_slice_segment_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_enable_flag

        public static void nslice_temporal_mvp_enable_flag​(long struct,
                                                           int value)
      • nslice_sao_luma_flag

        public static void nslice_sao_luma_flag​(long struct,
                                                int value)
        Unsafe version of slice_sao_luma_flag.
      • nslice_sao_chroma_flag

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

        public static void nnum_ref_idx_active_override_flag​(long struct,
                                                             int value)
      • nmvd_l1_zero_flag

        public static void nmvd_l1_zero_flag​(long struct,
                                             int value)
        Unsafe version of mvd_l1_zero_flag.
      • ncabac_init_flag

        public static void ncabac_init_flag​(long struct,
                                            int value)
        Unsafe version of cabac_init_flag.
      • nslice_deblocking_filter_disable_flag

        public static void nslice_deblocking_filter_disable_flag​(long struct,
                                                                 int value)
      • ncollocated_from_l0_flag

        public static void ncollocated_from_l0_flag​(long struct,
                                                    int value)
        Unsafe version of collocated_from_l0_flag.
      • nbLastSliceInPic

        public static void nbLastSliceInPic​(long struct,
                                            int value)
        Unsafe version of bLastSliceInPic.
      • nreservedBits

        public static void nreservedBits​(long struct,
                                         int value)
        Unsafe version of reservedBits.
      • nluma_weight_l0_flag

        public static void nluma_weight_l0_flag​(long struct,
                                                short value)
        Unsafe version of luma_weight_l0_flag.
      • nchroma_weight_l0_flag

        public static void nchroma_weight_l0_flag​(long struct,
                                                  short value)
        Unsafe version of chroma_weight_l0_flag.
      • nluma_weight_l1_flag

        public static void nluma_weight_l1_flag​(long struct,
                                                short value)
        Unsafe version of luma_weight_l1_flag.
      • nchroma_weight_l1_flag

        public static void nchroma_weight_l1_flag​(long struct,
                                                  short value)
        Unsafe version of chroma_weight_l1_flag.