Package org.lwjgl.vulkan.video
Class StdVideoH265HrdParameters.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH265HrdParameters.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH265HrdParameters,StdVideoH265HrdParameters.Buffer>
org.lwjgl.vulkan.video.StdVideoH265HrdParameters.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoH265HrdParameters>
,NativeResource
,Pointer
- Enclosing class:
StdVideoH265HrdParameters
public static class StdVideoH265HrdParameters.Buffer
extends StructBuffer<StdVideoH265HrdParameters,StdVideoH265HrdParameters.Buffer>
implements NativeResource
An array of
StdVideoH265HrdParameters
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 newStdVideoH265HrdParameters.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
au_cpb_removal_delay_length_minus1
(byte value) Sets the specified value to theau_cpb_removal_delay_length_minus1
field.byte
bit_rate_scale
(byte value) Sets the specified value to thebit_rate_scale
field.byte
cpb_cnt_minus1
(int index) cpb_cnt_minus1
(int index, byte value) Sets the specified value at the specified index of thecpb_cnt_minus1
field.cpb_cnt_minus1
(ByteBuffer value) Copies the specifiedByteBuffer
to thecpb_cnt_minus1
field.byte
cpb_size_du_scale
(byte value) Sets the specified value to thecpb_size_du_scale
field.byte
cpb_size_scale
(byte value) Sets the specified value to thecpb_size_scale
field.byte
dpb_output_delay_du_length_minus1
(byte value) Sets the specified value to thedpb_output_delay_du_length_minus1
field.byte
dpb_output_delay_length_minus1
(byte value) Sets the specified value to thedpb_output_delay_length_minus1
field.byte
du_cpb_removal_delay_increment_length_minus1
(byte value) Sets the specified value to thedu_cpb_removal_delay_increment_length_minus1
field.short
elemental_duration_in_tc_minus1
(int index) elemental_duration_in_tc_minus1
(int index, short value) Sets the specified value at the specified index of theelemental_duration_in_tc_minus1
field.Copies the specifiedShortBuffer
to theelemental_duration_in_tc_minus1
field.flags()
flags
(Consumer<StdVideoH265HrdFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH265HrdFlags value) Copies the specifiedStdVideoH265HrdFlags
to theflags
field.byte
initial_cpb_removal_delay_length_minus1
(byte value) Sets the specified value to theinitial_cpb_removal_delay_length_minus1
field.Sets the address of the specifiedStdVideoH265SubLayerHrdParameters
to thepSubLayerHrdParametersNal
field.Sets the address of the specifiedStdVideoH265SubLayerHrdParameters
to thepSubLayerHrdParametersVcl
field.byte
tick_divisor_minus2
(byte value) Sets the specified value to thetick_divisor_minus2
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 newStdVideoH265HrdParameters.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
StdVideoH265HrdParameters.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
StdVideoH265HrdFlags
view of theflags
field.
-
tick_divisor_minus2
public byte tick_divisor_minus2()- Returns:
- the value of the
tick_divisor_minus2
field.
-
du_cpb_removal_delay_increment_length_minus1
public byte du_cpb_removal_delay_increment_length_minus1()- Returns:
- the value of the
du_cpb_removal_delay_increment_length_minus1
field.
-
dpb_output_delay_du_length_minus1
public byte dpb_output_delay_du_length_minus1()- Returns:
- the value of the
dpb_output_delay_du_length_minus1
field.
-
bit_rate_scale
public byte bit_rate_scale()- Returns:
- the value of the
bit_rate_scale
field.
-
cpb_size_scale
public byte cpb_size_scale()- Returns:
- the value of the
cpb_size_scale
field.
-
cpb_size_du_scale
public byte cpb_size_du_scale()- Returns:
- the value of the
cpb_size_du_scale
field.
-
initial_cpb_removal_delay_length_minus1
public byte initial_cpb_removal_delay_length_minus1()- Returns:
- the value of the
initial_cpb_removal_delay_length_minus1
field.
-
au_cpb_removal_delay_length_minus1
public byte au_cpb_removal_delay_length_minus1()- Returns:
- the value of the
au_cpb_removal_delay_length_minus1
field.
-
dpb_output_delay_length_minus1
public byte dpb_output_delay_length_minus1()- Returns:
- the value of the
dpb_output_delay_length_minus1
field.
-
cpb_cnt_minus1
- Returns:
- a
ByteBuffer
view of thecpb_cnt_minus1
field.
-
cpb_cnt_minus1
public byte cpb_cnt_minus1(int index) - Returns:
- the value at the specified index of the
cpb_cnt_minus1
field.
-
elemental_duration_in_tc_minus1
- Returns:
- a
ShortBuffer
view of theelemental_duration_in_tc_minus1
field.
-
elemental_duration_in_tc_minus1
public short elemental_duration_in_tc_minus1(int index) - Returns:
- the value at the specified index of the
elemental_duration_in_tc_minus1
field.
-
pSubLayerHrdParametersNal
- Returns:
- a
StdVideoH265SubLayerHrdParameters
view of the struct pointed to by thepSubLayerHrdParametersNal
field.
-
pSubLayerHrdParametersVcl
- Returns:
- a
StdVideoH265SubLayerHrdParameters
view of the struct pointed to by thepSubLayerHrdParametersVcl
field.
-
flags
Copies the specifiedStdVideoH265HrdFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
tick_divisor_minus2
Sets the specified value to thetick_divisor_minus2
field. -
du_cpb_removal_delay_increment_length_minus1
Sets the specified value to thedu_cpb_removal_delay_increment_length_minus1
field. -
dpb_output_delay_du_length_minus1
Sets the specified value to thedpb_output_delay_du_length_minus1
field. -
bit_rate_scale
Sets the specified value to thebit_rate_scale
field. -
cpb_size_scale
Sets the specified value to thecpb_size_scale
field. -
cpb_size_du_scale
Sets the specified value to thecpb_size_du_scale
field. -
initial_cpb_removal_delay_length_minus1
Sets the specified value to theinitial_cpb_removal_delay_length_minus1
field. -
au_cpb_removal_delay_length_minus1
Sets the specified value to theau_cpb_removal_delay_length_minus1
field. -
dpb_output_delay_length_minus1
Sets the specified value to thedpb_output_delay_length_minus1
field. -
cpb_cnt_minus1
Copies the specifiedByteBuffer
to thecpb_cnt_minus1
field. -
cpb_cnt_minus1
Sets the specified value at the specified index of thecpb_cnt_minus1
field. -
elemental_duration_in_tc_minus1
Copies the specifiedShortBuffer
to theelemental_duration_in_tc_minus1
field. -
elemental_duration_in_tc_minus1
Sets the specified value at the specified index of theelemental_duration_in_tc_minus1
field. -
pSubLayerHrdParametersNal
public StdVideoH265HrdParameters.Buffer pSubLayerHrdParametersNal(StdVideoH265SubLayerHrdParameters value) Sets the address of the specifiedStdVideoH265SubLayerHrdParameters
to thepSubLayerHrdParametersNal
field. -
pSubLayerHrdParametersVcl
public StdVideoH265HrdParameters.Buffer pSubLayerHrdParametersVcl(StdVideoH265SubLayerHrdParameters value) Sets the address of the specifiedStdVideoH265SubLayerHrdParameters
to thepSubLayerHrdParametersVcl
field.
-