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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytebit_rate_scale(byte value) Sets the specified value to thebit_rate_scalefield.intbit_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_minus1field.bit_rate_value_minus1(IntBuffer value) Copies the specifiedIntBufferto thebit_rate_value_minus1field.cbr_flag()bytecbr_flag(int index) cbr_flag(int index, byte value) Sets the specified value at the specified index of thecbr_flagfield.cbr_flag(ByteBuffer value) Copies the specifiedByteBufferto thecbr_flagfield.bytecpb_cnt_minus1(byte value) Sets the specified value to thecpb_cnt_minus1field.intcpb_removal_delay_length_minus1(int value) Sets the specified value to thecpb_removal_delay_length_minus1field.bytecpb_size_scale(byte value) Sets the specified value to thecpb_size_scalefield.intcpb_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_minus1field.cpb_size_value_minus1(IntBuffer value) Copies the specifiedIntBufferto thecpb_size_value_minus1field.intdpb_output_delay_length_minus1(int value) Sets the specified value to thedpb_output_delay_length_minus1field.intinitial_cpb_removal_delay_length_minus1(int value) Sets the specified value to theinitial_cpb_removal_delay_length_minus1field.inttime_offset_length(int value) Sets the specified value to thetime_offset_lengthfield.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 newStdVideoH264HrdParameters.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
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_minus1field.
-
bit_rate_scale
public byte bit_rate_scale()- Returns:
- the value of the
bit_rate_scalefield.
-
cpb_size_scale
public byte cpb_size_scale()- Returns:
- the value of the
cpb_size_scalefield.
-
bit_rate_value_minus1
- Returns:
- a
IntBufferview of thebit_rate_value_minus1field.
-
bit_rate_value_minus1
public int bit_rate_value_minus1(int index) - Returns:
- the value at the specified index of the
bit_rate_value_minus1field.
-
cpb_size_value_minus1
- Returns:
- a
IntBufferview of thecpb_size_value_minus1field.
-
cpb_size_value_minus1
public int cpb_size_value_minus1(int index) - Returns:
- the value at the specified index of the
cpb_size_value_minus1field.
-
cbr_flag
- Returns:
- a
ByteBufferview of thecbr_flagfield.
-
cbr_flag
public byte cbr_flag(int index) - Returns:
- the value at the specified index of the
cbr_flagfield.
-
initial_cpb_removal_delay_length_minus1
public int initial_cpb_removal_delay_length_minus1()- Returns:
- the value of the
initial_cpb_removal_delay_length_minus1field.
-
cpb_removal_delay_length_minus1
public int cpb_removal_delay_length_minus1()- Returns:
- the value of the
cpb_removal_delay_length_minus1field.
-
dpb_output_delay_length_minus1
public int dpb_output_delay_length_minus1()- Returns:
- the value of the
dpb_output_delay_length_minus1field.
-
time_offset_length
public int time_offset_length()- Returns:
- the value of the
time_offset_lengthfield.
-
cpb_cnt_minus1
Sets the specified value to thecpb_cnt_minus1field. -
bit_rate_scale
Sets the specified value to thebit_rate_scalefield. -
cpb_size_scale
Sets the specified value to thecpb_size_scalefield. -
bit_rate_value_minus1
Copies the specifiedIntBufferto thebit_rate_value_minus1field. -
bit_rate_value_minus1
Sets the specified value at the specified index of thebit_rate_value_minus1field. -
cpb_size_value_minus1
Copies the specifiedIntBufferto thecpb_size_value_minus1field. -
cpb_size_value_minus1
Sets the specified value at the specified index of thecpb_size_value_minus1field. -
cbr_flag
Copies the specifiedByteBufferto thecbr_flagfield. -
cbr_flag
Sets the specified value at the specified index of thecbr_flagfield. -
initial_cpb_removal_delay_length_minus1
Sets the specified value to theinitial_cpb_removal_delay_length_minus1field. -
cpb_removal_delay_length_minus1
Sets the specified value to thecpb_removal_delay_length_minus1field. -
dpb_output_delay_length_minus1
Sets the specified value to thedpb_output_delay_length_minus1field. -
time_offset_length
Sets the specified value to thetime_offset_lengthfield.
-