Record Class VkVideoEncodeH265SessionParametersAddInfoKHR
- All Implemented Interfaces:
IPointer,IVkVideoEncodeH265SessionParametersAddInfoKHR
Represents a pointer to a VkVideoEncodeH265SessionParametersAddInfoKHR structure in native memory.
Structure
typedef struct VkVideoEncodeH265SessionParametersAddInfoKHR {
VkStructureType sType;
void const* pNext; // optional
uint32_t stdVPSCount; // optional
StdVideoH265VideoParameterSet const* pStdVPSs; // optional
uint32_t stdSPSCount; // optional
StdVideoH265SequenceParameterSet const* pStdSPSs; // optional
uint32_t stdPPSCount; // optional
StdVideoH265PictureParameterSet const* pStdPPSs; // optional
} VkVideoEncodeH265SessionParametersAddInfoKHR;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_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 recordRepresents a pointer to / an array ofVkVideoEncodeH265SessionParametersAddInfoKHRstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH265SessionParametersAddInfoKHR(@NotNull MemorySegment segment) Creates an instance of aVkVideoEncodeH265SessionParametersAddInfoKHRrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()clone(Arena arena, VkVideoEncodeH265SessionParametersAddInfoKHR src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @Nullable StdVideoH265PictureParameterSetpStdPPSs()pStdPPSs(int assumedCount) pStdPPSs(@Nullable IStdVideoH265PictureParameterSet value) @NotNull MemorySegmentvoidpStdPPSsRaw(@NotNull MemorySegment value) @Nullable StdVideoH265SequenceParameterSetpStdSPSs()pStdSPSs(int assumedCount) pStdSPSs(@Nullable IStdVideoH265SequenceParameterSet value) @NotNull MemorySegmentvoidpStdSPSsRaw(@NotNull MemorySegment value) @Nullable StdVideoH265VideoParameterSetpStdVPSs()pStdVPSs(int assumedCount) pStdVPSs(@Nullable IStdVideoH265VideoParameterSet value) @NotNull MemorySegmentvoidpStdVPSsRaw(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intstdPPSCount(int value) intstdSPSCount(int value) intstdVPSCount(int value) intsType()sType(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$stdVPSCount
-
PATH$pStdVPSs
-
PATH$stdSPSCount
-
PATH$pStdSPSs
-
PATH$stdPPSCount
-
PATH$pStdPPSs
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$stdVPSCount
-
LAYOUT$pStdVPSs
-
LAYOUT$stdSPSCount
-
LAYOUT$pStdSPSs
-
LAYOUT$stdPPSCount
-
LAYOUT$pStdPPSs
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$stdVPSCount
public static final long SIZE$stdVPSCount -
SIZE$pStdVPSs
public static final long SIZE$pStdVPSs -
SIZE$stdSPSCount
public static final long SIZE$stdSPSCount -
SIZE$pStdSPSs
public static final long SIZE$pStdSPSs -
SIZE$stdPPSCount
public static final long SIZE$stdPPSCount -
SIZE$pStdPPSs
public static final long SIZE$pStdPPSs -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$stdVPSCount
public static final long OFFSET$stdVPSCount -
OFFSET$pStdVPSs
public static final long OFFSET$pStdVPSs -
OFFSET$stdSPSCount
public static final long OFFSET$stdSPSCount -
OFFSET$pStdSPSs
public static final long OFFSET$pStdSPSs -
OFFSET$stdPPSCount
public static final long OFFSET$stdPPSCount -
OFFSET$pStdPPSs
public static final long OFFSET$pStdPPSs
-
-
Constructor Details
-
VkVideoEncodeH265SessionParametersAddInfoKHR
Creates an instance of aVkVideoEncodeH265SessionParametersAddInfoKHRrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkVideoEncodeH265SessionParametersAddInfoKHR clone(Arena arena, VkVideoEncodeH265SessionParametersAddInfoKHR src) -
autoInit
public void autoInit() -
sType
-
sType
public VkVideoEncodeH265SessionParametersAddInfoKHR sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
public VkVideoEncodeH265SessionParametersAddInfoKHR pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
stdVPSCount
-
stdVPSCount
-
pStdVPSs
public VkVideoEncodeH265SessionParametersAddInfoKHR pStdVPSs(@Nullable @Nullable IStdVideoH265VideoParameterSet value) -
pStdVPSs
-
pStdVPSs
-
pStdVPSsRaw
@Pointer(target=StdVideoH265VideoParameterSet.class) @NotNull public @NotNull MemorySegment pStdVPSsRaw() -
pStdVPSsRaw
public void pStdVPSsRaw(@Pointer(target=StdVideoH265VideoParameterSet.class) @NotNull @NotNull MemorySegment value) -
stdSPSCount
-
stdSPSCount
-
pStdSPSs
public VkVideoEncodeH265SessionParametersAddInfoKHR pStdSPSs(@Nullable @Nullable IStdVideoH265SequenceParameterSet value) -
pStdSPSs
-
pStdSPSs
-
pStdSPSsRaw
@Pointer(target=StdVideoH265SequenceParameterSet.class) @NotNull public @NotNull MemorySegment pStdSPSsRaw() -
pStdSPSsRaw
public void pStdSPSsRaw(@Pointer(target=StdVideoH265SequenceParameterSet.class) @NotNull @NotNull MemorySegment value) -
stdPPSCount
-
stdPPSCount
-
pStdPPSs
public VkVideoEncodeH265SessionParametersAddInfoKHR pStdPPSs(@Nullable @Nullable IStdVideoH265PictureParameterSet value) -
pStdPPSs
-
pStdPPSs
-
pStdPPSsRaw
@Pointer(target=StdVideoH265PictureParameterSet.class) @NotNull public @NotNull MemorySegment pStdPPSsRaw() -
pStdPPSsRaw
public void pStdPPSsRaw(@Pointer(target=StdVideoH265PictureParameterSet.class) @NotNull @NotNull MemorySegment 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 thesegmentrecord component.
-