Package org.lwjgl.vulkan.video
Class StdVideoH265VideoParameterSet
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoH265VideoParameterSet
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH265VideoParameterSet extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoH265VideoParameterSet { uint8_t vps_video_parameter_set_id; uint8_t vps_max_sub_layers_minus1; uint32_t vps_num_units_in_tick; uint32_t vps_time_scale; uint32_t vps_num_ticks_poc_diff_one_minus1;StdVideoH265DecPicBufMgr* pDecPicBufMgr;StdVideoH265HrdParameters* pHrdParameters;StdVideoH265VpsFlagsflags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoH265VideoParameterSet.BufferAn array ofStdVideoH265VideoParameterSetstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFLAGS
PDECPICBUFMGR
PHRDPARAMETERSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intVPS_MAX_SUB_LAYERS_MINUS1
VPS_NUM_TICKS_POC_DIFF_ONE_MINUS1
VPS_NUM_UNITS_IN_TICK
VPS_TIME_SCALE
VPS_VIDEO_PARAMETER_SET_IDThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description StdVideoH265VideoParameterSet(java.nio.ByteBuffer container)Creates aStdVideoH265VideoParameterSetinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoH265VideoParameterSetcalloc()Returns a newStdVideoH265VideoParameterSetinstance allocated withmemCalloc.static StdVideoH265VideoParameterSet.Buffercalloc(int capacity)Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemCalloc.static StdVideoH265VideoParameterSet.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265VideoParameterSetcalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265VideoParameterSetcreate()Returns a newStdVideoH265VideoParameterSetinstance allocated withBufferUtils.static StdVideoH265VideoParameterSet.Buffercreate(int capacity)Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withBufferUtils.static StdVideoH265VideoParameterSetcreate(long address)Returns a newStdVideoH265VideoParameterSetinstance for the specified memory address.static StdVideoH265VideoParameterSet.Buffercreate(long address, int capacity)Create aStdVideoH265VideoParameterSet.Bufferinstance at the specified memory.static StdVideoH265VideoParameterSetcreateSafe(long address)static StdVideoH265VideoParameterSet.BuffercreateSafe(long address, int capacity)StdVideoH265VpsFlagsflags()StdVideoH265VideoParameterSetflags(java.util.function.Consumer<StdVideoH265VpsFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoH265VideoParameterSetflags(StdVideoH265VpsFlags value)Copies the specifiedStdVideoH265VpsFlagsto theflagsfield.static StdVideoH265VideoParameterSetmalloc()Returns a newStdVideoH265VideoParameterSetinstance allocated withmemAlloc.static StdVideoH265VideoParameterSet.Buffermalloc(int capacity)Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemAlloc.static StdVideoH265VideoParameterSet.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265VideoParameterSetmalloc(org.lwjgl.system.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 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.StdVideoH265DecPicBufMgrpDecPicBufMgr()StdVideoH265VideoParameterSetpDecPicBufMgr(StdVideoH265DecPicBufMgr value)Sets the address of the specifiedStdVideoH265DecPicBufMgrto thepDecPicBufMgrfield.StdVideoH265HrdParameterspHrdParameters()StdVideoH265VideoParameterSetpHrdParameters(StdVideoH265HrdParameters value)Sets the address of the specifiedStdVideoH265HrdParametersto thepHrdParametersfield.StdVideoH265VideoParameterSetset(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, StdVideoH265VpsFlags flags)Initializes this struct with the specified values.StdVideoH265VideoParameterSetset(StdVideoH265VideoParameterSet src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.bytevps_max_sub_layers_minus1()StdVideoH265VideoParameterSetvps_max_sub_layers_minus1(byte value)Sets the specified value to thevps_max_sub_layers_minus1field.intvps_num_ticks_poc_diff_one_minus1()StdVideoH265VideoParameterSetvps_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()StdVideoH265VideoParameterSetvps_num_units_in_tick(int value)Sets the specified value to thevps_num_units_in_tickfield.intvps_time_scale()StdVideoH265VideoParameterSetvps_time_scale(int value)Sets the specified value to thevps_time_scalefield.bytevps_video_parameter_set_id()StdVideoH265VideoParameterSetvps_video_parameter_set_id(byte value)Sets the specified value to thevps_video_parameter_set_idfield.
-
-
-
Constructor Detail
-
StdVideoH265VideoParameterSet
public StdVideoH265VideoParameterSet(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
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
public StdVideoH265DecPicBufMgr pDecPicBufMgr()
- Returns:
- a
StdVideoH265DecPicBufMgrview of the struct pointed to by thepDecPicBufMgrfield.
-
pHrdParameters
public StdVideoH265HrdParameters pHrdParameters()
- Returns:
- a
StdVideoH265HrdParametersview of the struct pointed to by thepHrdParametersfield.
-
flags
public StdVideoH265VpsFlags flags()
- Returns:
- a
StdVideoH265VpsFlagsview of theflagsfield.
-
vps_video_parameter_set_id
public StdVideoH265VideoParameterSet vps_video_parameter_set_id(byte value)
Sets the specified value to thevps_video_parameter_set_idfield.
-
vps_max_sub_layers_minus1
public StdVideoH265VideoParameterSet vps_max_sub_layers_minus1(byte value)
Sets the specified value to thevps_max_sub_layers_minus1field.
-
vps_num_units_in_tick
public StdVideoH265VideoParameterSet vps_num_units_in_tick(int value)
Sets the specified value to thevps_num_units_in_tickfield.
-
vps_time_scale
public StdVideoH265VideoParameterSet vps_time_scale(int value)
Sets the specified value to thevps_time_scalefield.
-
vps_num_ticks_poc_diff_one_minus1
public StdVideoH265VideoParameterSet vps_num_ticks_poc_diff_one_minus1(int value)
Sets the specified value to thevps_num_ticks_poc_diff_one_minus1field.
-
pDecPicBufMgr
public StdVideoH265VideoParameterSet pDecPicBufMgr(StdVideoH265DecPicBufMgr value)
Sets the address of the specifiedStdVideoH265DecPicBufMgrto thepDecPicBufMgrfield.
-
pHrdParameters
public StdVideoH265VideoParameterSet pHrdParameters(StdVideoH265HrdParameters value)
Sets the address of the specifiedStdVideoH265HrdParametersto thepHrdParametersfield.
-
flags
public StdVideoH265VideoParameterSet flags(StdVideoH265VpsFlags value)
Copies the specifiedStdVideoH265VpsFlagsto theflagsfield.
-
flags
public StdVideoH265VideoParameterSet flags(java.util.function.Consumer<StdVideoH265VpsFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
set
public StdVideoH265VideoParameterSet set(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, StdVideoH265VpsFlags flags)
Initializes this struct with the specified values.
-
set
public StdVideoH265VideoParameterSet set(StdVideoH265VideoParameterSet src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoH265VideoParameterSet malloc()
Returns a newStdVideoH265VideoParameterSetinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoH265VideoParameterSet calloc()
Returns a newStdVideoH265VideoParameterSetinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoH265VideoParameterSet create()
Returns a newStdVideoH265VideoParameterSetinstance allocated withBufferUtils.
-
create
public static StdVideoH265VideoParameterSet create(long address)
Returns a newStdVideoH265VideoParameterSetinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoH265VideoParameterSet createSafe(long address)
-
malloc
public static StdVideoH265VideoParameterSet.Buffer malloc(int capacity)
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoH265VideoParameterSet.Buffer calloc(int capacity)
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265VideoParameterSet.Buffer create(int capacity)
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265VideoParameterSet.Buffer create(long address, int capacity)
Create aStdVideoH265VideoParameterSet.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoH265VideoParameterSet.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoH265VideoParameterSet malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoH265VideoParameterSet calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VideoParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoH265VideoParameterSet.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoH265VideoParameterSet.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VideoParameterSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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().
-
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().
-
npDecPicBufMgr
public static StdVideoH265DecPicBufMgr npDecPicBufMgr(long struct)
Unsafe version ofpDecPicBufMgr().
-
npHrdParameters
public static StdVideoH265HrdParameters npHrdParameters(long struct)
Unsafe version ofpHrdParameters().
-
nflags
public static StdVideoH265VpsFlags nflags(long struct)
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.
-
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.
-
npDecPicBufMgr
public static void npDecPicBufMgr(long struct, StdVideoH265DecPicBufMgr value)Unsafe version ofpDecPicBufMgr.
-
npHrdParameters
public static void npHrdParameters(long struct, StdVideoH265HrdParameters value)Unsafe version ofpHrdParameters.
-
nflags
public static void nflags(long struct, StdVideoH265VpsFlags value)Unsafe version offlags.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-