Record Class StdVideoEncodeH265ReferenceInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265ReferenceInfo
- All Implemented Interfaces:
IPointer,IStdVideoEncodeH265ReferenceInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265ReferenceInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265ReferenceInfo
Represents a pointer to a StdVideoEncodeH265ReferenceInfo structure in native memory.
Structure
typedef struct StdVideoEncodeH265ReferenceInfo {
StdVideoEncodeH265ReferenceInfoFlags flags;
StdVideoH265PictureType pic_type;
int32_t PicOrderCntVal;
uint8_t TemporalId;
} StdVideoEncodeH265ReferenceInfo;
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265ReferenceInfo(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265ReferenceInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoEncodeH265ReferenceInfo src) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH265ReferenceInfoFlagsflags()flags(@NotNull StdVideoEncodeH265ReferenceInfoFlags value) flags(Consumer<@NotNull StdVideoEncodeH265ReferenceInfoFlags> consumer) final inthashCode()Returns a hash code value for this object.intpic_type()pic_type(int value) intPicOrderCntVal(int value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.byteTemporalId(byte value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$pic_type
-
PATH$PicOrderCntVal
-
PATH$TemporalId
-
LAYOUT$flags
-
LAYOUT$pic_type
-
LAYOUT$PicOrderCntVal
-
LAYOUT$TemporalId
-
SIZE$flags
public static final long SIZE$flags -
SIZE$pic_type
public static final long SIZE$pic_type -
SIZE$PicOrderCntVal
public static final long SIZE$PicOrderCntVal -
SIZE$TemporalId
public static final long SIZE$TemporalId -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$pic_type
public static final long OFFSET$pic_type -
OFFSET$PicOrderCntVal
public static final long OFFSET$PicOrderCntVal -
OFFSET$TemporalId
public static final long OFFSET$TemporalId
-
-
Constructor Details
-
StdVideoEncodeH265ReferenceInfo
Creates an instance of aStdVideoEncodeH265ReferenceInforecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH265ReferenceInfo clone(Arena arena, StdVideoEncodeH265ReferenceInfo src) -
flags
-
flags
public StdVideoEncodeH265ReferenceInfo flags(@NotNull @NotNull StdVideoEncodeH265ReferenceInfoFlags value) -
flags
public StdVideoEncodeH265ReferenceInfo flags(Consumer<@NotNull StdVideoEncodeH265ReferenceInfoFlags> consumer) -
pic_type
-
pic_type
-
PicOrderCntVal
public int PicOrderCntVal() -
PicOrderCntVal
-
TemporalId
-
TemporalId
-
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.
-