Package org.lwjgl.vulkan.video
Class StdVideoDecodeH265ReferenceInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH265ReferenceInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH265ReferenceInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH265ReferenceInfoFlags { uint32_t is_long_term : 1; uint32_t is_non_existing : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH265ReferenceInfoFlags.BufferAn array ofStdVideoDecodeH265ReferenceInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH265ReferenceInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoDecodeH265ReferenceInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoDecodeH265ReferenceInfoFlagscalloc()Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated withmemCalloc.static StdVideoDecodeH265ReferenceInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH265ReferenceInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH265ReferenceInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH265ReferenceInfoFlagscreate()Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated withBufferUtils.static StdVideoDecodeH265ReferenceInfoFlags.Buffercreate(int capacity)Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH265ReferenceInfoFlagscreate(long address)Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance for the specified memory address.static StdVideoDecodeH265ReferenceInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance at the specified memory.static StdVideoDecodeH265ReferenceInfoFlagscreateSafe(long address)static StdVideoDecodeH265ReferenceInfoFlags.BuffercreateSafe(long address, int capacity)intis_long_term()StdVideoDecodeH265ReferenceInfoFlagsis_long_term(int value)Sets the specified value to theis_long_termfield.intis_non_existing()StdVideoDecodeH265ReferenceInfoFlagsis_non_existing(int value)Sets the specified value to theis_non_existingfield.static StdVideoDecodeH265ReferenceInfoFlagsmalloc()Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated withmemAlloc.static StdVideoDecodeH265ReferenceInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH265ReferenceInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH265ReferenceInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intnis_long_term(long struct)Unsafe version ofis_long_term().static voidnis_long_term(long struct, int value)Unsafe version ofis_long_term.static intnis_non_existing(long struct)Unsafe version ofis_non_existing().static voidnis_non_existing(long struct, int value)Unsafe version ofis_non_existing.StdVideoDecodeH265ReferenceInfoFlagsset(int is_long_term, int is_non_existing)Initializes this struct with the specified values.StdVideoDecodeH265ReferenceInfoFlagsset(StdVideoDecodeH265ReferenceInfoFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoDecodeH265ReferenceInfoFlags
public StdVideoDecodeH265ReferenceInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH265ReferenceInfoFlagsinstance 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
-
is_long_term
public int is_long_term()
- Returns:
- the value of the
is_long_termfield.
-
is_non_existing
public int is_non_existing()
- Returns:
- the value of the
is_non_existingfield.
-
is_long_term
public StdVideoDecodeH265ReferenceInfoFlags is_long_term(int value)
Sets the specified value to theis_long_termfield.
-
is_non_existing
public StdVideoDecodeH265ReferenceInfoFlags is_non_existing(int value)
Sets the specified value to theis_non_existingfield.
-
set
public StdVideoDecodeH265ReferenceInfoFlags set(int is_long_term, int is_non_existing)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH265ReferenceInfoFlags set(StdVideoDecodeH265ReferenceInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH265ReferenceInfoFlags malloc()
Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH265ReferenceInfoFlags calloc()
Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH265ReferenceInfoFlags create()
Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH265ReferenceInfoFlags create(long address)
Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH265ReferenceInfoFlags createSafe(long address)
-
malloc
public static StdVideoDecodeH265ReferenceInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH265ReferenceInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH265ReferenceInfoFlags.Buffer create(int capacity)
Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH265ReferenceInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH265ReferenceInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH265ReferenceInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH265ReferenceInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH265ReferenceInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH265ReferenceInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfoFlags.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)
-
nis_long_term
public static int nis_long_term(long struct)
Unsafe version ofis_long_term().
-
nis_non_existing
public static int nis_non_existing(long struct)
Unsafe version ofis_non_existing().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
nis_long_term
public static void nis_long_term(long struct, int value)Unsafe version ofis_long_term.
-
nis_non_existing
public static void nis_non_existing(long struct, int value)Unsafe version ofis_non_existing.
-
-