Package org.lwjgl.vulkan.video
Class StdVideoH265SequenceParameterSetVui.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH265SequenceParameterSetVui.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH265SequenceParameterSetVui,StdVideoH265SequenceParameterSetVui.Buffer>
org.lwjgl.vulkan.video.StdVideoH265SequenceParameterSetVui.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoH265SequenceParameterSetVui>
,NativeResource
,Pointer
- Enclosing class:
StdVideoH265SequenceParameterSetVui
public static class StdVideoH265SequenceParameterSetVui.Buffer
extends StructBuffer<StdVideoH265SequenceParameterSetVui,StdVideoH265SequenceParameterSetVui.Buffer>
implements NativeResource
An array of
StdVideoH265SequenceParameterSetVui
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newStdVideoH265SequenceParameterSetVui.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
aspect_ratio_idc
(int value) Sets the specified value to theaspect_ratio_idc
field.byte
chroma_sample_loc_type_bottom_field
(byte value) Sets the specified value to thechroma_sample_loc_type_bottom_field
field.byte
chroma_sample_loc_type_top_field
(byte value) Sets the specified value to thechroma_sample_loc_type_top_field
field.byte
colour_primaries
(byte value) Sets the specified value to thecolour_primaries
field.short
def_disp_win_bottom_offset
(short value) Sets the specified value to thedef_disp_win_bottom_offset
field.short
def_disp_win_left_offset
(short value) Sets the specified value to thedef_disp_win_left_offset
field.short
def_disp_win_right_offset
(short value) Sets the specified value to thedef_disp_win_right_offset
field.short
def_disp_win_top_offset
(short value) Sets the specified value to thedef_disp_win_top_offset
field.flags()
flags
(Consumer<StdVideoH265SpsVuiFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH265SpsVuiFlags value) Copies the specifiedStdVideoH265SpsVuiFlags
to theflags
field.byte
log2_max_mv_length_horizontal
(byte value) Sets the specified value to thelog2_max_mv_length_horizontal
field.byte
log2_max_mv_length_vertical
(byte value) Sets the specified value to thelog2_max_mv_length_vertical
field.byte
matrix_coeffs
(byte value) Sets the specified value to thematrix_coeffs
field.byte
max_bits_per_min_cu_denom
(byte value) Sets the specified value to themax_bits_per_min_cu_denom
field.byte
max_bytes_per_pic_denom
(byte value) Sets the specified value to themax_bytes_per_pic_denom
field.short
min_spatial_segmentation_idc
(short value) Sets the specified value to themin_spatial_segmentation_idc
field.Sets the address of the specifiedStdVideoH265HrdParameters
to thepHrdParameters
field.short
sar_height
(short value) Sets the specified value to thesar_height
field.short
sar_width
(short value) Sets the specified value to thesar_width
field.byte
transfer_characteristics
(byte value) Sets the specified value to thetransfer_characteristics
field.byte
video_format
(byte value) Sets the specified value to thevideo_format
field.int
vui_num_ticks_poc_diff_one_minus1
(int value) Sets the specified value to thevui_num_ticks_poc_diff_one_minus1
field.int
vui_num_units_in_tick
(int value) Sets the specified value to thevui_num_units_in_tick
field.int
vui_time_scale
(int value) Sets the specified value to thevui_time_scale
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoH265SequenceParameterSetVui.Buffer
instance 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 by
StdVideoH265SequenceParameterSetVui.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 Details
-
flags
- Returns:
- a
StdVideoH265SpsVuiFlags
view of theflags
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
- Returns:
- a
StdVideoH265HrdParameters
view of the struct pointed to by thepHrdParameters
field.
-
flags
Copies the specifiedStdVideoH265SpsVuiFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
aspect_ratio_idc
Sets the specified value to theaspect_ratio_idc
field. -
sar_width
Sets the specified value to thesar_width
field. -
sar_height
Sets the specified value to thesar_height
field. -
video_format
Sets the specified value to thevideo_format
field. -
colour_primaries
Sets the specified value to thecolour_primaries
field. -
transfer_characteristics
Sets the specified value to thetransfer_characteristics
field. -
matrix_coeffs
Sets the specified value to thematrix_coeffs
field. -
chroma_sample_loc_type_top_field
Sets the specified value to thechroma_sample_loc_type_top_field
field. -
chroma_sample_loc_type_bottom_field
Sets the specified value to thechroma_sample_loc_type_bottom_field
field. -
def_disp_win_left_offset
Sets the specified value to thedef_disp_win_left_offset
field. -
def_disp_win_right_offset
Sets the specified value to thedef_disp_win_right_offset
field. -
def_disp_win_top_offset
Sets the specified value to thedef_disp_win_top_offset
field. -
def_disp_win_bottom_offset
Sets the specified value to thedef_disp_win_bottom_offset
field. -
vui_num_units_in_tick
Sets the specified value to thevui_num_units_in_tick
field. -
vui_time_scale
Sets the specified value to thevui_time_scale
field. -
vui_num_ticks_poc_diff_one_minus1
Sets the specified value to thevui_num_ticks_poc_diff_one_minus1
field. -
min_spatial_segmentation_idc
Sets the specified value to themin_spatial_segmentation_idc
field. -
max_bytes_per_pic_denom
Sets the specified value to themax_bytes_per_pic_denom
field. -
max_bits_per_min_cu_denom
Sets the specified value to themax_bits_per_min_cu_denom
field. -
log2_max_mv_length_horizontal
Sets the specified value to thelog2_max_mv_length_horizontal
field. -
log2_max_mv_length_vertical
Sets the specified value to thelog2_max_mv_length_vertical
field. -
pHrdParameters
Sets the address of the specifiedStdVideoH265HrdParameters
to thepHrdParameters
field.
-