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.