Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265ReferenceInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265ReferenceInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH265ReferenceInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH265ReferenceInfo { int32_t PicOrderCntVal; uint8_t TemporalId;StdVideoEncodeH265ReferenceInfoFlagsflags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH265ReferenceInfo.BufferAn array ofStdVideoEncodeH265ReferenceInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFLAGS
PICORDERCNTVALThe struct member offsets.static intSIZEOFThe struct size in bytes.static intTEMPORALIDThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH265ReferenceInfo(java.nio.ByteBuffer container)Creates aStdVideoEncodeH265ReferenceInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH265ReferenceInfocalloc()Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated withmemCalloc.static StdVideoEncodeH265ReferenceInfo.Buffercalloc(int capacity)Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH265ReferenceInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265ReferenceInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265ReferenceInfocreate()Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated withBufferUtils.static StdVideoEncodeH265ReferenceInfo.Buffercreate(int capacity)Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH265ReferenceInfocreate(long address)Returns a newStdVideoEncodeH265ReferenceInfoinstance for the specified memory address.static StdVideoEncodeH265ReferenceInfo.Buffercreate(long address, int capacity)Create aStdVideoEncodeH265ReferenceInfo.Bufferinstance at the specified memory.static StdVideoEncodeH265ReferenceInfocreateSafe(long address)static StdVideoEncodeH265ReferenceInfo.BuffercreateSafe(long address, int capacity)StdVideoEncodeH265ReferenceInfoFlagsflags()StdVideoEncodeH265ReferenceInfoflags(java.util.function.Consumer<StdVideoEncodeH265ReferenceInfoFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoEncodeH265ReferenceInfoflags(StdVideoEncodeH265ReferenceInfoFlags value)Copies the specifiedStdVideoEncodeH265ReferenceInfoFlagsto theflagsfield.static StdVideoEncodeH265ReferenceInfomalloc()Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated withmemAlloc.static StdVideoEncodeH265ReferenceInfo.Buffermalloc(int capacity)Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH265ReferenceInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH265ReferenceInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH265ReferenceInfoFlagsnflags(long struct)Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeH265ReferenceInfoFlags value)Unsafe version offlags.static intnPicOrderCntVal(long struct)Unsafe version ofPicOrderCntVal().static voidnPicOrderCntVal(long struct, int value)Unsafe version ofPicOrderCntVal.static bytenTemporalId(long struct)Unsafe version ofTemporalId().static voidnTemporalId(long struct, byte value)Unsafe version ofTemporalId.intPicOrderCntVal()StdVideoEncodeH265ReferenceInfoPicOrderCntVal(int value)Sets the specified value to thePicOrderCntValfield.StdVideoEncodeH265ReferenceInfoset(int PicOrderCntVal, byte TemporalId, StdVideoEncodeH265ReferenceInfoFlags flags)Initializes this struct with the specified values.StdVideoEncodeH265ReferenceInfoset(StdVideoEncodeH265ReferenceInfo src)Copies the specified struct data to this struct.intsizeof()byteTemporalId()StdVideoEncodeH265ReferenceInfoTemporalId(byte value)Sets the specified value to theTemporalIdfield.
-
-
-
Constructor Detail
-
StdVideoEncodeH265ReferenceInfo
public StdVideoEncodeH265ReferenceInfo(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH265ReferenceInfoinstance 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
-
PicOrderCntVal
public int PicOrderCntVal()
- Returns:
- the value of the
PicOrderCntValfield.
-
TemporalId
public byte TemporalId()
- Returns:
- the value of the
TemporalIdfield.
-
flags
public StdVideoEncodeH265ReferenceInfoFlags flags()
- Returns:
- a
StdVideoEncodeH265ReferenceInfoFlagsview of theflagsfield.
-
PicOrderCntVal
public StdVideoEncodeH265ReferenceInfo PicOrderCntVal(int value)
Sets the specified value to thePicOrderCntValfield.
-
TemporalId
public StdVideoEncodeH265ReferenceInfo TemporalId(byte value)
Sets the specified value to theTemporalIdfield.
-
flags
public StdVideoEncodeH265ReferenceInfo flags(StdVideoEncodeH265ReferenceInfoFlags value)
Copies the specifiedStdVideoEncodeH265ReferenceInfoFlagsto theflagsfield.
-
flags
public StdVideoEncodeH265ReferenceInfo flags(java.util.function.Consumer<StdVideoEncodeH265ReferenceInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
set
public StdVideoEncodeH265ReferenceInfo set(int PicOrderCntVal, byte TemporalId, StdVideoEncodeH265ReferenceInfoFlags flags)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH265ReferenceInfo set(StdVideoEncodeH265ReferenceInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH265ReferenceInfo malloc()
Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH265ReferenceInfo calloc()
Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH265ReferenceInfo create()
Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH265ReferenceInfo create(long address)
Returns a newStdVideoEncodeH265ReferenceInfoinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH265ReferenceInfo createSafe(long address)
-
malloc
public static StdVideoEncodeH265ReferenceInfo.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265ReferenceInfo.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265ReferenceInfo.Buffer create(int capacity)
Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265ReferenceInfo.Buffer create(long address, int capacity)
Create aStdVideoEncodeH265ReferenceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH265ReferenceInfo.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH265ReferenceInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH265ReferenceInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH265ReferenceInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265ReferenceInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nPicOrderCntVal
public static int nPicOrderCntVal(long struct)
Unsafe version ofPicOrderCntVal().
-
nTemporalId
public static byte nTemporalId(long struct)
Unsafe version ofTemporalId().
-
nflags
public static StdVideoEncodeH265ReferenceInfoFlags nflags(long struct)
Unsafe version offlags().
-
nPicOrderCntVal
public static void nPicOrderCntVal(long struct, int value)Unsafe version ofPicOrderCntVal.
-
nTemporalId
public static void nTemporalId(long struct, byte value)Unsafe version ofTemporalId.
-
nflags
public static void nflags(long struct, StdVideoEncodeH265ReferenceInfoFlags value)Unsafe version offlags.
-
-