Package org.lwjgl.vulkan.video
Class StdVideoH265VideoParameterSet
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265VideoParameterSet>
org.lwjgl.vulkan.video.StdVideoH265VideoParameterSet
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH265VideoParameterSet
extends Struct<StdVideoH265VideoParameterSet>
implements NativeResource
struct StdVideoH265VideoParameterSet {
{@link StdVideoH265VpsFlags StdVideoH265VpsFlags} flags;
uint8_t vps_video_parameter_set_id;
uint8_t vps_max_sub_layers_minus1;
uint8_t reserved1;
uint8_t reserved2;
uint32_t vps_num_units_in_tick;
uint32_t vps_time_scale;
uint32_t vps_num_ticks_poc_diff_one_minus1;
uint32_t reserved3;
{@link StdVideoH265DecPicBufMgr StdVideoH265DecPicBufMgr} const * pDecPicBufMgr;
{@link StdVideoH265HrdParameters StdVideoH265HrdParameters} const * pHrdParameters;
{@link StdVideoH265ProfileTierLevel StdVideoH265ProfileTierLevel} const * pProfileTierLevel;
}
-
Nested Class Summary
Nested ClassesNested 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 member offsets.static final int
The struct member offsets.static final int
The struct size 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.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265VideoParameterSet
(ByteBuffer container) Creates aStdVideoH265VideoParameterSet
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoH265VideoParameterSet
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoH265VideoParameterSet
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoH265VideoParameterSet
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoH265VideoParameterSet
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265VideoParameterSet.Buffer
instance at the specified memory.static @Nullable StdVideoH265VideoParameterSet
createSafe
(long address) static @Nullable StdVideoH265VideoParameterSet.Buffer
createSafe
(long address, int capacity) flags()
flags
(Consumer<StdVideoH265VpsFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH265VpsFlags value) Copies the specifiedStdVideoH265VpsFlags
to theflags
field.malloc()
Returns a newStdVideoH265VideoParameterSet
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoH265VideoParameterSet
instance allocated on the specifiedMemoryStack
.static StdVideoH265VpsFlags
nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoH265VpsFlags value) Unsafe version offlags
.static StdVideoH265DecPicBufMgr
npDecPicBufMgr
(long struct) Unsafe version ofpDecPicBufMgr()
.static void
npDecPicBufMgr
(long struct, StdVideoH265DecPicBufMgr value) Unsafe version ofpDecPicBufMgr
.static StdVideoH265HrdParameters
npHrdParameters
(long struct) Unsafe version ofpHrdParameters()
.static void
npHrdParameters
(long struct, StdVideoH265HrdParameters value) Unsafe version ofpHrdParameters
.static StdVideoH265ProfileTierLevel
npProfileTierLevel
(long struct) Unsafe version ofpProfileTierLevel()
.static void
npProfileTierLevel
(long struct, StdVideoH265ProfileTierLevel value) Unsafe version ofpProfileTierLevel
.static byte
nreserved1
(long struct) static void
nreserved1
(long struct, byte value) static byte
nreserved2
(long struct) static void
nreserved2
(long struct, byte value) static int
nreserved3
(long struct) static void
nreserved3
(long struct, int value) static byte
nvps_max_sub_layers_minus1
(long struct) Unsafe version ofvps_max_sub_layers_minus1()
.static void
nvps_max_sub_layers_minus1
(long struct, byte value) Unsafe version ofvps_max_sub_layers_minus1
.static int
nvps_num_ticks_poc_diff_one_minus1
(long struct) Unsafe version ofvps_num_ticks_poc_diff_one_minus1()
.static void
nvps_num_ticks_poc_diff_one_minus1
(long struct, int value) Unsafe version ofvps_num_ticks_poc_diff_one_minus1
.static int
nvps_num_units_in_tick
(long struct) Unsafe version ofvps_num_units_in_tick()
.static void
nvps_num_units_in_tick
(long struct, int value) Unsafe version ofvps_num_units_in_tick
.static int
nvps_time_scale
(long struct) Unsafe version ofvps_time_scale()
.static void
nvps_time_scale
(long struct, int value) Unsafe version ofvps_time_scale
.static byte
nvps_video_parameter_set_id
(long struct) Unsafe version ofvps_video_parameter_set_id()
.static void
nvps_video_parameter_set_id
(long struct, byte value) Unsafe version ofvps_video_parameter_set_id
.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.Copies the specified struct data to this struct.set
(StdVideoH265VpsFlags flags, byte vps_video_parameter_set_id, byte vps_max_sub_layers_minus1, int vps_num_units_in_tick, int vps_time_scale, int vps_num_ticks_poc_diff_one_minus1, StdVideoH265DecPicBufMgr pDecPicBufMgr, StdVideoH265HrdParameters pHrdParameters, StdVideoH265ProfileTierLevel pProfileTierLevel) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.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.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. -
FLAGS
public static final int FLAGSThe struct member offsets. -
VPS_VIDEO_PARAMETER_SET_ID
public static final int VPS_VIDEO_PARAMETER_SET_IDThe struct member offsets. -
VPS_MAX_SUB_LAYERS_MINUS1
public static final int VPS_MAX_SUB_LAYERS_MINUS1The struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
RESERVED2
public static final int RESERVED2The struct member offsets. -
VPS_NUM_UNITS_IN_TICK
public static final int VPS_NUM_UNITS_IN_TICKThe struct member offsets. -
VPS_TIME_SCALE
public static final int VPS_TIME_SCALEThe struct member offsets. -
VPS_NUM_TICKS_POC_DIFF_ONE_MINUS1
public static final int VPS_NUM_TICKS_POC_DIFF_ONE_MINUS1The struct member offsets. -
RESERVED3
public static final int RESERVED3The struct member offsets. -
PDECPICBUFMGR
public static final int PDECPICBUFMGRThe struct member offsets. -
PHRDPARAMETERS
public static final int PHRDPARAMETERSThe struct member offsets. -
PPROFILETIERLEVEL
public static final int PPROFILETIERLEVELThe struct member offsets.
-
-
Constructor Details
-
StdVideoH265VideoParameterSet
Creates aStdVideoH265VideoParameterSet
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<StdVideoH265VideoParameterSet>
-
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. -
set
public StdVideoH265VideoParameterSet set(StdVideoH265VpsFlags flags, byte vps_video_parameter_set_id, byte vps_max_sub_layers_minus1, int vps_num_units_in_tick, int vps_time_scale, int vps_num_ticks_poc_diff_one_minus1, StdVideoH265DecPicBufMgr pDecPicBufMgr, StdVideoH265HrdParameters pHrdParameters, StdVideoH265ProfileTierLevel pProfileTierLevel) 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 newStdVideoH265VideoParameterSet
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265VideoParameterSet
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265VideoParameterSet
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265VideoParameterSet
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265VideoParameterSet.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265VideoParameterSet
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265VideoParameterSet
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265VideoParameterSet.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nflags
Unsafe version offlags()
. -
nvps_video_parameter_set_id
public static byte nvps_video_parameter_set_id(long struct) Unsafe version ofvps_video_parameter_set_id()
. -
nvps_max_sub_layers_minus1
public static byte nvps_max_sub_layers_minus1(long struct) Unsafe version ofvps_max_sub_layers_minus1()
. -
nreserved1
public static byte nreserved1(long struct) -
nreserved2
public static byte nreserved2(long struct) -
nvps_num_units_in_tick
public static int nvps_num_units_in_tick(long struct) Unsafe version ofvps_num_units_in_tick()
. -
nvps_time_scale
public static int nvps_time_scale(long struct) Unsafe version ofvps_time_scale()
. -
nvps_num_ticks_poc_diff_one_minus1
public static int nvps_num_ticks_poc_diff_one_minus1(long struct) Unsafe version ofvps_num_ticks_poc_diff_one_minus1()
. -
nreserved3
public static int nreserved3(long struct) -
npDecPicBufMgr
Unsafe version ofpDecPicBufMgr()
. -
npHrdParameters
Unsafe version ofpHrdParameters()
. -
npProfileTierLevel
Unsafe version ofpProfileTierLevel()
. -
nflags
Unsafe version offlags
. -
nvps_video_parameter_set_id
public static void nvps_video_parameter_set_id(long struct, byte value) Unsafe version ofvps_video_parameter_set_id
. -
nvps_max_sub_layers_minus1
public static void nvps_max_sub_layers_minus1(long struct, byte value) Unsafe version ofvps_max_sub_layers_minus1
. -
nreserved1
public static void nreserved1(long struct, byte value) -
nreserved2
public static void nreserved2(long struct, byte value) -
nvps_num_units_in_tick
public static void nvps_num_units_in_tick(long struct, int value) Unsafe version ofvps_num_units_in_tick
. -
nvps_time_scale
public static void nvps_time_scale(long struct, int value) Unsafe version ofvps_time_scale
. -
nvps_num_ticks_poc_diff_one_minus1
public static void nvps_num_ticks_poc_diff_one_minus1(long struct, int value) Unsafe version ofvps_num_ticks_poc_diff_one_minus1
. -
nreserved3
public static void nreserved3(long struct, int value) -
npDecPicBufMgr
Unsafe version ofpDecPicBufMgr
. -
npHrdParameters
Unsafe version ofpHrdParameters
. -
npProfileTierLevel
Unsafe version ofpProfileTierLevel
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-