Package org.lwjgl.vulkan
Class VkVideoDecodeH265SessionParametersAddInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoDecodeH265SessionParametersAddInfoKHR>
org.lwjgl.vulkan.VkVideoDecodeH265SessionParametersAddInfoKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265SessionParametersAddInfoKHR
extends org.lwjgl.system.Struct<VkVideoDecodeH265SessionParametersAddInfoKHR>
implements org.lwjgl.system.NativeResource
Structure specifies H.265 decoder parameter set information.
Description
This structure can be specified in the following places:
- In the
pParametersAddInfomember of theVkVideoDecodeH265SessionParametersCreateInfoKHRstructure 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_DECODE_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_DECODE_H265_BIT_KHR, then it defines the set of parameters to add to it (see Updating Video Session Parameters).
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
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR- If
stdVPSCountis not 0,pStdVPSsmust be a valid pointer to an array ofstdVPSCountStdVideoH265VideoParameterSetvalues - If
stdSPSCountis not 0,pStdSPSsmust be a valid pointer to an array ofstdSPSCountStdVideoH265SequenceParameterSetvalues - If
stdPPSCountis not 0,pStdPPSsmust be a valid pointer to an array ofstdPPSCountStdVideoH265PictureParameterSetvalues
See Also
VkVideoDecodeH265SessionParametersCreateInfoKHR
Layout
struct VkVideoDecodeH265SessionParametersAddInfoKHR {
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 ofVkVideoDecodeH265SessionParametersAddInfoKHRstructs.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 aVkVideoDecodeH265SessionParametersAddInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance at the specified memory.static @Nullable VkVideoDecodeH265SessionParametersAddInfoKHRcreateSafe(long address) static @Nullable VkVideoDecodeH265SessionParametersAddInfoKHR.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance 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, @Nullable StdVideoH265VideoParameterSet.Buffer pStdVPSs, @Nullable StdVideoH265SequenceParameterSet.Buffer pStdSPSs, @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.intthe number of elements in thepStdSPSsarray.intthe number of elements in thepStdVPSsarray.intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHRvalue to thesType()field.static voidvalidate(long struct) Validates pointer members that should not beNULL.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
-
VkVideoDecodeH265SessionParametersAddInfoKHR
Creates aVkVideoDecodeH265SessionParametersAddInfoKHRinstance 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<VkVideoDecodeH265SessionParametersAddInfoKHR>
-
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_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHRvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
pStdVPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdVPSs(@Nullable StdVideoH265VideoParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265VideoParameterSet.Bufferto thepStdVPSs()field. -
pStdSPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdSPSs(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Bufferto thepStdSPSs()field. -
pStdPPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdPPSs(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Bufferto thepStdPPSs()field. -
set
public VkVideoDecodeH265SessionParametersAddInfoKHR set(int sType, long pNext, @Nullable StdVideoH265VideoParameterSet.Buffer pStdVPSs, @Nullable StdVideoH265SequenceParameterSet.Buffer pStdSPSs, @Nullable StdVideoH265PictureParameterSet.Buffer pStdPPSs) Initializes this struct with the specified values. -
set
public VkVideoDecodeH265SessionParametersAddInfoKHR set(VkVideoDecodeH265SessionParametersAddInfoKHR src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer create(long address, int capacity) Create aVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer createSafe(long address, int capacity) -
malloc
public static VkVideoDecodeH265SessionParametersAddInfoKHR malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265SessionParametersAddInfoKHR calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.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. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-