Record Class VkVideoEncodeH265CapabilitiesKHR
- All Implemented Interfaces:
IPointer
,IVkVideoEncodeH265CapabilitiesKHR
Represents a pointer to a VkVideoEncodeH265CapabilitiesKHR
structure in native memory.
Structure
typedef struct VkVideoEncodeH265CapabilitiesKHR {
VkStructureType
sType
;
void* pNext
; // optional
VkVideoEncodeH265CapabilityFlagsKHR
flags
;
StdVideoH265LevelIdc
maxLevelIdc
;
uint32_t maxSliceSegmentCount
;
VkExtent2D
maxTiles
;
VkVideoEncodeH265CtbSizeFlagsKHR
ctbSizes
;
VkVideoEncodeH265TransformBlockSizeFlagsKHR
transformBlockSizes
;
uint32_t maxPPictureL0ReferenceCount
;
uint32_t maxBPictureL0ReferenceCount
;
uint32_t maxL1ReferenceCount
;
uint32_t maxSubLayerCount
;
VkBool32 expectDyadicTemporalSubLayerPattern
;
int32_t minQp
;
int32_t maxQp
;
VkBool32 prefersGopRemainingFrames
;
VkBool32 requiresGopRemainingFrames
;
VkVideoEncodeH265StdFlagsKHR
stdSyntaxFlags
;
} VkVideoEncodeH265CapabilitiesKHR;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_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 ofVkVideoEncodeH265CapabilitiesKHR
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 ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final StructLayout
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
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 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 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
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
ConstructorsConstructorDescriptionVkVideoEncodeH265CapabilitiesKHR
(@NotNull MemorySegment segment) Creates an instance of aVkVideoEncodeH265CapabilitiesKHR
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkVideoEncodeH265CapabilitiesKHR src) int
ctbSizes()
ctbSizes
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
expectDyadicTemporalSubLayerPattern
(int value) int
flags()
flags
(int value) final int
hashCode()
Returns a hash code value for this object.int
maxBPictureL0ReferenceCount
(int value) int
maxL1ReferenceCount
(int value) int
maxLevelIdc
(int value) int
maxPPictureL0ReferenceCount
(int value) int
maxQp()
maxQp
(int value) int
maxSliceSegmentCount
(int value) int
maxSubLayerCount
(int value) @NotNull VkExtent2D
maxTiles()
maxTiles
(@NotNull VkExtent2D value) maxTiles
(Consumer<@NotNull VkExtent2D> consumer) int
minQp()
minQp
(int value) pNext()
void
pNext
(MemorySegment value) int
prefersGopRemainingFrames
(int value) int
requiresGopRemainingFrames
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
stdSyntaxFlags
(int value) int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.int
transformBlockSizes
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$flags
-
PATH$maxLevelIdc
-
PATH$maxSliceSegmentCount
-
PATH$maxTiles
-
PATH$ctbSizes
-
PATH$transformBlockSizes
-
PATH$maxPPictureL0ReferenceCount
-
PATH$maxBPictureL0ReferenceCount
-
PATH$maxL1ReferenceCount
-
PATH$maxSubLayerCount
-
PATH$expectDyadicTemporalSubLayerPattern
-
PATH$minQp
-
PATH$maxQp
-
PATH$prefersGopRemainingFrames
-
PATH$requiresGopRemainingFrames
-
PATH$stdSyntaxFlags
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$flags
-
LAYOUT$maxLevelIdc
-
LAYOUT$maxSliceSegmentCount
-
LAYOUT$maxTiles
-
LAYOUT$ctbSizes
-
LAYOUT$transformBlockSizes
-
LAYOUT$maxPPictureL0ReferenceCount
-
LAYOUT$maxBPictureL0ReferenceCount
-
LAYOUT$maxL1ReferenceCount
-
LAYOUT$maxSubLayerCount
-
LAYOUT$expectDyadicTemporalSubLayerPattern
-
LAYOUT$minQp
-
LAYOUT$maxQp
-
LAYOUT$prefersGopRemainingFrames
-
LAYOUT$requiresGopRemainingFrames
-
LAYOUT$stdSyntaxFlags
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$flags
public static final long SIZE$flags -
SIZE$maxLevelIdc
public static final long SIZE$maxLevelIdc -
SIZE$maxSliceSegmentCount
public static final long SIZE$maxSliceSegmentCount -
SIZE$maxTiles
public static final long SIZE$maxTiles -
SIZE$ctbSizes
public static final long SIZE$ctbSizes -
SIZE$transformBlockSizes
public static final long SIZE$transformBlockSizes -
SIZE$maxPPictureL0ReferenceCount
public static final long SIZE$maxPPictureL0ReferenceCount -
SIZE$maxBPictureL0ReferenceCount
public static final long SIZE$maxBPictureL0ReferenceCount -
SIZE$maxL1ReferenceCount
public static final long SIZE$maxL1ReferenceCount -
SIZE$maxSubLayerCount
public static final long SIZE$maxSubLayerCount -
SIZE$expectDyadicTemporalSubLayerPattern
public static final long SIZE$expectDyadicTemporalSubLayerPattern -
SIZE$minQp
public static final long SIZE$minQp -
SIZE$maxQp
public static final long SIZE$maxQp -
SIZE$prefersGopRemainingFrames
public static final long SIZE$prefersGopRemainingFrames -
SIZE$requiresGopRemainingFrames
public static final long SIZE$requiresGopRemainingFrames -
SIZE$stdSyntaxFlags
public static final long SIZE$stdSyntaxFlags -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$maxLevelIdc
public static final long OFFSET$maxLevelIdc -
OFFSET$maxSliceSegmentCount
public static final long OFFSET$maxSliceSegmentCount -
OFFSET$maxTiles
public static final long OFFSET$maxTiles -
OFFSET$ctbSizes
public static final long OFFSET$ctbSizes -
OFFSET$transformBlockSizes
public static final long OFFSET$transformBlockSizes -
OFFSET$maxPPictureL0ReferenceCount
public static final long OFFSET$maxPPictureL0ReferenceCount -
OFFSET$maxBPictureL0ReferenceCount
public static final long OFFSET$maxBPictureL0ReferenceCount -
OFFSET$maxL1ReferenceCount
public static final long OFFSET$maxL1ReferenceCount -
OFFSET$maxSubLayerCount
public static final long OFFSET$maxSubLayerCount -
OFFSET$expectDyadicTemporalSubLayerPattern
public static final long OFFSET$expectDyadicTemporalSubLayerPattern -
OFFSET$minQp
public static final long OFFSET$minQp -
OFFSET$maxQp
public static final long OFFSET$maxQp -
OFFSET$prefersGopRemainingFrames
public static final long OFFSET$prefersGopRemainingFrames -
OFFSET$requiresGopRemainingFrames
public static final long OFFSET$requiresGopRemainingFrames -
OFFSET$stdSyntaxFlags
public static final long OFFSET$stdSyntaxFlags
-
-
Constructor Details
-
VkVideoEncodeH265CapabilitiesKHR
Creates an instance of aVkVideoEncodeH265CapabilitiesKHR
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkVideoEncodeH265CapabilitiesKHR clone(Arena arena, VkVideoEncodeH265CapabilitiesKHR src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
flags
-
flags
public VkVideoEncodeH265CapabilitiesKHR flags(@EnumType(VkVideoEncodeH265CapabilityFlagsKHR.class) int value) -
maxLevelIdc
-
maxLevelIdc
public VkVideoEncodeH265CapabilitiesKHR maxLevelIdc(@EnumType(StdVideoH265LevelIdc.class) int value) -
maxSliceSegmentCount
-
maxSliceSegmentCount
-
maxTiles
-
maxTiles
-
maxTiles
-
ctbSizes
-
ctbSizes
public VkVideoEncodeH265CapabilitiesKHR ctbSizes(@EnumType(VkVideoEncodeH265CtbSizeFlagsKHR.class) int value) -
transformBlockSizes
-
transformBlockSizes
public VkVideoEncodeH265CapabilitiesKHR transformBlockSizes(@EnumType(VkVideoEncodeH265TransformBlockSizeFlagsKHR.class) int value) -
maxPPictureL0ReferenceCount
-
maxPPictureL0ReferenceCount
-
maxBPictureL0ReferenceCount
-
maxBPictureL0ReferenceCount
-
maxL1ReferenceCount
-
maxL1ReferenceCount
-
maxSubLayerCount
-
maxSubLayerCount
-
expectDyadicTemporalSubLayerPattern
-
expectDyadicTemporalSubLayerPattern
public VkVideoEncodeH265CapabilitiesKHR expectDyadicTemporalSubLayerPattern(@NativeType("VkBool32") @Unsigned int value) -
minQp
public int minQp() -
minQp
-
maxQp
public int maxQp() -
maxQp
-
prefersGopRemainingFrames
-
prefersGopRemainingFrames
public VkVideoEncodeH265CapabilitiesKHR prefersGopRemainingFrames(@NativeType("VkBool32") @Unsigned int value) -
requiresGopRemainingFrames
-
requiresGopRemainingFrames
public VkVideoEncodeH265CapabilitiesKHR requiresGopRemainingFrames(@NativeType("VkBool32") @Unsigned int value) -
stdSyntaxFlags
-
stdSyntaxFlags
public VkVideoEncodeH265CapabilitiesKHR stdSyntaxFlags(@EnumType(VkVideoEncodeH265StdFlagsKHR.class) 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.
-