Record Class StdVideoH265DecPicBufMgr
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265DecPicBufMgr
- All Implemented Interfaces:
IPointer,IStdVideoH265DecPicBufMgr
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH265DecPicBufMgr(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH265DecPicBufMgr
Represents a pointer to a StdVideoH265DecPicBufMgr structure in native memory.
Structure
typedef struct StdVideoH265DecPicBufMgr {
uint32_t[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE] max_latency_increase_plus1;
uint8_t[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE] max_dec_pic_buffering_minus1;
uint8_t[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE] max_num_reorder_pics;
} StdVideoH265DecPicBufMgr;
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 SequenceLayoutstatic final SequenceLayoutstatic final SequenceLayoutstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265DecPicBufMgr(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265DecPicBufMgrrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265DecPicBufMgrstatic StdVideoH265DecPicBufMgr.Ptrstatic StdVideoH265DecPicBufMgrclone(Arena arena, StdVideoH265DecPicBufMgr src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.max_dec_pic_buffering_minus1(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentmax_latency_increase_plus1(IntPtr value) max_latency_increase_plus1(@NotNull Consumer<IntPtr> consumer) @NotNull MemorySegmentmax_num_reorder_pics(BytePtr value) max_num_reorder_pics(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegment@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$max_latency_increase_plus1
-
PATH$max_dec_pic_buffering_minus1
-
PATH$max_num_reorder_pics
-
LAYOUT$max_latency_increase_plus1
-
LAYOUT$max_dec_pic_buffering_minus1
-
LAYOUT$max_num_reorder_pics
-
SIZE$max_latency_increase_plus1
public static final long SIZE$max_latency_increase_plus1 -
SIZE$max_dec_pic_buffering_minus1
public static final long SIZE$max_dec_pic_buffering_minus1 -
SIZE$max_num_reorder_pics
public static final long SIZE$max_num_reorder_pics -
OFFSET$max_latency_increase_plus1
public static final long OFFSET$max_latency_increase_plus1 -
OFFSET$max_dec_pic_buffering_minus1
public static final long OFFSET$max_dec_pic_buffering_minus1 -
OFFSET$max_num_reorder_pics
public static final long OFFSET$max_num_reorder_pics
-
-
Constructor Details
-
StdVideoH265DecPicBufMgr
Creates an instance of aStdVideoH265DecPicBufMgrrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
max_latency_increase_plus1
-
max_latency_increase_plus1
public StdVideoH265DecPicBufMgr max_latency_increase_plus1(@NotNull @NotNull Consumer<IntPtr> consumer) -
max_latency_increase_plus1
-
max_latency_increase_plus1Raw
-
max_dec_pic_buffering_minus1
-
max_dec_pic_buffering_minus1
public StdVideoH265DecPicBufMgr max_dec_pic_buffering_minus1(@NotNull @NotNull Consumer<BytePtr> consumer) -
max_dec_pic_buffering_minus1
-
max_dec_pic_buffering_minus1Raw
-
max_num_reorder_pics
-
max_num_reorder_pics
-
max_num_reorder_pics
-
max_num_reorder_picsRaw
-
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.
-