Class StdVideoH265SequenceParameterSetVui

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH265SequenceParameterSetVui extends Struct<StdVideoH265SequenceParameterSetVui> implements NativeResource

 struct StdVideoH265SequenceParameterSetVui {
     {@link StdVideoH265SpsVuiFlags StdVideoH265SpsVuiFlags} flags;
     StdVideoH265AspectRatioIdc 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;
     uint8_t reserved1;
     uint8_t reserved2;
     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;
     uint16_t min_spatial_segmentation_idc;
     uint16_t reserved3;
     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;
     {@link StdVideoH265HrdParameters StdVideoH265HrdParameters} const * pHrdParameters;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • ASPECT_RATIO_IDC

      public static final int ASPECT_RATIO_IDC
      The struct member offsets.
    • SAR_WIDTH

      public static final int SAR_WIDTH
      The struct member offsets.
    • SAR_HEIGHT

      public static final int SAR_HEIGHT
      The struct member offsets.
    • VIDEO_FORMAT

      public static final int VIDEO_FORMAT
      The struct member offsets.
    • COLOUR_PRIMARIES

      public static final int COLOUR_PRIMARIES
      The struct member offsets.
    • TRANSFER_CHARACTERISTICS

      public static final int TRANSFER_CHARACTERISTICS
      The struct member offsets.
    • MATRIX_COEFFS

      public static final int MATRIX_COEFFS
      The struct member offsets.
    • CHROMA_SAMPLE_LOC_TYPE_TOP_FIELD

      public static final int CHROMA_SAMPLE_LOC_TYPE_TOP_FIELD
      The struct member offsets.
    • CHROMA_SAMPLE_LOC_TYPE_BOTTOM_FIELD

      public static final int CHROMA_SAMPLE_LOC_TYPE_BOTTOM_FIELD
      The struct member offsets.
    • RESERVED1

      public static final int RESERVED1
      The struct member offsets.
    • RESERVED2

      public static final int RESERVED2
      The struct member offsets.
    • DEF_DISP_WIN_LEFT_OFFSET

      public static final int DEF_DISP_WIN_LEFT_OFFSET
      The struct member offsets.
    • DEF_DISP_WIN_RIGHT_OFFSET

      public static final int DEF_DISP_WIN_RIGHT_OFFSET
      The struct member offsets.
    • DEF_DISP_WIN_TOP_OFFSET

      public static final int DEF_DISP_WIN_TOP_OFFSET
      The struct member offsets.
    • DEF_DISP_WIN_BOTTOM_OFFSET

      public static final int DEF_DISP_WIN_BOTTOM_OFFSET
      The struct member offsets.
    • VUI_NUM_UNITS_IN_TICK

      public static final int VUI_NUM_UNITS_IN_TICK
      The struct member offsets.
    • VUI_TIME_SCALE

      public static final int VUI_TIME_SCALE
      The struct member offsets.
    • VUI_NUM_TICKS_POC_DIFF_ONE_MINUS1

      public static final int VUI_NUM_TICKS_POC_DIFF_ONE_MINUS1
      The struct member offsets.
    • MIN_SPATIAL_SEGMENTATION_IDC

      public static final int MIN_SPATIAL_SEGMENTATION_IDC
      The struct member offsets.
    • RESERVED3

      public static final int RESERVED3
      The struct member offsets.
    • MAX_BYTES_PER_PIC_DENOM

      public static final int MAX_BYTES_PER_PIC_DENOM
      The struct member offsets.
    • MAX_BITS_PER_MIN_CU_DENOM

      public static final int MAX_BITS_PER_MIN_CU_DENOM
      The struct member offsets.
    • LOG2_MAX_MV_LENGTH_HORIZONTAL

      public static final int LOG2_MAX_MV_LENGTH_HORIZONTAL
      The struct member offsets.
    • LOG2_MAX_MV_LENGTH_VERTICAL

      public static final int LOG2_MAX_MV_LENGTH_VERTICAL
      The struct member offsets.
    • PHRDPARAMETERS

      public static final int PHRDPARAMETERS
      The struct member offsets.
  • Constructor Details

    • StdVideoH265SequenceParameterSetVui

      public StdVideoH265SequenceParameterSetVui(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 Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<StdVideoH265SequenceParameterSetVui>
    • flags

      public StdVideoH265SpsVuiFlags flags()
      Returns:
      a StdVideoH265SpsVuiFlags view of the flags field.
    • aspect_ratio_idc

      public int 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.
    • pHrdParameters

      public StdVideoH265HrdParameters pHrdParameters()
      Returns:
      a StdVideoH265HrdParameters view of the struct pointed to by the pHrdParameters field.
    • flags

      Copies the specified StdVideoH265SpsVuiFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • aspect_ratio_idc

      public StdVideoH265SequenceParameterSetVui aspect_ratio_idc(int value)
      Sets the specified value to the aspect_ratio_idc field.
    • sar_width

      public StdVideoH265SequenceParameterSetVui sar_width(short value)
      Sets the specified value to the sar_width field.
    • sar_height

      public StdVideoH265SequenceParameterSetVui sar_height(short value)
      Sets the specified value to the sar_height field.
    • video_format

      public StdVideoH265SequenceParameterSetVui video_format(byte value)
      Sets the specified value to the video_format field.
    • colour_primaries

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

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

      public StdVideoH265SequenceParameterSetVui matrix_coeffs(byte value)
      Sets the specified value to the matrix_coeffs 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_top_offset

      public StdVideoH265SequenceParameterSetVui def_disp_win_top_offset(short value)
      Sets the specified value to the def_disp_win_top_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_units_in_tick

      public StdVideoH265SequenceParameterSetVui vui_num_units_in_tick(int value)
      Sets the specified value to the vui_num_units_in_tick field.
    • vui_time_scale

      public StdVideoH265SequenceParameterSetVui vui_time_scale(int value)
      Sets the specified value to the vui_time_scale 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_bytes_per_pic_denom

      public StdVideoH265SequenceParameterSetVui max_bytes_per_pic_denom(byte value)
      Sets the specified value to the max_bytes_per_pic_denom 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.
    • pHrdParameters

      Sets the address of the specified StdVideoH265HrdParameters to the pHrdParameters field.
    • set

      public StdVideoH265SequenceParameterSetVui set(StdVideoH265SpsVuiFlags flags, int 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, 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, StdVideoH265HrdParameters pHrdParameters)
      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 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()
      Returns a new StdVideoH265SequenceParameterSetVui instance allocated with BufferUtils.
    • create

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

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

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

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

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

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

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

      public static StdVideoH265SequenceParameterSetVui malloc(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(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
    • malloc

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

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

      public static StdVideoH265SpsVuiFlags nflags(long struct)
      Unsafe version of flags().
    • naspect_ratio_idc

      public static int 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().
    • nchroma_sample_loc_type_top_field

      public static byte nchroma_sample_loc_type_top_field(long struct)
    • nchroma_sample_loc_type_bottom_field

      public static byte nchroma_sample_loc_type_bottom_field(long struct)
    • nreserved1

      public static byte nreserved1(long struct)
    • nreserved2

      public static byte nreserved2(long struct)
    • 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().
    • nvui_num_ticks_poc_diff_one_minus1

      public static int nvui_num_ticks_poc_diff_one_minus1(long struct)
    • nmin_spatial_segmentation_idc

      public static short nmin_spatial_segmentation_idc(long struct)
    • nreserved3

      public static short nreserved3(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_horizontal

      public static byte nlog2_max_mv_length_horizontal(long struct)
    • nlog2_max_mv_length_vertical

      public static byte nlog2_max_mv_length_vertical(long struct)
    • npHrdParameters

      public static StdVideoH265HrdParameters npHrdParameters(long struct)
      Unsafe version of pHrdParameters().
    • nflags

      public static void nflags(long struct, StdVideoH265SpsVuiFlags value)
      Unsafe version of flags.
    • naspect_ratio_idc

      public static void naspect_ratio_idc(long struct, int 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)
    • nreserved1

      public static void nreserved1(long struct, byte value)
    • nreserved2

      public static void nreserved2(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.
    • nreserved3

      public static void nreserved3(long struct, short value)
    • 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.
    • npHrdParameters

      public static void npHrdParameters(long struct, StdVideoH265HrdParameters value)
      Unsafe version of pHrdParameters.
    • validate

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