Record Class VkVideoEncodeAV1PictureInfoKHR
- All Implemented Interfaces:
IPointer
,IVkVideoEncodeAV1PictureInfoKHR
Represents a pointer to a VkVideoEncodeAV1PictureInfoKHR
structure in native memory.
Structure
typedef struct VkVideoEncodeAV1PictureInfoKHR {
VkStructureType
sType
;
void const* pNext
; // optional
VkVideoEncodeAV1PredictionModeKHR
predictionMode
;
VkVideoEncodeAV1RateControlGroupKHR
rateControlGroup
;
uint32_t constantQIndex
;
StdVideoEncodeAV1PictureInfo
const* pStdPictureInfo
;
int32_t[VK_MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR] referenceNameSlotIndices
;
VkBool32 primaryReferenceCdfOnly
;
VkBool32 generateObuExtensionHeader
;
} VkVideoEncodeAV1PictureInfoKHR;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_PICTURE_INFO_KHR
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkVideoEncodeAV1PictureInfoKHR
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final SequenceLayout
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeAV1PictureInfoKHR
(@NotNull MemorySegment segment) Creates an instance of aVkVideoEncodeAV1PictureInfoKHR
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkVideoEncodeAV1PictureInfoKHR src) int
constantQIndex
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
generateObuExtensionHeader
(int value) final int
hashCode()
Returns a hash code value for this object.pNext()
void
pNext
(MemorySegment value) int
predictionMode
(int value) int
primaryReferenceCdfOnly
(int value) @Nullable StdVideoEncodeAV1PictureInfo
pStdPictureInfo
(int assumedCount) pStdPictureInfo
(@Nullable IStdVideoEncodeAV1PictureInfo value) void
pStdPictureInfoRaw
(MemorySegment value) int
rateControlGroup
(int value) referenceNameSlotIndices
(IntPtr value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$predictionMode
-
PATH$rateControlGroup
-
PATH$constantQIndex
-
PATH$pStdPictureInfo
-
PATH$referenceNameSlotIndices
-
PATH$primaryReferenceCdfOnly
-
PATH$generateObuExtensionHeader
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$predictionMode
-
LAYOUT$rateControlGroup
-
LAYOUT$constantQIndex
-
LAYOUT$pStdPictureInfo
-
LAYOUT$referenceNameSlotIndices
-
LAYOUT$primaryReferenceCdfOnly
-
LAYOUT$generateObuExtensionHeader
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$predictionMode
public static final long SIZE$predictionMode -
SIZE$rateControlGroup
public static final long SIZE$rateControlGroup -
SIZE$constantQIndex
public static final long SIZE$constantQIndex -
SIZE$pStdPictureInfo
public static final long SIZE$pStdPictureInfo -
SIZE$referenceNameSlotIndices
public static final long SIZE$referenceNameSlotIndices -
SIZE$primaryReferenceCdfOnly
public static final long SIZE$primaryReferenceCdfOnly -
SIZE$generateObuExtensionHeader
public static final long SIZE$generateObuExtensionHeader -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$predictionMode
public static final long OFFSET$predictionMode -
OFFSET$rateControlGroup
public static final long OFFSET$rateControlGroup -
OFFSET$constantQIndex
public static final long OFFSET$constantQIndex -
OFFSET$pStdPictureInfo
public static final long OFFSET$pStdPictureInfo -
OFFSET$referenceNameSlotIndices
public static final long OFFSET$referenceNameSlotIndices -
OFFSET$primaryReferenceCdfOnly
public static final long OFFSET$primaryReferenceCdfOnly -
OFFSET$generateObuExtensionHeader
public static final long OFFSET$generateObuExtensionHeader
-
-
Constructor Details
-
VkVideoEncodeAV1PictureInfoKHR
Creates an instance of aVkVideoEncodeAV1PictureInfoKHR
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
predictionMode
-
predictionMode
public VkVideoEncodeAV1PictureInfoKHR predictionMode(@EnumType(VkVideoEncodeAV1PredictionModeKHR.class) int value) -
rateControlGroup
-
rateControlGroup
public VkVideoEncodeAV1PictureInfoKHR rateControlGroup(@EnumType(VkVideoEncodeAV1RateControlGroupKHR.class) int value) -
constantQIndex
-
constantQIndex
-
pStdPictureInfo
public VkVideoEncodeAV1PictureInfoKHR pStdPictureInfo(@Nullable @Nullable IStdVideoEncodeAV1PictureInfo value) -
pStdPictureInfo
-
pStdPictureInfo
-
pStdPictureInfoRaw
-
pStdPictureInfoRaw
public void pStdPictureInfoRaw(@Pointer(target=StdVideoEncodeAV1PictureInfo.class) MemorySegment value) -
referenceNameSlotIndices
-
referenceNameSlotIndices
-
referenceNameSlotIndicesRaw
-
-
primaryReferenceCdfOnly
public VkVideoEncodeAV1PictureInfoKHR primaryReferenceCdfOnly(@NativeType("VkBool32") @Unsigned int value) -
generateObuExtensionHeader
-
generateObuExtensionHeader
public VkVideoEncodeAV1PictureInfoKHR generateObuExtensionHeader(@NativeType("VkBool32") @Unsigned int value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-