Record Class StdVideoEncodeH264ReferenceListsInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH264ReferenceListsInfo
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeH264ReferenceListsInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH264ReferenceListsInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH264ReferenceListsInfo
Represents a pointer to a StdVideoEncodeH264ReferenceListsInfo
structure in native memory.
Structure
typedef struct StdVideoEncodeH264ReferenceListsInfo {
StdVideoEncodeH264ReferenceListsInfoFlags
flags
;
uint8_t num_ref_idx_l0_active_minus1
;
uint8_t num_ref_idx_l1_active_minus1
;
uint8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF] RefPicList0
;
uint8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF] RefPicList1
;
uint8_t refList0ModOpCount
;
uint8_t refList1ModOpCount
;
uint8_t refPicMarkingOpCount
;
uint8_t[7] reserved1;
StdVideoEncodeH264RefListModEntry
const* pRefList0ModOperations
;
StdVideoEncodeH264RefListModEntry
const* pRefList1ModOperations
;
StdVideoEncodeH264RefPicMarkingEntry
const* pRefPicMarkingOperations
;
} StdVideoEncodeH264ReferenceListsInfo;
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.OfByte
static final ValueLayout.OfByte
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final SequenceLayout
static final SequenceLayout
static final ValueLayout.OfByte
static final long
static final long
static final long
static final long
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 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
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264ReferenceListsInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH264ReferenceListsInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH264ReferenceListsInfo src) final boolean
Indicates whether some other object is "equal to" this one.flags()
flags
(@NotNull StdVideoEncodeH264ReferenceListsInfoFlags value) flags
(Consumer<@NotNull StdVideoEncodeH264ReferenceListsInfoFlags> consumer) final int
hashCode()
Returns a hash code value for this object.byte
num_ref_idx_l0_active_minus1
(byte value) byte
num_ref_idx_l1_active_minus1
(byte value) @Nullable StdVideoEncodeH264RefListModEntry
pRefList0ModOperations
(int assumedCount) pRefList0ModOperations
(@Nullable IStdVideoEncodeH264RefListModEntry value) void
@Nullable StdVideoEncodeH264RefListModEntry
pRefList1ModOperations
(int assumedCount) pRefList1ModOperations
(@Nullable IStdVideoEncodeH264RefListModEntry value) void
@Nullable StdVideoEncodeH264RefPicMarkingEntry
pRefPicMarkingOperations
(int assumedCount) pRefPicMarkingOperations
(@Nullable IStdVideoEncodeH264RefPicMarkingEntry value) void
byte
refList0ModOpCount
(byte value) byte
refList1ModOpCount
(byte value) RefPicList0
(BytePtr value) RefPicList1
(BytePtr value) byte
refPicMarkingOpCount
(byte 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$refList0ModOpCount
-
PATH$refList1ModOpCount
-
PATH$refPicMarkingOpCount
-
PATH$pRefList0ModOperations
-
PATH$pRefList1ModOperations
-
PATH$pRefPicMarkingOperations
-
LAYOUT$flags
-
LAYOUT$num_ref_idx_l0_active_minus1
-
LAYOUT$num_ref_idx_l1_active_minus1
-
LAYOUT$RefPicList0
-
LAYOUT$RefPicList1
-
LAYOUT$refList0ModOpCount
-
LAYOUT$refList1ModOpCount
-
LAYOUT$refPicMarkingOpCount
-
LAYOUT$pRefList0ModOperations
-
LAYOUT$pRefList1ModOperations
-
LAYOUT$pRefPicMarkingOperations
-
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$refList0ModOpCount
public static final long SIZE$refList0ModOpCount -
SIZE$refList1ModOpCount
public static final long SIZE$refList1ModOpCount -
SIZE$refPicMarkingOpCount
public static final long SIZE$refPicMarkingOpCount -
SIZE$pRefList0ModOperations
public static final long SIZE$pRefList0ModOperations -
SIZE$pRefList1ModOperations
public static final long SIZE$pRefList1ModOperations -
SIZE$pRefPicMarkingOperations
public static final long SIZE$pRefPicMarkingOperations -
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$refList0ModOpCount
public static final long OFFSET$refList0ModOpCount -
OFFSET$refList1ModOpCount
public static final long OFFSET$refList1ModOpCount -
OFFSET$refPicMarkingOpCount
public static final long OFFSET$refPicMarkingOpCount -
OFFSET$pRefList0ModOperations
public static final long OFFSET$pRefList0ModOperations -
OFFSET$pRefList1ModOperations
public static final long OFFSET$pRefList1ModOperations -
OFFSET$pRefPicMarkingOperations
public static final long OFFSET$pRefPicMarkingOperations
-
-
Constructor Details
-
StdVideoEncodeH264ReferenceListsInfo
Creates an instance of aStdVideoEncodeH264ReferenceListsInfo
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH264ReferenceListsInfo clone(Arena arena, StdVideoEncodeH264ReferenceListsInfo src) -
flags
-
flags
public StdVideoEncodeH264ReferenceListsInfo flags(@NotNull @NotNull StdVideoEncodeH264ReferenceListsInfoFlags value) -
flags
public StdVideoEncodeH264ReferenceListsInfo flags(Consumer<@NotNull StdVideoEncodeH264ReferenceListsInfoFlags> 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
-
refList0ModOpCount
-
refList0ModOpCount
-
refList1ModOpCount
-
refList1ModOpCount
-
refPicMarkingOpCount
-
refPicMarkingOpCount
-
pRefList0ModOperations
public StdVideoEncodeH264ReferenceListsInfo pRefList0ModOperations(@Nullable @Nullable IStdVideoEncodeH264RefListModEntry value) -
pRefList0ModOperations
@Unsafe @Nullable public StdVideoEncodeH264RefListModEntry.Ptr pRefList0ModOperations(int assumedCount) -
pRefList0ModOperations
-
pRefList0ModOperationsRaw
@Pointer(target=StdVideoEncodeH264RefListModEntry.class) public MemorySegment pRefList0ModOperationsRaw() -
pRefList0ModOperationsRaw
public void pRefList0ModOperationsRaw(@Pointer(target=StdVideoEncodeH264RefListModEntry.class) MemorySegment value) -
pRefList1ModOperations
public StdVideoEncodeH264ReferenceListsInfo pRefList1ModOperations(@Nullable @Nullable IStdVideoEncodeH264RefListModEntry value) -
pRefList1ModOperations
@Unsafe @Nullable public StdVideoEncodeH264RefListModEntry.Ptr pRefList1ModOperations(int assumedCount) -
pRefList1ModOperations
-
pRefList1ModOperationsRaw
@Pointer(target=StdVideoEncodeH264RefListModEntry.class) public MemorySegment pRefList1ModOperationsRaw() -
pRefList1ModOperationsRaw
public void pRefList1ModOperationsRaw(@Pointer(target=StdVideoEncodeH264RefListModEntry.class) MemorySegment value) -
pRefPicMarkingOperations
public StdVideoEncodeH264ReferenceListsInfo pRefPicMarkingOperations(@Nullable @Nullable IStdVideoEncodeH264RefPicMarkingEntry value) -
pRefPicMarkingOperations
@Unsafe @Nullable public StdVideoEncodeH264RefPicMarkingEntry.Ptr pRefPicMarkingOperations(int assumedCount) -
pRefPicMarkingOperations
-
pRefPicMarkingOperationsRaw
@Pointer(target=StdVideoEncodeH264RefPicMarkingEntry.class) public MemorySegment pRefPicMarkingOperationsRaw() -
pRefPicMarkingOperationsRaw
public void pRefPicMarkingOperationsRaw(@Pointer(target=StdVideoEncodeH264RefPicMarkingEntry.class) MemorySegment value) -
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.
-