Package org.lwjgl.vulkan.video
Class StdVideoH264SequenceParameterSet.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH264SequenceParameterSet.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH264SequenceParameterSet,StdVideoH264SequenceParameterSet.Buffer>
org.lwjgl.vulkan.video.StdVideoH264SequenceParameterSet.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoH264SequenceParameterSet>
,NativeResource
,Pointer
- Enclosing class:
StdVideoH264SequenceParameterSet
public static class StdVideoH264SequenceParameterSet.Buffer
extends StructBuffer<StdVideoH264SequenceParameterSet,StdVideoH264SequenceParameterSet.Buffer>
implements NativeResource
An array of
StdVideoH264SequenceParameterSet
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 newStdVideoH264SequenceParameterSet.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
bit_depth_chroma_minus8
(byte value) Sets the specified value to thebit_depth_chroma_minus8
field.byte
bit_depth_luma_minus8
(byte value) Sets the specified value to thebit_depth_luma_minus8
field.int
chroma_format_idc
(int value) Sets the specified value to thechroma_format_idc
field.flags()
flags
(Consumer<StdVideoH264SpsFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH264SpsFlags value) Copies the specifiedStdVideoH264SpsFlags
to theflags
field.int
frame_crop_bottom_offset
(int value) Sets the specified value to theframe_crop_bottom_offset
field.int
frame_crop_left_offset
(int value) Sets the specified value to theframe_crop_left_offset
field.int
frame_crop_right_offset
(int value) Sets the specified value to theframe_crop_right_offset
field.int
frame_crop_top_offset
(int value) Sets the specified value to theframe_crop_top_offset
field.int
level_idc
(int value) Sets the specified value to thelevel_idc
field.byte
log2_max_frame_num_minus4
(byte value) Sets the specified value to thelog2_max_frame_num_minus4
field.byte
log2_max_pic_order_cnt_lsb_minus4
(byte value) Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4
field.byte
max_num_ref_frames
(byte value) Sets the specified value to themax_num_ref_frames
field.byte
num_ref_frames_in_pic_order_cnt_cycle
(byte value) Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cycle
field.int
offset_for_non_ref_pic
(int value) Sets the specified value to theoffset_for_non_ref_pic
field.int
offset_for_top_to_bottom_field
(int value) Sets the specified value to theoffset_for_top_to_bottom_field
field.int
pic_height_in_map_units_minus1
(int value) Sets the specified value to thepic_height_in_map_units_minus1
field.int
pic_order_cnt_type
(int value) Sets the specified value to thepic_order_cnt_type
field.int
pic_width_in_mbs_minus1
(int value) Sets the specified value to thepic_width_in_mbs_minus1
field.@Nullable IntBuffer
pOffsetForRefFrame
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepOffsetForRefFrame
field.int
profile_idc
(int value) Sets the specified value to theprofile_idc
field.Sets the address of the specifiedStdVideoH264ScalingLists
to thepScalingLists
field.Sets the address of the specifiedStdVideoH264SequenceParameterSetVui
to thepSequenceParameterSetVui
field.byte
seq_parameter_set_id
(byte value) Sets the specified value to theseq_parameter_set_id
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 newStdVideoH264SequenceParameterSet.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
StdVideoH264SequenceParameterSet.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
StdVideoH264SpsFlags
view of theflags
field.
-
profile_idc
public int profile_idc()- Returns:
- the value of the
profile_idc
field.
-
level_idc
public int level_idc()- Returns:
- the value of the
level_idc
field.
-
chroma_format_idc
public int chroma_format_idc()- Returns:
- the value of the
chroma_format_idc
field.
-
seq_parameter_set_id
public byte seq_parameter_set_id()- Returns:
- the value of the
seq_parameter_set_id
field.
-
bit_depth_luma_minus8
public byte bit_depth_luma_minus8()- Returns:
- the value of the
bit_depth_luma_minus8
field.
-
bit_depth_chroma_minus8
public byte bit_depth_chroma_minus8()- Returns:
- the value of the
bit_depth_chroma_minus8
field.
-
log2_max_frame_num_minus4
public byte log2_max_frame_num_minus4()- Returns:
- the value of the
log2_max_frame_num_minus4
field.
-
pic_order_cnt_type
public int pic_order_cnt_type()- Returns:
- the value of the
pic_order_cnt_type
field.
-
offset_for_non_ref_pic
public int offset_for_non_ref_pic()- Returns:
- the value of the
offset_for_non_ref_pic
field.
-
offset_for_top_to_bottom_field
public int offset_for_top_to_bottom_field()- Returns:
- the value of the
offset_for_top_to_bottom_field
field.
-
log2_max_pic_order_cnt_lsb_minus4
public byte log2_max_pic_order_cnt_lsb_minus4()- Returns:
- the value of the
log2_max_pic_order_cnt_lsb_minus4
field.
-
num_ref_frames_in_pic_order_cnt_cycle
public byte num_ref_frames_in_pic_order_cnt_cycle()- Returns:
- the value of the
num_ref_frames_in_pic_order_cnt_cycle
field.
-
max_num_ref_frames
public byte max_num_ref_frames()- Returns:
- the value of the
max_num_ref_frames
field.
-
pic_width_in_mbs_minus1
public int pic_width_in_mbs_minus1()- Returns:
- the value of the
pic_width_in_mbs_minus1
field.
-
pic_height_in_map_units_minus1
public int pic_height_in_map_units_minus1()- Returns:
- the value of the
pic_height_in_map_units_minus1
field.
-
frame_crop_left_offset
public int frame_crop_left_offset()- Returns:
- the value of the
frame_crop_left_offset
field.
-
frame_crop_right_offset
public int frame_crop_right_offset()- Returns:
- the value of the
frame_crop_right_offset
field.
-
frame_crop_top_offset
public int frame_crop_top_offset()- Returns:
- the value of the
frame_crop_top_offset
field.
-
frame_crop_bottom_offset
public int frame_crop_bottom_offset()- Returns:
- the value of the
frame_crop_bottom_offset
field.
-
pOffsetForRefFrame
- Returns:
- a
IntBuffer
view of the data pointed to by thepOffsetForRefFrame
field.
-
pScalingLists
- Returns:
- a
StdVideoH264ScalingLists
view of the struct pointed to by thepScalingLists
field.
-
pSequenceParameterSetVui
- Returns:
- a
StdVideoH264SequenceParameterSetVui
view of the struct pointed to by thepSequenceParameterSetVui
field.
-
flags
Copies the specifiedStdVideoH264SpsFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
profile_idc
Sets the specified value to theprofile_idc
field. -
level_idc
Sets the specified value to thelevel_idc
field. -
chroma_format_idc
Sets the specified value to thechroma_format_idc
field. -
seq_parameter_set_id
Sets the specified value to theseq_parameter_set_id
field. -
bit_depth_luma_minus8
Sets the specified value to thebit_depth_luma_minus8
field. -
bit_depth_chroma_minus8
Sets the specified value to thebit_depth_chroma_minus8
field. -
log2_max_frame_num_minus4
Sets the specified value to thelog2_max_frame_num_minus4
field. -
pic_order_cnt_type
Sets the specified value to thepic_order_cnt_type
field. -
offset_for_non_ref_pic
Sets the specified value to theoffset_for_non_ref_pic
field. -
offset_for_top_to_bottom_field
Sets the specified value to theoffset_for_top_to_bottom_field
field. -
log2_max_pic_order_cnt_lsb_minus4
Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4
field. -
num_ref_frames_in_pic_order_cnt_cycle
Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cycle
field. -
max_num_ref_frames
Sets the specified value to themax_num_ref_frames
field. -
pic_width_in_mbs_minus1
Sets the specified value to thepic_width_in_mbs_minus1
field. -
pic_height_in_map_units_minus1
Sets the specified value to thepic_height_in_map_units_minus1
field. -
frame_crop_left_offset
Sets the specified value to theframe_crop_left_offset
field. -
frame_crop_right_offset
Sets the specified value to theframe_crop_right_offset
field. -
frame_crop_top_offset
Sets the specified value to theframe_crop_top_offset
field. -
frame_crop_bottom_offset
Sets the specified value to theframe_crop_bottom_offset
field. -
pOffsetForRefFrame
Sets the address of the specifiedIntBuffer
to thepOffsetForRefFrame
field. -
pScalingLists
Sets the address of the specifiedStdVideoH264ScalingLists
to thepScalingLists
field. -
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet.Buffer pSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value) Sets the address of the specifiedStdVideoH264SequenceParameterSetVui
to thepSequenceParameterSetVui
field.
-