Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefMgmtFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264RefMgmtFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264RefMgmtFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH264RefMgmtFlags { uint32_t ref_pic_list_modification_l0_flag : 1; uint32_t ref_pic_list_modification_l1_flag : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH264RefMgmtFlags.BufferAn array ofStdVideoEncodeH264RefMgmtFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264RefMgmtFlags(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264RefMgmtFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH264RefMgmtFlagscalloc()Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated withmemCalloc.static StdVideoEncodeH264RefMgmtFlags.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264RefMgmtFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefMgmtFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefMgmtFlagscreate()Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated withBufferUtils.static StdVideoEncodeH264RefMgmtFlags.Buffercreate(int capacity)Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264RefMgmtFlagscreate(long address)Returns a newStdVideoEncodeH264RefMgmtFlagsinstance for the specified memory address.static StdVideoEncodeH264RefMgmtFlags.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264RefMgmtFlags.Bufferinstance at the specified memory.static StdVideoEncodeH264RefMgmtFlagscreateSafe(long address)static StdVideoEncodeH264RefMgmtFlags.BuffercreateSafe(long address, int capacity)static StdVideoEncodeH264RefMgmtFlagsmalloc()Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated withmemAlloc.static StdVideoEncodeH264RefMgmtFlags.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264RefMgmtFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264RefMgmtFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intnref_pic_list_modification_l0_flag(long struct)Unsafe version ofref_pic_list_modification_l0_flag().static voidnref_pic_list_modification_l0_flag(long struct, int value)Unsafe version ofref_pic_list_modification_l0_flag.static intnref_pic_list_modification_l1_flag(long struct)Unsafe version ofref_pic_list_modification_l1_flag().static voidnref_pic_list_modification_l1_flag(long struct, int value)Unsafe version ofref_pic_list_modification_l1_flag.booleanref_pic_list_modification_l0_flag()StdVideoEncodeH264RefMgmtFlagsref_pic_list_modification_l0_flag(boolean value)Sets the specified value to theref_pic_list_modification_l0_flagfield.booleanref_pic_list_modification_l1_flag()StdVideoEncodeH264RefMgmtFlagsref_pic_list_modification_l1_flag(boolean value)Sets the specified value to theref_pic_list_modification_l1_flagfield.StdVideoEncodeH264RefMgmtFlagsset(boolean ref_pic_list_modification_l0_flag, boolean ref_pic_list_modification_l1_flag)Initializes this struct with the specified values.StdVideoEncodeH264RefMgmtFlagsset(StdVideoEncodeH264RefMgmtFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH264RefMgmtFlags
public StdVideoEncodeH264RefMgmtFlags(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH264RefMgmtFlagsinstance 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
-
ref_pic_list_modification_l0_flag
public boolean ref_pic_list_modification_l0_flag()
- Returns:
- the value of the
ref_pic_list_modification_l0_flagfield.
-
ref_pic_list_modification_l1_flag
public boolean ref_pic_list_modification_l1_flag()
- Returns:
- the value of the
ref_pic_list_modification_l1_flagfield.
-
ref_pic_list_modification_l0_flag
public StdVideoEncodeH264RefMgmtFlags ref_pic_list_modification_l0_flag(boolean value)
Sets the specified value to theref_pic_list_modification_l0_flagfield.
-
ref_pic_list_modification_l1_flag
public StdVideoEncodeH264RefMgmtFlags ref_pic_list_modification_l1_flag(boolean value)
Sets the specified value to theref_pic_list_modification_l1_flagfield.
-
set
public StdVideoEncodeH264RefMgmtFlags set(boolean ref_pic_list_modification_l0_flag, boolean ref_pic_list_modification_l1_flag)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH264RefMgmtFlags set(StdVideoEncodeH264RefMgmtFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264RefMgmtFlags malloc()
Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264RefMgmtFlags calloc()
Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264RefMgmtFlags create()
Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264RefMgmtFlags create(long address)
Returns a newStdVideoEncodeH264RefMgmtFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264RefMgmtFlags createSafe(long address)
-
malloc
public static StdVideoEncodeH264RefMgmtFlags.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefMgmtFlags.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefMgmtFlags.Buffer create(int capacity)
Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefMgmtFlags.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264RefMgmtFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264RefMgmtFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264RefMgmtFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264RefMgmtFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMgmtFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264RefMgmtFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMgmtFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefMgmtFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMgmtFlags.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)
-
nref_pic_list_modification_l0_flag
public static int nref_pic_list_modification_l0_flag(long struct)
Unsafe version ofref_pic_list_modification_l0_flag().
-
nref_pic_list_modification_l1_flag
public static int nref_pic_list_modification_l1_flag(long struct)
Unsafe version ofref_pic_list_modification_l1_flag().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
nref_pic_list_modification_l0_flag
public static void nref_pic_list_modification_l0_flag(long struct, int value)Unsafe version ofref_pic_list_modification_l0_flag.
-
nref_pic_list_modification_l1_flag
public static void nref_pic_list_modification_l1_flag(long struct, int value)Unsafe version ofref_pic_list_modification_l1_flag.
-
-