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 Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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 StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface 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
- Returns:
- the value of the
profile_idcfield.
-
level_idc
- Returns:
- the value of the
level_idcfield.
-
chroma_format_idc
- Returns:
- the value of the
chroma_format_idcfield.
-
seq_parameter_set_id
- Returns:
- the value of the
seq_parameter_set_idfield.
-
bit_depth_luma_minus8
- Returns:
- the value of the
bit_depth_luma_minus8field.
-
bit_depth_chroma_minus8
- Returns:
- the value of the
bit_depth_chroma_minus8field.
-
log2_max_frame_num_minus4
- Returns:
- the value of the
log2_max_frame_num_minus4field.
-
pic_order_cnt_type
- Returns:
- the value of the
pic_order_cnt_typefield.
-
offset_for_non_ref_pic
- Returns:
- the value of the
offset_for_non_ref_picfield.
-
offset_for_top_to_bottom_field
- Returns:
- the value of the
offset_for_top_to_bottom_fieldfield.
-
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
- Returns:
- the value of the
num_ref_frames_in_pic_order_cnt_cyclefield.
-
max_num_ref_frames
- Returns:
- the value of the
max_num_ref_framesfield.
-
pic_width_in_mbs_minus1
- Returns:
- the value of the
pic_width_in_mbs_minus1field.
-
pic_height_in_map_units_minus1
- Returns:
- the value of the
pic_height_in_map_units_minus1field.
-
frame_crop_left_offset
- Returns:
- the value of the
frame_crop_left_offsetfield.
-
frame_crop_right_offset
- Returns:
- the value of the
frame_crop_right_offsetfield.
-
frame_crop_top_offset
- Returns:
- the value of the
frame_crop_top_offsetfield.
-
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
@NativeType("StdVideoH264SequenceParameterSetVui const *") public StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui()- Returns:
- a
StdVideoH264SequenceParameterSetVuiview of the struct pointed to by thepSequenceParameterSetVuifield.
-
flags
Copies the specifiedStdVideoH264SpsFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
profile_idc
public StdVideoH264SequenceParameterSet.Buffer profile_idc(@NativeType("StdVideoH264ProfileIdc") int value) Sets the specified value to theprofile_idcfield. -
level_idc
public StdVideoH264SequenceParameterSet.Buffer level_idc(@NativeType("StdVideoH264LevelIdc") int value) Sets the specified value to thelevel_idcfield. -
chroma_format_idc
public StdVideoH264SequenceParameterSet.Buffer chroma_format_idc(@NativeType("StdVideoH264ChromaFormatIdc") int value) Sets the specified value to thechroma_format_idcfield. -
seq_parameter_set_id
public StdVideoH264SequenceParameterSet.Buffer seq_parameter_set_id(@NativeType("uint8_t") byte value) Sets the specified value to theseq_parameter_set_idfield. -
bit_depth_luma_minus8
public StdVideoH264SequenceParameterSet.Buffer bit_depth_luma_minus8(@NativeType("uint8_t") byte value) Sets the specified value to thebit_depth_luma_minus8field. -
bit_depth_chroma_minus8
public StdVideoH264SequenceParameterSet.Buffer bit_depth_chroma_minus8(@NativeType("uint8_t") byte value) Sets the specified value to thebit_depth_chroma_minus8field. -
log2_max_frame_num_minus4
public StdVideoH264SequenceParameterSet.Buffer log2_max_frame_num_minus4(@NativeType("uint8_t") byte value) Sets the specified value to thelog2_max_frame_num_minus4field. -
pic_order_cnt_type
public StdVideoH264SequenceParameterSet.Buffer pic_order_cnt_type(@NativeType("StdVideoH264PocType") int value) Sets the specified value to thepic_order_cnt_typefield. -
offset_for_non_ref_pic
public StdVideoH264SequenceParameterSet.Buffer offset_for_non_ref_pic(@NativeType("int32_t") 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(@NativeType("int32_t") int value) Sets the specified value to theoffset_for_top_to_bottom_fieldfield. -
log2_max_pic_order_cnt_lsb_minus4
public StdVideoH264SequenceParameterSet.Buffer log2_max_pic_order_cnt_lsb_minus4(@NativeType("uint8_t") byte value) Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field. -
num_ref_frames_in_pic_order_cnt_cycle
public StdVideoH264SequenceParameterSet.Buffer num_ref_frames_in_pic_order_cnt_cycle(@NativeType("uint8_t") 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(@NativeType("uint8_t") byte value) Sets the specified value to themax_num_ref_framesfield. -
pic_width_in_mbs_minus1
public StdVideoH264SequenceParameterSet.Buffer pic_width_in_mbs_minus1(@NativeType("uint32_t") 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(@NativeType("uint32_t") int value) Sets the specified value to thepic_height_in_map_units_minus1field. -
frame_crop_left_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_left_offset(@NativeType("uint32_t") int value) Sets the specified value to theframe_crop_left_offsetfield. -
frame_crop_right_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_right_offset(@NativeType("uint32_t") int value) Sets the specified value to theframe_crop_right_offsetfield. -
frame_crop_top_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_top_offset(@NativeType("uint32_t") int value) Sets the specified value to theframe_crop_top_offsetfield. -
frame_crop_bottom_offset
public StdVideoH264SequenceParameterSet.Buffer frame_crop_bottom_offset(@NativeType("uint32_t") int value) Sets the specified value to theframe_crop_bottom_offsetfield. -
pOffsetForRefFrame
public StdVideoH264SequenceParameterSet.Buffer pOffsetForRefFrame(@NativeType("int32_t const *") @Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepOffsetForRefFramefield. -
pScalingLists
public StdVideoH264SequenceParameterSet.Buffer pScalingLists(@NativeType("StdVideoH264ScalingLists const *") StdVideoH264ScalingLists value) Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield. -
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet.Buffer pSequenceParameterSetVui(@NativeType("StdVideoH264SequenceParameterSetVui const *") StdVideoH264SequenceParameterSetVui value) Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVuifield.
-