Record Class StdVideoEncodeH264RefListModEntry
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH264RefListModEntry
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeH264RefListModEntry
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH264RefListModEntry(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH264RefListModEntry
Represents a pointer to a StdVideoEncodeH264RefListModEntry
structure in native memory.
Structure
typedef struct StdVideoEncodeH264RefListModEntry {
StdVideoH264ModificationOfPicNumsIdc
modification_of_pic_nums_idc
;
uint16_t abs_diff_pic_num_minus1
;
uint16_t long_term_pic_num
;
} StdVideoEncodeH264RefListModEntry;
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 ValueLayout.OfShort
static final ValueLayout.OfShort
static final ValueLayout.OfInt
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264RefListModEntry
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH264RefListModEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionshort
abs_diff_pic_num_minus1
(short value) clone
(Arena arena, StdVideoEncodeH264RefListModEntry src) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.short
long_term_pic_num
(short value) int
modification_of_pic_nums_idc
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$modification_of_pic_nums_idc
-
PATH$abs_diff_pic_num_minus1
-
PATH$long_term_pic_num
-
LAYOUT$modification_of_pic_nums_idc
-
LAYOUT$abs_diff_pic_num_minus1
-
LAYOUT$long_term_pic_num
-
SIZE$modification_of_pic_nums_idc
public static final long SIZE$modification_of_pic_nums_idc -
SIZE$abs_diff_pic_num_minus1
public static final long SIZE$abs_diff_pic_num_minus1 -
SIZE$long_term_pic_num
public static final long SIZE$long_term_pic_num -
OFFSET$modification_of_pic_nums_idc
public static final long OFFSET$modification_of_pic_nums_idc -
OFFSET$abs_diff_pic_num_minus1
public static final long OFFSET$abs_diff_pic_num_minus1 -
OFFSET$long_term_pic_num
public static final long OFFSET$long_term_pic_num
-
-
Constructor Details
-
StdVideoEncodeH264RefListModEntry
Creates an instance of aStdVideoEncodeH264RefListModEntry
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH264RefListModEntry clone(Arena arena, StdVideoEncodeH264RefListModEntry src) -
modification_of_pic_nums_idc
-
modification_of_pic_nums_idc
public StdVideoEncodeH264RefListModEntry modification_of_pic_nums_idc(@EnumType(StdVideoH264ModificationOfPicNumsIdc.class) int value) -
abs_diff_pic_num_minus1
-
abs_diff_pic_num_minus1
-
long_term_pic_num
-
long_term_pic_num
-
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.
-