Class StdVideoH265SequenceParameterSetVui

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

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

    Layout

    
     struct StdVideoH265SequenceParameterSetVui {
         uint8_t aspect_ratio_idc;
         uint16_t sar_width;
         uint16_t sar_height;
         uint8_t video_format;
         uint8_t colour_primaries;
         uint8_t transfer_characteristics;
         uint8_t matrix_coeffs;
         uint8_t chroma_sample_loc_type_top_field;
         uint8_t chroma_sample_loc_type_bottom_field;
         uint16_t def_disp_win_left_offset;
         uint16_t def_disp_win_right_offset;
         uint16_t def_disp_win_top_offset;
         uint16_t def_disp_win_bottom_offset;
         uint32_t vui_num_units_in_tick;
         uint32_t vui_time_scale;
         uint32_t vui_num_ticks_poc_diff_one_minus1;
         StdVideoH265HrdParameters * pHrdParameters;
         uint16_t min_spatial_segmentation_idc;
         uint8_t max_bytes_per_pic_denom;
         uint8_t max_bits_per_min_cu_denom;
         uint8_t log2_max_mv_length_horizontal;
         uint8_t log2_max_mv_length_vertical;
         StdVideoH265SpsVuiFlags flags;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • ASPECT_RATIO_IDC, SAR_WIDTH, SAR_HEIGHT, VIDEO_FORMAT, COLOUR_PRIMARIES, TRANSFER_CHARACTERISTICS, MATRIX_COEFFS, CHROMA_SAMPLE_LOC_TYPE_TOP_FIELD, CHROMA_SAMPLE_LOC_TYPE_BOTTOM_FIELD, DEF_DISP_WIN_LEFT_OFFSET, DEF_DISP_WIN_RIGHT_OFFSET, DEF_DISP_WIN_TOP_OFFSET, DEF_DISP_WIN_BOTTOM_OFFSET, VUI_NUM_UNITS_IN_TICK, VUI_TIME_SCALE, VUI_NUM_TICKS_POC_DIFF_ONE_MINUS1, PHRDPARAMETERS, MIN_SPATIAL_SEGMENTATION_IDC, MAX_BYTES_PER_PIC_DENOM, MAX_BITS_PER_MIN_CU_DENOM, LOG2_MAX_MV_LENGTH_HORIZONTAL, LOG2_MAX_MV_LENGTH_VERTICAL, FLAGS

        The struct member offsets.
    • Constructor Detail

      • StdVideoH265SequenceParameterSetVui

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

        public byte aspect_ratio_idc()
        Returns:
        the value of the aspect_ratio_idc field.
      • sar_width

        public short sar_width()
        Returns:
        the value of the sar_width field.
      • sar_height

        public short sar_height()
        Returns:
        the value of the sar_height field.
      • video_format

        public byte video_format()
        Returns:
        the value of the video_format field.
      • colour_primaries

        public byte colour_primaries()
        Returns:
        the value of the colour_primaries field.
      • transfer_characteristics

        public byte transfer_characteristics()
        Returns:
        the value of the transfer_characteristics field.
      • matrix_coeffs

        public byte matrix_coeffs()
        Returns:
        the value of the matrix_coeffs field.
      • chroma_sample_loc_type_top_field

        public byte chroma_sample_loc_type_top_field()
        Returns:
        the value of the chroma_sample_loc_type_top_field field.
      • chroma_sample_loc_type_bottom_field

        public byte chroma_sample_loc_type_bottom_field()
        Returns:
        the value of the chroma_sample_loc_type_bottom_field field.
      • def_disp_win_left_offset

        public short def_disp_win_left_offset()
        Returns:
        the value of the def_disp_win_left_offset field.
      • def_disp_win_right_offset

        public short def_disp_win_right_offset()
        Returns:
        the value of the def_disp_win_right_offset field.
      • def_disp_win_top_offset

        public short def_disp_win_top_offset()
        Returns:
        the value of the def_disp_win_top_offset field.
      • def_disp_win_bottom_offset

        public short def_disp_win_bottom_offset()
        Returns:
        the value of the def_disp_win_bottom_offset field.
      • vui_num_units_in_tick

        public int vui_num_units_in_tick()
        Returns:
        the value of the vui_num_units_in_tick field.
      • vui_time_scale

        public int vui_time_scale()
        Returns:
        the value of the vui_time_scale field.
      • vui_num_ticks_poc_diff_one_minus1

        public int vui_num_ticks_poc_diff_one_minus1()
        Returns:
        the value of the vui_num_ticks_poc_diff_one_minus1 field.
      • min_spatial_segmentation_idc

        public short min_spatial_segmentation_idc()
        Returns:
        the value of the min_spatial_segmentation_idc field.
      • max_bytes_per_pic_denom

        public byte max_bytes_per_pic_denom()
        Returns:
        the value of the max_bytes_per_pic_denom field.
      • max_bits_per_min_cu_denom

        public byte max_bits_per_min_cu_denom()
        Returns:
        the value of the max_bits_per_min_cu_denom field.
      • log2_max_mv_length_horizontal

        public byte log2_max_mv_length_horizontal()
        Returns:
        the value of the log2_max_mv_length_horizontal field.
      • log2_max_mv_length_vertical

        public byte log2_max_mv_length_vertical()
        Returns:
        the value of the log2_max_mv_length_vertical field.
      • transfer_characteristics

        public StdVideoH265SequenceParameterSetVui transfer_characteristics​(byte value)
        Sets the specified value to the transfer_characteristics field.
      • chroma_sample_loc_type_top_field

        public StdVideoH265SequenceParameterSetVui chroma_sample_loc_type_top_field​(byte value)
        Sets the specified value to the chroma_sample_loc_type_top_field field.
      • chroma_sample_loc_type_bottom_field

        public StdVideoH265SequenceParameterSetVui chroma_sample_loc_type_bottom_field​(byte value)
        Sets the specified value to the chroma_sample_loc_type_bottom_field field.
      • def_disp_win_left_offset

        public StdVideoH265SequenceParameterSetVui def_disp_win_left_offset​(short value)
        Sets the specified value to the def_disp_win_left_offset field.
      • def_disp_win_right_offset

        public StdVideoH265SequenceParameterSetVui def_disp_win_right_offset​(short value)
        Sets the specified value to the def_disp_win_right_offset field.
      • def_disp_win_bottom_offset

        public StdVideoH265SequenceParameterSetVui def_disp_win_bottom_offset​(short value)
        Sets the specified value to the def_disp_win_bottom_offset field.
      • vui_num_ticks_poc_diff_one_minus1

        public StdVideoH265SequenceParameterSetVui vui_num_ticks_poc_diff_one_minus1​(int value)
        Sets the specified value to the vui_num_ticks_poc_diff_one_minus1 field.
      • min_spatial_segmentation_idc

        public StdVideoH265SequenceParameterSetVui min_spatial_segmentation_idc​(short value)
        Sets the specified value to the min_spatial_segmentation_idc field.
      • max_bits_per_min_cu_denom

        public StdVideoH265SequenceParameterSetVui max_bits_per_min_cu_denom​(byte value)
        Sets the specified value to the max_bits_per_min_cu_denom field.
      • log2_max_mv_length_horizontal

        public StdVideoH265SequenceParameterSetVui log2_max_mv_length_horizontal​(byte value)
        Sets the specified value to the log2_max_mv_length_horizontal field.
      • log2_max_mv_length_vertical

        public StdVideoH265SequenceParameterSetVui log2_max_mv_length_vertical​(byte value)
        Sets the specified value to the log2_max_mv_length_vertical field.
      • set

        public StdVideoH265SequenceParameterSetVui set​(byte aspect_ratio_idc,
                                                       short sar_width,
                                                       short sar_height,
                                                       byte video_format,
                                                       byte colour_primaries,
                                                       byte transfer_characteristics,
                                                       byte matrix_coeffs,
                                                       byte chroma_sample_loc_type_top_field,
                                                       byte chroma_sample_loc_type_bottom_field,
                                                       short def_disp_win_left_offset,
                                                       short def_disp_win_right_offset,
                                                       short def_disp_win_top_offset,
                                                       short def_disp_win_bottom_offset,
                                                       int vui_num_units_in_tick,
                                                       int vui_time_scale,
                                                       int vui_num_ticks_poc_diff_one_minus1,
                                                       StdVideoH265HrdParameters pHrdParameters,
                                                       short min_spatial_segmentation_idc,
                                                       byte max_bytes_per_pic_denom,
                                                       byte max_bits_per_min_cu_denom,
                                                       byte log2_max_mv_length_horizontal,
                                                       byte log2_max_mv_length_vertical,
                                                       StdVideoH265SpsVuiFlags flags)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

        public static byte naspect_ratio_idc​(long struct)
        Unsafe version of aspect_ratio_idc().
      • nsar_width

        public static short nsar_width​(long struct)
        Unsafe version of sar_width().
      • nsar_height

        public static short nsar_height​(long struct)
        Unsafe version of sar_height().
      • nvideo_format

        public static byte nvideo_format​(long struct)
        Unsafe version of video_format().
      • ncolour_primaries

        public static byte ncolour_primaries​(long struct)
        Unsafe version of colour_primaries().
      • ntransfer_characteristics

        public static byte ntransfer_characteristics​(long struct)
        Unsafe version of transfer_characteristics().
      • nmatrix_coeffs

        public static byte nmatrix_coeffs​(long struct)
        Unsafe version of matrix_coeffs().
      • ndef_disp_win_left_offset

        public static short ndef_disp_win_left_offset​(long struct)
        Unsafe version of def_disp_win_left_offset().
      • ndef_disp_win_right_offset

        public static short ndef_disp_win_right_offset​(long struct)
        Unsafe version of def_disp_win_right_offset().
      • ndef_disp_win_top_offset

        public static short ndef_disp_win_top_offset​(long struct)
        Unsafe version of def_disp_win_top_offset().
      • ndef_disp_win_bottom_offset

        public static short ndef_disp_win_bottom_offset​(long struct)
        Unsafe version of def_disp_win_bottom_offset().
      • nvui_num_units_in_tick

        public static int nvui_num_units_in_tick​(long struct)
        Unsafe version of vui_num_units_in_tick().
      • nvui_time_scale

        public static int nvui_time_scale​(long struct)
        Unsafe version of vui_time_scale().
      • nmin_spatial_segmentation_idc

        public static short nmin_spatial_segmentation_idc​(long struct)
      • nmax_bytes_per_pic_denom

        public static byte nmax_bytes_per_pic_denom​(long struct)
        Unsafe version of max_bytes_per_pic_denom().
      • nmax_bits_per_min_cu_denom

        public static byte nmax_bits_per_min_cu_denom​(long struct)
        Unsafe version of max_bits_per_min_cu_denom().
      • nlog2_max_mv_length_vertical

        public static byte nlog2_max_mv_length_vertical​(long struct)
      • naspect_ratio_idc

        public static void naspect_ratio_idc​(long struct,
                                             byte value)
        Unsafe version of aspect_ratio_idc.
      • nsar_width

        public static void nsar_width​(long struct,
                                      short value)
        Unsafe version of sar_width.
      • nsar_height

        public static void nsar_height​(long struct,
                                       short value)
        Unsafe version of sar_height.
      • nvideo_format

        public static void nvideo_format​(long struct,
                                         byte value)
        Unsafe version of video_format.
      • ncolour_primaries

        public static void ncolour_primaries​(long struct,
                                             byte value)
        Unsafe version of colour_primaries.
      • ntransfer_characteristics

        public static void ntransfer_characteristics​(long struct,
                                                     byte value)
        Unsafe version of transfer_characteristics.
      • nmatrix_coeffs

        public static void nmatrix_coeffs​(long struct,
                                          byte value)
        Unsafe version of matrix_coeffs.
      • nchroma_sample_loc_type_top_field

        public static void nchroma_sample_loc_type_top_field​(long struct,
                                                             byte value)
      • nchroma_sample_loc_type_bottom_field

        public static void nchroma_sample_loc_type_bottom_field​(long struct,
                                                                byte value)
      • ndef_disp_win_left_offset

        public static void ndef_disp_win_left_offset​(long struct,
                                                     short value)
        Unsafe version of def_disp_win_left_offset.
      • ndef_disp_win_right_offset

        public static void ndef_disp_win_right_offset​(long struct,
                                                      short value)
        Unsafe version of def_disp_win_right_offset.
      • ndef_disp_win_top_offset

        public static void ndef_disp_win_top_offset​(long struct,
                                                    short value)
        Unsafe version of def_disp_win_top_offset.
      • ndef_disp_win_bottom_offset

        public static void ndef_disp_win_bottom_offset​(long struct,
                                                       short value)
        Unsafe version of def_disp_win_bottom_offset.
      • nvui_num_units_in_tick

        public static void nvui_num_units_in_tick​(long struct,
                                                  int value)
        Unsafe version of vui_num_units_in_tick.
      • nvui_time_scale

        public static void nvui_time_scale​(long struct,
                                           int value)
        Unsafe version of vui_time_scale.
      • nvui_num_ticks_poc_diff_one_minus1

        public static void nvui_num_ticks_poc_diff_one_minus1​(long struct,
                                                              int value)
      • nmin_spatial_segmentation_idc

        public static void nmin_spatial_segmentation_idc​(long struct,
                                                         short value)
        Unsafe version of min_spatial_segmentation_idc.
      • nmax_bytes_per_pic_denom

        public static void nmax_bytes_per_pic_denom​(long struct,
                                                    byte value)
        Unsafe version of max_bytes_per_pic_denom.
      • nmax_bits_per_min_cu_denom

        public static void nmax_bits_per_min_cu_denom​(long struct,
                                                      byte value)
        Unsafe version of max_bits_per_min_cu_denom.
      • nlog2_max_mv_length_horizontal

        public static void nlog2_max_mv_length_horizontal​(long struct,
                                                          byte value)
      • nlog2_max_mv_length_vertical

        public static void nlog2_max_mv_length_vertical​(long struct,
                                                        byte value)
        Unsafe version of log2_max_mv_length_vertical.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate