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 {
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;
StdVideoH265DecPicBufMgr const * pDecPicBufMgr;
StdVideoH265HrdParameters const * pHrdParameters;
StdVideoH265ProfileTierLevel const * pProfileTierLevel;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aStdVideoH265VideoParameterSetinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoH265VideoParameterSetinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoH265VideoParameterSetinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoH265VideoParameterSetinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH265VideoParameterSet.Bufferinstance at the specified memory.static @Nullable StdVideoH265VideoParameterSetcreateSafe(long address) static @Nullable StdVideoH265VideoParameterSet.BuffercreateSafe(long address, int capacity) flags()flags(Consumer<StdVideoH265VpsFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoH265VpsFlags value) Copies the specifiedStdVideoH265VpsFlagsto theflagsfield.malloc()Returns a newStdVideoH265VideoParameterSetinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStack.static StdVideoH265VpsFlagsnflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoH265VpsFlags value) Unsafe version offlags.static StdVideoH265DecPicBufMgrnpDecPicBufMgr(long struct) Unsafe version ofpDecPicBufMgr().static voidnpDecPicBufMgr(long struct, StdVideoH265DecPicBufMgr value) Unsafe version ofpDecPicBufMgr.static StdVideoH265HrdParametersnpHrdParameters(long struct) Unsafe version ofpHrdParameters().static voidnpHrdParameters(long struct, StdVideoH265HrdParameters value) Unsafe version ofpHrdParameters.static StdVideoH265ProfileTierLevelnpProfileTierLevel(long struct) Unsafe version ofpProfileTierLevel().static voidnpProfileTierLevel(long struct, StdVideoH265ProfileTierLevel value) Unsafe version ofpProfileTierLevel.static bytenreserved1(long struct) static voidnreserved1(long struct, byte value) static bytenreserved2(long struct) static voidnreserved2(long struct, byte value) static intnreserved3(long struct) static voidnreserved3(long struct, int value) static bytenvps_max_sub_layers_minus1(long struct) Unsafe version ofvps_max_sub_layers_minus1().static voidnvps_max_sub_layers_minus1(long struct, byte value) Unsafe version ofvps_max_sub_layers_minus1.static intnvps_num_ticks_poc_diff_one_minus1(long struct) Unsafe version ofvps_num_ticks_poc_diff_one_minus1().static voidnvps_num_ticks_poc_diff_one_minus1(long struct, int value) Unsafe version ofvps_num_ticks_poc_diff_one_minus1.static intnvps_num_units_in_tick(long struct) Unsafe version ofvps_num_units_in_tick().static voidnvps_num_units_in_tick(long struct, int value) Unsafe version ofvps_num_units_in_tick.static intnvps_time_scale(long struct) Unsafe version ofvps_time_scale().static voidnvps_time_scale(long struct, int value) Unsafe version ofvps_time_scale.static bytenvps_video_parameter_set_id(long struct) Unsafe version ofvps_video_parameter_set_id().static voidnvps_video_parameter_set_id(long struct, byte value) Unsafe version ofvps_video_parameter_set_id.Sets the address of the specifiedStdVideoH265DecPicBufMgrto thepDecPicBufMgrfield.Sets the address of the specifiedStdVideoH265HrdParametersto thepHrdParametersfield.Sets the address of the specifiedStdVideoH265ProfileTierLevelto thepProfileTierLevelfield.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.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.bytevps_max_sub_layers_minus1(byte value) Sets the specified value to thevps_max_sub_layers_minus1field.intvps_num_ticks_poc_diff_one_minus1(int value) Sets the specified value to thevps_num_ticks_poc_diff_one_minus1field.intvps_num_units_in_tick(int value) Sets the specified value to thevps_num_units_in_tickfield.intvps_time_scale(int value) Sets the specified value to thevps_time_scalefield.bytevps_video_parameter_set_id(byte value) Sets the specified value to thevps_video_parameter_set_idfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aStdVideoH265VideoParameterSetinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoH265VideoParameterSet>
-
flags
- Returns:
- a
StdVideoH265VpsFlagsview of theflagsfield.
-
vps_video_parameter_set_id
public byte vps_video_parameter_set_id()- Returns:
- the value of the
vps_video_parameter_set_idfield.
-
vps_max_sub_layers_minus1
public byte vps_max_sub_layers_minus1()- Returns:
- the value of the
vps_max_sub_layers_minus1field.
-
vps_num_units_in_tick
public int vps_num_units_in_tick()- Returns:
- the value of the
vps_num_units_in_tickfield.
-
vps_time_scale
public int vps_time_scale()- Returns:
- the value of the
vps_time_scalefield.
-
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_minus1field.
-
pDecPicBufMgr
- Returns:
- a
StdVideoH265DecPicBufMgrview of the struct pointed to by thepDecPicBufMgrfield.
-
pHrdParameters
- Returns:
- a
StdVideoH265HrdParametersview of the struct pointed to by thepHrdParametersfield.
-
pProfileTierLevel
- Returns:
- a
StdVideoH265ProfileTierLevelview of the struct pointed to by thepProfileTierLevelfield.
-
flags
Copies the specifiedStdVideoH265VpsFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
vps_video_parameter_set_id
Sets the specified value to thevps_video_parameter_set_idfield. -
vps_max_sub_layers_minus1
Sets the specified value to thevps_max_sub_layers_minus1field. -
vps_num_units_in_tick
Sets the specified value to thevps_num_units_in_tickfield. -
vps_time_scale
Sets the specified value to thevps_time_scalefield. -
vps_num_ticks_poc_diff_one_minus1
Sets the specified value to thevps_num_ticks_poc_diff_one_minus1field. -
pDecPicBufMgr
Sets the address of the specifiedStdVideoH265DecPicBufMgrto thepDecPicBufMgrfield. -
pHrdParameters
Sets the address of the specifiedStdVideoH265HrdParametersto thepHrdParametersfield. -
pProfileTierLevel
Sets the address of the specifiedStdVideoH265ProfileTierLevelto thepProfileTierLevelfield. -
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 newStdVideoH265VideoParameterSetinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265VideoParameterSetinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265VideoParameterSetinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265VideoParameterSetinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265VideoParameterSet.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStackand 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
-