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
,NativeResource
,Pointer
public class VkVideoDecodeH265SessionParametersAddInfoKHR
extends Struct<VkVideoDecodeH265SessionParametersAddInfoKHR>
implements NativeResource
struct VkVideoDecodeH265SessionParametersAddInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t stdVPSCount;
{@link StdVideoH265VideoParameterSet StdVideoH265VideoParameterSet} const * pStdVPSs;
uint32_t stdSPSCount;
{@link StdVideoH265SequenceParameterSet StdVideoH265SequenceParameterSet} const * pStdSPSs;
uint32_t stdPPSCount;
{@link StdVideoH265PictureParameterSet StdVideoH265PictureParameterSet} const * pStdPPSs;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkVideoDecodeH265SessionParametersAddInfoKHR
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkVideoDecodeH265SessionParametersAddInfoKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance at the specified memory.static @Nullable VkVideoDecodeH265SessionParametersAddInfoKHR
createSafe
(long address) static @Nullable VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated on the specifiedMemoryStack
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static @Nullable StdVideoH265PictureParameterSet.Buffer
npStdPPSs
(long struct) Unsafe version ofpStdPPSs()
.static void
npStdPPSs
(long struct, @Nullable StdVideoH265PictureParameterSet.Buffer value) Unsafe version ofpStdPPSs
.static @Nullable StdVideoH265SequenceParameterSet.Buffer
npStdSPSs
(long struct) Unsafe version ofpStdSPSs()
.static void
npStdSPSs
(long struct, @Nullable StdVideoH265SequenceParameterSet.Buffer value) Unsafe version ofpStdSPSs
.static @Nullable StdVideoH265VideoParameterSet.Buffer
npStdVPSs
(long struct) Unsafe version ofpStdVPSs()
.static void
npStdVPSs
(long struct, @Nullable StdVideoH265VideoParameterSet.Buffer value) Unsafe version ofpStdVPSs
.static int
nstdPPSCount
(long struct) Unsafe version ofstdPPSCount()
.static void
nstdPPSCount
(long struct, int value) Sets the specified value to thestdPPSCount
field of the specifiedstruct
.static int
nstdSPSCount
(long struct) Unsafe version ofstdSPSCount()
.static void
nstdSPSCount
(long struct, int value) Sets the specified value to thestdSPSCount
field of the specifiedstruct
.static int
nstdVPSCount
(long struct) Unsafe version ofstdVPSCount()
.static void
nstdVPSCount
(long struct, int value) Sets the specified value to thestdVPSCount
field of the specifiedstruct
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.@Nullable StdVideoH265PictureParameterSet.Buffer
pStdPPSs()
pStdPPSs
(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Buffer
to thepStdPPSs
field.@Nullable StdVideoH265SequenceParameterSet.Buffer
pStdSPSs()
pStdSPSs
(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Buffer
to thepStdSPSs
field.@Nullable StdVideoH265VideoParameterSet.Buffer
pStdVPSs()
pStdVPSs
(@Nullable StdVideoH265VideoParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265VideoParameterSet.Buffer
to 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.int
sizeof()
Returnssizeof(struct)
.int
int
int
int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR
value to thesType
field.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aVkVideoDecodeH265SessionParametersAddInfoKHR
instance at the current position of the specifiedByteBuffer
container. 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()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkVideoDecodeH265SessionParametersAddInfoKHR>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
stdVPSCount
public int stdVPSCount()- Returns:
- the value of the
stdVPSCount
field.
-
pStdVPSs
- Returns:
- a
StdVideoH265VideoParameterSet.Buffer
view of the struct array pointed to by thepStdVPSs
field.
-
stdSPSCount
public int stdSPSCount()- Returns:
- the value of the
stdSPSCount
field.
-
pStdSPSs
- Returns:
- a
StdVideoH265SequenceParameterSet.Buffer
view of the struct array pointed to by thepStdSPSs
field.
-
stdPPSCount
public int stdPPSCount()- Returns:
- the value of the
stdPPSCount
field.
-
pStdPPSs
- Returns:
- a
StdVideoH265PictureParameterSet.Buffer
view of the struct array pointed to by thepStdPPSs
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR
value 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.Buffer
to thepStdVPSs
field. -
pStdSPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdSPSs(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Buffer
to thepStdSPSs
field. -
pStdPPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdPPSs(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Buffer
to 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 newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated withBufferUtils
. -
create
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer create(long address, int capacity) Create aVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265SessionParametersAddInfoKHR.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and 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 thestdVPSCount
field of the specifiedstruct
. -
npStdVPSs
Unsafe version ofpStdVPSs
. -
nstdSPSCount
public static void nstdSPSCount(long struct, int value) Sets the specified value to thestdSPSCount
field of the specifiedstruct
. -
npStdSPSs
Unsafe version ofpStdSPSs
. -
nstdPPSCount
public static void nstdPPSCount(long struct, int value) Sets the specified value to thestdPPSCount
field 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
-