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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
chroma_qp_index_offset
(byte value) Sets the specified value to thechroma_qp_index_offset
field.flags()
flags
(Consumer<StdVideoH264PpsFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH264PpsFlags value) Copies the specifiedStdVideoH264PpsFlags
to theflags
field.byte
num_ref_idx_l0_default_active_minus1
(byte value) Sets the specified value to thenum_ref_idx_l0_default_active_minus1
field.byte
num_ref_idx_l1_default_active_minus1
(byte value) Sets the specified value to thenum_ref_idx_l1_default_active_minus1
field.byte
pic_init_qp_minus26
(byte value) Sets the specified value to thepic_init_qp_minus26
field.byte
pic_init_qs_minus26
(byte value) Sets the specified value to thepic_init_qs_minus26
field.byte
pic_parameter_set_id
(byte value) Sets the specified value to thepic_parameter_set_id
field.Sets the address of the specifiedStdVideoH264ScalingLists
to thepScalingLists
field.byte
second_chroma_qp_index_offset
(byte value) Sets the specified value to thesecond_chroma_qp_index_offset
field.byte
seq_parameter_set_id
(byte value) Sets the specified value to theseq_parameter_set_id
field.int
weighted_bipred_idc
(int value) Sets the specified value to theweighted_bipred_idc
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 newStdVideoH264PictureParameterSet.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
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
StdVideoH264PpsFlags
view of theflags
field.
-
seq_parameter_set_id
public byte seq_parameter_set_id()- Returns:
- the value of the
seq_parameter_set_id
field.
-
pic_parameter_set_id
public byte pic_parameter_set_id()- Returns:
- the value of the
pic_parameter_set_id
field.
-
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_minus1
field.
-
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_minus1
field.
-
weighted_bipred_idc
public int weighted_bipred_idc()- Returns:
- the value of the
weighted_bipred_idc
field.
-
pic_init_qp_minus26
public byte pic_init_qp_minus26()- Returns:
- the value of the
pic_init_qp_minus26
field.
-
pic_init_qs_minus26
public byte pic_init_qs_minus26()- Returns:
- the value of the
pic_init_qs_minus26
field.
-
chroma_qp_index_offset
public byte chroma_qp_index_offset()- Returns:
- the value of the
chroma_qp_index_offset
field.
-
second_chroma_qp_index_offset
public byte second_chroma_qp_index_offset()- Returns:
- the value of the
second_chroma_qp_index_offset
field.
-
pScalingLists
- Returns:
- a
StdVideoH264ScalingLists
view of the struct pointed to by thepScalingLists
field.
-
flags
Copies the specifiedStdVideoH264PpsFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
seq_parameter_set_id
Sets the specified value to theseq_parameter_set_id
field. -
pic_parameter_set_id
Sets the specified value to thepic_parameter_set_id
field. -
num_ref_idx_l0_default_active_minus1
Sets the specified value to thenum_ref_idx_l0_default_active_minus1
field. -
num_ref_idx_l1_default_active_minus1
Sets the specified value to thenum_ref_idx_l1_default_active_minus1
field. -
weighted_bipred_idc
Sets the specified value to theweighted_bipred_idc
field. -
pic_init_qp_minus26
Sets the specified value to thepic_init_qp_minus26
field. -
pic_init_qs_minus26
Sets the specified value to thepic_init_qs_minus26
field. -
chroma_qp_index_offset
Sets the specified value to thechroma_qp_index_offset
field. -
second_chroma_qp_index_offset
Sets the specified value to thesecond_chroma_qp_index_offset
field. -
pScalingLists
Sets the address of the specifiedStdVideoH264ScalingLists
to thepScalingLists
field.
-