Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkVideoEncodeH264CapabilitiesEXT

extends Struct<VkVideoEncodeH264CapabilitiesEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*, org.lwjgl.vulkan.video.*

Structure specifying H.264 encode capabilities.
Description

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.

Valid Usage (Implicit)

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField 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.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkVideoEncodeH264CapabilitiesEXT(ByteBuffer container)

Creates a VkVideoEncodeH264CapabilitiesEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkVideoEncodeH264CapabilitiesEXT
calloc()

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated with memCalloc.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated with memCalloc.

public static VkVideoEncodeH264CapabilitiesEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

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.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkVideoEncodeH264CapabilitiesEXT
create()

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated with BufferUtils.

public static VkVideoEncodeH264CapabilitiesEXT
create(long address)

Returns a new VkVideoEncodeH264CapabilitiesEXT instance for the specified memory address.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated with BufferUtils.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkVideoEncodeH264CapabilitiesEXT.Buffer instance at the specified memory.

public static VkVideoEncodeH264CapabilitiesEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

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 VkVideoEncodeH264CapabilityFlagBitsEXT indicating supported H.264 encoding capabilities.

public static VkVideoEncodeH264CapabilitiesEXT
malloc()

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated with memAlloc.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated with memAlloc.

public static VkVideoEncodeH264CapabilitiesEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated on the specified MemoryStack.

public static VkVideoEncodeH264CapabilitiesEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated on the specified MemoryStack.

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
maxLevelIdc()

a StdVideoH264LevelIdc value indicating the maximum H.264 level supported.

public int
maxPPictureL0ReferenceCount()

indicates the maximum number of reference pictures the implementation supports in the reference list L0 for P pictures.

public int
maxQp()

indicates the maximum QP value supported.

public int
maxSliceCount()

indicates the maximum number of slices that can be encoded for a single picture.

public int
maxTemporalLayerCount()

indicates the maximum number of H.264 temporal layers supported by the implementation.

public int
minQp()

indicates the minimum QP value supported.

public static int
public static int
nflags(long struct)

Unsafe version of flags.

public static int
public static int
nmaxL1ReferenceCount(long struct)

Unsafe version of maxL1ReferenceCount.

public static int
nmaxLevelIdc(long struct)

Unsafe version of maxLevelIdc.

public static int
public static int
nmaxQp(long struct)

Unsafe version of maxQp.

public static int
nmaxSliceCount(long struct)

Unsafe version of maxSliceCount.

public static int
nmaxTemporalLayerCount(long struct)

Unsafe version of maxTemporalLayerCount.

public static int
nminQp(long struct)

Unsafe version of minQp.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
public static int
public static int
nstdSyntaxFlags(long struct)

Unsafe version of stdSyntaxFlags.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkVideoEncodeH264CapabilitiesEXT
pNext(long value)

Sets the specified value to the pNext field.

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
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkVideoEncodeH264CapabilitiesEXT

Returns:

this struct
set
(VkVideoEncodeH264CapabilitiesEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
stdSyntaxFlags()

a bitmask of VkVideoEncodeH264StdFlagBitsEXT indicating capabilities related to H.264 syntax elements.

public int
sType()

a VkStructureType value identifying this structure.

public VkVideoEncodeH264CapabilitiesEXT
sType(int value)

Sets the specified value to the sType field.

public VkVideoEncodeH264CapabilitiesEXT
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

EXPECTDYADICTEMPORALLAYERPATTERNback to summary
public static final int EXPECTDYADICTEMPORALLAYERPATTERN

The struct member offsets.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

MAXBPICTUREL0REFERENCECOUNTback to summary
public static final int MAXBPICTUREL0REFERENCECOUNT

The struct member offsets.

MAXL1REFERENCECOUNTback to summary
public static final int MAXL1REFERENCECOUNT

The struct member offsets.

MAXLEVELIDCback to summary
public static final int MAXLEVELIDC

The struct member offsets.

MAXPPICTUREL0REFERENCECOUNTback to summary
public static final int MAXPPICTUREL0REFERENCECOUNT

The struct member offsets.

MAXQPback to summary
public static final int MAXQP

The struct member offsets.

MAXSLICECOUNTback to summary
public static final int MAXSLICECOUNT

The struct member offsets.

MAXTEMPORALLAYERCOUNTback to summary
public static final int MAXTEMPORALLAYERCOUNT

The struct member offsets.

MINQPback to summary
public static final int MINQP

The struct member offsets.

PNEXTback to summary
public static final int PNEXT

The struct member offsets.

PREFERSGOPREMAININGFRAMESback to summary
public static final int PREFERSGOPREMAININGFRAMES

The struct member offsets.

REQUIRESGOPREMAININGFRAMESback to summary
public static final int REQUIRESGOPREMAININGFRAMES

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STDSYNTAXFLAGSback to summary
public static final int STDSYNTAXFLAGS

The struct member offsets.

STYPEback to summary
public static final int STYPE

The struct member offsets.

Constructor Detail

VkVideoEncodeH264CapabilitiesEXTback to summary
protected VkVideoEncodeH264CapabilitiesEXT(long address, ByteBuffer container)
VkVideoEncodeH264CapabilitiesEXTback to summary
public VkVideoEncodeH264CapabilitiesEXT(ByteBuffer container)

Creates a VkVideoEncodeH264CapabilitiesEXT instance at the current position of the specified ByteBuffer container. 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 Detail

callocback to summary
public static VkVideoEncodeH264CapabilitiesEXT calloc()

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer calloc(int capacity)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkVideoEncodeH264CapabilitiesEXT calloc(MemoryStack stack)

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected VkVideoEncodeH264CapabilitiesEXT create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkVideoEncodeH264CapabilitiesEXT create()

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated with BufferUtils.

createback to summary
public static VkVideoEncodeH264CapabilitiesEXT create(long address)

Returns a new VkVideoEncodeH264CapabilitiesEXT instance for the specified memory address.

createback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer create(int capacity)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer create(long address, int capacity)

Create a VkVideoEncodeH264CapabilitiesEXT.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkVideoEncodeH264CapabilitiesEXT createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
expectDyadicTemporalLayerPatternback 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.

Annotations
@NativeType:VkBool32
flagsback to summary
public int flags()

a bitmask of VkVideoEncodeH264CapabilityFlagBitsEXT indicating supported H.264 encoding capabilities.

Annotations
@NativeType:VkVideoEncodeH264CapabilityFlagsEXT
mallocback to summary
public static VkVideoEncodeH264CapabilitiesEXT malloc()

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer malloc(int capacity)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkVideoEncodeH264CapabilitiesEXT malloc(MemoryStack stack)

Returns a new VkVideoEncodeH264CapabilitiesEXT instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkVideoEncodeH264CapabilitiesEXT.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

maxBPictureL0ReferenceCountback 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.

Annotations
@NativeType:uint32_t
maxL1ReferenceCountback 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.

Annotations
@NativeType:uint32_t
maxLevelIdcback to summary
public int maxLevelIdc()

a StdVideoH264LevelIdc value indicating the maximum H.264 level supported.

Annotations
@NativeType:StdVideoH264LevelIdc
maxPPictureL0ReferenceCountback to summary
public int maxPPictureL0ReferenceCount()

indicates the maximum number of reference pictures the implementation supports in the reference list L0 for P pictures.

Annotations
@NativeType:uint32_t
maxQpback to summary
public int maxQp()

indicates the maximum QP value supported.

Annotations
@NativeType:int32_t
maxSliceCountback 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.

Annotations
@NativeType:uint32_t
maxTemporalLayerCountback to summary
public int maxTemporalLayerCount()

indicates the maximum number of H.264 temporal layers supported by the implementation.

Annotations
@NativeType:uint32_t
minQpback to summary
public int minQp()

indicates the minimum QP value supported.

Annotations
@NativeType:int32_t
nexpectDyadicTemporalLayerPatternback to summary
public static int nexpectDyadicTemporalLayerPattern(long struct)

Unsafe version of expectDyadicTemporalLayerPattern.

nflagsback to summary
public static int nflags(long struct)

Unsafe version of flags.

nmaxBPictureL0ReferenceCountback to summary
public static int nmaxBPictureL0ReferenceCount(long struct)

Unsafe version of maxBPictureL0ReferenceCount.

nmaxL1ReferenceCountback to summary
public static int nmaxL1ReferenceCount(long struct)

Unsafe version of maxL1ReferenceCount.

nmaxLevelIdcback to summary
public static int nmaxLevelIdc(long struct)

Unsafe version of maxLevelIdc.

nmaxPPictureL0ReferenceCountback to summary
public static int nmaxPPictureL0ReferenceCount(long struct)

Unsafe version of maxPPictureL0ReferenceCount.

nmaxQpback to summary
public static int nmaxQp(long struct)

Unsafe version of maxQp.

nmaxSliceCountback to summary
public static int nmaxSliceCount(long struct)

Unsafe version of maxSliceCount.

nmaxTemporalLayerCountback to summary
public static int nmaxTemporalLayerCount(long struct)

Unsafe version of maxTemporalLayerCount.

nminQpback to summary
public static int nminQp(long struct)

Unsafe version of minQp.

npNextback to summary
public static long npNext(long struct)

Unsafe version of pNext.

npNextback to summary
public static void npNext(long struct, long value)

Unsafe version of pNext.

nprefersGopRemainingFramesback to summary
public static int nprefersGopRemainingFrames(long struct)

Unsafe version of prefersGopRemainingFrames.

nrequiresGopRemainingFramesback to summary
public static int nrequiresGopRemainingFrames(long struct)

Unsafe version of requiresGopRemainingFrames.

nstdSyntaxFlagsback to summary
public static int nstdSyntaxFlags(long struct)

Unsafe version of stdSyntaxFlags.

nsTypeback to summary
public static int nsType(long struct)

Unsafe version of sType.

nsTypeback to summary
public static void nsType(long struct, int value)

Unsafe version of sType.

pNextback to summary
public long pNext()

NULL or a pointer to a structure extending this structure.

Annotations
@NativeType:void *
pNextback to summary
public VkVideoEncodeH264CapabilitiesEXT pNext(long value)

Sets the specified value to the pNext field.

prefersGopRemainingFramesback 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.

Annotations
@NativeType:VkBool32
requiresGopRemainingFramesback 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.

Annotations
@NativeType:VkBool32
setback to summary
public VkVideoEncodeH264CapabilitiesEXT set(int sType, long pNext)

Initializes this struct with the specified values.

setback to summary
public VkVideoEncodeH264CapabilitiesEXT set(VkVideoEncodeH264CapabilitiesEXT src)

Copies the specified struct data to this struct.

Parameters
src:VkVideoEncodeH264CapabilitiesEXT

the source struct

Returns:VkVideoEncodeH264CapabilitiesEXT

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
stdSyntaxFlagsback to summary
public int stdSyntaxFlags()

a bitmask of VkVideoEncodeH264StdFlagBitsEXT indicating capabilities related to H.264 syntax elements.

Annotations
@NativeType:VkVideoEncodeH264StdFlagsEXT
sTypeback to summary
public int sType()

a VkStructureType value identifying this structure.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkVideoEncodeH264CapabilitiesEXT sType(int value)

Sets the specified value to the sType field.

sType$Defaultback to summary
public VkVideoEncodeH264CapabilitiesEXT sType$Default()

Sets the STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT value to the sType field.

org.lwjgl.vulkan back to summary

public Class VkVideoEncodeH264CapabilitiesEXT.Buffer

extends StructBuffer<VkVideoEncodeH264CapabilitiesEXT, VkVideoEncodeH264CapabilitiesEXT.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkVideoEncodeH264CapabilitiesEXT structs.

Field Summary

Modifier and TypeField and Description
private static final VkVideoEncodeH264CapabilitiesEXT

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public boolean
public int

Returns:

the value of the VkVideoEncodeH264CapabilitiesEXT#flags field.
flags
()

protected VkVideoEncodeH264CapabilitiesEXT
public int
public int
public int
public int
public int

Returns:

the value of the VkVideoEncodeH264CapabilitiesEXT#maxQp field.
maxQp
()

public int
public int
public int

Returns:

the value of the VkVideoEncodeH264CapabilitiesEXT#minQp field.
minQp
()

public long

Returns:

the value of the VkVideoEncodeH264CapabilitiesEXT#pNext field.
pNext
()

public VkVideoEncodeH264CapabilitiesEXT.Buffer
pNext(long value)

Sets the specified value to the VkVideoEncodeH264CapabilitiesEXT#pNext field.

public boolean
public boolean
protected VkVideoEncodeH264CapabilitiesEXT.Buffer
public int
public int

Returns:

the value of the VkVideoEncodeH264CapabilitiesEXT#sType field.
sType
()

public VkVideoEncodeH264CapabilitiesEXT.Buffer
sType(int value)

Sets the specified value to the VkVideoEncodeH264CapabilitiesEXT#sType field.

public VkVideoEncodeH264CapabilitiesEXT.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkVideoEncodeH264CapabilitiesEXT ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkVideoEncodeH264CapabilitiesEXT.Buffer instance backed by the specified container.

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 VkVideoEncodeH264CapabilitiesEXT#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

expectDyadicTemporalLayerPatternback to summary
public boolean expectDyadicTemporalLayerPattern()
Returns:boolean

the value of the VkVideoEncodeH264CapabilitiesEXT#expectDyadicTemporalLayerPattern field.

Annotations
@NativeType:VkBool32
flagsback to summary
public int flags()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#flags field.

Annotations
@NativeType:VkVideoEncodeH264CapabilityFlagsEXT
getElementFactoryback to summary
protected VkVideoEncodeH264CapabilitiesEXT getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
maxBPictureL0ReferenceCountback to summary
public int maxBPictureL0ReferenceCount()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxBPictureL0ReferenceCount field.

Annotations
@NativeType:uint32_t
maxL1ReferenceCountback to summary
public int maxL1ReferenceCount()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxL1ReferenceCount field.

Annotations
@NativeType:uint32_t
maxLevelIdcback to summary
public int maxLevelIdc()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxLevelIdc field.

Annotations
@NativeType:StdVideoH264LevelIdc
maxPPictureL0ReferenceCountback to summary
public int maxPPictureL0ReferenceCount()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxPPictureL0ReferenceCount field.

Annotations
@NativeType:uint32_t
maxQpback to summary
public int maxQp()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxQp field.

Annotations
@NativeType:int32_t
maxSliceCountback to summary
public int maxSliceCount()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxSliceCount field.

Annotations
@NativeType:uint32_t
maxTemporalLayerCountback to summary
public int maxTemporalLayerCount()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#maxTemporalLayerCount field.

Annotations
@NativeType:uint32_t
minQpback to summary
public int minQp()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#minQp field.

Annotations
@NativeType:int32_t
pNextback to summary
public long pNext()
Returns:long

the value of the VkVideoEncodeH264CapabilitiesEXT#pNext field.

Annotations
@NativeType:void *
pNextback to summary
public VkVideoEncodeH264CapabilitiesEXT.Buffer pNext(long value)

Sets the specified value to the VkVideoEncodeH264CapabilitiesEXT#pNext field.

prefersGopRemainingFramesback to summary
public boolean prefersGopRemainingFrames()
Returns:boolean

the value of the VkVideoEncodeH264CapabilitiesEXT#prefersGopRemainingFrames field.

Annotations
@NativeType:VkBool32
requiresGopRemainingFramesback to summary
public boolean requiresGopRemainingFrames()
Returns:boolean

the value of the VkVideoEncodeH264CapabilitiesEXT#requiresGopRemainingFrames field.

Annotations
@NativeType:VkBool32
selfback to summary
protected VkVideoEncodeH264CapabilitiesEXT.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
stdSyntaxFlagsback to summary
public int stdSyntaxFlags()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#stdSyntaxFlags field.

Annotations
@NativeType:VkVideoEncodeH264StdFlagsEXT
sTypeback to summary
public int sType()
Returns:int

the value of the VkVideoEncodeH264CapabilitiesEXT#sType field.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkVideoEncodeH264CapabilitiesEXT.Buffer sType(int value)

Sets the specified value to the VkVideoEncodeH264CapabilitiesEXT#sType field.

sType$Defaultback to summary
public VkVideoEncodeH264CapabilitiesEXT.Buffer sType$Default()

Sets the STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT value to the VkVideoEncodeH264CapabilitiesEXT#sType field.