It is common for video compression standards to allow using all reference pictures associated with active DPB slots as active reference pictures, hence for video decode profiles the values returned in maxDpbSlots and maxActiveReferencePictures are often equal. Similarly, in case of video decode profiles supporting field pictures the value of maxActiveReferencePictures often equals maxDpbSlots × 2.
sType must be STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHRpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkVideoDecodeCapabilitiesKHR, VkVideoDecodeH264CapabilitiesKHR, VkVideoDecodeH265CapabilitiesKHR, VkVideoEncodeCapabilitiesKHR, VkVideoEncodeH264CapabilitiesEXT, or VkVideoEncodeH265CapabilitiesEXTsType value of each struct in the pNext chain must be uniqueVkExtensionProperties, VkExtent2D, GetPhysicalDeviceVideoCapabilitiesKHR
struct VkVideoCapabilitiesKHR {
VkStructureType sType;
void * pNext;
VkVideoCapabilityFlagsKHR flags;
VkDeviceSize minBitstreamBufferOffsetAlignment;
VkDeviceSize minBitstreamBufferSizeAlignment;
VkExtent2D pictureAccessGranularity;
VkExtent2D minCodedExtent;
VkExtent2D maxCodedExtent;
uint32_t maxDpbSlots;
uint32_t maxActiveReferencePictures;
VkExtensionProperties stdHeaderVersion;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVideoCapabilitiesKHR.
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 | MAXACTIVEREFERENCEPICTURES
The struct member offsets. |
| public static final int | MAXCODEDEXTENT
The struct member offsets. |
| public static final int | MAXDPBSLOTS
The struct member offsets. |
| public static final int | MINBITSTREAMBUFFEROFFSETALIGNMENT
The struct member offsets. |
| public static final int | MINBITSTREAMBUFFERSIZEALIGNMENT
The struct member offsets. |
| public static final int | MINCODEDEXTENT
The struct member offsets. |
| public static final int | PICTUREACCESSGRANULARITY
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 | STDHEADERVERSION
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVideoCapabilitiesKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoCapabilitiesKHR | |
| public static VkVideoCapabilitiesKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoCapabilitiesKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoCapabilitiesKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVideoCapabilitiesKHR | 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 VkVideoCapabilitiesKHR | |
| public static VkVideoCapabilitiesKHR | |
| public static VkVideoCapabilitiesKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoCapabilitiesKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoCapabilitiesKHR | |
| public static VkVideoCapabilitiesKHR. | |
| public int | |
| public static VkVideoCapabilitiesKHR | |
| public static VkVideoCapabilitiesKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoCapabilitiesKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoCapabilitiesKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxActiveReferencePictures()
the maximum number of active reference pictures a single video coding operation can use. |
| public VkExtent2D | |
| public int | |
| public long | |
| public long | |
| public VkExtent2D | |
| public static int | |
| public static int | |
| public static VkExtent2D | |
| public static int | |
| public static long | |
| public static long | |
| public static VkExtent2D | |
| public static VkExtent2D | |
| public static long | |
| public static void | |
| public static VkExtensionProperties | |
| public static int | |
| public static void | |
| public VkExtent2D | |
| public long | |
| public VkVideoCapabilitiesKHR | |
| public VkVideoCapabilitiesKHR | pNext(VkVideoDecodeCapabilitiesKHR value)
Prepends the specified |
| public VkVideoCapabilitiesKHR | pNext(VkVideoDecodeH264CapabilitiesKHR value)
Prepends the specified |
| public VkVideoCapabilitiesKHR | pNext(VkVideoDecodeH265CapabilitiesKHR value)
Prepends the specified |
| public VkVideoCapabilitiesKHR | pNext(VkVideoEncodeCapabilitiesKHR value)
Prepends the specified |
| public VkVideoCapabilitiesKHR | pNext(VkVideoEncodeH264CapabilitiesEXT value)
Prepends the specified |
| public VkVideoCapabilitiesKHR | pNext(VkVideoEncodeH265CapabilitiesEXT value)
Prepends the specified |
| public VkVideoCapabilitiesKHR | |
| public VkVideoCapabilitiesKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public VkExtensionProperties | stdHeaderVersion()
a |
| public int | |
| public VkVideoCapabilitiesKHR | |
| public VkVideoCapabilitiesKHR |
| 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. | |
| MAXACTIVEREFERENCEPICTURES | back to summary |
|---|---|
| public static final int MAXACTIVEREFERENCEPICTURES The struct member offsets. | |
| MAXCODEDEXTENT | back to summary |
|---|---|
| public static final int MAXCODEDEXTENT The struct member offsets. | |
| MAXDPBSLOTS | back to summary |
|---|---|
| public static final int MAXDPBSLOTS The struct member offsets. | |
| MINBITSTREAMBUFFEROFFSETALIGNMENT | back to summary |
|---|---|
| public static final int MINBITSTREAMBUFFEROFFSETALIGNMENT The struct member offsets. | |
| MINBITSTREAMBUFFERSIZEALIGNMENT | back to summary |
|---|---|
| public static final int MINBITSTREAMBUFFERSIZEALIGNMENT The struct member offsets. | |
| MINCODEDEXTENT | back to summary |
|---|---|
| public static final int MINCODEDEXTENT The struct member offsets. | |
| PICTUREACCESSGRANULARITY | back to summary |
|---|---|
| public static final int PICTUREACCESSGRANULARITY 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. | |
| STDHEADERVERSION | back to summary |
|---|---|
| public static final int STDHEADERVERSION The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkVideoCapabilitiesKHR | back to summary |
|---|---|
| protected VkVideoCapabilitiesKHR(long address, ByteBuffer container) | |
| VkVideoCapabilitiesKHR | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkVideoCapabilitiesKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Like
| |
| flags | back to summary |
|---|---|
| public int flags() a bitmask of
| |
| malloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoCapabilitiesKHR. Returns a new
| |
| maxActiveReferencePictures | back to summary |
|---|---|
| public int maxActiveReferencePictures() the maximum number of active reference pictures a single video coding operation can use.
| |
| maxCodedExtent | back to summary |
|---|---|
| public VkExtent2D maxCodedExtent() the maximum width and height of the coded frames. | |
| maxDpbSlots | back to summary |
|---|---|
| public int maxDpbSlots() the maximum number of DPB slots supported by a single video session.
| |
| minBitstreamBufferOffsetAlignment | back to summary |
|---|---|
| public long minBitstreamBufferOffsetAlignment() the minimum alignment for bitstream buffer offsets.
| |
| minBitstreamBufferSizeAlignment | back to summary |
|---|---|
| public long minBitstreamBufferSizeAlignment() the minimum alignment for bitstream buffer range sizes.
| |
| minCodedExtent | back to summary |
|---|---|
| public VkExtent2D minCodedExtent() the minimum width and height of the coded frames. | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nmaxActiveReferencePictures | back to summary |
|---|---|
| public static int nmaxActiveReferencePictures(long struct) Unsafe version of | |
| nmaxCodedExtent | back to summary |
|---|---|
| public static VkExtent2D nmaxCodedExtent(long struct) Unsafe version of | |
| nmaxDpbSlots | back to summary |
|---|---|
| public static int nmaxDpbSlots(long struct) Unsafe version of | |
| nminBitstreamBufferOffsetAlignment | back to summary |
|---|---|
| public static long nminBitstreamBufferOffsetAlignment(long struct) Unsafe version of | |
| nminBitstreamBufferSizeAlignment | back to summary |
|---|---|
| public static long nminBitstreamBufferSizeAlignment(long struct) Unsafe version of | |
| nminCodedExtent | back to summary |
|---|---|
| public static VkExtent2D nminCodedExtent(long struct) Unsafe version of | |
| npictureAccessGranularity | back to summary |
|---|---|
| public static VkExtent2D npictureAccessGranularity(long struct) 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 | |
| nstdHeaderVersion | back to summary |
|---|---|
| public static VkExtensionProperties nstdHeaderVersion(long struct) 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 | |
| pictureAccessGranularity | back to summary |
|---|---|
| public VkExtent2D pictureAccessGranularity() the granularity at which image access to video picture resources happen. | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(VkVideoDecodeCapabilitiesKHR value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(VkVideoDecodeH264CapabilitiesKHR value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(VkVideoDecodeH265CapabilitiesKHR value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(VkVideoEncodeCapabilitiesKHR value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(VkVideoEncodeH264CapabilitiesEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR pNext(VkVideoEncodeH265CapabilitiesEXT value) Prepends the specified | |
| set | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR set(VkVideoCapabilitiesKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stdHeaderVersion | back to summary |
|---|---|
| public VkExtensionProperties stdHeaderVersion() a | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR sType$Default() Sets the | |
VkVideoCapabilitiesKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVideoCapabilitiesKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVideoCapabilitiesKHR 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()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkVideoCapabilitiesKHR getElementFactory() Implements abstract org.
| |
| maxActiveReferencePictures | back to summary |
|---|---|
public int maxActiveReferencePictures()
| |
| maxCodedExtent | back to summary |
|---|---|
public VkExtent2D maxCodedExtent()
| |
| maxDpbSlots | back to summary |
|---|---|
public int maxDpbSlots()
| |
| minBitstreamBufferOffsetAlignment | back to summary |
|---|---|
public long minBitstreamBufferOffsetAlignment()
| |
| minBitstreamBufferSizeAlignment | back to summary |
|---|---|
public long minBitstreamBufferSizeAlignment()
| |
| minCodedExtent | back to summary |
|---|---|
public VkExtent2D minCodedExtent()
| |
| pictureAccessGranularity | back to summary |
|---|---|
public VkExtent2D pictureAccessGranularity()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Prepends the specified | |
| self | back to summary |
|---|---|
| protected VkVideoCapabilitiesKHR. Implements abstract org.
| |
| stdHeaderVersion | back to summary |
|---|---|
public VkExtensionProperties stdHeaderVersion()
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoCapabilitiesKHR. Sets the | |