Record Class StdVideoEncodeH264RefPicMarkingEntry
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH264RefPicMarkingEntry
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeH264RefPicMarkingEntry
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH264RefPicMarkingEntry(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH264RefPicMarkingEntry
Represents a pointer to a StdVideoEncodeH264RefPicMarkingEntry
structure in native memory.
Structure
typedef struct StdVideoEncodeH264RefPicMarkingEntry {
StdVideoH264MemMgmtControlOp
memory_management_control_operation
;
uint16_t difference_of_pic_nums_minus1
;
uint16_t long_term_pic_num
;
uint16_t long_term_frame_idx
;
uint16_t max_long_term_frame_idx_plus1
;
} StdVideoEncodeH264RefPicMarkingEntry;
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.OfShort
static final ValueLayout.OfShort
static final ValueLayout.OfInt
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 long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264RefPicMarkingEntry
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH264RefPicMarkingEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH264RefPicMarkingEntry src) short
difference_of_pic_nums_minus1
(short value) 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_frame_idx
(short value) short
long_term_pic_num
(short value) short
max_long_term_frame_idx_plus1
(short value) int
memory_management_control_operation
(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$memory_management_control_operation
-
PATH$difference_of_pic_nums_minus1
-
PATH$long_term_pic_num
-
PATH$long_term_frame_idx
-
PATH$max_long_term_frame_idx_plus1
-
LAYOUT$memory_management_control_operation
-
LAYOUT$difference_of_pic_nums_minus1
-
LAYOUT$long_term_pic_num
-
LAYOUT$long_term_frame_idx
-
LAYOUT$max_long_term_frame_idx_plus1
-
SIZE$memory_management_control_operation
public static final long SIZE$memory_management_control_operation -
SIZE$difference_of_pic_nums_minus1
public static final long SIZE$difference_of_pic_nums_minus1 -
SIZE$long_term_pic_num
public static final long SIZE$long_term_pic_num -
SIZE$long_term_frame_idx
public static final long SIZE$long_term_frame_idx -
SIZE$max_long_term_frame_idx_plus1
public static final long SIZE$max_long_term_frame_idx_plus1 -
OFFSET$memory_management_control_operation
public static final long OFFSET$memory_management_control_operation -
OFFSET$difference_of_pic_nums_minus1
public static final long OFFSET$difference_of_pic_nums_minus1 -
OFFSET$long_term_pic_num
public static final long OFFSET$long_term_pic_num -
OFFSET$long_term_frame_idx
public static final long OFFSET$long_term_frame_idx -
OFFSET$max_long_term_frame_idx_plus1
public static final long OFFSET$max_long_term_frame_idx_plus1
-
-
Constructor Details
-
StdVideoEncodeH264RefPicMarkingEntry
Creates an instance of aStdVideoEncodeH264RefPicMarkingEntry
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH264RefPicMarkingEntry clone(Arena arena, StdVideoEncodeH264RefPicMarkingEntry src) -
memory_management_control_operation
-
memory_management_control_operation
public StdVideoEncodeH264RefPicMarkingEntry memory_management_control_operation(@EnumType(StdVideoH264MemMgmtControlOp.class) int value) -
difference_of_pic_nums_minus1
-
difference_of_pic_nums_minus1
-
long_term_pic_num
-
long_term_pic_num
-
long_term_frame_idx
-
long_term_frame_idx
-
max_long_term_frame_idx_plus1
-
max_long_term_frame_idx_plus1
-
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.
-