Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264ReferenceInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264ReferenceInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264ReferenceInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH264ReferenceInfoFlags { uint32_t is_long_term : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH264ReferenceInfoFlags.BufferAn array ofStdVideoEncodeH264ReferenceInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264ReferenceInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264ReferenceInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH264ReferenceInfoFlagscalloc()Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated withmemCalloc.static StdVideoEncodeH264ReferenceInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264ReferenceInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264ReferenceInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264ReferenceInfoFlagscreate()Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated withBufferUtils.static StdVideoEncodeH264ReferenceInfoFlags.Buffercreate(int capacity)Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264ReferenceInfoFlagscreate(long address)Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance for the specified memory address.static StdVideoEncodeH264ReferenceInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance at the specified memory.static StdVideoEncodeH264ReferenceInfoFlagscreateSafe(long address)static StdVideoEncodeH264ReferenceInfoFlags.BuffercreateSafe(long address, int capacity)booleanis_long_term()StdVideoEncodeH264ReferenceInfoFlagsis_long_term(boolean value)Sets the specified value to theis_long_termfield.static StdVideoEncodeH264ReferenceInfoFlagsmalloc()Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated withmemAlloc.static StdVideoEncodeH264ReferenceInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264ReferenceInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264ReferenceInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance 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.StdVideoEncodeH264ReferenceInfoFlagsset(StdVideoEncodeH264ReferenceInfoFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH264ReferenceInfoFlags
public StdVideoEncodeH264ReferenceInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH264ReferenceInfoFlagsinstance 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 boolean is_long_term()
- Returns:
- the value of the
is_long_termfield.
-
is_long_term
public StdVideoEncodeH264ReferenceInfoFlags is_long_term(boolean value)
Sets the specified value to theis_long_termfield.
-
set
public StdVideoEncodeH264ReferenceInfoFlags set(StdVideoEncodeH264ReferenceInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264ReferenceInfoFlags malloc()
Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264ReferenceInfoFlags calloc()
Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264ReferenceInfoFlags create()
Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264ReferenceInfoFlags create(long address)
Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264ReferenceInfoFlags createSafe(long address)
-
malloc
public static StdVideoEncodeH264ReferenceInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264ReferenceInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264ReferenceInfoFlags.Buffer create(int capacity)
Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264ReferenceInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264ReferenceInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264ReferenceInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264ReferenceInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264ReferenceInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264ReferenceInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264ReferenceInfoFlags.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().
-
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.
-
-