Package org.lwjgl.vulkan.video
Class StdVideoH265SequenceParameterSetVui.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoH265SequenceParameterSetVui,StdVideoH265SequenceParameterSetVui.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoH265SequenceParameterSetVui.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoH265SequenceParameterSetVui>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoH265SequenceParameterSetVui
public static class StdVideoH265SequenceParameterSetVui.Buffer extends org.lwjgl.system.StructBuffer<StdVideoH265SequenceParameterSetVui,StdVideoH265SequenceParameterSetVui.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoH265SequenceParameterSetVuistructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoH265SequenceParameterSetVui.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byStdVideoH265SequenceParameterSetVui.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
aspect_ratio_idc
public byte aspect_ratio_idc()
- Returns:
- the value of the
aspect_ratio_idcfield.
-
sar_width
public short sar_width()
- Returns:
- the value of the
sar_widthfield.
-
sar_height
public short sar_height()
- Returns:
- the value of the
sar_heightfield.
-
video_format
public byte video_format()
- Returns:
- the value of the
video_formatfield.
-
colour_primaries
public byte colour_primaries()
- Returns:
- the value of the
colour_primariesfield.
-
transfer_characteristics
public byte transfer_characteristics()
- Returns:
- the value of the
transfer_characteristicsfield.
-
matrix_coeffs
public byte matrix_coeffs()
- Returns:
- the value of the
matrix_coeffsfield.
-
chroma_sample_loc_type_top_field
public byte chroma_sample_loc_type_top_field()
- Returns:
- the value of the
chroma_sample_loc_type_top_fieldfield.
-
chroma_sample_loc_type_bottom_field
public byte chroma_sample_loc_type_bottom_field()
- Returns:
- the value of the
chroma_sample_loc_type_bottom_fieldfield.
-
def_disp_win_left_offset
public short def_disp_win_left_offset()
- Returns:
- the value of the
def_disp_win_left_offsetfield.
-
def_disp_win_right_offset
public short def_disp_win_right_offset()
- Returns:
- the value of the
def_disp_win_right_offsetfield.
-
def_disp_win_top_offset
public short def_disp_win_top_offset()
- Returns:
- the value of the
def_disp_win_top_offsetfield.
-
def_disp_win_bottom_offset
public short def_disp_win_bottom_offset()
- Returns:
- the value of the
def_disp_win_bottom_offsetfield.
-
vui_num_units_in_tick
public int vui_num_units_in_tick()
- Returns:
- the value of the
vui_num_units_in_tickfield.
-
vui_time_scale
public int vui_time_scale()
- Returns:
- the value of the
vui_time_scalefield.
-
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_minus1field.
-
pHrdParameters
public StdVideoH265HrdParameters pHrdParameters()
- Returns:
- a
StdVideoH265HrdParametersview of the struct pointed to by thepHrdParametersfield.
-
min_spatial_segmentation_idc
public short min_spatial_segmentation_idc()
- Returns:
- the value of the
min_spatial_segmentation_idcfield.
-
max_bytes_per_pic_denom
public byte max_bytes_per_pic_denom()
- Returns:
- the value of the
max_bytes_per_pic_denomfield.
-
max_bits_per_min_cu_denom
public byte max_bits_per_min_cu_denom()
- Returns:
- the value of the
max_bits_per_min_cu_denomfield.
-
log2_max_mv_length_horizontal
public byte log2_max_mv_length_horizontal()
- Returns:
- the value of the
log2_max_mv_length_horizontalfield.
-
log2_max_mv_length_vertical
public byte log2_max_mv_length_vertical()
- Returns:
- the value of the
log2_max_mv_length_verticalfield.
-
flags
public StdVideoH265SpsVuiFlags flags()
- Returns:
- a
StdVideoH265SpsVuiFlagsview of theflagsfield.
-
aspect_ratio_idc
public StdVideoH265SequenceParameterSetVui.Buffer aspect_ratio_idc(byte value)
Sets the specified value to theaspect_ratio_idcfield.
-
sar_width
public StdVideoH265SequenceParameterSetVui.Buffer sar_width(short value)
Sets the specified value to thesar_widthfield.
-
sar_height
public StdVideoH265SequenceParameterSetVui.Buffer sar_height(short value)
Sets the specified value to thesar_heightfield.
-
video_format
public StdVideoH265SequenceParameterSetVui.Buffer video_format(byte value)
Sets the specified value to thevideo_formatfield.
-
colour_primaries
public StdVideoH265SequenceParameterSetVui.Buffer colour_primaries(byte value)
Sets the specified value to thecolour_primariesfield.
-
transfer_characteristics
public StdVideoH265SequenceParameterSetVui.Buffer transfer_characteristics(byte value)
Sets the specified value to thetransfer_characteristicsfield.
-
matrix_coeffs
public StdVideoH265SequenceParameterSetVui.Buffer matrix_coeffs(byte value)
Sets the specified value to thematrix_coeffsfield.
-
chroma_sample_loc_type_top_field
public StdVideoH265SequenceParameterSetVui.Buffer chroma_sample_loc_type_top_field(byte value)
Sets the specified value to thechroma_sample_loc_type_top_fieldfield.
-
chroma_sample_loc_type_bottom_field
public StdVideoH265SequenceParameterSetVui.Buffer chroma_sample_loc_type_bottom_field(byte value)
Sets the specified value to thechroma_sample_loc_type_bottom_fieldfield.
-
def_disp_win_left_offset
public StdVideoH265SequenceParameterSetVui.Buffer def_disp_win_left_offset(short value)
Sets the specified value to thedef_disp_win_left_offsetfield.
-
def_disp_win_right_offset
public StdVideoH265SequenceParameterSetVui.Buffer def_disp_win_right_offset(short value)
Sets the specified value to thedef_disp_win_right_offsetfield.
-
def_disp_win_top_offset
public StdVideoH265SequenceParameterSetVui.Buffer def_disp_win_top_offset(short value)
Sets the specified value to thedef_disp_win_top_offsetfield.
-
def_disp_win_bottom_offset
public StdVideoH265SequenceParameterSetVui.Buffer def_disp_win_bottom_offset(short value)
Sets the specified value to thedef_disp_win_bottom_offsetfield.
-
vui_num_units_in_tick
public StdVideoH265SequenceParameterSetVui.Buffer vui_num_units_in_tick(int value)
Sets the specified value to thevui_num_units_in_tickfield.
-
vui_time_scale
public StdVideoH265SequenceParameterSetVui.Buffer vui_time_scale(int value)
Sets the specified value to thevui_time_scalefield.
-
vui_num_ticks_poc_diff_one_minus1
public StdVideoH265SequenceParameterSetVui.Buffer vui_num_ticks_poc_diff_one_minus1(int value)
Sets the specified value to thevui_num_ticks_poc_diff_one_minus1field.
-
pHrdParameters
public StdVideoH265SequenceParameterSetVui.Buffer pHrdParameters(StdVideoH265HrdParameters value)
Sets the address of the specifiedStdVideoH265HrdParametersto thepHrdParametersfield.
-
min_spatial_segmentation_idc
public StdVideoH265SequenceParameterSetVui.Buffer min_spatial_segmentation_idc(short value)
Sets the specified value to themin_spatial_segmentation_idcfield.
-
max_bytes_per_pic_denom
public StdVideoH265SequenceParameterSetVui.Buffer max_bytes_per_pic_denom(byte value)
Sets the specified value to themax_bytes_per_pic_denomfield.
-
max_bits_per_min_cu_denom
public StdVideoH265SequenceParameterSetVui.Buffer max_bits_per_min_cu_denom(byte value)
Sets the specified value to themax_bits_per_min_cu_denomfield.
-
log2_max_mv_length_horizontal
public StdVideoH265SequenceParameterSetVui.Buffer log2_max_mv_length_horizontal(byte value)
Sets the specified value to thelog2_max_mv_length_horizontalfield.
-
log2_max_mv_length_vertical
public StdVideoH265SequenceParameterSetVui.Buffer log2_max_mv_length_vertical(byte value)
Sets the specified value to thelog2_max_mv_length_verticalfield.
-
flags
public StdVideoH265SequenceParameterSetVui.Buffer flags(StdVideoH265SpsVuiFlags value)
Copies the specifiedStdVideoH265SpsVuiFlagsto theflagsfield.
-
flags
public StdVideoH265SequenceParameterSetVui.Buffer flags(java.util.function.Consumer<StdVideoH265SpsVuiFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-