Package org.lwjgl.vulkan.video
Class StdVideoH264PictureParameterSet.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH264PictureParameterSet.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH264PictureParameterSet,StdVideoH264PictureParameterSet.Buffer>
org.lwjgl.vulkan.video.StdVideoH264PictureParameterSet.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<StdVideoH264PictureParameterSet>,NativeResource,Pointer
- Enclosing class:
StdVideoH264PictureParameterSet
public static class StdVideoH264PictureParameterSet.Buffer
extends StructBuffer<StdVideoH264PictureParameterSet,StdVideoH264PictureParameterSet.Buffer>
implements NativeResource
An array of
StdVideoH264PictureParameterSet 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 newStdVideoH264PictureParameterSet.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytechroma_qp_index_offset(byte value) Sets the specified value to thechroma_qp_index_offsetfield.flags()flags(Consumer<StdVideoH264PpsFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoH264PpsFlags value) Copies the specifiedStdVideoH264PpsFlagsto theflagsfield.bytenum_ref_idx_l0_default_active_minus1(byte value) Sets the specified value to thenum_ref_idx_l0_default_active_minus1field.bytenum_ref_idx_l1_default_active_minus1(byte value) Sets the specified value to thenum_ref_idx_l1_default_active_minus1field.bytepic_init_qp_minus26(byte value) Sets the specified value to thepic_init_qp_minus26field.bytepic_init_qs_minus26(byte value) Sets the specified value to thepic_init_qs_minus26field.bytepic_parameter_set_id(byte value) Sets the specified value to thepic_parameter_set_idfield.Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield.bytesecond_chroma_qp_index_offset(byte value) Sets the specified value to thesecond_chroma_qp_index_offsetfield.byteseq_parameter_set_id(byte value) Sets the specified value to theseq_parameter_set_idfield.intweighted_bipred_idc(int value) Sets the specified value to theweighted_bipred_idcfield.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 newStdVideoH264PictureParameterSet.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
StdVideoH264PictureParameterSet.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
StdVideoH264PpsFlagsview of theflagsfield.
-
seq_parameter_set_id
public byte seq_parameter_set_id()- Returns:
- the value of the
seq_parameter_set_idfield.
-
pic_parameter_set_id
public byte pic_parameter_set_id()- Returns:
- the value of the
pic_parameter_set_idfield.
-
num_ref_idx_l0_default_active_minus1
public byte num_ref_idx_l0_default_active_minus1()- Returns:
- the value of the
num_ref_idx_l0_default_active_minus1field.
-
num_ref_idx_l1_default_active_minus1
public byte num_ref_idx_l1_default_active_minus1()- Returns:
- the value of the
num_ref_idx_l1_default_active_minus1field.
-
weighted_bipred_idc
public int weighted_bipred_idc()- Returns:
- the value of the
weighted_bipred_idcfield.
-
pic_init_qp_minus26
public byte pic_init_qp_minus26()- Returns:
- the value of the
pic_init_qp_minus26field.
-
pic_init_qs_minus26
public byte pic_init_qs_minus26()- Returns:
- the value of the
pic_init_qs_minus26field.
-
chroma_qp_index_offset
public byte chroma_qp_index_offset()- Returns:
- the value of the
chroma_qp_index_offsetfield.
-
second_chroma_qp_index_offset
public byte second_chroma_qp_index_offset()- Returns:
- the value of the
second_chroma_qp_index_offsetfield.
-
pScalingLists
- Returns:
- a
StdVideoH264ScalingListsview of the struct pointed to by thepScalingListsfield.
-
flags
Copies the specifiedStdVideoH264PpsFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
seq_parameter_set_id
Sets the specified value to theseq_parameter_set_idfield. -
pic_parameter_set_id
Sets the specified value to thepic_parameter_set_idfield. -
num_ref_idx_l0_default_active_minus1
Sets the specified value to thenum_ref_idx_l0_default_active_minus1field. -
num_ref_idx_l1_default_active_minus1
Sets the specified value to thenum_ref_idx_l1_default_active_minus1field. -
weighted_bipred_idc
Sets the specified value to theweighted_bipred_idcfield. -
pic_init_qp_minus26
Sets the specified value to thepic_init_qp_minus26field. -
pic_init_qs_minus26
Sets the specified value to thepic_init_qs_minus26field. -
chroma_qp_index_offset
Sets the specified value to thechroma_qp_index_offsetfield. -
second_chroma_qp_index_offset
Sets the specified value to thesecond_chroma_qp_index_offsetfield. -
pScalingLists
Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield.
-