Class VkVideoEncodeH265SessionParametersCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265SessionParametersCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265SessionParametersCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 encoder parameter set info.Description
When a
VkVideoSessionParametersKHRobject containsmaxVpsStdCountStdVideoH265VideoParameterSetentries, no additionalStdVideoH265VideoParameterSetentries can be added to it, andERROR_TOO_MANY_OBJECTSwill be returned if an attempt is made to add these entries. When aVkVideoSessionParametersKHRobject containsmaxSpsStdCountStdVideoH265SequenceParameterSetentries, no additionalStdVideoH265SequenceParameterSetentries can be added to it, andERROR_TOO_MANY_OBJECTSwill be returned if an attempt is made to add these entries. When aVkVideoSessionParametersKHRobject containsmaxPpsStdCountStdVideoH265PictureParameterSetentries, no additionalStdVideoH265PictureParameterSetentries can be added to it, andERROR_TOO_MANY_OBJECTSwill be returned if an attempt is made to add these entries.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT- If
pParametersAddInfois notNULL,pParametersAddInfomust be a valid pointer to a validVkVideoEncodeH265SessionParametersAddInfoEXTstructure
See Also
VkVideoEncodeH265SessionParametersAddInfoEXTLayout
struct VkVideoEncodeH265SessionParametersCreateInfoEXT { VkStructureTypesType(); void const *pNext(); uint32_tmaxVpsStdCount(); uint32_tmaxSpsStdCount(); uint32_tmaxPpsStdCount();VkVideoEncodeH265SessionParametersAddInfoEXTconst *pParametersAddInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265SessionParametersCreateInfoEXT.BufferAn array ofVkVideoEncodeH265SessionParametersCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXPPSSTDCOUNT
MAXSPSSTDCOUNT
MAXVPSSTDCOUNT
PNEXT
PPARAMETERSADDINFOThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265SessionParametersCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265SessionParametersCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265SessionParametersCreateInfoEXTcalloc()Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated withmemCalloc.static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265SessionParametersCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265SessionParametersCreateInfoEXTcreate()Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated withBufferUtils.static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265SessionParametersCreateInfoEXTcreate(long address)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance for the specified memory address.static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265SessionParametersCreateInfoEXTcreateSafe(long address)static VkVideoEncodeH265SessionParametersCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH265SessionParametersCreateInfoEXTmalloc()Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated withmemAlloc.static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265SessionParametersCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStack.intmaxPpsStdCount()the maximum number of entries of typeStdVideoH265PictureParameterSetwithinVkVideoSessionParametersKHR.VkVideoEncodeH265SessionParametersCreateInfoEXTmaxPpsStdCount(int value)Sets the specified value to themaxPpsStdCount()field.intmaxSpsStdCount()the maximum number of entries of typeStdVideoH265SequenceParameterSetwithinVkVideoSessionParametersKHR.VkVideoEncodeH265SessionParametersCreateInfoEXTmaxSpsStdCount(int value)Sets the specified value to themaxSpsStdCount()field.intmaxVpsStdCount()the maximum number of entries of typeStdVideoH265VideoParameterSetwithinVkVideoSessionParametersKHR.VkVideoEncodeH265SessionParametersCreateInfoEXTmaxVpsStdCount(int value)Sets the specified value to themaxVpsStdCount()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 intnmaxVpsStdCount(long struct)Unsafe version ofmaxVpsStdCount().static voidnmaxVpsStdCount(long struct, int value)Unsafe version ofmaxVpsStdCount.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVideoEncodeH265SessionParametersAddInfoEXTnpParametersAddInfo(long struct)Unsafe version ofpParametersAddInfo().static voidnpParametersAddInfo(long struct, VkVideoEncodeH265SessionParametersAddInfoEXT 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.VkVideoEncodeH265SessionParametersCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH265SessionParametersAddInfoEXTpParametersAddInfo()NULLor a pointer to aVkVideoEncodeH265SessionParametersAddInfoEXTstructure specifying the video session parameters to add upon creation of this object.VkVideoEncodeH265SessionParametersCreateInfoEXTpParametersAddInfo(VkVideoEncodeH265SessionParametersAddInfoEXT value)Sets the address of the specifiedVkVideoEncodeH265SessionParametersAddInfoEXTto thepParametersAddInfo()field.VkVideoEncodeH265SessionParametersCreateInfoEXTset(int sType, long pNext, int maxVpsStdCount, int maxSpsStdCount, int maxPpsStdCount, VkVideoEncodeH265SessionParametersAddInfoEXT pParametersAddInfo)Initializes this struct with the specified values.VkVideoEncodeH265SessionParametersCreateInfoEXTset(VkVideoEncodeH265SessionParametersCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEncodeH265SessionParametersCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265SessionParametersCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoEncodeH265SessionParametersCreateInfoEXT
public VkVideoEncodeH265SessionParametersCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265SessionParametersCreateInfoEXTinstance 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.
-
maxVpsStdCount
public int maxVpsStdCount()
the maximum number of entries of typeStdVideoH265VideoParameterSetwithinVkVideoSessionParametersKHR.
-
maxSpsStdCount
public int maxSpsStdCount()
the maximum number of entries of typeStdVideoH265SequenceParameterSetwithinVkVideoSessionParametersKHR.
-
maxPpsStdCount
public int maxPpsStdCount()
the maximum number of entries of typeStdVideoH265PictureParameterSetwithinVkVideoSessionParametersKHR.
-
pParametersAddInfo
@Nullable public VkVideoEncodeH265SessionParametersAddInfoEXT pParametersAddInfo()
NULLor a pointer to aVkVideoEncodeH265SessionParametersAddInfoEXTstructure specifying the video session parameters to add upon creation of this object.
-
sType
public VkVideoEncodeH265SessionParametersCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265SessionParametersCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265SessionParametersCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
maxVpsStdCount
public VkVideoEncodeH265SessionParametersCreateInfoEXT maxVpsStdCount(int value)
Sets the specified value to themaxVpsStdCount()field.
-
maxSpsStdCount
public VkVideoEncodeH265SessionParametersCreateInfoEXT maxSpsStdCount(int value)
Sets the specified value to themaxSpsStdCount()field.
-
maxPpsStdCount
public VkVideoEncodeH265SessionParametersCreateInfoEXT maxPpsStdCount(int value)
Sets the specified value to themaxPpsStdCount()field.
-
pParametersAddInfo
public VkVideoEncodeH265SessionParametersCreateInfoEXT pParametersAddInfo(@Nullable VkVideoEncodeH265SessionParametersAddInfoEXT value)
Sets the address of the specifiedVkVideoEncodeH265SessionParametersAddInfoEXTto thepParametersAddInfo()field.
-
set
public VkVideoEncodeH265SessionParametersCreateInfoEXT set(int sType, long pNext, int maxVpsStdCount, int maxSpsStdCount, int maxPpsStdCount, @Nullable VkVideoEncodeH265SessionParametersAddInfoEXT pParametersAddInfo)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265SessionParametersCreateInfoEXT set(VkVideoEncodeH265SessionParametersCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT malloc()
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT calloc()
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265SessionParametersCreateInfoEXT create()
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265SessionParametersCreateInfoEXT create(long address)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265SessionParametersCreateInfoEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265SessionParametersCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265SessionParametersCreateInfoEXT.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().
-
nmaxVpsStdCount
public static int nmaxVpsStdCount(long struct)
Unsafe version ofmaxVpsStdCount().
-
nmaxSpsStdCount
public static int nmaxSpsStdCount(long struct)
Unsafe version ofmaxSpsStdCount().
-
nmaxPpsStdCount
public static int nmaxPpsStdCount(long struct)
Unsafe version ofmaxPpsStdCount().
-
npParametersAddInfo
@Nullable public static VkVideoEncodeH265SessionParametersAddInfoEXT 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.
-
nmaxVpsStdCount
public static void nmaxVpsStdCount(long struct, int value)Unsafe version ofmaxVpsStdCount.
-
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 VkVideoEncodeH265SessionParametersAddInfoEXT value)Unsafe version ofpParametersAddInfo.
-
-