Package org.lwjgl.vulkan
Class VkVideoEncodeAV1QualityLevelPropertiesKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeAV1QualityLevelPropertiesKHR>
org.lwjgl.vulkan.VkVideoEncodeAV1QualityLevelPropertiesKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeAV1QualityLevelPropertiesKHR
extends org.lwjgl.system.Struct<VkVideoEncodeAV1QualityLevelPropertiesKHR>
implements org.lwjgl.system.NativeResource
Structure describing the AV1 encode quality level properties.
Description
preferredSingleReferenceNameMask, preferredUnidirectionalCompoundReferenceNameMask, and preferredBidirectionalCompoundReferenceNameMask are encoded such that when bit index i is set, it indicates preference for using the AV1 reference name STD_VIDEO_AV1_REFERENCE_NAME_LAST_FRAME + i.
Valid Usage (Implicit)
See Also
Layout
struct VkVideoEncodeAV1QualityLevelPropertiesKHR {
VkStructureType sType();
void * pNext();
VkVideoEncodeAV1RateControlFlagsKHR preferredRateControlFlags();
uint32_t preferredGopFrameCount();
uint32_t preferredKeyFramePeriod();
uint32_t preferredConsecutiveBipredictiveFrameCount();
uint32_t preferredTemporalLayerCount();
VkVideoEncodeAV1QIndexKHR preferredConstantQIndex();
uint32_t preferredMaxSingleReferenceCount();
uint32_t preferredSingleReferenceNameMask();
uint32_t preferredMaxUnidirectionalCompoundReferenceCount();
uint32_t preferredMaxUnidirectionalCompoundGroup1ReferenceCount();
uint32_t preferredUnidirectionalCompoundReferenceNameMask();
uint32_t preferredMaxBidirectionalCompoundReferenceCount();
uint32_t preferredMaxBidirectionalCompoundGroup1ReferenceCount();
uint32_t preferredMaxBidirectionalCompoundGroup2ReferenceCount();
uint32_t preferredBidirectionalCompoundReferenceNameMask();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkVideoEncodeAV1QualityLevelPropertiesKHRstructs.Nested 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 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
ConstructorsConstructorDescriptionCreates aVkVideoEncodeAV1QualityLevelPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHRcreateSafe(long address) static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHR.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStack.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnpreferredBidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredBidirectionalCompoundReferenceNameMask().static intnpreferredConsecutiveBipredictiveFrameCount(long struct) Unsafe version ofpreferredConsecutiveBipredictiveFrameCount().static VkVideoEncodeAV1QIndexKHRnpreferredConstantQIndex(long struct) Unsafe version ofpreferredConstantQIndex().static intnpreferredGopFrameCount(long struct) Unsafe version ofpreferredGopFrameCount().static intnpreferredKeyFramePeriod(long struct) Unsafe version ofpreferredKeyFramePeriod().static intUnsafe version ofpreferredMaxBidirectionalCompoundGroup1ReferenceCount().static intUnsafe version ofpreferredMaxBidirectionalCompoundGroup2ReferenceCount().static intnpreferredMaxBidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundReferenceCount().static intnpreferredMaxSingleReferenceCount(long struct) Unsafe version ofpreferredMaxSingleReferenceCount().static intUnsafe version ofpreferredMaxUnidirectionalCompoundGroup1ReferenceCount().static intnpreferredMaxUnidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundReferenceCount().static intnpreferredRateControlFlags(long struct) Unsafe version ofpreferredRateControlFlags().static intnpreferredSingleReferenceNameMask(long struct) Unsafe version ofpreferredSingleReferenceNameMask().static intnpreferredTemporalLayerCount(long struct) Unsafe version ofpreferredTemporalLayerCount().static intnpreferredUnidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredUnidirectionalCompoundReferenceNameMask().static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.pNext(long value) Sets the specified value to thepNext()field.inta bitmask of preferred AV1 reference names when using bidirectional compound prediction mode.intindicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::consecutiveBipredictiveFrameCount.indicates the preferred value to use forVkVideoEncodeAV1PictureInfoKHR::constantQIndexwhen using rate control modeVIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR.intindicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::gopFrameCount.intindicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::keyFramePeriod.intindicates the preferred maximum number of reference pictures to use with bidirectional compound prediction mode from reference frame group 1, as defined in section 6.10.24 of the AV1 Specification.intindicates the preferred maximum number of reference pictures to use with bidirectional compound prediction mode from reference frame group 2, as defined in section 6.10.24 of the AV1 Specification.intindicates the preferred maximum number of reference pictures to use with bidirectional compound prediction mode.intindicates the preferred maximum number of reference pictures to use with single reference prediction mode.intindicates the preferred maximum number of reference pictures to use with unidirectional compound prediction mode from reference frame group 1, as defined in section 6.10.24 of the AV1 Specification.intindicates the preferred maximum number of reference pictures to use with unidirectional compound prediction mode.inta bitmask ofVkVideoEncodeAV1RateControlFlagBitsKHRvalues indicating the preferred flags to use forVkVideoEncodeAV1RateControlInfoKHR::flags.inta bitmask of preferred AV1 reference names when using single reference prediction mode.intindicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::temporalLayerCount.inta bitmask of preferred AV1 reference names when using unidirectional compound prediction mode.set(int sType, long pNext) 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_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHRvalue to thesType()field.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. -
PREFERREDRATECONTROLFLAGS
public static final int PREFERREDRATECONTROLFLAGSThe struct member offsets. -
PREFERREDGOPFRAMECOUNT
public static final int PREFERREDGOPFRAMECOUNTThe struct member offsets. -
PREFERREDKEYFRAMEPERIOD
public static final int PREFERREDKEYFRAMEPERIODThe struct member offsets. -
PREFERREDCONSECUTIVEBIPREDICTIVEFRAMECOUNT
public static final int PREFERREDCONSECUTIVEBIPREDICTIVEFRAMECOUNTThe struct member offsets. -
PREFERREDTEMPORALLAYERCOUNT
public static final int PREFERREDTEMPORALLAYERCOUNTThe struct member offsets. -
PREFERREDCONSTANTQINDEX
public static final int PREFERREDCONSTANTQINDEXThe struct member offsets. -
PREFERREDMAXSINGLEREFERENCECOUNT
public static final int PREFERREDMAXSINGLEREFERENCECOUNTThe struct member offsets. -
PREFERREDSINGLEREFERENCENAMEMASK
public static final int PREFERREDSINGLEREFERENCENAMEMASKThe struct member offsets. -
PREFERREDMAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNT
public static final int PREFERREDMAXUNIDIRECTIONALCOMPOUNDREFERENCECOUNTThe struct member offsets. -
PREFERREDMAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
public static final int PREFERREDMAXUNIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNTThe struct member offsets. -
PREFERREDUNIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
public static final int PREFERREDUNIDIRECTIONALCOMPOUNDREFERENCENAMEMASKThe struct member offsets. -
PREFERREDMAXBIDIRECTIONALCOMPOUNDREFERENCECOUNT
public static final int PREFERREDMAXBIDIRECTIONALCOMPOUNDREFERENCECOUNTThe struct member offsets. -
PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNT
public static final int PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP1REFERENCECOUNTThe struct member offsets. -
PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNT
public static final int PREFERREDMAXBIDIRECTIONALCOMPOUNDGROUP2REFERENCECOUNTThe struct member offsets. -
PREFERREDBIDIRECTIONALCOMPOUNDREFERENCENAMEMASK
public static final int PREFERREDBIDIRECTIONALCOMPOUNDREFERENCENAMEMASKThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeAV1QualityLevelPropertiesKHR
Creates aVkVideoEncodeAV1QualityLevelPropertiesKHRinstance 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<VkVideoEncodeAV1QualityLevelPropertiesKHR>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
preferredRateControlFlags
public int preferredRateControlFlags()a bitmask ofVkVideoEncodeAV1RateControlFlagBitsKHRvalues indicating the preferred flags to use forVkVideoEncodeAV1RateControlInfoKHR::flags. -
preferredGopFrameCount
public int preferredGopFrameCount()indicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::gopFrameCount. -
preferredKeyFramePeriod
public int preferredKeyFramePeriod()indicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::keyFramePeriod. -
preferredConsecutiveBipredictiveFrameCount
public int preferredConsecutiveBipredictiveFrameCount()indicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::consecutiveBipredictiveFrameCount. -
preferredTemporalLayerCount
public int preferredTemporalLayerCount()indicates the preferred value to use forVkVideoEncodeAV1RateControlInfoKHR::temporalLayerCount. -
preferredConstantQIndex
indicates the preferred value to use forVkVideoEncodeAV1PictureInfoKHR::constantQIndexwhen using rate control modeVIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR. -
preferredMaxSingleReferenceCount
public int preferredMaxSingleReferenceCount()indicates the preferred maximum number of reference pictures to use with single reference prediction mode. -
preferredSingleReferenceNameMask
public int preferredSingleReferenceNameMask()a bitmask of preferred AV1 reference names when using single reference prediction mode. -
preferredMaxUnidirectionalCompoundReferenceCount
public int preferredMaxUnidirectionalCompoundReferenceCount()indicates the preferred maximum number of reference pictures to use with unidirectional compound prediction mode. -
preferredMaxUnidirectionalCompoundGroup1ReferenceCount
public int preferredMaxUnidirectionalCompoundGroup1ReferenceCount()indicates the preferred maximum number of reference pictures to use with unidirectional compound prediction mode from reference frame group 1, as defined in section 6.10.24 of the AV1 Specification. -
preferredUnidirectionalCompoundReferenceNameMask
public int preferredUnidirectionalCompoundReferenceNameMask()a bitmask of preferred AV1 reference names when using unidirectional compound prediction mode. -
preferredMaxBidirectionalCompoundReferenceCount
public int preferredMaxBidirectionalCompoundReferenceCount()indicates the preferred maximum number of reference pictures to use with bidirectional compound prediction mode. -
preferredMaxBidirectionalCompoundGroup1ReferenceCount
public int preferredMaxBidirectionalCompoundGroup1ReferenceCount()indicates the preferred maximum number of reference pictures to use with bidirectional compound prediction mode from reference frame group 1, as defined in section 6.10.24 of the AV1 Specification. -
preferredMaxBidirectionalCompoundGroup2ReferenceCount
public int preferredMaxBidirectionalCompoundGroup2ReferenceCount()indicates the preferred maximum number of reference pictures to use with bidirectional compound prediction mode from reference frame group 2, as defined in section 6.10.24 of the AV1 Specification. -
preferredBidirectionalCompoundReferenceNameMask
public int preferredBidirectionalCompoundReferenceNameMask()a bitmask of preferred AV1 reference names when using bidirectional compound prediction mode. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHRvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
set
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 newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoEncodeAV1QualityLevelPropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeAV1QualityLevelPropertiesKHR.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(). -
npreferredRateControlFlags
public static int npreferredRateControlFlags(long struct) Unsafe version ofpreferredRateControlFlags(). -
npreferredGopFrameCount
public static int npreferredGopFrameCount(long struct) Unsafe version ofpreferredGopFrameCount(). -
npreferredKeyFramePeriod
public static int npreferredKeyFramePeriod(long struct) Unsafe version ofpreferredKeyFramePeriod(). -
npreferredConsecutiveBipredictiveFrameCount
public static int npreferredConsecutiveBipredictiveFrameCount(long struct) Unsafe version ofpreferredConsecutiveBipredictiveFrameCount(). -
npreferredTemporalLayerCount
public static int npreferredTemporalLayerCount(long struct) Unsafe version ofpreferredTemporalLayerCount(). -
npreferredConstantQIndex
Unsafe version ofpreferredConstantQIndex(). -
npreferredMaxSingleReferenceCount
public static int npreferredMaxSingleReferenceCount(long struct) Unsafe version ofpreferredMaxSingleReferenceCount(). -
npreferredSingleReferenceNameMask
public static int npreferredSingleReferenceNameMask(long struct) Unsafe version ofpreferredSingleReferenceNameMask(). -
npreferredMaxUnidirectionalCompoundReferenceCount
public static int npreferredMaxUnidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundReferenceCount(). -
npreferredMaxUnidirectionalCompoundGroup1ReferenceCount
public static int npreferredMaxUnidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofpreferredMaxUnidirectionalCompoundGroup1ReferenceCount(). -
npreferredUnidirectionalCompoundReferenceNameMask
public static int npreferredUnidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredUnidirectionalCompoundReferenceNameMask(). -
npreferredMaxBidirectionalCompoundReferenceCount
public static int npreferredMaxBidirectionalCompoundReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundReferenceCount(). -
npreferredMaxBidirectionalCompoundGroup1ReferenceCount
public static int npreferredMaxBidirectionalCompoundGroup1ReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundGroup1ReferenceCount(). -
npreferredMaxBidirectionalCompoundGroup2ReferenceCount
public static int npreferredMaxBidirectionalCompoundGroup2ReferenceCount(long struct) Unsafe version ofpreferredMaxBidirectionalCompoundGroup2ReferenceCount(). -
npreferredBidirectionalCompoundReferenceNameMask
public static int npreferredBidirectionalCompoundReferenceNameMask(long struct) Unsafe version ofpreferredBidirectionalCompoundReferenceNameMask(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-