Package org.lwjgl.vulkan.video
Class StdVideoH265VpsFlags
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct StdVideoH265VpsFlags {
uint32_t vps_temporal_id_nesting_flag : 1;
uint32_t vps_sub_layer_ordering_info_present_flag : 1;
uint32_t vps_timing_info_present_flag : 1;
uint32_t vps_poc_proportional_to_timing_flag : 1;
}-
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265VpsFlags(ByteBuffer container) Creates aStdVideoH265VpsFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265VpsFlagscalloc()Returns a newStdVideoH265VpsFlagsinstance allocated withmemCalloc.static StdVideoH265VpsFlags.Buffercalloc(int capacity) Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemCalloc.static StdVideoH265VpsFlags.Buffercalloc(int capacity, MemoryStack stack) Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265VpsFlagscalloc(MemoryStack stack) Returns a newStdVideoH265VpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265VpsFlagscreate()Returns a newStdVideoH265VpsFlagsinstance allocated withBufferUtils.static StdVideoH265VpsFlags.Buffercreate(int capacity) Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withBufferUtils.static StdVideoH265VpsFlagscreate(long address) Returns a newStdVideoH265VpsFlagsinstance for the specified memory address.static StdVideoH265VpsFlags.Buffercreate(long address, int capacity) Create aStdVideoH265VpsFlags.Bufferinstance at the specified memory.static @Nullable StdVideoH265VpsFlagscreateSafe(long address) static @Nullable StdVideoH265VpsFlags.BuffercreateSafe(long address, int capacity) static StdVideoH265VpsFlagsmalloc()Returns a newStdVideoH265VpsFlagsinstance allocated withmemAlloc.static StdVideoH265VpsFlags.Buffermalloc(int capacity) Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemAlloc.static StdVideoH265VpsFlags.Buffermalloc(int capacity, MemoryStack stack) Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265VpsFlagsmalloc(MemoryStack stack) Returns a newStdVideoH265VpsFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct) static voidnbitfield0(long struct, int value) static intnvps_poc_proportional_to_timing_flag(long struct) Unsafe version ofvps_poc_proportional_to_timing_flag().static voidnvps_poc_proportional_to_timing_flag(long struct, int value) Unsafe version ofvps_poc_proportional_to_timing_flag.static intnvps_sub_layer_ordering_info_present_flag(long struct) Unsafe version ofvps_sub_layer_ordering_info_present_flag().static voidnvps_sub_layer_ordering_info_present_flag(long struct, int value) Unsafe version ofvps_sub_layer_ordering_info_present_flag.static intnvps_temporal_id_nesting_flag(long struct) Unsafe version ofvps_temporal_id_nesting_flag().static voidnvps_temporal_id_nesting_flag(long struct, int value) Unsafe version ofvps_temporal_id_nesting_flag.static intnvps_timing_info_present_flag(long struct) Unsafe version ofvps_timing_info_present_flag().static voidnvps_timing_info_present_flag(long struct, int value) Unsafe version ofvps_timing_info_present_flag.set(boolean vps_temporal_id_nesting_flag, boolean vps_sub_layer_ordering_info_present_flag, boolean vps_timing_info_present_flag, boolean vps_poc_proportional_to_timing_flag) Initializes this struct with the specified values.set(StdVideoH265VpsFlags src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).booleanvps_poc_proportional_to_timing_flag(boolean value) Sets the specified value to thevps_poc_proportional_to_timing_flagfield.booleanvps_sub_layer_ordering_info_present_flag(boolean value) Sets the specified value to thevps_sub_layer_ordering_info_present_flagfield.booleanvps_temporal_id_nesting_flag(boolean value) Sets the specified value to thevps_temporal_id_nesting_flagfield.booleanvps_timing_info_present_flag(boolean value) Sets the specified value to thevps_timing_info_present_flagfield.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. -
BITFIELD0
public static final int BITFIELD0The struct member offsets.
-
-
Constructor Details
-
StdVideoH265VpsFlags
Creates aStdVideoH265VpsFlagsinstance 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<StdVideoH265VpsFlags>
-
vps_temporal_id_nesting_flag
public boolean vps_temporal_id_nesting_flag()- Returns:
- the value of the
vps_temporal_id_nesting_flagfield.
-
vps_sub_layer_ordering_info_present_flag
public boolean vps_sub_layer_ordering_info_present_flag()- Returns:
- the value of the
vps_sub_layer_ordering_info_present_flagfield.
-
vps_timing_info_present_flag
public boolean vps_timing_info_present_flag()- Returns:
- the value of the
vps_timing_info_present_flagfield.
-
vps_poc_proportional_to_timing_flag
public boolean vps_poc_proportional_to_timing_flag()- Returns:
- the value of the
vps_poc_proportional_to_timing_flagfield.
-
vps_temporal_id_nesting_flag
Sets the specified value to thevps_temporal_id_nesting_flagfield. -
vps_sub_layer_ordering_info_present_flag
Sets the specified value to thevps_sub_layer_ordering_info_present_flagfield. -
vps_timing_info_present_flag
Sets the specified value to thevps_timing_info_present_flagfield. -
vps_poc_proportional_to_timing_flag
Sets the specified value to thevps_poc_proportional_to_timing_flagfield. -
set
public StdVideoH265VpsFlags set(boolean vps_temporal_id_nesting_flag, boolean vps_sub_layer_ordering_info_present_flag, boolean vps_timing_info_present_flag, boolean vps_poc_proportional_to_timing_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 newStdVideoH265VpsFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265VpsFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265VpsFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265VpsFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265VpsFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265VpsFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265VpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nbitfield0
public static int nbitfield0(long struct) -
nvps_temporal_id_nesting_flag
public static int nvps_temporal_id_nesting_flag(long struct) Unsafe version ofvps_temporal_id_nesting_flag(). -
nvps_sub_layer_ordering_info_present_flag
public static int nvps_sub_layer_ordering_info_present_flag(long struct) Unsafe version ofvps_sub_layer_ordering_info_present_flag(). -
nvps_timing_info_present_flag
public static int nvps_timing_info_present_flag(long struct) Unsafe version ofvps_timing_info_present_flag(). -
nvps_poc_proportional_to_timing_flag
public static int nvps_poc_proportional_to_timing_flag(long struct) Unsafe version ofvps_poc_proportional_to_timing_flag(). -
nbitfield0
public static void nbitfield0(long struct, int value) -
nvps_temporal_id_nesting_flag
public static void nvps_temporal_id_nesting_flag(long struct, int value) Unsafe version ofvps_temporal_id_nesting_flag. -
nvps_sub_layer_ordering_info_present_flag
public static void nvps_sub_layer_ordering_info_present_flag(long struct, int value) Unsafe version ofvps_sub_layer_ordering_info_present_flag. -
nvps_timing_info_present_flag
public static void nvps_timing_info_present_flag(long struct, int value) Unsafe version ofvps_timing_info_present_flag. -
nvps_poc_proportional_to_timing_flag
public static void nvps_poc_proportional_to_timing_flag(long struct, int value) Unsafe version ofvps_poc_proportional_to_timing_flag.
-