Record Class StdVideoH265VideoParameterSet

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265VideoParameterSet
All Implemented Interfaces:
IPointer, IStdVideoH265VideoParameterSet

@ValueBasedCandidate @UnsafeConstructor public record StdVideoH265VideoParameterSet(@NotNull MemorySegment segment) extends Record implements IStdVideoH265VideoParameterSet

Represents a pointer to a StdVideoH265VideoParameterSet structure in native memory.

Structure

typedef struct StdVideoH265VideoParameterSet {
    StdVideoH265VpsFlags flags;
    uint8_t vps_video_parameter_set_id;
    uint8_t vps_max_sub_layers_minus1;
    uint8_t reserved1;
    uint8_t reserved2;
    uint32_t vps_num_units_in_tick;
    uint32_t vps_time_scale;
    uint32_t vps_num_ticks_poc_diff_one_minus1;
    uint32_t reserved3;
    StdVideoH265DecPicBufMgr const* pDecPicBufMgr;
    StdVideoH265HrdParameters const* pHrdParameters;
    StdVideoH265ProfileTierLevel const* pProfileTierLevel;
} StdVideoH265VideoParameterSet;

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.