Limiting values are defined below that are referenced by the relevant valid usage statements of this structure.
videoSession was created with the codec operation VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then let StdVideoH264SequenceParameterSet spsAddList[] be the list of H.264 SPS entries to add to the created video session parameters object, defined as follows:
pParametersAddInfo member of the VkVideoDecodeH264SessionParametersCreateInfoKHR structure provided in the pNext chain is not NULL, then the set of StdVideoH264SequenceParameterSet entries specified in pParametersAddInfo→pStdSPSs are added to spsAddList;videoSessionParametersTemplate is not NULL_HANDLE, then each StdVideoH264SequenceParameterSet entry stored in it with seq_parameter_set_id not matching any of the entries already in spsAddList is added to spsAddList.videoSession was created with the codec operation VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then let StdVideoH264PictureParameterSet ppsAddList[] be the list of H.264 PPS entries to add to the created video session parameters object, defined as follows:
pParametersAddInfo member of the VkVideoDecodeH264SessionParametersCreateInfoKHR structure provided in the pNext chain is not NULL, then the set of StdVideoH264PictureParameterSet entries specified in pParametersAddInfo→pStdPPSs are added to ppsAddList;videoSessionParametersTemplate is not NULL_HANDLE, then each StdVideoH264PictureParameterSet entry stored in it with seq_parameter_set_id or pic_parameter_set_id not matching any of the entries already in ppsAddList is added to ppsAddList.videoSession was created with the codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then let StdVideoH265VideoParameterSet vpsAddList[] be the list of H.265 VPS entries to add to the created video session parameters object, defined as follows:
pParametersAddInfo member of the VkVideoDecodeH265SessionParametersCreateInfoKHR structure provided in the pNext chain is not NULL, then the set of StdVideoH265VideoParameterSet entries specified in pParametersAddInfo→pStdVPSs are added to vpsAddList;videoSessionParametersTemplate is not NULL_HANDLE, then each StdVideoH265VideoParameterSet entry stored in it with vps_video_parameter_set_id not matching any of the entries already in vpsAddList is added to vpsAddList.videoSession was created with the codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then let StdVideoH265SequenceParameterSet spsAddList[] be the list of H.265 SPS entries to add to the created video session parameters object, defined as follows:
pParametersAddInfo member of the VkVideoDecodeH265SessionParametersCreateInfoKHR structure provided in the pNext chain is not NULL, then the set of StdVideoH265SequenceParameterSet entries specified in pParametersAddInfo→pStdSPSs are added to spsAddList;videoSessionParametersTemplate is not NULL_HANDLE, then each StdVideoH265SequenceParameterSet entry stored in it with sps_video_parameter_set_id or sps_seq_parameter_set_id not matching any of the entries already in spsAddList is added to spsAddList.videoSession was created with the codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then let StdVideoH265PictureParameterSet ppsAddList[] be the list of H.265 PPS entries to add to the created video session parameters object, defined as follows:
pParametersAddInfo member of the VkVideoDecodeH265SessionParametersCreateInfoKHR structure provided in the pNext chain is not NULL, then the set of StdVideoH265PictureParameterSet entries specified in pParametersAddInfo→pStdPPSs are added to ppsAddList;videoSessionParametersTemplate is not NULL_HANDLE, then each StdVideoH265PictureParameterSet entry stored in it with sps_video_parameter_set_id, pps_seq_parameter_set_id, or pps_pic_parameter_set_id not matching any of the entries already in ppsAddList is added to ppsAddList.videoSessionParametersTemplate represents a valid handle, it must have been created against videoSessionvideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then the pNext chain must include a VkVideoDecodeH264SessionParametersCreateInfoKHR structurevideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then the number of elements of spsAddList must be less than or equal to the maxStdSPSCount specified in the VkVideoDecodeH264SessionParametersCreateInfoKHR structure included in the pNext chainvideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then the number of elements of ppsAddList must be less than or equal to the maxStdPPSCount specified in the VkVideoDecodeH264SessionParametersCreateInfoKHR structure included in the pNext chainvideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then the pNext chain must include a VkVideoDecodeH265SessionParametersCreateInfoKHR structurevideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then the number of elements of vpsAddList must be less than or equal to the maxStdVPSCount specified in the VkVideoDecodeH265SessionParametersCreateInfoKHR structure included in the pNext chainvideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then the number of elements of spsAddList must be less than or equal to the maxStdSPSCount specified in the VkVideoDecodeH265SessionParametersCreateInfoKHR structure included in the pNext chainvideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR, then the number of elements of ppsAddList must be less than or equal to the maxStdPPSCount specified in the VkVideoDecodeH265SessionParametersCreateInfoKHR structure included in the pNext chainvideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT, then the pNext chain must include a VkVideoEncodeH264SessionParametersCreateInfoEXT structurevideoSession was created with the video codec operation VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT, then the pNext chain must include a VkVideoEncodeH265SessionParametersCreateInfoEXT structuresType must be STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHRpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkVideoDecodeH264SessionParametersCreateInfoKHR, VkVideoDecodeH265SessionParametersCreateInfoKHR, VkVideoEncodeH264SessionParametersCreateInfoEXT, VkVideoEncodeH265SessionParametersCreateInfoEXT, or VkVideoEncodeQualityLevelInfoKHRsType value of each struct in the pNext chain must be uniqueflags must be 0videoSessionParametersTemplate is not NULL_HANDLE, videoSessionParametersTemplate must be a valid VkVideoSessionParametersKHR handlevideoSession must be a valid VkVideoSessionKHR handlevideoSessionParametersTemplate is a valid handle, it must have been created, allocated, or retrieved from videoSessionvideoSession, and videoSessionParametersTemplate that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDeviceCreateVideoSessionParametersKHR
struct VkVideoSessionParametersCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkVideoSessionParametersCreateFlagsKHR flags;
VkVideoSessionParametersKHR videoSessionParametersTemplate;
VkVideoSessionKHR videoSession;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVideoSessionParametersCreateInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VIDEOSESSION
The struct member offsets. |
| public static final int | VIDEOSESSIONPARAMETERSTEMPLATE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVideoSessionParametersCreateInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR | |
| public static VkVideoSessionParametersCreateInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoSessionParametersCreateInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoSessionParametersCreateInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVideoSessionParametersCreateInfoKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkVideoSessionParametersCreateInfoKHR | |
| public static VkVideoSessionParametersCreateInfoKHR | create(long address)
Returns a new |
| public static VkVideoSessionParametersCreateInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoSessionParametersCreateInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoSessionParametersCreateInfoKHR | |
| public static VkVideoSessionParametersCreateInfoKHR. | |
| public int | |
| public VkVideoSessionParametersCreateInfoKHR | |
| public static VkVideoSessionParametersCreateInfoKHR | |
| public static VkVideoSessionParametersCreateInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoSessionParametersCreateInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoSessionParametersCreateInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | nvideoSessionParametersTemplate(long struct, long value)
Unsafe version of |
| public long | |
| public VkVideoSessionParametersCreateInfoKHR | |
| public VkVideoSessionParametersCreateInfoKHR | pNext(VkVideoDecodeH264SessionParametersCreateInfoKHR value)
Prepends the specified |
| public VkVideoSessionParametersCreateInfoKHR | pNext(VkVideoDecodeH265SessionParametersCreateInfoKHR value)
Prepends the specified |
| public VkVideoSessionParametersCreateInfoKHR | pNext(VkVideoEncodeH264SessionParametersCreateInfoEXT value)
Prepends the specified |
| public VkVideoSessionParametersCreateInfoKHR | pNext(VkVideoEncodeH265SessionParametersCreateInfoEXT value)
Prepends the specified |
| public VkVideoSessionParametersCreateInfoKHR | pNext(VkVideoEncodeQualityLevelInfoKHR value)
Prepends the specified |
| public VkVideoSessionParametersCreateInfoKHR | set(int sType, long pNext, int flags, long videoSessionParametersTemplate, long videoSession)
Initializes this struct with the specified values. |
| public VkVideoSessionParametersCreateInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVideoSessionParametersCreateInfoKHR | |
| public VkVideoSessionParametersCreateInfoKHR | sType$Default()
Sets the |
| public long | videoSession()
the video session object against which the video session parameters object is going to be created. |
| public VkVideoSessionParametersCreateInfoKHR | |
| public long | videoSessionParametersTemplate()
|
| public VkVideoSessionParametersCreateInfoKHR | videoSessionParametersTemplate(long value)
Sets the specified value to the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VIDEOSESSION | back to summary |
|---|---|
| public static final int VIDEOSESSION The struct member offsets. | |
| VIDEOSESSIONPARAMETERSTEMPLATE | back to summary |
|---|---|
| public static final int VIDEOSESSIONPARAMETERSTEMPLATE The struct member offsets. | |
| VkVideoSessionParametersCreateInfoKHR | back to summary |
|---|---|
| protected VkVideoSessionParametersCreateInfoKHR(long address, ByteBuffer container) | |
| VkVideoSessionParametersCreateInfoKHR | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkVideoSessionParametersCreateInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Like
| |
| flags | back to summary |
|---|---|
| public int flags() reserved for future use.
| |
| flags | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoSessionParametersCreateInfoKHR. Returns a new
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| nvideoSession | back to summary |
|---|---|
| public static long nvideoSession(long struct) Unsafe version of | |
| nvideoSession | back to summary |
|---|---|
| public static void nvideoSession(long struct, long value) Unsafe version of | |
| nvideoSessionParametersTemplate | back to summary |
|---|---|
| public static long nvideoSessionParametersTemplate(long struct) Unsafe version of | |
| nvideoSessionParametersTemplate | back to summary |
|---|---|
| public static void nvideoSessionParametersTemplate(long struct, long value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR pNext(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR pNext(VkVideoDecodeH264SessionParametersCreateInfoKHR value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR pNext(VkVideoDecodeH265SessionParametersCreateInfoKHR value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR pNext(VkVideoEncodeH264SessionParametersCreateInfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR pNext(VkVideoEncodeH265SessionParametersCreateInfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR pNext(VkVideoEncodeQualityLevelInfoKHR value) Prepends the specified | |
| set | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR set(int sType, long pNext, int flags, long videoSessionParametersTemplate, long videoSession) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR set(VkVideoSessionParametersCreateInfoKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR sType$Default() Sets the | |
| videoSession | back to summary |
|---|---|
| public long videoSession() the video session object against which the video session parameters object is going to be created.
| |
| videoSession | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR videoSession(long value) Sets the specified value to the | |
| videoSessionParametersTemplate | back to summary |
|---|---|
| public long videoSessionParametersTemplate()
| |
| videoSessionParametersTemplate | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR videoSessionParametersTemplate(long value) Sets the specified value to the | |
VkVideoSessionParametersCreateInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVideoSessionParametersCreateInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVideoSessionParametersCreateInfoKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkVideoSessionParametersCreateInfoKHR getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Prepends the specified | |
| self | back to summary |
|---|---|
| protected VkVideoSessionParametersCreateInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Sets the | |
| videoSession | back to summary |
|---|---|
public long videoSession()
| |
| videoSession | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Sets the specified value to the | |
| videoSessionParametersTemplate | back to summary |
|---|---|
public long videoSessionParametersTemplate()
| |
| videoSessionParametersTemplate | back to summary |
|---|---|
| public VkVideoSessionParametersCreateInfoKHR. Sets the specified value to the | |