Record Class StdVideoEncodeH265ReferenceListsInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265ReferenceListsInfo
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeH265ReferenceListsInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265ReferenceListsInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265ReferenceListsInfo
Represents a pointer to a StdVideoEncodeH265ReferenceListsInfo
structure in native memory.
Structure
typedef struct StdVideoEncodeH265ReferenceListsInfo {
StdVideoEncodeH265ReferenceListsInfoFlags
flags
;
uint8_t num_ref_idx_l0_active_minus1
;
uint8_t num_ref_idx_l1_active_minus1
;
uint8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] RefPicList0
;
uint8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] RefPicList1
;
uint8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] list_entry_l0
;
uint8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] list_entry_l1
;
} StdVideoEncodeH265ReferenceListsInfo;
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 SequenceLayout
static final SequenceLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final SequenceLayout
static final SequenceLayout
static final long
static final long
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 MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265ReferenceListsInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265ReferenceListsInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH265ReferenceListsInfo src) final boolean
Indicates whether some other object is "equal to" this one.flags()
flags
(@NotNull StdVideoEncodeH265ReferenceListsInfoFlags value) flags
(Consumer<@NotNull StdVideoEncodeH265ReferenceListsInfoFlags> consumer) final int
hashCode()
Returns a hash code value for this object.list_entry_l0
(BytePtr value) list_entry_l1
(BytePtr value) byte
num_ref_idx_l0_active_minus1
(byte value) byte
num_ref_idx_l1_active_minus1
(byte value) RefPicList0
(BytePtr value) RefPicList1
(BytePtr 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$flags
-
PATH$num_ref_idx_l0_active_minus1
-
PATH$num_ref_idx_l1_active_minus1
-
PATH$RefPicList0
-
PATH$RefPicList1
-
PATH$list_entry_l0
-
PATH$list_entry_l1
-
LAYOUT$flags
-
LAYOUT$num_ref_idx_l0_active_minus1
-
LAYOUT$num_ref_idx_l1_active_minus1
-
LAYOUT$RefPicList0
-
LAYOUT$RefPicList1
-
LAYOUT$list_entry_l0
-
LAYOUT$list_entry_l1
-
SIZE$flags
public static final long SIZE$flags -
SIZE$num_ref_idx_l0_active_minus1
public static final long SIZE$num_ref_idx_l0_active_minus1 -
SIZE$num_ref_idx_l1_active_minus1
public static final long SIZE$num_ref_idx_l1_active_minus1 -
SIZE$RefPicList0
public static final long SIZE$RefPicList0 -
SIZE$RefPicList1
public static final long SIZE$RefPicList1 -
SIZE$list_entry_l0
public static final long SIZE$list_entry_l0 -
SIZE$list_entry_l1
public static final long SIZE$list_entry_l1 -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$num_ref_idx_l0_active_minus1
public static final long OFFSET$num_ref_idx_l0_active_minus1 -
OFFSET$num_ref_idx_l1_active_minus1
public static final long OFFSET$num_ref_idx_l1_active_minus1 -
OFFSET$RefPicList0
public static final long OFFSET$RefPicList0 -
OFFSET$RefPicList1
public static final long OFFSET$RefPicList1 -
OFFSET$list_entry_l0
public static final long OFFSET$list_entry_l0 -
OFFSET$list_entry_l1
public static final long OFFSET$list_entry_l1
-
-
Constructor Details
-
StdVideoEncodeH265ReferenceListsInfo
Creates an instance of aStdVideoEncodeH265ReferenceListsInfo
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH265ReferenceListsInfo clone(Arena arena, StdVideoEncodeH265ReferenceListsInfo src) -
flags
-
flags
public StdVideoEncodeH265ReferenceListsInfo flags(@NotNull @NotNull StdVideoEncodeH265ReferenceListsInfoFlags value) -
flags
public StdVideoEncodeH265ReferenceListsInfo flags(Consumer<@NotNull StdVideoEncodeH265ReferenceListsInfoFlags> consumer) -
num_ref_idx_l0_active_minus1
-
num_ref_idx_l0_active_minus1
-
num_ref_idx_l1_active_minus1
-
num_ref_idx_l1_active_minus1
-
RefPicList0
-
RefPicList0
-
RefPicList0Raw
-
RefPicList1
-
RefPicList1
-
RefPicList1Raw
-
list_entry_l0
-
list_entry_l0
-
list_entry_l0Raw
-
list_entry_l1
-
list_entry_l1
-
list_entry_l1Raw
-
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.
-