Package org.lwjgl.vulkan
Class VkVideoEncodeH265SessionParametersAddInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH265SessionParametersAddInfoKHR>
org.lwjgl.vulkan.VkVideoEncodeH265SessionParametersAddInfoKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265SessionParametersAddInfoKHR
extends org.lwjgl.system.Struct<VkVideoEncodeH265SessionParametersAddInfoKHR>
implements org.lwjgl.system.NativeResource
Structure specifies H.265 encoder parameter set information.
Description
This structure can be specified in the following places:
- In the
pParametersAddInfomember of theVkVideoEncodeH265SessionParametersCreateInfoKHRstructure specified in thepNextchain ofVkVideoSessionParametersCreateInfoKHRused to create a video session parameters object. In this case, if the video codec operation the video session parameters object is created with isVIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR, then it defines the set of initial parameters to add to the created object (see Creating Video Session Parameters). - In the
pNextchain ofVkVideoSessionParametersUpdateInfoKHR. In this case, if the video codec operation the video session parameters object to be updated was created with isVIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR, then it defines the set of parameters to add to it (see Updating Video Session Parameters).
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR- If
stdVPSCountis not 0, andpStdVPSsis notNULL,pStdVPSsmust be a valid pointer to an array ofstdVPSCountStdVideoH265VideoParameterSetvalues - If
stdSPSCountis not 0, andpStdSPSsis notNULL,pStdSPSsmust be a valid pointer to an array ofstdSPSCountStdVideoH265SequenceParameterSetvalues - If
stdPPSCountis not 0, andpStdPPSsis notNULL,pStdPPSsmust be a valid pointer to an array ofstdPPSCountStdVideoH265PictureParameterSetvalues
Valid Usage
- The
vps_video_parameter_set_idmember of eachStdVideoH265VideoParameterSetstructure specified in the elements ofpStdVPSsmust be unique withinpStdVPSs - The pair constructed from the
sps_video_parameter_set_idandsps_seq_parameter_set_idmembers of eachStdVideoH265SequenceParameterSetstructure specified in the elements ofpStdSPSsmust be unique withinpStdSPSs - The triplet constructed from the
sps_video_parameter_set_id,pps_seq_parameter_set_id, andpps_pic_parameter_set_idmembers of eachStdVideoH265PictureParameterSetstructure specified in the elements ofpStdPPSsmust be unique withinpStdPPSs
See Also
VkVideoEncodeH265SessionParametersCreateInfoKHR
Layout
struct VkVideoEncodeH265SessionParametersAddInfoKHR {
VkStructureType sType();
void const * pNext();
uint32_t stdVPSCount();
StdVideoH265VideoParameterSet const * pStdVPSs();
uint32_t stdSPSCount();
StdVideoH265SequenceParameterSet const * pStdSPSs();
uint32_t stdPPSCount();
StdVideoH265PictureParameterSet const * pStdPPSs();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkVideoEncodeH265SessionParametersAddInfoKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkVideoEncodeH265SessionParametersAddInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeH265SessionParametersAddInfoKHRcreateSafe(long address) static @Nullable VkVideoEncodeH265SessionParametersAddInfoKHR.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStack.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static @Nullable StdVideoH265PictureParameterSet.BuffernpStdPPSs(long struct) Unsafe version ofpStdPPSs().static voidnpStdPPSs(long struct, @Nullable StdVideoH265PictureParameterSet.Buffer value) Unsafe version ofpStdPPSs.static @Nullable StdVideoH265SequenceParameterSet.BuffernpStdSPSs(long struct) Unsafe version ofpStdSPSs().static voidnpStdSPSs(long struct, @Nullable StdVideoH265SequenceParameterSet.Buffer value) Unsafe version ofpStdSPSs.static @Nullable StdVideoH265VideoParameterSet.BuffernpStdVPSs(long struct) Unsafe version ofpStdVPSs().static voidnpStdVPSs(long struct, @Nullable StdVideoH265VideoParameterSet.Buffer value) Unsafe version ofpStdVPSs.static intnstdPPSCount(long struct) Unsafe version ofstdPPSCount().static voidnstdPPSCount(long struct, int value) Sets the specified value to thestdPPSCountfield of the specifiedstruct.static intnstdSPSCount(long struct) Unsafe version ofstdSPSCount().static voidnstdSPSCount(long struct, int value) Sets the specified value to thestdSPSCountfield of the specifiedstruct.static intnstdVPSCount(long struct) Unsafe version ofstdVPSCount().static voidnstdVPSCount(long struct, int value) Sets the specified value to thestdVPSCountfield of the specifiedstruct.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.pNext(long value) Sets the specified value to thepNext()field.@Nullable StdVideoH265PictureParameterSet.BufferpStdPPSs()a pointer to an array ofStdVideoH265PictureParameterSetstructures describing the H.265 PPS entries to add.pStdPPSs(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Bufferto thepStdPPSs()field.@Nullable StdVideoH265SequenceParameterSet.BufferpStdSPSs()a pointer to an array ofStdVideoH265SequenceParameterSetstructures describing the H.265 SPS entries to add.pStdSPSs(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Bufferto thepStdSPSs()field.@Nullable StdVideoH265VideoParameterSet.BufferpStdVPSs()a pointer to an array ofStdVideoH265VideoParameterSetstructures describing the H.265 VPS entries to add.pStdVPSs(@Nullable StdVideoH265VideoParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265VideoParameterSet.Bufferto thepStdVPSs()field.set(int sType, long pNext, int stdVPSCount, @Nullable StdVideoH265VideoParameterSet.Buffer pStdVPSs, int stdSPSCount, @Nullable StdVideoH265SequenceParameterSet.Buffer pStdSPSs, int stdPPSCount, @Nullable StdVideoH265PictureParameterSet.Buffer pStdPPSs) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intthe number of elements in thepStdPPSsarray.stdPPSCount(int value) Sets the specified value to thestdPPSCount()field.intthe number of elements in thepStdSPSsarray.stdSPSCount(int value) Sets the specified value to thestdSPSCount()field.intthe number of elements in thepStdVPSsarray.stdVPSCount(int value) Sets the specified value to thestdVPSCount()field.intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHRvalue to thesType()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
STDVPSCOUNT
public static final int STDVPSCOUNTThe struct member offsets. -
PSTDVPSS
public static final int PSTDVPSSThe struct member offsets. -
STDSPSCOUNT
public static final int STDSPSCOUNTThe struct member offsets. -
PSTDSPSS
public static final int PSTDSPSSThe struct member offsets. -
STDPPSCOUNT
public static final int STDPPSCOUNTThe struct member offsets. -
PSTDPPSS
public static final int PSTDPPSSThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeH265SessionParametersAddInfoKHR
Creates aVkVideoEncodeH265SessionParametersAddInfoKHRinstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkVideoEncodeH265SessionParametersAddInfoKHR>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
stdVPSCount
public int stdVPSCount()the number of elements in thepStdVPSsarray. -
pStdVPSs
a pointer to an array ofStdVideoH265VideoParameterSetstructures describing the H.265 VPS entries to add. -
stdSPSCount
public int stdSPSCount()the number of elements in thepStdSPSsarray. -
pStdSPSs
a pointer to an array ofStdVideoH265SequenceParameterSetstructures describing the H.265 SPS entries to add. -
stdPPSCount
public int stdPPSCount()the number of elements in thepStdPPSsarray. -
pStdPPSs
a pointer to an array ofStdVideoH265PictureParameterSetstructures describing the H.265 PPS entries to add. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHRvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
stdVPSCount
Sets the specified value to thestdVPSCount()field. -
pStdVPSs
public VkVideoEncodeH265SessionParametersAddInfoKHR pStdVPSs(@Nullable StdVideoH265VideoParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265VideoParameterSet.Bufferto thepStdVPSs()field. -
stdSPSCount
Sets the specified value to thestdSPSCount()field. -
pStdSPSs
public VkVideoEncodeH265SessionParametersAddInfoKHR pStdSPSs(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Bufferto thepStdSPSs()field. -
stdPPSCount
Sets the specified value to thestdPPSCount()field. -
pStdPPSs
public VkVideoEncodeH265SessionParametersAddInfoKHR pStdPPSs(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Bufferto thepStdPPSs()field. -
set
public VkVideoEncodeH265SessionParametersAddInfoKHR set(int sType, long pNext, int stdVPSCount, @Nullable StdVideoH265VideoParameterSet.Buffer pStdVPSs, int stdSPSCount, @Nullable StdVideoH265SequenceParameterSet.Buffer pStdSPSs, int stdPPSCount, @Nullable StdVideoH265PictureParameterSet.Buffer pStdPPSs) Initializes this struct with the specified values. -
set
public VkVideoEncodeH265SessionParametersAddInfoKHR set(VkVideoEncodeH265SessionParametersAddInfoKHR src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265SessionParametersAddInfoKHR.Buffer create(long address, int capacity) Create aVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkVideoEncodeH265SessionParametersAddInfoKHR.Buffer createSafe(long address, int capacity) -
malloc
public static VkVideoEncodeH265SessionParametersAddInfoKHR malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265SessionParametersAddInfoKHR calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265SessionParametersAddInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265SessionParametersAddInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nstdVPSCount
public static int nstdVPSCount(long struct) Unsafe version ofstdVPSCount(). -
npStdVPSs
Unsafe version ofpStdVPSs(). -
nstdSPSCount
public static int nstdSPSCount(long struct) Unsafe version ofstdSPSCount(). -
npStdSPSs
Unsafe version ofpStdSPSs(). -
nstdPPSCount
public static int nstdPPSCount(long struct) Unsafe version ofstdPPSCount(). -
npStdPPSs
Unsafe version ofpStdPPSs(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nstdVPSCount
public static void nstdVPSCount(long struct, int value) Sets the specified value to thestdVPSCountfield of the specifiedstruct. -
npStdVPSs
Unsafe version ofpStdVPSs. -
nstdSPSCount
public static void nstdSPSCount(long struct, int value) Sets the specified value to thestdSPSCountfield of the specifiedstruct. -
npStdSPSs
Unsafe version ofpStdSPSs. -
nstdPPSCount
public static void nstdPPSCount(long struct, int value) Sets the specified value to thestdPPSCountfield of the specifiedstruct. -
npStdPPSs
Unsafe version ofpStdPPSs.
-