Package org.lwjgl.vulkan.video
Class StdVideoH265VideoParameterSet.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH265VideoParameterSet.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH265VideoParameterSet,StdVideoH265VideoParameterSet.Buffer>
org.lwjgl.vulkan.video.StdVideoH265VideoParameterSet.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoH265VideoParameterSet>
,NativeResource
,Pointer
- Enclosing class:
StdVideoH265VideoParameterSet
public static class StdVideoH265VideoParameterSet.Buffer
extends StructBuffer<StdVideoH265VideoParameterSet,StdVideoH265VideoParameterSet.Buffer>
implements NativeResource
An array of
StdVideoH265VideoParameterSet
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 newStdVideoH265VideoParameterSet.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionflags()
flags
(Consumer<StdVideoH265VpsFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH265VpsFlags value) Copies the specifiedStdVideoH265VpsFlags
to theflags
field.Sets the address of the specifiedStdVideoH265DecPicBufMgr
to thepDecPicBufMgr
field.Sets the address of the specifiedStdVideoH265HrdParameters
to thepHrdParameters
field.Sets the address of the specifiedStdVideoH265ProfileTierLevel
to thepProfileTierLevel
field.byte
vps_max_sub_layers_minus1
(byte value) Sets the specified value to thevps_max_sub_layers_minus1
field.int
vps_num_ticks_poc_diff_one_minus1
(int value) Sets the specified value to thevps_num_ticks_poc_diff_one_minus1
field.int
vps_num_units_in_tick
(int value) Sets the specified value to thevps_num_units_in_tick
field.int
vps_time_scale
(int value) Sets the specified value to thevps_time_scale
field.byte
vps_video_parameter_set_id
(byte value) Sets the specified value to thevps_video_parameter_set_id
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 newStdVideoH265VideoParameterSet.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
StdVideoH265VideoParameterSet.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
StdVideoH265VpsFlags
view of theflags
field.
-
vps_video_parameter_set_id
public byte vps_video_parameter_set_id()- Returns:
- the value of the
vps_video_parameter_set_id
field.
-
vps_max_sub_layers_minus1
public byte vps_max_sub_layers_minus1()- Returns:
- the value of the
vps_max_sub_layers_minus1
field.
-
vps_num_units_in_tick
public int vps_num_units_in_tick()- Returns:
- the value of the
vps_num_units_in_tick
field.
-
vps_time_scale
public int vps_time_scale()- Returns:
- the value of the
vps_time_scale
field.
-
vps_num_ticks_poc_diff_one_minus1
public int vps_num_ticks_poc_diff_one_minus1()- Returns:
- the value of the
vps_num_ticks_poc_diff_one_minus1
field.
-
pDecPicBufMgr
- Returns:
- a
StdVideoH265DecPicBufMgr
view of the struct pointed to by thepDecPicBufMgr
field.
-
pHrdParameters
- Returns:
- a
StdVideoH265HrdParameters
view of the struct pointed to by thepHrdParameters
field.
-
pProfileTierLevel
- Returns:
- a
StdVideoH265ProfileTierLevel
view of the struct pointed to by thepProfileTierLevel
field.
-
flags
Copies the specifiedStdVideoH265VpsFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
vps_video_parameter_set_id
Sets the specified value to thevps_video_parameter_set_id
field. -
vps_max_sub_layers_minus1
Sets the specified value to thevps_max_sub_layers_minus1
field. -
vps_num_units_in_tick
Sets the specified value to thevps_num_units_in_tick
field. -
vps_time_scale
Sets the specified value to thevps_time_scale
field. -
vps_num_ticks_poc_diff_one_minus1
Sets the specified value to thevps_num_ticks_poc_diff_one_minus1
field. -
pDecPicBufMgr
Sets the address of the specifiedStdVideoH265DecPicBufMgr
to thepDecPicBufMgr
field. -
pHrdParameters
Sets the address of the specifiedStdVideoH265HrdParameters
to thepHrdParameters
field. -
pProfileTierLevel
Sets the address of the specifiedStdVideoH265ProfileTierLevel
to thepProfileTierLevel
field.
-