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 recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final StructLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final SequenceLayoutstatic final SequenceLayoutstatic final ValueLayout.OfBytestatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264ReferenceListsInfo(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH264ReferenceListsInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoEncodeH264ReferenceListsInfo src) final booleanIndicates whether some other object is "equal to" this one.flags()flags(@NotNull StdVideoEncodeH264ReferenceListsInfoFlags value) flags(Consumer<@NotNull StdVideoEncodeH264ReferenceListsInfoFlags> consumer) final inthashCode()Returns a hash code value for this object.bytenum_ref_idx_l0_active_minus1(byte value) bytenum_ref_idx_l1_active_minus1(byte value) @Nullable StdVideoEncodeH264RefListModEntrypRefList0ModOperations(int assumedCount) pRefList0ModOperations(@Nullable IStdVideoEncodeH264RefListModEntry value) @NotNull MemorySegmentvoidpRefList0ModOperationsRaw(@NotNull MemorySegment value) @Nullable StdVideoEncodeH264RefListModEntrypRefList1ModOperations(int assumedCount) pRefList1ModOperations(@Nullable IStdVideoEncodeH264RefListModEntry value) @NotNull MemorySegmentvoidpRefList1ModOperationsRaw(@NotNull MemorySegment value) @Nullable StdVideoEncodeH264RefPicMarkingEntrypRefPicMarkingOperations(int assumedCount) pRefPicMarkingOperations(@Nullable IStdVideoEncodeH264RefPicMarkingEntry value) @NotNull MemorySegmentvoidpRefPicMarkingOperationsRaw(@NotNull MemorySegment value) byterefList0ModOpCount(byte value) byterefList1ModOpCount(byte value) RefPicList0(BytePtr value) RefPicList0(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentRefPicList1(BytePtr value) RefPicList1(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentbyterefPicMarkingOpCount(byte value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()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 aStdVideoEncodeH264ReferenceListsInforecord class.- Parameters:
segment- the value for thesegmentrecord 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
public StdVideoEncodeH264ReferenceListsInfo RefPicList0(@NotNull @NotNull Consumer<BytePtr> consumer) -
RefPicList0
-
RefPicList0Raw
-
RefPicList1
-
RefPicList1
public StdVideoEncodeH264ReferenceListsInfo RefPicList1(@NotNull @NotNull Consumer<BytePtr> consumer) -
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) @NotNull public @NotNull MemorySegment pRefList0ModOperationsRaw() -
pRefList0ModOperationsRaw
public void pRefList0ModOperationsRaw(@Pointer(target=StdVideoEncodeH264RefListModEntry.class) @NotNull @NotNull 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) @NotNull public @NotNull MemorySegment pRefList1ModOperationsRaw() -
pRefList1ModOperationsRaw
public void pRefList1ModOperationsRaw(@Pointer(target=StdVideoEncodeH264RefListModEntry.class) @NotNull @NotNull 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) @NotNull public @NotNull MemorySegment pRefPicMarkingOperationsRaw() -
pRefPicMarkingOperationsRaw
public void pRefPicMarkingOperationsRaw(@Pointer(target=StdVideoEncodeH264RefPicMarkingEntry.class) @NotNull @NotNull 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 thesegmentrecord component.
-