Package org.lwjgl.vulkan.video
Class StdVideoDecodeH265ReferenceInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH265ReferenceInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH265ReferenceInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH265ReferenceInfo { int32_t PicOrderCntVal;StdVideoDecodeH265ReferenceInfoFlagsflags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH265ReferenceInfo.BufferAn array ofStdVideoDecodeH265ReferenceInfostructs.
-
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.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH265ReferenceInfo(java.nio.ByteBuffer container)Creates aStdVideoDecodeH265ReferenceInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoDecodeH265ReferenceInfocalloc()Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated withmemCalloc.static StdVideoDecodeH265ReferenceInfo.Buffercalloc(int capacity)Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH265ReferenceInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH265ReferenceInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH265ReferenceInfocreate()Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated withBufferUtils.static StdVideoDecodeH265ReferenceInfo.Buffercreate(int capacity)Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH265ReferenceInfocreate(long address)Returns a newStdVideoDecodeH265ReferenceInfoinstance for the specified memory address.static StdVideoDecodeH265ReferenceInfo.Buffercreate(long address, int capacity)Create aStdVideoDecodeH265ReferenceInfo.Bufferinstance at the specified memory.static StdVideoDecodeH265ReferenceInfocreateSafe(long address)static StdVideoDecodeH265ReferenceInfo.BuffercreateSafe(long address, int capacity)StdVideoDecodeH265ReferenceInfoFlagsflags()StdVideoDecodeH265ReferenceInfoflags(java.util.function.Consumer<StdVideoDecodeH265ReferenceInfoFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoDecodeH265ReferenceInfoflags(StdVideoDecodeH265ReferenceInfoFlags value)Copies the specifiedStdVideoDecodeH265ReferenceInfoFlagsto theflagsfield.static StdVideoDecodeH265ReferenceInfomalloc()Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated withmemAlloc.static StdVideoDecodeH265ReferenceInfo.Buffermalloc(int capacity)Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH265ReferenceInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH265ReferenceInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH265ReferenceInfoFlagsnflags(long struct)Unsafe version offlags().static voidnflags(long struct, StdVideoDecodeH265ReferenceInfoFlags value)Unsafe version offlags.static intnPicOrderCntVal(long struct)Unsafe version ofPicOrderCntVal().static voidnPicOrderCntVal(long struct, int value)Unsafe version ofPicOrderCntVal.intPicOrderCntVal()StdVideoDecodeH265ReferenceInfoPicOrderCntVal(int value)Sets the specified value to thePicOrderCntValfield.StdVideoDecodeH265ReferenceInfoset(int PicOrderCntVal, StdVideoDecodeH265ReferenceInfoFlags flags)Initializes this struct with the specified values.StdVideoDecodeH265ReferenceInfoset(StdVideoDecodeH265ReferenceInfo src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoDecodeH265ReferenceInfo
public StdVideoDecodeH265ReferenceInfo(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH265ReferenceInfoinstance 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.
-
flags
public StdVideoDecodeH265ReferenceInfoFlags flags()
- Returns:
- a
StdVideoDecodeH265ReferenceInfoFlagsview of theflagsfield.
-
PicOrderCntVal
public StdVideoDecodeH265ReferenceInfo PicOrderCntVal(int value)
Sets the specified value to thePicOrderCntValfield.
-
flags
public StdVideoDecodeH265ReferenceInfo flags(StdVideoDecodeH265ReferenceInfoFlags value)
Copies the specifiedStdVideoDecodeH265ReferenceInfoFlagsto theflagsfield.
-
flags
public StdVideoDecodeH265ReferenceInfo flags(java.util.function.Consumer<StdVideoDecodeH265ReferenceInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
set
public StdVideoDecodeH265ReferenceInfo set(int PicOrderCntVal, StdVideoDecodeH265ReferenceInfoFlags flags)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH265ReferenceInfo set(StdVideoDecodeH265ReferenceInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH265ReferenceInfo malloc()
Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH265ReferenceInfo calloc()
Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH265ReferenceInfo create()
Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH265ReferenceInfo create(long address)
Returns a newStdVideoDecodeH265ReferenceInfoinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH265ReferenceInfo createSafe(long address)
-
malloc
public static StdVideoDecodeH265ReferenceInfo.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH265ReferenceInfo.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH265ReferenceInfo.Buffer create(int capacity)
Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH265ReferenceInfo.Buffer create(long address, int capacity)
Create aStdVideoDecodeH265ReferenceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH265ReferenceInfo.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH265ReferenceInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH265ReferenceInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH265ReferenceInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH265ReferenceInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH265ReferenceInfo.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().
-
nflags
public static StdVideoDecodeH265ReferenceInfoFlags nflags(long struct)
Unsafe version offlags().
-
nPicOrderCntVal
public static void nPicOrderCntVal(long struct, int value)Unsafe version ofPicOrderCntVal.
-
nflags
public static void nflags(long struct, StdVideoDecodeH265ReferenceInfoFlags value)Unsafe version offlags.
-
-