Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefMemMgmtCtrlOperations
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264RefMemMgmtCtrlOperations
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264RefMemMgmtCtrlOperations extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH264RefMemMgmtCtrlOperations {StdVideoEncodeH264RefMgmtFlagsflags; uint8_t refList0ModOpCount;StdVideoEncodeH264RefListModEntry* pRefList0ModOperations; uint8_t refList1ModOpCount;StdVideoEncodeH264RefListModEntry* pRefList1ModOperations; uint8_t refPicMarkingOpCount;StdVideoEncodeH264RefPicMarkingEntry* pRefPicMarkingOperations; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH264RefMemMgmtCtrlOperations.BufferAn array ofStdVideoEncodeH264RefMemMgmtCtrlOperationsstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFLAGS
PREFLIST0MODOPERATIONS
PREFLIST1MODOPERATIONS
PREFPICMARKINGOPERATIONS
REFLIST0MODOPCOUNT
REFLIST1MODOPCOUNT
REFPICMARKINGOPCOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264RefMemMgmtCtrlOperations(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH264RefMemMgmtCtrlOperationscalloc()Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated withmemCalloc.static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefMemMgmtCtrlOperationscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefMemMgmtCtrlOperationscreate()Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated withBufferUtils.static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffercreate(int capacity)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264RefMemMgmtCtrlOperationscreate(long address)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance for the specified memory address.static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance at the specified memory.static StdVideoEncodeH264RefMemMgmtCtrlOperationscreateSafe(long address)static StdVideoEncodeH264RefMemMgmtCtrlOperations.BuffercreateSafe(long address, int capacity)StdVideoEncodeH264RefMgmtFlagsflags()StdVideoEncodeH264RefMemMgmtCtrlOperationsflags(java.util.function.Consumer<StdVideoEncodeH264RefMgmtFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoEncodeH264RefMemMgmtCtrlOperationsflags(StdVideoEncodeH264RefMgmtFlags value)Copies the specifiedStdVideoEncodeH264RefMgmtFlagsto theflagsfield.static StdVideoEncodeH264RefMemMgmtCtrlOperationsmalloc()Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated withmemAlloc.static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264RefMemMgmtCtrlOperationsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264RefMgmtFlagsnflags(long struct)Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeH264RefMgmtFlags value)Unsafe version offlags.static StdVideoEncodeH264RefListModEntrynpRefList0ModOperations(long struct)Unsafe version ofpRefList0ModOperations().static voidnpRefList0ModOperations(long struct, StdVideoEncodeH264RefListModEntry value)Unsafe version ofpRefList0ModOperations.static StdVideoEncodeH264RefListModEntrynpRefList1ModOperations(long struct)Unsafe version ofpRefList1ModOperations().static voidnpRefList1ModOperations(long struct, StdVideoEncodeH264RefListModEntry value)Unsafe version ofpRefList1ModOperations.static StdVideoEncodeH264RefPicMarkingEntrynpRefPicMarkingOperations(long struct)Unsafe version ofpRefPicMarkingOperations().static voidnpRefPicMarkingOperations(long struct, StdVideoEncodeH264RefPicMarkingEntry value)Unsafe version ofpRefPicMarkingOperations.static bytenrefList0ModOpCount(long struct)Unsafe version ofrefList0ModOpCount().static voidnrefList0ModOpCount(long struct, byte value)Unsafe version ofrefList0ModOpCount.static bytenrefList1ModOpCount(long struct)Unsafe version ofrefList1ModOpCount().static voidnrefList1ModOpCount(long struct, byte value)Unsafe version ofrefList1ModOpCount.static bytenrefPicMarkingOpCount(long struct)Unsafe version ofrefPicMarkingOpCount().static voidnrefPicMarkingOpCount(long struct, byte value)Unsafe version ofrefPicMarkingOpCount.StdVideoEncodeH264RefListModEntrypRefList0ModOperations()StdVideoEncodeH264RefMemMgmtCtrlOperationspRefList0ModOperations(StdVideoEncodeH264RefListModEntry value)Sets the address of the specifiedStdVideoEncodeH264RefListModEntryto thepRefList0ModOperationsfield.StdVideoEncodeH264RefListModEntrypRefList1ModOperations()StdVideoEncodeH264RefMemMgmtCtrlOperationspRefList1ModOperations(StdVideoEncodeH264RefListModEntry value)Sets the address of the specifiedStdVideoEncodeH264RefListModEntryto thepRefList1ModOperationsfield.StdVideoEncodeH264RefPicMarkingEntrypRefPicMarkingOperations()StdVideoEncodeH264RefMemMgmtCtrlOperationspRefPicMarkingOperations(StdVideoEncodeH264RefPicMarkingEntry value)Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntryto thepRefPicMarkingOperationsfield.byterefList0ModOpCount()StdVideoEncodeH264RefMemMgmtCtrlOperationsrefList0ModOpCount(byte value)Sets the specified value to therefList0ModOpCountfield.byterefList1ModOpCount()StdVideoEncodeH264RefMemMgmtCtrlOperationsrefList1ModOpCount(byte value)Sets the specified value to therefList1ModOpCountfield.byterefPicMarkingOpCount()StdVideoEncodeH264RefMemMgmtCtrlOperationsrefPicMarkingOpCount(byte value)Sets the specified value to therefPicMarkingOpCountfield.StdVideoEncodeH264RefMemMgmtCtrlOperationsset(StdVideoEncodeH264RefMemMgmtCtrlOperations src)Copies the specified struct data to this struct.StdVideoEncodeH264RefMemMgmtCtrlOperationsset(StdVideoEncodeH264RefMgmtFlags flags, byte refList0ModOpCount, StdVideoEncodeH264RefListModEntry pRefList0ModOperations, byte refList1ModOpCount, StdVideoEncodeH264RefListModEntry pRefList1ModOperations, byte refPicMarkingOpCount, StdVideoEncodeH264RefPicMarkingEntry pRefPicMarkingOperations)Initializes this struct with the specified values.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
StdVideoEncodeH264RefMemMgmtCtrlOperations
public StdVideoEncodeH264RefMemMgmtCtrlOperations(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance 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
-
flags
public StdVideoEncodeH264RefMgmtFlags flags()
- Returns:
- a
StdVideoEncodeH264RefMgmtFlagsview of theflagsfield.
-
refList0ModOpCount
public byte refList0ModOpCount()
- Returns:
- the value of the
refList0ModOpCountfield.
-
pRefList0ModOperations
public StdVideoEncodeH264RefListModEntry pRefList0ModOperations()
- Returns:
- a
StdVideoEncodeH264RefListModEntryview of the struct pointed to by thepRefList0ModOperationsfield.
-
refList1ModOpCount
public byte refList1ModOpCount()
- Returns:
- the value of the
refList1ModOpCountfield.
-
pRefList1ModOperations
public StdVideoEncodeH264RefListModEntry pRefList1ModOperations()
- Returns:
- a
StdVideoEncodeH264RefListModEntryview of the struct pointed to by thepRefList1ModOperationsfield.
-
refPicMarkingOpCount
public byte refPicMarkingOpCount()
- Returns:
- the value of the
refPicMarkingOpCountfield.
-
pRefPicMarkingOperations
public StdVideoEncodeH264RefPicMarkingEntry pRefPicMarkingOperations()
- Returns:
- a
StdVideoEncodeH264RefPicMarkingEntryview of the struct pointed to by thepRefPicMarkingOperationsfield.
-
flags
public StdVideoEncodeH264RefMemMgmtCtrlOperations flags(StdVideoEncodeH264RefMgmtFlags value)
Copies the specifiedStdVideoEncodeH264RefMgmtFlagsto theflagsfield.
-
flags
public StdVideoEncodeH264RefMemMgmtCtrlOperations flags(java.util.function.Consumer<StdVideoEncodeH264RefMgmtFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
refList0ModOpCount
public StdVideoEncodeH264RefMemMgmtCtrlOperations refList0ModOpCount(byte value)
Sets the specified value to therefList0ModOpCountfield.
-
pRefList0ModOperations
public StdVideoEncodeH264RefMemMgmtCtrlOperations pRefList0ModOperations(StdVideoEncodeH264RefListModEntry value)
Sets the address of the specifiedStdVideoEncodeH264RefListModEntryto thepRefList0ModOperationsfield.
-
refList1ModOpCount
public StdVideoEncodeH264RefMemMgmtCtrlOperations refList1ModOpCount(byte value)
Sets the specified value to therefList1ModOpCountfield.
-
pRefList1ModOperations
public StdVideoEncodeH264RefMemMgmtCtrlOperations pRefList1ModOperations(StdVideoEncodeH264RefListModEntry value)
Sets the address of the specifiedStdVideoEncodeH264RefListModEntryto thepRefList1ModOperationsfield.
-
refPicMarkingOpCount
public StdVideoEncodeH264RefMemMgmtCtrlOperations refPicMarkingOpCount(byte value)
Sets the specified value to therefPicMarkingOpCountfield.
-
pRefPicMarkingOperations
public StdVideoEncodeH264RefMemMgmtCtrlOperations pRefPicMarkingOperations(StdVideoEncodeH264RefPicMarkingEntry value)
Sets the address of the specifiedStdVideoEncodeH264RefPicMarkingEntryto thepRefPicMarkingOperationsfield.
-
set
public StdVideoEncodeH264RefMemMgmtCtrlOperations set(StdVideoEncodeH264RefMgmtFlags flags, byte refList0ModOpCount, StdVideoEncodeH264RefListModEntry pRefList0ModOperations, byte refList1ModOpCount, StdVideoEncodeH264RefListModEntry pRefList1ModOperations, byte refPicMarkingOpCount, StdVideoEncodeH264RefPicMarkingEntry pRefPicMarkingOperations)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH264RefMemMgmtCtrlOperations set(StdVideoEncodeH264RefMemMgmtCtrlOperations src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations malloc()
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations calloc()
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264RefMemMgmtCtrlOperations create()
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264RefMemMgmtCtrlOperations create(long address)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264RefMemMgmtCtrlOperations createSafe(long address)
-
malloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer create(int capacity)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperationsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefMemMgmtCtrlOperations.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefMemMgmtCtrlOperations.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nflags
public static StdVideoEncodeH264RefMgmtFlags nflags(long struct)
Unsafe version offlags().
-
nrefList0ModOpCount
public static byte nrefList0ModOpCount(long struct)
Unsafe version ofrefList0ModOpCount().
-
npRefList0ModOperations
public static StdVideoEncodeH264RefListModEntry npRefList0ModOperations(long struct)
Unsafe version ofpRefList0ModOperations().
-
nrefList1ModOpCount
public static byte nrefList1ModOpCount(long struct)
Unsafe version ofrefList1ModOpCount().
-
npRefList1ModOperations
public static StdVideoEncodeH264RefListModEntry npRefList1ModOperations(long struct)
Unsafe version ofpRefList1ModOperations().
-
nrefPicMarkingOpCount
public static byte nrefPicMarkingOpCount(long struct)
Unsafe version ofrefPicMarkingOpCount().
-
npRefPicMarkingOperations
public static StdVideoEncodeH264RefPicMarkingEntry npRefPicMarkingOperations(long struct)
Unsafe version ofpRefPicMarkingOperations().
-
nflags
public static void nflags(long struct, StdVideoEncodeH264RefMgmtFlags value)Unsafe version offlags.
-
nrefList0ModOpCount
public static void nrefList0ModOpCount(long struct, byte value)Unsafe version ofrefList0ModOpCount.
-
npRefList0ModOperations
public static void npRefList0ModOperations(long struct, StdVideoEncodeH264RefListModEntry value)Unsafe version ofpRefList0ModOperations.
-
nrefList1ModOpCount
public static void nrefList1ModOpCount(long struct, byte value)Unsafe version ofrefList1ModOpCount.
-
npRefList1ModOperations
public static void npRefList1ModOperations(long struct, StdVideoEncodeH264RefListModEntry value)Unsafe version ofpRefList1ModOperations.
-
nrefPicMarkingOpCount
public static void nrefPicMarkingOpCount(long struct, byte value)Unsafe version ofrefPicMarkingOpCount.
-
npRefPicMarkingOperations
public static void npRefPicMarkingOperations(long struct, StdVideoEncodeH264RefPicMarkingEntry value)Unsafe version ofpRefPicMarkingOperations.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-