Package org.lwjgl.vulkan
Class VkVideoSessionCreateInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoSessionCreateInfoKHR>
org.lwjgl.vulkan.VkVideoSessionCreateInfoKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoSessionCreateInfoKHR
extends org.lwjgl.system.Struct<VkVideoSessionCreateInfoKHR>
implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created video session.
Valid Usage
- If the
protectedMemoryfeature is not enabled or ifVkVideoCapabilitiesKHR::flagsdoes not includeVIDEO_CAPABILITY_PROTECTED_CONTENT_BIT_KHR, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfile, thenflagsmust not includeVIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR - If
flagsincludesVIDEO_SESSION_CREATE_INLINE_QUERIES_BIT_KHR, thenvideoMaintenance1must be enabled - If
flagsincludesVIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRorVIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR, then thevideoEncodeQuantizationMapfeature must be enabled - If
flagsincludesVIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHRorVIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR, thenpVideoProfile→videoCodecOperationmust specify an encode operation - If
flagsincludesVIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR, then it must not also includeVIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR - If
VkVideoEncodeCapabilitiesKHR::flagsdoes not includeVIDEO_ENCODE_CAPABILITY_QUANTIZATION_DELTA_MAP_BIT_KHR, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfile, thenflagsmust not includeVIDEO_SESSION_CREATE_ALLOW_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR - If
VkVideoEncodeCapabilitiesKHR::flagsdoes not includeVIDEO_ENCODE_CAPABILITY_EMPHASIS_MAP_BIT_KHR, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfile, thenflagsmust not includeVIDEO_SESSION_CREATE_ALLOW_ENCODE_EMPHASIS_MAP_BIT_KHR pVideoProfilemust be a supported video profilemaxDpbSlotsmust be less than or equal toVkVideoCapabilitiesKHR::maxDpbSlots, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfilemaxActiveReferencePicturesmust be less than or equal toVkVideoCapabilitiesKHR::maxActiveReferencePictures, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfile- If either
maxDpbSlotsormaxActiveReferencePicturesis 0, then both must be 0 maxCodedExtentmust be betweenVkVideoCapabilitiesKHR::minCodedExtentandVkVideoCapabilitiesKHR::maxCodedExtent, inclusive, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfile- If
pVideoProfile→videoCodecOperationspecifies a decode operation andmaxActiveReferencePicturesis greater than 0, thenreferencePictureFormatmust be one of the supported decode DPB formats, as returned byGetPhysicalDeviceVideoFormatPropertiesKHRinVkVideoFormatPropertiesKHR::formatwhen called with theimageUsagemember of itspVideoFormatInfoparameter containingIMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR, and with aVkVideoProfileListInfoKHRstructure specified in thepNextchain of itspVideoFormatInfoparameter whosepProfilesmember contains an element matchingpVideoProfile - If
pVideoProfile→videoCodecOperationspecifies an encode operation andmaxActiveReferencePicturesis greater than 0, thenreferencePictureFormatmust be one of the supported decode DPB formats, as returned by thenreferencePictureFormatmust be one of the supported encode DPB formats, as returned byGetPhysicalDeviceVideoFormatPropertiesKHRinVkVideoFormatPropertiesKHR::formatwhen called with theimageUsagemember of itspVideoFormatInfoparameter containingIMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR, and with aVkVideoProfileListInfoKHRstructure specified in thepNextchain of itspVideoFormatInfoparameter whosepProfilesmember contains an element matchingpVideoProfile - If
pVideoProfile→videoCodecOperationspecifies a decode operation, thenpictureFormatmust be one of the supported decode output formats, as returned byGetPhysicalDeviceVideoFormatPropertiesKHRinVkVideoFormatPropertiesKHR::formatwhen called with theimageUsagemember of itspVideoFormatInfoparameter containingIMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR, and with aVkVideoProfileListInfoKHRstructure specified in thepNextchain of itspVideoFormatInfoparameter whosepProfilesmember contains an element matchingpVideoProfile - If
pVideoProfile→videoCodecOperationspecifies an encode operation, thenpictureFormatmust be one of the supported encode input formats, as returned byGetPhysicalDeviceVideoFormatPropertiesKHRinVkVideoFormatPropertiesKHR::formatwhen called with theimageUsagemember of itspVideoFormatInfoparameter containingIMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR, and with aVkVideoProfileListInfoKHRstructure specified in thepNextchain of itspVideoFormatInfoparameter whosepProfilesmember contains an element matchingpVideoProfile pStdHeaderVersion→extensionNamemust matchVkVideoCapabilitiesKHR::stdHeaderVersion.extensionName, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfilepStdHeaderVersion→specVersionmust be less than or equal toVkVideoCapabilitiesKHR::stdHeaderVersion.specVersion, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified bypVideoProfile- If
pVideoProfile→videoCodecOperationisVIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHRand thepNextchain of this structure includes aVkVideoEncodeH264SessionCreateInfoKHRstructure, then itsmaxLevelIdcmember must be less than or equal toVkVideoEncodeH264CapabilitiesKHR::maxLevelIdc, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified inpVideoProfile - If
pVideoProfile→videoCodecOperationisVIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHRand thepNextchain of this structure includes aVkVideoEncodeH265SessionCreateInfoKHRstructure, then itsmaxLevelIdcmember must be less than or equal toVkVideoEncodeH265CapabilitiesKHR::maxLevelIdc, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified inpVideoProfile - If
pVideoProfile→videoCodecOperationisVIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHR, then thevideoEncodeAV1feature must be enabled - If
pVideoProfile→videoCodecOperationisVIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHRand thepNextchain of this structure includes aVkVideoEncodeAV1SessionCreateInfoKHRstructure, then itsmaxLevelmember must be less than or equal toVkVideoEncodeAV1CapabilitiesKHR::maxLevel, as returned byGetPhysicalDeviceVideoCapabilitiesKHRfor the video profile specified inpVideoProfile
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkVideoEncodeAV1SessionCreateInfoKHR,VkVideoEncodeH264SessionCreateInfoKHR, orVkVideoEncodeH265SessionCreateInfoKHR - The
sTypevalue of each struct in thepNextchain must be unique flagsmust be a valid combination ofVkVideoSessionCreateFlagBitsKHRvaluespVideoProfilemust be a valid pointer to a validVkVideoProfileInfoKHRstructurepictureFormatmust be a validVkFormatvaluereferencePictureFormatmust be a validVkFormatvaluepStdHeaderVersionmust be a valid pointer to a validVkExtensionPropertiesstructure
See Also
VkExtensionProperties, VkExtent2D, VkVideoProfileInfoKHR, CreateVideoSessionKHR
Layout
struct VkVideoSessionCreateInfoKHR {
VkStructureType sType();
void const * pNext();
uint32_t queueFamilyIndex();
VkVideoSessionCreateFlagsKHR flags();
VkVideoProfileInfoKHR const * pVideoProfile();
VkFormat pictureFormat();
VkExtent2D maxCodedExtent();
VkFormat referencePictureFormat();
uint32_t maxDpbSlots();
uint32_t maxActiveReferencePictures();
VkExtensionProperties const * pStdHeaderVersion();
}-
Nested Class Summary
Nested ClassesNested 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 member offsets.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 member offsets.static final intThe struct size in bytes.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
ConstructorsConstructorDescriptionVkVideoSessionCreateInfoKHR(ByteBuffer container) Creates aVkVideoSessionCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkVideoSessionCreateInfoKHRcalloc()Returns a newVkVideoSessionCreateInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoSessionCreateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoSessionCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoSessionCreateInfoKHRcreate()Returns a newVkVideoSessionCreateInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkVideoSessionCreateInfoKHRcreate(long address) Returns a newVkVideoSessionCreateInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoSessionCreateInfoKHR.Bufferinstance at the specified memory.static @Nullable VkVideoSessionCreateInfoKHRcreateSafe(long address) static @Nullable VkVideoSessionCreateInfoKHR.BuffercreateSafe(long address, int capacity) intflags()a bitmask ofVkVideoSessionCreateFlagBitsKHRspecifying creation flags.flags(int value) Sets the specified value to theflags()field.static VkVideoSessionCreateInfoKHRmalloc()Returns a newVkVideoSessionCreateInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoSessionCreateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoSessionCreateInfoKHRinstance allocated on the specifiedMemoryStack.intthe maximum number of active reference pictures that can be used in a single video coding operation using the created video session.maxActiveReferencePictures(int value) Sets the specified value to themaxActiveReferencePictures()field.the maximum width and height of the coded frames the created video session will be used with.maxCodedExtent(Consumer<VkExtent2D> consumer) Passes themaxCodedExtent()field to the specifiedConsumer.maxCodedExtent(VkExtent2D value) Copies the specifiedVkExtent2Dto themaxCodedExtent()field.intthe maximum number of DPB Slots that can be used with the created video session.maxDpbSlots(int value) Sets the specified value to themaxDpbSlots()field.static intnflags(long struct) Unsafe version offlags().static voidnflags(long struct, int value) Unsafe version offlags.static intnmaxActiveReferencePictures(long struct) Unsafe version ofmaxActiveReferencePictures().static voidnmaxActiveReferencePictures(long struct, int value) Unsafe version ofmaxActiveReferencePictures.static VkExtent2DnmaxCodedExtent(long struct) Unsafe version ofmaxCodedExtent().static voidnmaxCodedExtent(long struct, VkExtent2D value) Unsafe version ofmaxCodedExtent.static intnmaxDpbSlots(long struct) Unsafe version ofmaxDpbSlots().static voidnmaxDpbSlots(long struct, int value) Unsafe version ofmaxDpbSlots.static intnpictureFormat(long struct) Unsafe version ofpictureFormat().static voidnpictureFormat(long struct, int value) Unsafe version ofpictureFormat.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static VkExtensionPropertiesnpStdHeaderVersion(long struct) Unsafe version ofpStdHeaderVersion().static voidnpStdHeaderVersion(long struct, VkExtensionProperties value) Unsafe version ofpStdHeaderVersion.static VkVideoProfileInfoKHRnpVideoProfile(long struct) Unsafe version ofpVideoProfile().static voidnpVideoProfile(long struct, VkVideoProfileInfoKHR value) Unsafe version ofpVideoProfile.static intnqueueFamilyIndex(long struct) Unsafe version ofqueueFamilyIndex().static voidnqueueFamilyIndex(long struct, int value) Unsafe version ofqueueFamilyIndex.static intnreferencePictureFormat(long struct) Unsafe version ofreferencePictureFormat().static voidnreferencePictureFormat(long struct, int value) Unsafe version ofreferencePictureFormat.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.intthe image format the created video session will be used with.pictureFormat(int value) Sets the specified value to thepictureFormat()field.longpNext()NULLor a pointer to a structure extending this structure.pNext(long value) Sets the specified value to thepNext()field.Prepends the specifiedVkVideoEncodeAV1SessionCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkVideoEncodeH264SessionCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkVideoEncodeH265SessionCreateInfoKHRvalue to thepNextchain.a pointer to aVkExtensionPropertiesstructure requesting the Video Std header version to use for thevideoCodecOperationspecified inpVideoProfile.Sets the address of the specifiedVkExtensionPropertiesto thepStdHeaderVersion()field.a pointer to aVkVideoProfileInfoKHRstructure specifying the video profile the created video session will be used with.Sets the address of the specifiedVkVideoProfileInfoKHRto thepVideoProfile()field.intthe index of the queue family the created video session will be used with.queueFamilyIndex(int value) Sets the specified value to thequeueFamilyIndex()field.intthe image format of reference pictures stored in the DPB the created video session will be used with.referencePictureFormat(int value) Sets the specified value to thereferencePictureFormat()field.set(int sType, long pNext, int queueFamilyIndex, int flags, VkVideoProfileInfoKHR pVideoProfile, int pictureFormat, VkExtent2D maxCodedExtent, int referencePictureFormat, int maxDpbSlots, int maxActiveReferencePictures, VkExtensionProperties pStdHeaderVersion) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_VIDEO_SESSION_CREATE_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. -
QUEUEFAMILYINDEX
public static final int QUEUEFAMILYINDEXThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets. -
PVIDEOPROFILE
public static final int PVIDEOPROFILEThe struct member offsets. -
PICTUREFORMAT
public static final int PICTUREFORMATThe struct member offsets. -
MAXCODEDEXTENT
public static final int MAXCODEDEXTENTThe struct member offsets. -
REFERENCEPICTUREFORMAT
public static final int REFERENCEPICTUREFORMATThe struct member offsets. -
MAXDPBSLOTS
public static final int MAXDPBSLOTSThe struct member offsets. -
MAXACTIVEREFERENCEPICTURES
public static final int MAXACTIVEREFERENCEPICTURESThe struct member offsets. -
PSTDHEADERVERSION
public static final int PSTDHEADERVERSIONThe struct member offsets.
-
-
Constructor Details
-
VkVideoSessionCreateInfoKHR
Creates aVkVideoSessionCreateInfoKHRinstance 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<VkVideoSessionCreateInfoKHR>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
queueFamilyIndex
public int queueFamilyIndex()the index of the queue family the created video session will be used with. -
flags
public int flags()a bitmask ofVkVideoSessionCreateFlagBitsKHRspecifying creation flags. -
pVideoProfile
a pointer to aVkVideoProfileInfoKHRstructure specifying the video profile the created video session will be used with. -
pictureFormat
public int pictureFormat()the image format the created video session will be used with. IfpVideoProfile→videoCodecOperationspecifies a decode operation, thenpictureFormatis the image format of decode output pictures usable with the created video session. IfpVideoProfile→videoCodecOperationspecifies an encode operation, thenpictureFormatis the image format of encode input pictures usable with the created video session. -
maxCodedExtent
the maximum width and height of the coded frames the created video session will be used with. -
referencePictureFormat
public int referencePictureFormat()the image format of reference pictures stored in the DPB the created video session will be used with. -
maxDpbSlots
public int maxDpbSlots()the maximum number of DPB Slots that can be used with the created video session. -
maxActiveReferencePictures
public int maxActiveReferencePictures()the maximum number of active reference pictures that can be used in a single video coding operation using the created video session. -
pStdHeaderVersion
a pointer to aVkExtensionPropertiesstructure requesting the Video Std header version to use for thevideoCodecOperationspecified inpVideoProfile. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHRvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
pNext
Prepends the specifiedVkVideoEncodeAV1SessionCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkVideoEncodeH264SessionCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkVideoEncodeH265SessionCreateInfoKHRvalue to thepNextchain. -
queueFamilyIndex
Sets the specified value to thequeueFamilyIndex()field. -
flags
Sets the specified value to theflags()field. -
pVideoProfile
Sets the address of the specifiedVkVideoProfileInfoKHRto thepVideoProfile()field. -
pictureFormat
Sets the specified value to thepictureFormat()field. -
maxCodedExtent
Copies the specifiedVkExtent2Dto themaxCodedExtent()field. -
maxCodedExtent
Passes themaxCodedExtent()field to the specifiedConsumer. -
referencePictureFormat
Sets the specified value to thereferencePictureFormat()field. -
maxDpbSlots
Sets the specified value to themaxDpbSlots()field. -
maxActiveReferencePictures
Sets the specified value to themaxActiveReferencePictures()field. -
pStdHeaderVersion
Sets the address of the specifiedVkExtensionPropertiesto thepStdHeaderVersion()field. -
set
public VkVideoSessionCreateInfoKHR set(int sType, long pNext, int queueFamilyIndex, int flags, VkVideoProfileInfoKHR pVideoProfile, int pictureFormat, VkExtent2D maxCodedExtent, int referencePictureFormat, int maxDpbSlots, int maxActiveReferencePictures, VkExtensionProperties pStdHeaderVersion) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkVideoSessionCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoSessionCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoSessionCreateInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoSessionCreateInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoSessionCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoSessionCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoSessionCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoSessionCreateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoSessionCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoSessionCreateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoSessionCreateInfoKHR.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(). -
nqueueFamilyIndex
public static int nqueueFamilyIndex(long struct) Unsafe version ofqueueFamilyIndex(). -
nflags
public static int nflags(long struct) Unsafe version offlags(). -
npVideoProfile
Unsafe version ofpVideoProfile(). -
npictureFormat
public static int npictureFormat(long struct) Unsafe version ofpictureFormat(). -
nmaxCodedExtent
Unsafe version ofmaxCodedExtent(). -
nreferencePictureFormat
public static int nreferencePictureFormat(long struct) Unsafe version ofreferencePictureFormat(). -
nmaxDpbSlots
public static int nmaxDpbSlots(long struct) Unsafe version ofmaxDpbSlots(). -
nmaxActiveReferencePictures
public static int nmaxActiveReferencePictures(long struct) Unsafe version ofmaxActiveReferencePictures(). -
npStdHeaderVersion
Unsafe version ofpStdHeaderVersion(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nqueueFamilyIndex
public static void nqueueFamilyIndex(long struct, int value) Unsafe version ofqueueFamilyIndex. -
nflags
public static void nflags(long struct, int value) Unsafe version offlags. -
npVideoProfile
Unsafe version ofpVideoProfile. -
npictureFormat
public static void npictureFormat(long struct, int value) Unsafe version ofpictureFormat. -
nmaxCodedExtent
Unsafe version ofmaxCodedExtent. -
nreferencePictureFormat
public static void nreferencePictureFormat(long struct, int value) Unsafe version ofreferencePictureFormat. -
nmaxDpbSlots
public static void nmaxDpbSlots(long struct, int value) Unsafe version ofmaxDpbSlots. -
nmaxActiveReferencePictures
public static void nmaxActiveReferencePictures(long struct, int value) Unsafe version ofmaxActiveReferencePictures. -
npStdHeaderVersion
Unsafe version ofpStdHeaderVersion. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-