When GetPhysicalDeviceVideoCapabilitiesKHR is called to query the capabilities with parameter videoCodecOperation specified as VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT, a VkVideoEncodeH264CapabilitiesEXT structure can be chained to VkVideoCapabilitiesKHR to retrieve H.264 extension specific capabilities.
sType must be STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT
struct VkVideoEncodeH264CapabilitiesEXT {
VkStructureType sType;
void * pNext;
VkVideoEncodeH264CapabilityFlagsEXT flags;
StdVideoH264LevelIdc maxLevelIdc;
uint32_t maxSliceCount;
uint32_t maxPPictureL0ReferenceCount;
uint32_t maxBPictureL0ReferenceCount;
uint32_t maxL1ReferenceCount;
uint32_t maxTemporalLayerCount;
VkBool32 expectDyadicTemporalLayerPattern;
int32_t minQp;
int32_t maxQp;
VkBool32 prefersGopRemainingFrames;
VkBool32 requiresGopRemainingFrames;
VkVideoEncodeH264StdFlagsEXT stdSyntaxFlags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVideoEncodeH264CapabilitiesEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | EXPECTDYADICTEMPORALLAYERPATTERN
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | MAXBPICTUREL0REFERENCECOUNT
The struct member offsets. |
| public static final int | MAXL1REFERENCECOUNT
The struct member offsets. |
| public static final int | MAXLEVELIDC
The struct member offsets. |
| public static final int | MAXPPICTUREL0REFERENCECOUNT
The struct member offsets. |
| public static final int | MAXQP
The struct member offsets. |
| public static final int | MAXSLICECOUNT
The struct member offsets. |
| public static final int | MAXTEMPORALLAYERCOUNT
The struct member offsets. |
| public static final int | MINQP
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PREFERSGOPREMAININGFRAMES
The struct member offsets. |
| public static final int | REQUIRESGOPREMAININGFRAMES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STDSYNTAXFLAGS
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVideoEncodeH264CapabilitiesEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT | |
| public static VkVideoEncodeH264CapabilitiesEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH264CapabilitiesEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoEncodeH264CapabilitiesEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVideoEncodeH264CapabilitiesEXT | 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 VkVideoEncodeH264CapabilitiesEXT | |
| public static VkVideoEncodeH264CapabilitiesEXT | create(long address)
Returns a new |
| public static VkVideoEncodeH264CapabilitiesEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH264CapabilitiesEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoEncodeH264CapabilitiesEXT | |
| public static VkVideoEncodeH264CapabilitiesEXT. | |
| public boolean | expectDyadicTemporalLayerPattern()
indicates that the implementation’s rate control algorithms expect the application to use a dyadic temporal layer pattern when encoding multiple temporal layers. |
| public int | flags()
a bitmask of |
| public static VkVideoEncodeH264CapabilitiesEXT | |
| public static VkVideoEncodeH264CapabilitiesEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH264CapabilitiesEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoEncodeH264CapabilitiesEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxBPictureL0ReferenceCount()
indicates the maximum number of reference pictures the implementation supports in the reference list L0 for B pictures. |
| public int | maxL1ReferenceCount()
reports the maximum number of reference pictures the implementation supports in the reference list L1 if encoding of B pictures is supported. |
| public int | |
| public int | maxPPictureL0ReferenceCount()
indicates the maximum number of reference pictures the implementation supports in the reference list L0 for P pictures. |
| public int | |
| public int | |
| public int | maxTemporalLayerCount()
indicates the maximum number of H.264 temporal layers supported by the implementation. |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public long | |
| public VkVideoEncodeH264CapabilitiesEXT | |
| public boolean | prefersGopRemainingFrames()
indicates that the implementation’s rate control algorithm prefers the application to specify the number of frames of each type remaining in the current group of pictures. |
| public boolean | requiresGopRemainingFrames()
indicates that the implementation’s rate control algorithm requires the application to specify the number of frames of each type remaining in the current group of pictures. |
| public VkVideoEncodeH264CapabilitiesEXT | |
| public VkVideoEncodeH264CapabilitiesEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | stdSyntaxFlags()
a bitmask of |
| public int | |
| public VkVideoEncodeH264CapabilitiesEXT | |
| public VkVideoEncodeH264CapabilitiesEXT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| EXPECTDYADICTEMPORALLAYERPATTERN | back to summary |
|---|---|
| public static final int EXPECTDYADICTEMPORALLAYERPATTERN The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| MAXBPICTUREL0REFERENCECOUNT | back to summary |
|---|---|
| public static final int MAXBPICTUREL0REFERENCECOUNT The struct member offsets. | |
| MAXL1REFERENCECOUNT | back to summary |
|---|---|
| public static final int MAXL1REFERENCECOUNT The struct member offsets. | |
| MAXLEVELIDC | back to summary |
|---|---|
| public static final int MAXLEVELIDC The struct member offsets. | |
| MAXPPICTUREL0REFERENCECOUNT | back to summary |
|---|---|
| public static final int MAXPPICTUREL0REFERENCECOUNT The struct member offsets. | |
| MAXQP | back to summary |
|---|---|
| public static final int MAXQP The struct member offsets. | |
| MAXSLICECOUNT | back to summary |
|---|---|
| public static final int MAXSLICECOUNT The struct member offsets. | |
| MAXTEMPORALLAYERCOUNT | back to summary |
|---|---|
| public static final int MAXTEMPORALLAYERCOUNT The struct member offsets. | |
| MINQP | back to summary |
|---|---|
| public static final int MINQP The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PREFERSGOPREMAININGFRAMES | back to summary |
|---|---|
| public static final int PREFERSGOPREMAININGFRAMES The struct member offsets. | |
| REQUIRESGOPREMAININGFRAMES | back to summary |
|---|---|
| public static final int REQUIRESGOPREMAININGFRAMES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STDSYNTAXFLAGS | back to summary |
|---|---|
| public static final int STDSYNTAXFLAGS The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkVideoEncodeH264CapabilitiesEXT | back to summary |
|---|---|
| protected VkVideoEncodeH264CapabilitiesEXT(long address, ByteBuffer container) | |
| VkVideoEncodeH264CapabilitiesEXT | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkVideoEncodeH264CapabilitiesEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Like
| |
| expectDyadicTemporalLayerPattern | back to summary |
|---|---|
| public boolean expectDyadicTemporalLayerPattern() indicates that the implementation’s rate control algorithms expect the application to use a dyadic temporal layer pattern when encoding multiple temporal layers.
| |
| flags | back to summary |
|---|---|
| public int flags() a bitmask of
| |
| malloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoEncodeH264CapabilitiesEXT. Returns a new
| |
| maxBPictureL0ReferenceCount | back to summary |
|---|---|
| public int maxBPictureL0ReferenceCount() indicates the maximum number of reference pictures the implementation supports in the reference list L0 for B pictures. The reported value is 0 if encoding of B pictures is not supported.
| |
| maxL1ReferenceCount | back to summary |
|---|---|
| public int maxL1ReferenceCount() reports the maximum number of reference pictures the implementation supports in the reference list L1 if encoding of B pictures is supported. The reported value is 0 if encoding of B pictures is not supported.
| |
| maxLevelIdc | back to summary |
|---|---|
| public int maxLevelIdc() a
| |
| maxPPictureL0ReferenceCount | back to summary |
|---|---|
| public int maxPPictureL0ReferenceCount() indicates the maximum number of reference pictures the implementation supports in the reference list L0 for P pictures.
| |
| maxQp | back to summary |
|---|---|
| public int maxQp() indicates the maximum QP value supported.
| |
| maxSliceCount | back to summary |
|---|---|
| public int maxSliceCount() indicates the maximum number of slices that can be encoded for a single picture. Further restrictions may apply to the number of slices that can be encoded for a single picture depending on other capabilities and codec-specific rules.
| |
| maxTemporalLayerCount | back to summary |
|---|---|
| public int maxTemporalLayerCount() indicates the maximum number of H.264 temporal layers supported by the implementation.
| |
| minQp | back to summary |
|---|---|
| public int minQp() indicates the minimum QP value supported.
| |
| nexpectDyadicTemporalLayerPattern | back to summary |
|---|---|
| public static int nexpectDyadicTemporalLayerPattern(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nmaxBPictureL0ReferenceCount | back to summary |
|---|---|
| public static int nmaxBPictureL0ReferenceCount(long struct) Unsafe version of | |
| nmaxL1ReferenceCount | back to summary |
|---|---|
| public static int nmaxL1ReferenceCount(long struct) Unsafe version of | |
| nmaxLevelIdc | back to summary |
|---|---|
| public static int nmaxLevelIdc(long struct) Unsafe version of | |
| nmaxPPictureL0ReferenceCount | back to summary |
|---|---|
| public static int nmaxPPictureL0ReferenceCount(long struct) Unsafe version of | |
| nmaxQp | back to summary |
|---|---|
| public static int nmaxQp(long struct) Unsafe version of | |
| nmaxSliceCount | back to summary |
|---|---|
| public static int nmaxSliceCount(long struct) Unsafe version of | |
| nmaxTemporalLayerCount | back to summary |
|---|---|
| public static int nmaxTemporalLayerCount(long struct) Unsafe version of | |
| nminQp | back to summary |
|---|---|
| public static int nminQp(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 | |
| nprefersGopRemainingFrames | back to summary |
|---|---|
| public static int nprefersGopRemainingFrames(long struct) Unsafe version of | |
| nrequiresGopRemainingFrames | back to summary |
|---|---|
| public static int nrequiresGopRemainingFrames(long struct) Unsafe version of | |
| nstdSyntaxFlags | back to summary |
|---|---|
| public static int nstdSyntaxFlags(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 | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT pNext(long value) Sets the specified value to the | |
| prefersGopRemainingFrames | back to summary |
|---|---|
| public boolean prefersGopRemainingFrames() indicates that the implementation’s rate control algorithm prefers the application to specify the number of frames of each type remaining in the current group of pictures.
| |
| requiresGopRemainingFrames | back to summary |
|---|---|
| public boolean requiresGopRemainingFrames() indicates that the implementation’s rate control algorithm requires the application to specify the number of frames of each type remaining in the current group of pictures.
| |
| set | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT set(VkVideoEncodeH264CapabilitiesEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stdSyntaxFlags | back to summary |
|---|---|
| public int stdSyntaxFlags() a bitmask of
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT sType$Default() Sets the | |
VkVideoEncodeH264CapabilitiesEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVideoEncodeH264CapabilitiesEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVideoEncodeH264CapabilitiesEXT 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) | |
| expectDyadicTemporalLayerPattern | back to summary |
|---|---|
public boolean expectDyadicTemporalLayerPattern()
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkVideoEncodeH264CapabilitiesEXT getElementFactory() Implements abstract org.
| |
| maxBPictureL0ReferenceCount | back to summary |
|---|---|
public int maxBPictureL0ReferenceCount()
| |
| maxL1ReferenceCount | back to summary |
|---|---|
public int maxL1ReferenceCount()
| |
| maxLevelIdc | back to summary |
|---|---|
public int maxLevelIdc()
| |
| maxPPictureL0ReferenceCount | back to summary |
|---|---|
public int maxPPictureL0ReferenceCount()
| |
| maxQp | back to summary |
|---|---|
public int maxQp()
| |
| maxSliceCount | back to summary |
|---|---|
public int maxSliceCount()
| |
| maxTemporalLayerCount | back to summary |
|---|---|
public int maxTemporalLayerCount()
| |
| minQp | back to summary |
|---|---|
public int minQp()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT. Sets the specified value to the | |
| prefersGopRemainingFrames | back to summary |
|---|---|
public boolean prefersGopRemainingFrames()
| |
| requiresGopRemainingFrames | back to summary |
|---|---|
public boolean requiresGopRemainingFrames()
| |
| self | back to summary |
|---|---|
| protected VkVideoEncodeH264CapabilitiesEXT. Implements abstract org.
| |
| stdSyntaxFlags | back to summary |
|---|---|
public int stdSyntaxFlags()
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoEncodeH264CapabilitiesEXT. Sets the | |