Package org.lwjgl.vulkan.video
Class StdVideoH264HrdParameters.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH264HrdParameters.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH264HrdParameters,StdVideoH264HrdParameters.Buffer>
org.lwjgl.vulkan.video.StdVideoH264HrdParameters.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoH264HrdParameters>
,NativeResource
,Pointer
- Enclosing class:
StdVideoH264HrdParameters
public static class StdVideoH264HrdParameters.Buffer
extends StructBuffer<StdVideoH264HrdParameters,StdVideoH264HrdParameters.Buffer>
implements NativeResource
An array of
StdVideoH264HrdParameters
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 newStdVideoH264HrdParameters.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
bit_rate_scale
(byte value) Sets the specified value to thebit_rate_scale
field.int
bit_rate_value_minus1
(int index) bit_rate_value_minus1
(int index, int value) Sets the specified value at the specified index of thebit_rate_value_minus1
field.bit_rate_value_minus1
(IntBuffer value) Copies the specifiedIntBuffer
to thebit_rate_value_minus1
field.cbr_flag()
byte
cbr_flag
(int index) cbr_flag
(int index, byte value) Sets the specified value at the specified index of thecbr_flag
field.cbr_flag
(ByteBuffer value) Copies the specifiedByteBuffer
to thecbr_flag
field.byte
cpb_cnt_minus1
(byte value) Sets the specified value to thecpb_cnt_minus1
field.int
cpb_removal_delay_length_minus1
(int value) Sets the specified value to thecpb_removal_delay_length_minus1
field.byte
cpb_size_scale
(byte value) Sets the specified value to thecpb_size_scale
field.int
cpb_size_value_minus1
(int index) cpb_size_value_minus1
(int index, int value) Sets the specified value at the specified index of thecpb_size_value_minus1
field.cpb_size_value_minus1
(IntBuffer value) Copies the specifiedIntBuffer
to thecpb_size_value_minus1
field.int
dpb_output_delay_length_minus1
(int value) Sets the specified value to thedpb_output_delay_length_minus1
field.int
initial_cpb_removal_delay_length_minus1
(int value) Sets the specified value to theinitial_cpb_removal_delay_length_minus1
field.int
time_offset_length
(int value) Sets the specified value to thetime_offset_length
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 newStdVideoH264HrdParameters.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
StdVideoH264HrdParameters.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
-
cpb_cnt_minus1
public byte cpb_cnt_minus1()- Returns:
- the value of the
cpb_cnt_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.
-
bit_rate_value_minus1
- Returns:
- a
IntBuffer
view of thebit_rate_value_minus1
field.
-
bit_rate_value_minus1
public int bit_rate_value_minus1(int index) - Returns:
- the value at the specified index of the
bit_rate_value_minus1
field.
-
cpb_size_value_minus1
- Returns:
- a
IntBuffer
view of thecpb_size_value_minus1
field.
-
cpb_size_value_minus1
public int cpb_size_value_minus1(int index) - Returns:
- the value at the specified index of the
cpb_size_value_minus1
field.
-
cbr_flag
- Returns:
- a
ByteBuffer
view of thecbr_flag
field.
-
cbr_flag
public byte cbr_flag(int index) - Returns:
- the value at the specified index of the
cbr_flag
field.
-
initial_cpb_removal_delay_length_minus1
public int initial_cpb_removal_delay_length_minus1()- Returns:
- the value of the
initial_cpb_removal_delay_length_minus1
field.
-
cpb_removal_delay_length_minus1
public int cpb_removal_delay_length_minus1()- Returns:
- the value of the
cpb_removal_delay_length_minus1
field.
-
dpb_output_delay_length_minus1
public int dpb_output_delay_length_minus1()- Returns:
- the value of the
dpb_output_delay_length_minus1
field.
-
time_offset_length
public int time_offset_length()- Returns:
- the value of the
time_offset_length
field.
-
cpb_cnt_minus1
Sets the specified value to thecpb_cnt_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. -
bit_rate_value_minus1
Copies the specifiedIntBuffer
to thebit_rate_value_minus1
field. -
bit_rate_value_minus1
Sets the specified value at the specified index of thebit_rate_value_minus1
field. -
cpb_size_value_minus1
Copies the specifiedIntBuffer
to thecpb_size_value_minus1
field. -
cpb_size_value_minus1
Sets the specified value at the specified index of thecpb_size_value_minus1
field. -
cbr_flag
Copies the specifiedByteBuffer
to thecbr_flag
field. -
cbr_flag
Sets the specified value at the specified index of thecbr_flag
field. -
initial_cpb_removal_delay_length_minus1
Sets the specified value to theinitial_cpb_removal_delay_length_minus1
field. -
cpb_removal_delay_length_minus1
Sets the specified value to thecpb_removal_delay_length_minus1
field. -
dpb_output_delay_length_minus1
Sets the specified value to thedpb_output_delay_length_minus1
field. -
time_offset_length
Sets the specified value to thetime_offset_length
field.
-