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 record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfByte
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 long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265ReferenceInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265ReferenceInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH265ReferenceInfo src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH265ReferenceInfoFlags
flags()
flags
(@NotNull StdVideoEncodeH265ReferenceInfoFlags value) flags
(Consumer<@NotNull StdVideoEncodeH265ReferenceInfoFlags> consumer) final int
hashCode()
Returns a hash code value for this object.int
pic_type()
pic_type
(int value) int
PicOrderCntVal
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
TemporalId
(byte value) final String
toString()
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 aStdVideoEncodeH265ReferenceInfo
record class.- Parameters:
segment
- the value for thesegment
record 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 thesegment
record component.
-