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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytebit_depth_chroma_minus8(byte value) Sets the specified value to thebit_depth_chroma_minus8field.bytebit_depth_luma_minus8(byte value) Sets the specified value to thebit_depth_luma_minus8field.intchroma_format_idc(int value) Sets the specified value to thechroma_format_idcfield.flags()flags(Consumer<StdVideoH264SpsFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoH264SpsFlags value) Copies the specifiedStdVideoH264SpsFlagsto theflagsfield.intframe_crop_bottom_offset(int value) Sets the specified value to theframe_crop_bottom_offsetfield.intframe_crop_left_offset(int value) Sets the specified value to theframe_crop_left_offsetfield.intframe_crop_right_offset(int value) Sets the specified value to theframe_crop_right_offsetfield.intframe_crop_top_offset(int value) Sets the specified value to theframe_crop_top_offsetfield.intlevel_idc(int value) Sets the specified value to thelevel_idcfield.bytelog2_max_frame_num_minus4(byte value) Sets the specified value to thelog2_max_frame_num_minus4field.bytelog2_max_pic_order_cnt_lsb_minus4(byte value) Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field.bytemax_num_ref_frames(byte value) Sets the specified value to themax_num_ref_framesfield.bytenum_ref_frames_in_pic_order_cnt_cycle(byte value) Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield.intoffset_for_non_ref_pic(int value) Sets the specified value to theoffset_for_non_ref_picfield.intoffset_for_top_to_bottom_field(int value) Sets the specified value to theoffset_for_top_to_bottom_fieldfield.intpic_height_in_map_units_minus1(int value) Sets the specified value to thepic_height_in_map_units_minus1field.intpic_order_cnt_type(int value) Sets the specified value to thepic_order_cnt_typefield.intpic_width_in_mbs_minus1(int value) Sets the specified value to thepic_width_in_mbs_minus1field.@Nullable IntBufferpOffsetForRefFrame(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepOffsetForRefFramefield.intprofile_idc(int value) Sets the specified value to theprofile_idcfield.Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield.Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVuifield.byteseq_parameter_set_id(byte value) Sets the specified value to theseq_parameter_set_idfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoH264SequenceParameterSet.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 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
StdVideoH264SpsFlagsview of theflagsfield.
-
profile_idc
public int profile_idc()- Returns:
- the value of the
profile_idcfield.
-
level_idc
public int level_idc()- Returns:
- the value of the
level_idcfield.
-
chroma_format_idc
public int chroma_format_idc()- Returns:
- the value of the
chroma_format_idcfield.
-
seq_parameter_set_id
public byte seq_parameter_set_id()- Returns:
- the value of the
seq_parameter_set_idfield.
-
bit_depth_luma_minus8
public byte bit_depth_luma_minus8()- Returns:
- the value of the
bit_depth_luma_minus8field.
-
bit_depth_chroma_minus8
public byte bit_depth_chroma_minus8()- Returns:
- the value of the
bit_depth_chroma_minus8field.
-
log2_max_frame_num_minus4
public byte log2_max_frame_num_minus4()- Returns:
- the value of the
log2_max_frame_num_minus4field.
-
pic_order_cnt_type
public int pic_order_cnt_type()- Returns:
- the value of the
pic_order_cnt_typefield.
-
offset_for_non_ref_pic
public int offset_for_non_ref_pic()- Returns:
- the value of the
offset_for_non_ref_picfield.
-
offset_for_top_to_bottom_field
public int offset_for_top_to_bottom_field()- Returns:
- the value of the
offset_for_top_to_bottom_fieldfield.
-
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_minus4field.
-
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_cyclefield.
-
max_num_ref_frames
public byte max_num_ref_frames()- Returns:
- the value of the
max_num_ref_framesfield.
-
pic_width_in_mbs_minus1
public int pic_width_in_mbs_minus1()- Returns:
- the value of the
pic_width_in_mbs_minus1field.
-
pic_height_in_map_units_minus1
public int pic_height_in_map_units_minus1()- Returns:
- the value of the
pic_height_in_map_units_minus1field.
-
frame_crop_left_offset
public int frame_crop_left_offset()- Returns:
- the value of the
frame_crop_left_offsetfield.
-
frame_crop_right_offset
public int frame_crop_right_offset()- Returns:
- the value of the
frame_crop_right_offsetfield.
-
frame_crop_top_offset
public int frame_crop_top_offset()- Returns:
- the value of the
frame_crop_top_offsetfield.
-
frame_crop_bottom_offset
public int frame_crop_bottom_offset()- Returns:
- the value of the
frame_crop_bottom_offsetfield.
-
pOffsetForRefFrame
- Returns:
- a
IntBufferview of the data pointed to by thepOffsetForRefFramefield.
-
pScalingLists
- Returns:
- a
StdVideoH264ScalingListsview of the struct pointed to by thepScalingListsfield.
-
pSequenceParameterSetVui
- Returns:
- a
StdVideoH264SequenceParameterSetVuiview of the struct pointed to by thepSequenceParameterSetVuifield.
-
flags
Copies the specifiedStdVideoH264SpsFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
profile_idc
Sets the specified value to theprofile_idcfield. -
level_idc
Sets the specified value to thelevel_idcfield. -
chroma_format_idc
Sets the specified value to thechroma_format_idcfield. -
seq_parameter_set_id
Sets the specified value to theseq_parameter_set_idfield. -
bit_depth_luma_minus8
Sets the specified value to thebit_depth_luma_minus8field. -
bit_depth_chroma_minus8
Sets the specified value to thebit_depth_chroma_minus8field. -
log2_max_frame_num_minus4
Sets the specified value to thelog2_max_frame_num_minus4field. -
pic_order_cnt_type
Sets the specified value to thepic_order_cnt_typefield. -
offset_for_non_ref_pic
Sets the specified value to theoffset_for_non_ref_picfield. -
offset_for_top_to_bottom_field
Sets the specified value to theoffset_for_top_to_bottom_fieldfield. -
log2_max_pic_order_cnt_lsb_minus4
Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field. -
num_ref_frames_in_pic_order_cnt_cycle
Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield. -
max_num_ref_frames
Sets the specified value to themax_num_ref_framesfield. -
pic_width_in_mbs_minus1
Sets the specified value to thepic_width_in_mbs_minus1field. -
pic_height_in_map_units_minus1
Sets the specified value to thepic_height_in_map_units_minus1field. -
frame_crop_left_offset
Sets the specified value to theframe_crop_left_offsetfield. -
frame_crop_right_offset
Sets the specified value to theframe_crop_right_offsetfield. -
frame_crop_top_offset
Sets the specified value to theframe_crop_top_offsetfield. -
frame_crop_bottom_offset
Sets the specified value to theframe_crop_bottom_offsetfield. -
pOffsetForRefFrame
Sets the address of the specifiedIntBufferto thepOffsetForRefFramefield. -
pScalingLists
Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield. -
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet.Buffer pSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value) Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVuifield.
-