Record Class StdVideoEncodeH265PictureInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265PictureInfo
- All Implemented Interfaces:
IPointer,IStdVideoEncodeH265PictureInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265PictureInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265PictureInfo
Represents a pointer to a StdVideoEncodeH265PictureInfo structure in native memory.
Structure
typedef struct StdVideoEncodeH265PictureInfo {
StdVideoEncodeH265PictureInfoFlags flags;
StdVideoH265PictureType pic_type;
uint8_t sps_video_parameter_set_id;
uint8_t pps_seq_parameter_set_id;
uint8_t pps_pic_parameter_set_id;
uint8_t short_term_ref_pic_set_idx;
int32_t PicOrderCntVal;
uint8_t TemporalId;
uint8_t[7] reserved1;
StdVideoEncodeH265ReferenceListsInfo const* pRefLists;
StdVideoH265ShortTermRefPicSet const* pShortTermRefPicSet;
StdVideoEncodeH265LongTermRefPics const* pLongTermRefPics;
} StdVideoEncodeH265PictureInfo;
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.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic 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
ConstructorsConstructorDescriptionStdVideoEncodeH265PictureInfo(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265PictureInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoEncodeH265PictureInfo src) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH265PictureInfoFlagsflags()flags(@NotNull StdVideoEncodeH265PictureInfoFlags value) flags(Consumer<@NotNull StdVideoEncodeH265PictureInfoFlags> consumer) final inthashCode()Returns a hash code value for this object.intpic_type()pic_type(int value) intPicOrderCntVal(int value) @Nullable StdVideoEncodeH265LongTermRefPicspLongTermRefPics(int assumedCount) pLongTermRefPics(@Nullable IStdVideoEncodeH265LongTermRefPics value) @NotNull MemorySegmentvoidpLongTermRefPicsRaw(@NotNull MemorySegment value) bytepps_pic_parameter_set_id(byte value) bytepps_seq_parameter_set_id(byte value) @Nullable StdVideoEncodeH265ReferenceListsInfopRefLists(int assumedCount) pRefLists(@Nullable IStdVideoEncodeH265ReferenceListsInfo value) @NotNull MemorySegmentvoidpRefListsRaw(@NotNull MemorySegment value) @Nullable StdVideoH265ShortTermRefPicSetpShortTermRefPicSet(int assumedCount) pShortTermRefPicSet(@Nullable IStdVideoH265ShortTermRefPicSet value) @NotNull MemorySegmentvoidpShortTermRefPicSetRaw(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.byteshort_term_ref_pic_set_idx(byte value) bytesps_video_parameter_set_id(byte value) byteTemporalId(byte value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$pic_type
-
PATH$sps_video_parameter_set_id
-
PATH$pps_seq_parameter_set_id
-
PATH$pps_pic_parameter_set_id
-
PATH$short_term_ref_pic_set_idx
-
PATH$PicOrderCntVal
-
PATH$TemporalId
-
PATH$pRefLists
-
PATH$pShortTermRefPicSet
-
PATH$pLongTermRefPics
-
LAYOUT$flags
-
LAYOUT$pic_type
-
LAYOUT$sps_video_parameter_set_id
-
LAYOUT$pps_seq_parameter_set_id
-
LAYOUT$pps_pic_parameter_set_id
-
LAYOUT$short_term_ref_pic_set_idx
-
LAYOUT$PicOrderCntVal
-
LAYOUT$TemporalId
-
LAYOUT$pRefLists
-
LAYOUT$pShortTermRefPicSet
-
LAYOUT$pLongTermRefPics
-
SIZE$flags
public static final long SIZE$flags -
SIZE$pic_type
public static final long SIZE$pic_type -
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$short_term_ref_pic_set_idx
public static final long SIZE$short_term_ref_pic_set_idx -
SIZE$PicOrderCntVal
public static final long SIZE$PicOrderCntVal -
SIZE$TemporalId
public static final long SIZE$TemporalId -
SIZE$pRefLists
public static final long SIZE$pRefLists -
SIZE$pShortTermRefPicSet
public static final long SIZE$pShortTermRefPicSet -
SIZE$pLongTermRefPics
public static final long SIZE$pLongTermRefPics -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$pic_type
public static final long OFFSET$pic_type -
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$short_term_ref_pic_set_idx
public static final long OFFSET$short_term_ref_pic_set_idx -
OFFSET$PicOrderCntVal
public static final long OFFSET$PicOrderCntVal -
OFFSET$TemporalId
public static final long OFFSET$TemporalId -
OFFSET$pRefLists
public static final long OFFSET$pRefLists -
OFFSET$pShortTermRefPicSet
public static final long OFFSET$pShortTermRefPicSet -
OFFSET$pLongTermRefPics
public static final long OFFSET$pLongTermRefPics
-
-
Constructor Details
-
StdVideoEncodeH265PictureInfo
Creates an instance of aStdVideoEncodeH265PictureInforecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
public StdVideoEncodeH265PictureInfo flags(@NotNull @NotNull StdVideoEncodeH265PictureInfoFlags value) -
flags
public StdVideoEncodeH265PictureInfo flags(Consumer<@NotNull StdVideoEncodeH265PictureInfoFlags> consumer) -
pic_type
-
pic_type
-
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
-
short_term_ref_pic_set_idx
-
short_term_ref_pic_set_idx
-
PicOrderCntVal
public int PicOrderCntVal() -
PicOrderCntVal
-
TemporalId
-
TemporalId
-
pRefLists
public StdVideoEncodeH265PictureInfo pRefLists(@Nullable @Nullable IStdVideoEncodeH265ReferenceListsInfo value) -
pRefLists
-
pRefLists
-
pRefListsRaw
@Pointer(target=StdVideoEncodeH265ReferenceListsInfo.class) @NotNull public @NotNull MemorySegment pRefListsRaw() -
pRefListsRaw
public void pRefListsRaw(@Pointer(target=StdVideoEncodeH265ReferenceListsInfo.class) @NotNull @NotNull MemorySegment value) -
pShortTermRefPicSet
public StdVideoEncodeH265PictureInfo pShortTermRefPicSet(@Nullable @Nullable IStdVideoH265ShortTermRefPicSet value) -
pShortTermRefPicSet
-
pShortTermRefPicSet
-
pShortTermRefPicSetRaw
@Pointer(target=StdVideoH265ShortTermRefPicSet.class) @NotNull public @NotNull MemorySegment pShortTermRefPicSetRaw() -
pShortTermRefPicSetRaw
public void pShortTermRefPicSetRaw(@Pointer(target=StdVideoH265ShortTermRefPicSet.class) @NotNull @NotNull MemorySegment value) -
pLongTermRefPics
public StdVideoEncodeH265PictureInfo pLongTermRefPics(@Nullable @Nullable IStdVideoEncodeH265LongTermRefPics value) -
pLongTermRefPics
-
pLongTermRefPics
-
pLongTermRefPicsRaw
@Pointer(target=StdVideoEncodeH265LongTermRefPics.class) @NotNull public @NotNull MemorySegment pLongTermRefPicsRaw() -
pLongTermRefPicsRaw
public void pLongTermRefPicsRaw(@Pointer(target=StdVideoEncodeH265LongTermRefPics.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.
-