Package org.lwjgl.vulkan.video
Class StdVideoH264SequenceParameterSet.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoH264SequenceParameterSet,StdVideoH264SequenceParameterSet.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoH264SequenceParameterSet.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoH264SequenceParameterSet>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoH264SequenceParameterSet
public static class StdVideoH264SequenceParameterSet.Buffer extends org.lwjgl.system.StructBuffer<StdVideoH264SequenceParameterSet,StdVideoH264SequenceParameterSet.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoH264SequenceParameterSetstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byStdVideoH264SequenceParameterSet.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
-
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.
-
seq_parameter_set_id
public byte seq_parameter_set_id()
- Returns:
- the value of the
seq_parameter_set_idfield.
-
chroma_format_idc
public int chroma_format_idc()
- Returns:
- the value of the
chroma_format_idcfield.
-
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.
-
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.
-
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.
-
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.
-
flags
public StdVideoH264SpsFlags flags()
- Returns:
- a
StdVideoH264SpsFlagsview of theflagsfield.
-
pOffsetForRefFrame
@Nullable public java.nio.IntBuffer pOffsetForRefFrame()
- Returns:
- a
IntBufferview of the data pointed to by theStdVideoH264SequenceParameterSet.pOffsetForRefFrame()field.
-
pScalingLists
public StdVideoH264ScalingLists pScalingLists()
- Returns:
- a
StdVideoH264ScalingListsview of the struct pointed to by theStdVideoH264SequenceParameterSet.pScalingLists()field.
-
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui()
- Returns:
- a
StdVideoH264SequenceParameterSetVuiview of the struct pointed to by theStdVideoH264SequenceParameterSet.pSequenceParameterSetVui()field.
-
profile_idc
public StdVideoH264SequenceParameterSet.Buffer profile_idc(int value)
Sets the specified value to theprofile_idcfield.
-
level_idc
public StdVideoH264SequenceParameterSet.Buffer level_idc(int value)
Sets the specified value to thelevel_idcfield.
-
seq_parameter_set_id
public StdVideoH264SequenceParameterSet.Buffer seq_parameter_set_id(byte value)
Sets the specified value to theseq_parameter_set_idfield.
-
chroma_format_idc
public StdVideoH264SequenceParameterSet.Buffer chroma_format_idc(int value)
Sets the specified value to thechroma_format_idcfield.
-
bit_depth_luma_minus8
public StdVideoH264SequenceParameterSet.Buffer bit_depth_luma_minus8(byte value)
Sets the specified value to thebit_depth_luma_minus8field.
-
bit_depth_chroma_minus8
public StdVideoH264SequenceParameterSet.Buffer bit_depth_chroma_minus8(byte value)
Sets the specified value to thebit_depth_chroma_minus8field.
-
log2_max_frame_num_minus4
public StdVideoH264SequenceParameterSet.Buffer log2_max_frame_num_minus4(byte value)
Sets the specified value to thelog2_max_frame_num_minus4field.
-
pic_order_cnt_type
public StdVideoH264SequenceParameterSet.Buffer pic_order_cnt_type(int value)
Sets the specified value to thepic_order_cnt_typefield.
-
log2_max_pic_order_cnt_lsb_minus4
public StdVideoH264SequenceParameterSet.Buffer log2_max_pic_order_cnt_lsb_minus4(byte value)
Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field.
-
offset_for_non_ref_pic
public StdVideoH264SequenceParameterSet.Buffer offset_for_non_ref_pic(int value)
Sets the specified value to theoffset_for_non_ref_picfield.
-
offset_for_top_to_bottom_field
public StdVideoH264SequenceParameterSet.Buffer offset_for_top_to_bottom_field(int value)
Sets the specified value to theoffset_for_top_to_bottom_fieldfield.
-
num_ref_frames_in_pic_order_cnt_cycle
public StdVideoH264SequenceParameterSet.Buffer num_ref_frames_in_pic_order_cnt_cycle(byte value)
Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield.
-
max_num_ref_frames
public StdVideoH264SequenceParameterSet.Buffer max_num_ref_frames(byte value)
Sets the specified value to themax_num_ref_framesfield.
-
pic_width_in_mbs_minus1
public StdVideoH264SequenceParameterSet.Buffer pic_width_in_mbs_minus1(int value)
Sets the specified value to thepic_width_in_mbs_minus1field.
-
pic_height_in_map_units_minus1
public StdVideoH264SequenceParameterSet.Buffer pic_height_in_map_units_minus1(int value)
Sets the specified value to thepic_height_in_map_units_minus1field.
-
frame_crop_left_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_left_offset(int value)
Sets the specified value to theframe_crop_left_offsetfield.
-
frame_crop_right_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_right_offset(int value)
Sets the specified value to theframe_crop_right_offsetfield.
-
frame_crop_top_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_top_offset(int value)
Sets the specified value to theframe_crop_top_offsetfield.
-
frame_crop_bottom_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_bottom_offset(int value)
Sets the specified value to theframe_crop_bottom_offsetfield.
-
flags
public StdVideoH264SequenceParameterSet.Buffer flags(StdVideoH264SpsFlags value)
Copies the specifiedStdVideoH264SpsFlagsto theflagsfield.
-
flags
public StdVideoH264SequenceParameterSet.Buffer flags(java.util.function.Consumer<StdVideoH264SpsFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
pOffsetForRefFrame
public StdVideoH264SequenceParameterSet.Buffer pOffsetForRefFrame(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theStdVideoH264SequenceParameterSet.pOffsetForRefFrame()field.
-
pScalingLists
public StdVideoH264SequenceParameterSet.Buffer pScalingLists(StdVideoH264ScalingLists value)
Sets the address of the specifiedStdVideoH264ScalingListsto theStdVideoH264SequenceParameterSet.pScalingLists()field.
-
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet.Buffer pSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value)
Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito theStdVideoH264SequenceParameterSet.pSequenceParameterSetVui()field.
-
-