Package org.lwjgl.vulkan
Class VkVideoDecodeH264SessionParametersCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH264SessionParametersCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH264SessionParametersCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.264 decoder parameter set information.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT- If
pParametersAddInfois notNULL,pParametersAddInfomust be a valid pointer to a validVkVideoDecodeH264SessionParametersAddInfoEXTstructure
See Also
VkVideoDecodeH264SessionParametersAddInfoEXTLayout
struct VkVideoDecodeH264SessionParametersCreateInfoEXT { VkStructureTypesType(); void const *pNext(); uint32_tmaxSpsStdCount(); uint32_tmaxPpsStdCount();VkVideoDecodeH264SessionParametersAddInfoEXTconst *pParametersAddInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH264SessionParametersCreateInfoEXT.BufferAn array ofVkVideoDecodeH264SessionParametersCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXPPSSTDCOUNT
MAXSPSSTDCOUNT
PNEXT
PPARAMETERSADDINFOThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH264SessionParametersCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH264SessionParametersCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH264SessionParametersCreateInfoEXTcalloc()Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264SessionParametersCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264SessionParametersCreateInfoEXTcreate()Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH264SessionParametersCreateInfoEXTcreate(long address)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance for the specified memory address.static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH264SessionParametersCreateInfoEXTcreateSafe(long address)static VkVideoDecodeH264SessionParametersCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH264SessionParametersCreateInfoEXTmalloc()Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH264SessionParametersCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStack.intmaxPpsStdCount()the maximum number of PPS parameters that theVkVideoSessionParametersKHRcan contain.VkVideoDecodeH264SessionParametersCreateInfoEXTmaxPpsStdCount(int value)Sets the specified value to themaxPpsStdCount()field.intmaxSpsStdCount()the maximum number of SPS parameters that theVkVideoSessionParametersKHRcan contain.VkVideoDecodeH264SessionParametersCreateInfoEXTmaxSpsStdCount(int value)Sets the specified value to themaxSpsStdCount()field.static intnmaxPpsStdCount(long struct)Unsafe version ofmaxPpsStdCount().static voidnmaxPpsStdCount(long struct, int value)Unsafe version ofmaxPpsStdCount.static intnmaxSpsStdCount(long struct)Unsafe version ofmaxSpsStdCount().static voidnmaxSpsStdCount(long struct, int value)Unsafe version ofmaxSpsStdCount.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVideoDecodeH264SessionParametersAddInfoEXTnpParametersAddInfo(long struct)Unsafe version ofpParametersAddInfo().static voidnpParametersAddInfo(long struct, VkVideoDecodeH264SessionParametersAddInfoEXT value)Unsafe version ofpParametersAddInfo.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkVideoDecodeH264SessionParametersCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoDecodeH264SessionParametersAddInfoEXTpParametersAddInfo()NULLor a pointer to aVkVideoDecodeH264SessionParametersAddInfoEXTstructure specifying H.264 parameters to add upon object creation.VkVideoDecodeH264SessionParametersCreateInfoEXTpParametersAddInfo(VkVideoDecodeH264SessionParametersAddInfoEXT value)Sets the address of the specifiedVkVideoDecodeH264SessionParametersAddInfoEXTto thepParametersAddInfo()field.VkVideoDecodeH264SessionParametersCreateInfoEXTset(int sType, long pNext, int maxSpsStdCount, int maxPpsStdCount, VkVideoDecodeH264SessionParametersAddInfoEXT pParametersAddInfo)Initializes this struct with the specified values.VkVideoDecodeH264SessionParametersCreateInfoEXTset(VkVideoDecodeH264SessionParametersCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH264SessionParametersCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH264SessionParametersCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoDecodeH264SessionParametersCreateInfoEXT
public VkVideoDecodeH264SessionParametersCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH264SessionParametersCreateInfoEXTinstance 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
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
maxSpsStdCount
public int maxSpsStdCount()
the maximum number of SPS parameters that theVkVideoSessionParametersKHRcan contain.
-
maxPpsStdCount
public int maxPpsStdCount()
the maximum number of PPS parameters that theVkVideoSessionParametersKHRcan contain.
-
pParametersAddInfo
@Nullable public VkVideoDecodeH264SessionParametersAddInfoEXT pParametersAddInfo()
NULLor a pointer to aVkVideoDecodeH264SessionParametersAddInfoEXTstructure specifying H.264 parameters to add upon object creation.
-
sType
public VkVideoDecodeH264SessionParametersCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH264SessionParametersCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH264SessionParametersCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
maxSpsStdCount
public VkVideoDecodeH264SessionParametersCreateInfoEXT maxSpsStdCount(int value)
Sets the specified value to themaxSpsStdCount()field.
-
maxPpsStdCount
public VkVideoDecodeH264SessionParametersCreateInfoEXT maxPpsStdCount(int value)
Sets the specified value to themaxPpsStdCount()field.
-
pParametersAddInfo
public VkVideoDecodeH264SessionParametersCreateInfoEXT pParametersAddInfo(@Nullable VkVideoDecodeH264SessionParametersAddInfoEXT value)
Sets the address of the specifiedVkVideoDecodeH264SessionParametersAddInfoEXTto thepParametersAddInfo()field.
-
set
public VkVideoDecodeH264SessionParametersCreateInfoEXT set(int sType, long pNext, int maxSpsStdCount, int maxPpsStdCount, @Nullable VkVideoDecodeH264SessionParametersAddInfoEXT pParametersAddInfo)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH264SessionParametersCreateInfoEXT set(VkVideoDecodeH264SessionParametersCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT malloc()
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT calloc()
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH264SessionParametersCreateInfoEXT create()
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH264SessionParametersCreateInfoEXT create(long address)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH264SessionParametersCreateInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264SessionParametersCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nmaxSpsStdCount
public static int nmaxSpsStdCount(long struct)
Unsafe version ofmaxSpsStdCount().
-
nmaxPpsStdCount
public static int nmaxPpsStdCount(long struct)
Unsafe version ofmaxPpsStdCount().
-
npParametersAddInfo
@Nullable public static VkVideoDecodeH264SessionParametersAddInfoEXT npParametersAddInfo(long struct)
Unsafe version ofpParametersAddInfo().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nmaxSpsStdCount
public static void nmaxSpsStdCount(long struct, int value)Unsafe version ofmaxSpsStdCount.
-
nmaxPpsStdCount
public static void nmaxPpsStdCount(long struct, int value)Unsafe version ofmaxPpsStdCount.
-
npParametersAddInfo
public static void npParametersAddInfo(long struct, @Nullable VkVideoDecodeH264SessionParametersAddInfoEXT value)Unsafe version ofpParametersAddInfo.
-
-