Package org.lwjgl.vulkan
Class VkVideoDecodeH265SessionParametersCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH265SessionParametersCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265SessionParametersCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 decoder parameter set information.Description
A
VkVideoDecodeH265SessionParametersCreateInfoEXTstructure holding one H.265 SPS and at least one H.265 PPS paramater set must be chained toVkVideoSessionParametersCreateInfoKHRwhen callingvkCreateVideoSessionParametersKHRto store these parameter set(s) with the decoder parameter set object for later reference. The provided H.265 SPS/PPS parameters must be within the limits specified during decoder creation for the decoder specified inVkVideoSessionParametersCreateInfoKHR.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT- If
pParametersAddInfois notNULL,pParametersAddInfomust be a valid pointer to a validVkVideoDecodeH265SessionParametersAddInfoEXTstructure
See Also
VkVideoDecodeH265SessionParametersAddInfoEXTLayout
struct VkVideoDecodeH265SessionParametersCreateInfoEXT { VkStructureTypesType(); void const *pNext(); uint32_tmaxSpsStdCount(); uint32_tmaxPpsStdCount();VkVideoDecodeH265SessionParametersAddInfoEXTconst *pParametersAddInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH265SessionParametersCreateInfoEXT.BufferAn array ofVkVideoDecodeH265SessionParametersCreateInfoEXTstructs.
-
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 VkVideoDecodeH265SessionParametersCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH265SessionParametersCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH265SessionParametersCreateInfoEXTcalloc()Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265SessionParametersCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265SessionParametersCreateInfoEXTcreate()Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH265SessionParametersCreateInfoEXTcreate(long address)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance for the specified memory address.static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH265SessionParametersCreateInfoEXTcreateSafe(long address)static VkVideoDecodeH265SessionParametersCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH265SessionParametersCreateInfoEXTmalloc()Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH265SessionParametersCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStack.intmaxPpsStdCount()the maximum number of PPS parameters that theVkVideoSessionParametersKHRcan contain.VkVideoDecodeH265SessionParametersCreateInfoEXTmaxPpsStdCount(int value)Sets the specified value to themaxPpsStdCount()field.intmaxSpsStdCount()the maximum number of SPS parameters that theVkVideoSessionParametersKHRcan contain.VkVideoDecodeH265SessionParametersCreateInfoEXTmaxSpsStdCount(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 VkVideoDecodeH265SessionParametersAddInfoEXTnpParametersAddInfo(long struct)Unsafe version ofpParametersAddInfo().static voidnpParametersAddInfo(long struct, VkVideoDecodeH265SessionParametersAddInfoEXT 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.VkVideoDecodeH265SessionParametersCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoDecodeH265SessionParametersAddInfoEXTpParametersAddInfo()NULLor a pointer to aVkVideoDecodeH265SessionParametersAddInfoEXTstructure specifying H.265 parameters to add upon object creation.VkVideoDecodeH265SessionParametersCreateInfoEXTpParametersAddInfo(VkVideoDecodeH265SessionParametersAddInfoEXT value)Sets the address of the specifiedVkVideoDecodeH265SessionParametersAddInfoEXTto thepParametersAddInfo()field.VkVideoDecodeH265SessionParametersCreateInfoEXTset(int sType, long pNext, int maxSpsStdCount, int maxPpsStdCount, VkVideoDecodeH265SessionParametersAddInfoEXT pParametersAddInfo)Initializes this struct with the specified values.VkVideoDecodeH265SessionParametersCreateInfoEXTset(VkVideoDecodeH265SessionParametersCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH265SessionParametersCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH265SessionParametersCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoDecodeH265SessionParametersCreateInfoEXT
public VkVideoDecodeH265SessionParametersCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH265SessionParametersCreateInfoEXTinstance 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 VkVideoDecodeH265SessionParametersAddInfoEXT pParametersAddInfo()
NULLor a pointer to aVkVideoDecodeH265SessionParametersAddInfoEXTstructure specifying H.265 parameters to add upon object creation.
-
sType
public VkVideoDecodeH265SessionParametersCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH265SessionParametersCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH265SessionParametersCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
maxSpsStdCount
public VkVideoDecodeH265SessionParametersCreateInfoEXT maxSpsStdCount(int value)
Sets the specified value to themaxSpsStdCount()field.
-
maxPpsStdCount
public VkVideoDecodeH265SessionParametersCreateInfoEXT maxPpsStdCount(int value)
Sets the specified value to themaxPpsStdCount()field.
-
pParametersAddInfo
public VkVideoDecodeH265SessionParametersCreateInfoEXT pParametersAddInfo(@Nullable VkVideoDecodeH265SessionParametersAddInfoEXT value)
Sets the address of the specifiedVkVideoDecodeH265SessionParametersAddInfoEXTto thepParametersAddInfo()field.
-
set
public VkVideoDecodeH265SessionParametersCreateInfoEXT set(int sType, long pNext, int maxSpsStdCount, int maxPpsStdCount, @Nullable VkVideoDecodeH265SessionParametersAddInfoEXT pParametersAddInfo)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH265SessionParametersCreateInfoEXT set(VkVideoDecodeH265SessionParametersCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT malloc()
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT calloc()
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH265SessionParametersCreateInfoEXT create()
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH265SessionParametersCreateInfoEXT create(long address)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH265SessionParametersCreateInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265SessionParametersCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionParametersCreateInfoEXT.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 VkVideoDecodeH265SessionParametersAddInfoEXT 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 VkVideoDecodeH265SessionParametersAddInfoEXT value)Unsafe version ofpParametersAddInfo.
-
-