Package org.lwjgl.vulkan.video
Class StdVideoH264PictureParameterSet.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoH264PictureParameterSet,StdVideoH264PictureParameterSet.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoH264PictureParameterSet.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoH264PictureParameterSet>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoH264PictureParameterSet
public static class StdVideoH264PictureParameterSet.Buffer extends org.lwjgl.system.StructBuffer<StdVideoH264PictureParameterSet,StdVideoH264PictureParameterSet.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoH264PictureParameterSetstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byStdVideoH264PictureParameterSet.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
-
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.
-
flags
public StdVideoH264PpsFlags flags()
- Returns:
- a
StdVideoH264PpsFlagsview of theflagsfield.
-
pScalingLists
public StdVideoH264ScalingLists pScalingLists()
- Returns:
- a
StdVideoH264ScalingListsview of the struct pointed to by theStdVideoH264PictureParameterSet.pScalingLists()field.
-
seq_parameter_set_id
public StdVideoH264PictureParameterSet.Buffer seq_parameter_set_id(byte value)
Sets the specified value to theseq_parameter_set_idfield.
-
pic_parameter_set_id
public StdVideoH264PictureParameterSet.Buffer pic_parameter_set_id(byte value)
Sets the specified value to thepic_parameter_set_idfield.
-
num_ref_idx_l0_default_active_minus1
public StdVideoH264PictureParameterSet.Buffer num_ref_idx_l0_default_active_minus1(byte value)
Sets the specified value to thenum_ref_idx_l0_default_active_minus1field.
-
num_ref_idx_l1_default_active_minus1
public StdVideoH264PictureParameterSet.Buffer num_ref_idx_l1_default_active_minus1(byte value)
Sets the specified value to thenum_ref_idx_l1_default_active_minus1field.
-
weighted_bipred_idc
public StdVideoH264PictureParameterSet.Buffer weighted_bipred_idc(int value)
Sets the specified value to theweighted_bipred_idcfield.
-
pic_init_qp_minus26
public StdVideoH264PictureParameterSet.Buffer pic_init_qp_minus26(byte value)
Sets the specified value to thepic_init_qp_minus26field.
-
pic_init_qs_minus26
public StdVideoH264PictureParameterSet.Buffer pic_init_qs_minus26(byte value)
Sets the specified value to thepic_init_qs_minus26field.
-
chroma_qp_index_offset
public StdVideoH264PictureParameterSet.Buffer chroma_qp_index_offset(byte value)
Sets the specified value to thechroma_qp_index_offsetfield.
-
second_chroma_qp_index_offset
public StdVideoH264PictureParameterSet.Buffer second_chroma_qp_index_offset(byte value)
Sets the specified value to thesecond_chroma_qp_index_offsetfield.
-
flags
public StdVideoH264PictureParameterSet.Buffer flags(StdVideoH264PpsFlags value)
Copies the specifiedStdVideoH264PpsFlagsto theflagsfield.
-
flags
public StdVideoH264PictureParameterSet.Buffer flags(java.util.function.Consumer<StdVideoH264PpsFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
pScalingLists
public StdVideoH264PictureParameterSet.Buffer pScalingLists(StdVideoH264ScalingLists value)
Sets the address of the specifiedStdVideoH264ScalingListsto theStdVideoH264PictureParameterSet.pScalingLists()field.
-
-