Package org.lwjgl.vulkan.video
Class StdVideoH265SubLayerHrdParameters
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265SubLayerHrdParameters>
org.lwjgl.vulkan.video.StdVideoH265SubLayerHrdParameters
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH265SubLayerHrdParameters
extends Struct<StdVideoH265SubLayerHrdParameters>
implements NativeResource
struct StdVideoH265SubLayerHrdParameters {
uint32_t bit_rate_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE];
uint32_t cpb_size_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE];
uint32_t cpb_size_du_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE];
uint32_t bit_rate_du_value_minus1[STD_VIDEO_H265_CPB_CNT_LIST_SIZE];
uint32_t cbr_flag;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoH265SubLayerHrdParameters
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265SubLayerHrdParameters
(ByteBuffer container) Creates aStdVideoH265SubLayerHrdParameters
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
bit_rate_du_value_minus1
(int index) bit_rate_du_value_minus1
(int index, int value) Sets the specified value at the specified index of thebit_rate_du_value_minus1
field.Copies the specifiedIntBuffer
to thebit_rate_du_value_minus1
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.calloc()
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoH265SubLayerHrdParameters
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
cbr_flag()
cbr_flag
(int value) Sets the specified value to thecbr_flag
field.int
cpb_size_du_value_minus1
(int index) cpb_size_du_value_minus1
(int index, int value) Sets the specified value at the specified index of thecpb_size_du_value_minus1
field.Copies the specifiedIntBuffer
to thecpb_size_du_value_minus1
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.create()
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoH265SubLayerHrdParameters
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265SubLayerHrdParameters.Buffer
instance at the specified memory.static @Nullable StdVideoH265SubLayerHrdParameters
createSafe
(long address) static @Nullable StdVideoH265SubLayerHrdParameters.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoH265SubLayerHrdParameters
instance allocated on the specifiedMemoryStack
.static IntBuffer
nbit_rate_du_value_minus1
(long struct) Unsafe version ofbit_rate_du_value_minus1()
.static int
nbit_rate_du_value_minus1
(long struct, int index) Unsafe version ofbit_rate_du_value_minus1
.static void
nbit_rate_du_value_minus1
(long struct, int index, int value) Unsafe version ofbit_rate_du_value_minus1
.static void
nbit_rate_du_value_minus1
(long struct, IntBuffer value) Unsafe version ofbit_rate_du_value_minus1
.static IntBuffer
nbit_rate_value_minus1
(long struct) Unsafe version ofbit_rate_value_minus1()
.static int
nbit_rate_value_minus1
(long struct, int index) Unsafe version ofbit_rate_value_minus1
.static void
nbit_rate_value_minus1
(long struct, int index, int value) Unsafe version ofbit_rate_value_minus1
.static void
nbit_rate_value_minus1
(long struct, IntBuffer value) Unsafe version ofbit_rate_value_minus1
.static int
ncbr_flag
(long struct) Unsafe version ofcbr_flag()
.static void
ncbr_flag
(long struct, int value) Unsafe version ofcbr_flag
.static IntBuffer
ncpb_size_du_value_minus1
(long struct) Unsafe version ofcpb_size_du_value_minus1()
.static int
ncpb_size_du_value_minus1
(long struct, int index) Unsafe version ofcpb_size_du_value_minus1
.static void
ncpb_size_du_value_minus1
(long struct, int index, int value) Unsafe version ofcpb_size_du_value_minus1
.static void
ncpb_size_du_value_minus1
(long struct, IntBuffer value) Unsafe version ofcpb_size_du_value_minus1
.static IntBuffer
ncpb_size_value_minus1
(long struct) Unsafe version ofcpb_size_value_minus1()
.static int
ncpb_size_value_minus1
(long struct, int index) Unsafe version ofcpb_size_value_minus1
.static void
ncpb_size_value_minus1
(long struct, int index, int value) Unsafe version ofcpb_size_value_minus1
.static void
ncpb_size_value_minus1
(long struct, IntBuffer value) Unsafe version ofcpb_size_value_minus1
.set
(IntBuffer bit_rate_value_minus1, IntBuffer cpb_size_value_minus1, IntBuffer cpb_size_du_value_minus1, IntBuffer bit_rate_du_value_minus1, int cbr_flag) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
BIT_RATE_VALUE_MINUS1
public static final int BIT_RATE_VALUE_MINUS1The struct member offsets. -
CPB_SIZE_VALUE_MINUS1
public static final int CPB_SIZE_VALUE_MINUS1The struct member offsets. -
CPB_SIZE_DU_VALUE_MINUS1
public static final int CPB_SIZE_DU_VALUE_MINUS1The struct member offsets. -
BIT_RATE_DU_VALUE_MINUS1
public static final int BIT_RATE_DU_VALUE_MINUS1The struct member offsets. -
CBR_FLAG
public static final int CBR_FLAGThe struct member offsets.
-
-
Constructor Details
-
StdVideoH265SubLayerHrdParameters
Creates aStdVideoH265SubLayerHrdParameters
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoH265SubLayerHrdParameters>
-
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.
-
cpb_size_du_value_minus1
- Returns:
- a
IntBuffer
view of thecpb_size_du_value_minus1
field.
-
cpb_size_du_value_minus1
public int cpb_size_du_value_minus1(int index) - Returns:
- the value at the specified index of the
cpb_size_du_value_minus1
field.
-
bit_rate_du_value_minus1
- Returns:
- a
IntBuffer
view of thebit_rate_du_value_minus1
field.
-
bit_rate_du_value_minus1
public int bit_rate_du_value_minus1(int index) - Returns:
- the value at the specified index of the
bit_rate_du_value_minus1
field.
-
cbr_flag
public int cbr_flag()- Returns:
- the value of the
cbr_flag
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. -
cpb_size_du_value_minus1
Copies the specifiedIntBuffer
to thecpb_size_du_value_minus1
field. -
cpb_size_du_value_minus1
Sets the specified value at the specified index of thecpb_size_du_value_minus1
field. -
bit_rate_du_value_minus1
Copies the specifiedIntBuffer
to thebit_rate_du_value_minus1
field. -
bit_rate_du_value_minus1
Sets the specified value at the specified index of thebit_rate_du_value_minus1
field. -
cbr_flag
Sets the specified value to thecbr_flag
field. -
set
public StdVideoH265SubLayerHrdParameters set(IntBuffer bit_rate_value_minus1, IntBuffer cpb_size_value_minus1, IntBuffer cpb_size_du_value_minus1, IntBuffer bit_rate_du_value_minus1, int cbr_flag) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265SubLayerHrdParameters
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265SubLayerHrdParameters.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoH265SubLayerHrdParameters.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265SubLayerHrdParameters
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265SubLayerHrdParameters.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nbit_rate_value_minus1
Unsafe version ofbit_rate_value_minus1()
. -
nbit_rate_value_minus1
public static int nbit_rate_value_minus1(long struct, int index) Unsafe version ofbit_rate_value_minus1
. -
ncpb_size_value_minus1
Unsafe version ofcpb_size_value_minus1()
. -
ncpb_size_value_minus1
public static int ncpb_size_value_minus1(long struct, int index) Unsafe version ofcpb_size_value_minus1
. -
ncpb_size_du_value_minus1
Unsafe version ofcpb_size_du_value_minus1()
. -
ncpb_size_du_value_minus1
public static int ncpb_size_du_value_minus1(long struct, int index) Unsafe version ofcpb_size_du_value_minus1
. -
nbit_rate_du_value_minus1
Unsafe version ofbit_rate_du_value_minus1()
. -
nbit_rate_du_value_minus1
public static int nbit_rate_du_value_minus1(long struct, int index) Unsafe version ofbit_rate_du_value_minus1
. -
ncbr_flag
public static int ncbr_flag(long struct) Unsafe version ofcbr_flag()
. -
nbit_rate_value_minus1
Unsafe version ofbit_rate_value_minus1
. -
nbit_rate_value_minus1
public static void nbit_rate_value_minus1(long struct, int index, int value) Unsafe version ofbit_rate_value_minus1
. -
ncpb_size_value_minus1
Unsafe version ofcpb_size_value_minus1
. -
ncpb_size_value_minus1
public static void ncpb_size_value_minus1(long struct, int index, int value) Unsafe version ofcpb_size_value_minus1
. -
ncpb_size_du_value_minus1
Unsafe version ofcpb_size_du_value_minus1
. -
ncpb_size_du_value_minus1
public static void ncpb_size_du_value_minus1(long struct, int index, int value) Unsafe version ofcpb_size_du_value_minus1
. -
nbit_rate_du_value_minus1
Unsafe version ofbit_rate_du_value_minus1
. -
nbit_rate_du_value_minus1
public static void nbit_rate_du_value_minus1(long struct, int index, int value) Unsafe version ofbit_rate_du_value_minus1
. -
ncbr_flag
public static void ncbr_flag(long struct, int value) Unsafe version ofcbr_flag
.
-