Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH265ReferenceInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH265ReferenceInfoFlags { uint32_t is_long_term : 1; uint32_t isUsedFlag : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH265ReferenceInfoFlags.BufferAn array ofStdVideoEncodeH265ReferenceInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH265ReferenceInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoEncodeH265ReferenceInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH265ReferenceInfoFlagscalloc()Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated withmemCalloc.static StdVideoEncodeH265ReferenceInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH265ReferenceInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265ReferenceInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265ReferenceInfoFlagscreate()Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated withBufferUtils.static StdVideoEncodeH265ReferenceInfoFlags.Buffercreate(int capacity)Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH265ReferenceInfoFlagscreate(long address)Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance for the specified memory address.static StdVideoEncodeH265ReferenceInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance at the specified memory.static StdVideoEncodeH265ReferenceInfoFlagscreateSafe(long address)static StdVideoEncodeH265ReferenceInfoFlags.BuffercreateSafe(long address, int capacity)intis_long_term()StdVideoEncodeH265ReferenceInfoFlagsis_long_term(int value)Sets the specified value to theis_long_termfield.intisUsedFlag()StdVideoEncodeH265ReferenceInfoFlagsisUsedFlag(int value)Sets the specified value to theisUsedFlagfield.static StdVideoEncodeH265ReferenceInfoFlagsmalloc()Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated withmemAlloc.static StdVideoEncodeH265ReferenceInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH265ReferenceInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH265ReferenceInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance 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 intnisUsedFlag(long struct)Unsafe version ofisUsedFlag().static voidnisUsedFlag(long struct, int value)Unsafe version ofisUsedFlag.StdVideoEncodeH265ReferenceInfoFlagsset(int is_long_term, int isUsedFlag)Initializes this struct with the specified values.StdVideoEncodeH265ReferenceInfoFlagsset(StdVideoEncodeH265ReferenceInfoFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH265ReferenceInfoFlags
public StdVideoEncodeH265ReferenceInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH265ReferenceInfoFlagsinstance 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.
-
isUsedFlag
public int isUsedFlag()
- Returns:
- the value of the
isUsedFlagfield.
-
is_long_term
public StdVideoEncodeH265ReferenceInfoFlags is_long_term(int value)
Sets the specified value to theis_long_termfield.
-
isUsedFlag
public StdVideoEncodeH265ReferenceInfoFlags isUsedFlag(int value)
Sets the specified value to theisUsedFlagfield.
-
set
public StdVideoEncodeH265ReferenceInfoFlags set(int is_long_term, int isUsedFlag)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH265ReferenceInfoFlags set(StdVideoEncodeH265ReferenceInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH265ReferenceInfoFlags malloc()
Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH265ReferenceInfoFlags calloc()
Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH265ReferenceInfoFlags create()
Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH265ReferenceInfoFlags create(long address)
Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH265ReferenceInfoFlags createSafe(long address)
-
malloc
public static StdVideoEncodeH265ReferenceInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265ReferenceInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265ReferenceInfoFlags.Buffer create(int capacity)
Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265ReferenceInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH265ReferenceInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH265ReferenceInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH265ReferenceInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH265ReferenceInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265ReferenceInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfoFlags.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().
-
nisUsedFlag
public static int nisUsedFlag(long struct)
Unsafe version ofisUsedFlag().
-
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.
-
nisUsedFlag
public static void nisUsedFlag(long struct, int value)Unsafe version ofisUsedFlag.
-
-