Package org.lwjgl.vulkan.video
Class StdVideoH265VpsFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoH265VpsFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH265VpsFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
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 Classes Modifier and Type Class Description static classStdVideoH265VpsFlags.BufferAn array ofStdVideoH265VpsFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoH265VpsFlags(java.nio.ByteBuffer container)Creates aStdVideoH265VpsFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoH265VpsFlagscalloc()Returns a newStdVideoH265VpsFlagsinstance allocated withmemCalloc.static StdVideoH265VpsFlags.Buffercalloc(int capacity)Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemCalloc.static StdVideoH265VpsFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265VpsFlagscalloc(org.lwjgl.system.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 StdVideoH265VpsFlagscreateSafe(long address)static 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, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265VpsFlagsmalloc(org.lwjgl.system.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.StdVideoH265VpsFlagsset(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.StdVideoH265VpsFlagsset(StdVideoH265VpsFlags src)Copies the specified struct data to this struct.intsizeof()booleanvps_poc_proportional_to_timing_flag()StdVideoH265VpsFlagsvps_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()StdVideoH265VpsFlagsvps_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()StdVideoH265VpsFlagsvps_temporal_id_nesting_flag(boolean value)Sets the specified value to thevps_temporal_id_nesting_flagfield.booleanvps_timing_info_present_flag()StdVideoH265VpsFlagsvps_timing_info_present_flag(boolean value)Sets the specified value to thevps_timing_info_present_flagfield.
-
-
-
Constructor Detail
-
StdVideoH265VpsFlags
public StdVideoH265VpsFlags(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
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
public StdVideoH265VpsFlags vps_temporal_id_nesting_flag(boolean value)
Sets the specified value to thevps_temporal_id_nesting_flagfield.
-
vps_sub_layer_ordering_info_present_flag
public StdVideoH265VpsFlags vps_sub_layer_ordering_info_present_flag(boolean value)
Sets the specified value to thevps_sub_layer_ordering_info_present_flagfield.
-
vps_timing_info_present_flag
public StdVideoH265VpsFlags vps_timing_info_present_flag(boolean value)
Sets the specified value to thevps_timing_info_present_flagfield.
-
vps_poc_proportional_to_timing_flag
public StdVideoH265VpsFlags vps_poc_proportional_to_timing_flag(boolean value)
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
public StdVideoH265VpsFlags set(StdVideoH265VpsFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoH265VpsFlags malloc()
Returns a newStdVideoH265VpsFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoH265VpsFlags calloc()
Returns a newStdVideoH265VpsFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoH265VpsFlags create()
Returns a newStdVideoH265VpsFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoH265VpsFlags create(long address)
Returns a newStdVideoH265VpsFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoH265VpsFlags createSafe(long address)
-
malloc
public static StdVideoH265VpsFlags.Buffer malloc(int capacity)
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoH265VpsFlags.Buffer calloc(int capacity)
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265VpsFlags.Buffer create(int capacity)
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265VpsFlags.Buffer create(long address, int capacity)
Create aStdVideoH265VpsFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoH265VpsFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoH265VpsFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VpsFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoH265VpsFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoH265VpsFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoH265VpsFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265VpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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.
-
-