Record Class StdVideoDecodeH265PictureInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoDecodeH265PictureInfo
- All Implemented Interfaces:
IPointer,IStdVideoDecodeH265PictureInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoDecodeH265PictureInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoDecodeH265PictureInfo
Represents a pointer to a StdVideoDecodeH265PictureInfo structure in native memory.
Structure
typedef struct StdVideoDecodeH265PictureInfo {
StdVideoDecodeH265PictureInfoFlags flags;
uint8_t sps_video_parameter_set_id;
uint8_t pps_seq_parameter_set_id;
uint8_t pps_pic_parameter_set_id;
uint8_t NumDeltaPocsOfRefRpsIdx;
int32_t PicOrderCntVal;
uint16_t NumBitsForSTRefPicSetInSlice;
uint16_t reserved;
uint8_t[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE] RefPicSetStCurrBefore;
uint8_t[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE] RefPicSetStCurrAfter;
uint8_t[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE] RefPicSetLtCurr;
} StdVideoDecodeH265PictureInfo;
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.OfShortstatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final SequenceLayoutstatic 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 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 long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeH265PictureInfo(@NotNull MemorySegment segment) Creates an instance of aStdVideoDecodeH265PictureInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoDecodeH265PictureInfo src) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoDecodeH265PictureInfoFlagsflags()flags(@NotNull StdVideoDecodeH265PictureInfoFlags value) flags(Consumer<@NotNull StdVideoDecodeH265PictureInfoFlags> consumer) final inthashCode()Returns a hash code value for this object.shortNumBitsForSTRefPicSetInSlice(short value) byteNumDeltaPocsOfRefRpsIdx(byte value) intPicOrderCntVal(int value) bytepps_pic_parameter_set_id(byte value) bytepps_seq_parameter_set_id(byte value) RefPicSetLtCurr(BytePtr value) RefPicSetLtCurr(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentRefPicSetStCurrAfter(BytePtr value) RefPicSetStCurrAfter(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentRefPicSetStCurrBefore(BytePtr value) RefPicSetStCurrBefore(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegment@NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.bytesps_video_parameter_set_id(byte value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$sps_video_parameter_set_id
-
PATH$pps_seq_parameter_set_id
-
PATH$pps_pic_parameter_set_id
-
PATH$NumDeltaPocsOfRefRpsIdx
-
PATH$PicOrderCntVal
-
PATH$NumBitsForSTRefPicSetInSlice
-
PATH$RefPicSetStCurrBefore
-
PATH$RefPicSetStCurrAfter
-
PATH$RefPicSetLtCurr
-
LAYOUT$flags
-
LAYOUT$sps_video_parameter_set_id
-
LAYOUT$pps_seq_parameter_set_id
-
LAYOUT$pps_pic_parameter_set_id
-
LAYOUT$NumDeltaPocsOfRefRpsIdx
-
LAYOUT$PicOrderCntVal
-
LAYOUT$NumBitsForSTRefPicSetInSlice
-
LAYOUT$RefPicSetStCurrBefore
-
LAYOUT$RefPicSetStCurrAfter
-
LAYOUT$RefPicSetLtCurr
-
SIZE$flags
public static final long SIZE$flags -
SIZE$sps_video_parameter_set_id
public static final long SIZE$sps_video_parameter_set_id -
SIZE$pps_seq_parameter_set_id
public static final long SIZE$pps_seq_parameter_set_id -
SIZE$pps_pic_parameter_set_id
public static final long SIZE$pps_pic_parameter_set_id -
SIZE$NumDeltaPocsOfRefRpsIdx
public static final long SIZE$NumDeltaPocsOfRefRpsIdx -
SIZE$PicOrderCntVal
public static final long SIZE$PicOrderCntVal -
SIZE$NumBitsForSTRefPicSetInSlice
public static final long SIZE$NumBitsForSTRefPicSetInSlice -
SIZE$RefPicSetStCurrBefore
public static final long SIZE$RefPicSetStCurrBefore -
SIZE$RefPicSetStCurrAfter
public static final long SIZE$RefPicSetStCurrAfter -
SIZE$RefPicSetLtCurr
public static final long SIZE$RefPicSetLtCurr -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$sps_video_parameter_set_id
public static final long OFFSET$sps_video_parameter_set_id -
OFFSET$pps_seq_parameter_set_id
public static final long OFFSET$pps_seq_parameter_set_id -
OFFSET$pps_pic_parameter_set_id
public static final long OFFSET$pps_pic_parameter_set_id -
OFFSET$NumDeltaPocsOfRefRpsIdx
public static final long OFFSET$NumDeltaPocsOfRefRpsIdx -
OFFSET$PicOrderCntVal
public static final long OFFSET$PicOrderCntVal -
OFFSET$NumBitsForSTRefPicSetInSlice
public static final long OFFSET$NumBitsForSTRefPicSetInSlice -
OFFSET$RefPicSetStCurrBefore
public static final long OFFSET$RefPicSetStCurrBefore -
OFFSET$RefPicSetStCurrAfter
public static final long OFFSET$RefPicSetStCurrAfter -
OFFSET$RefPicSetLtCurr
public static final long OFFSET$RefPicSetLtCurr
-
-
Constructor Details
-
StdVideoDecodeH265PictureInfo
Creates an instance of aStdVideoDecodeH265PictureInforecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
public StdVideoDecodeH265PictureInfo flags(@NotNull @NotNull StdVideoDecodeH265PictureInfoFlags value) -
flags
public StdVideoDecodeH265PictureInfo flags(Consumer<@NotNull StdVideoDecodeH265PictureInfoFlags> consumer) -
sps_video_parameter_set_id
-
sps_video_parameter_set_id
-
pps_seq_parameter_set_id
-
pps_seq_parameter_set_id
-
pps_pic_parameter_set_id
-
pps_pic_parameter_set_id
-
NumDeltaPocsOfRefRpsIdx
-
NumDeltaPocsOfRefRpsIdx
-
PicOrderCntVal
public int PicOrderCntVal() -
PicOrderCntVal
-
NumBitsForSTRefPicSetInSlice
-
NumBitsForSTRefPicSetInSlice
-
RefPicSetStCurrBefore
-
RefPicSetStCurrBefore
public StdVideoDecodeH265PictureInfo RefPicSetStCurrBefore(@NotNull @NotNull Consumer<BytePtr> consumer) -
RefPicSetStCurrBefore
-
RefPicSetStCurrBeforeRaw
-
RefPicSetStCurrAfter
-
RefPicSetStCurrAfter
public StdVideoDecodeH265PictureInfo RefPicSetStCurrAfter(@NotNull @NotNull Consumer<BytePtr> consumer) -
RefPicSetStCurrAfter
-
RefPicSetStCurrAfterRaw
-
RefPicSetLtCurr
-
RefPicSetLtCurr
-
RefPicSetLtCurr
-
RefPicSetLtCurrRaw
-
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.
-