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;
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
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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, MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(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, MemoryStack stack) Returns a newVkVideoDecodeH265SessionParametersAddInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(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()pNext(long value) Sets the specified value to thepNextfield.@Nullable StdVideoH265PictureParameterSet.BufferpStdPPSs()pStdPPSs(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Bufferto thepStdPPSsfield.@Nullable StdVideoH265SequenceParameterSet.BufferpStdSPSs()pStdSPSs(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Bufferto thepStdSPSsfield.@Nullable StdVideoH265VideoParameterSet.BufferpStdVPSs()pStdVPSs(@Nullable StdVideoH265VideoParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265VideoParameterSet.Bufferto thepStdVPSsfield.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()Returnssizeof(struct).intintintintsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHRvalue to thesTypefield.static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods 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()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkVideoDecodeH265SessionParametersAddInfoKHR>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
stdVPSCount
public int stdVPSCount()- Returns:
- the value of the
stdVPSCountfield.
-
pStdVPSs
- Returns:
- a
StdVideoH265VideoParameterSet.Bufferview of the struct array pointed to by thepStdVPSsfield.
-
stdSPSCount
public int stdSPSCount()- Returns:
- the value of the
stdSPSCountfield.
-
pStdSPSs
- Returns:
- a
StdVideoH265SequenceParameterSet.Bufferview of the struct array pointed to by thepStdSPSsfield.
-
stdPPSCount
public int stdPPSCount()- Returns:
- the value of the
stdPPSCountfield.
-
pStdPPSs
- Returns:
- a
StdVideoH265PictureParameterSet.Bufferview of the struct array pointed to by thepStdPPSsfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHRvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pStdVPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdVPSs(@Nullable StdVideoH265VideoParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265VideoParameterSet.Bufferto thepStdVPSsfield. -
pStdSPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdSPSs(@Nullable StdVideoH265SequenceParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265SequenceParameterSet.Bufferto thepStdSPSsfield. -
pStdPPSs
public VkVideoDecodeH265SessionParametersAddInfoKHR pStdPPSs(@Nullable StdVideoH265PictureParameterSet.Buffer value) Sets the address of the specifiedStdVideoH265PictureParameterSet.Bufferto thepStdPPSsfield. -
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
Returns a newVkVideoDecodeH265SessionParametersAddInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
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, 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, 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
-