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 record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265PictureInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265PictureInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH265PictureInfo src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH265PictureInfoFlags
flags()
flags
(@NotNull StdVideoEncodeH265PictureInfoFlags value) flags
(Consumer<@NotNull StdVideoEncodeH265PictureInfoFlags> consumer) final int
hashCode()
Returns a hash code value for this object.int
pic_type()
pic_type
(int value) int
PicOrderCntVal
(int value) @Nullable StdVideoEncodeH265LongTermRefPics
pLongTermRefPics
(int assumedCount) pLongTermRefPics
(@Nullable IStdVideoEncodeH265LongTermRefPics value) void
pLongTermRefPicsRaw
(MemorySegment value) byte
pps_pic_parameter_set_id
(byte value) byte
pps_seq_parameter_set_id
(byte value) @Nullable StdVideoEncodeH265ReferenceListsInfo
pRefLists
(int assumedCount) pRefLists
(@Nullable IStdVideoEncodeH265ReferenceListsInfo value) void
pRefListsRaw
(MemorySegment value) @Nullable StdVideoH265ShortTermRefPicSet
pShortTermRefPicSet
(int assumedCount) pShortTermRefPicSet
(@Nullable IStdVideoH265ShortTermRefPicSet value) void
@NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
short_term_ref_pic_set_idx
(byte value) byte
sps_video_parameter_set_id
(byte value) byte
TemporalId
(byte value) final String
toString()
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 aStdVideoEncodeH265PictureInfo
record class.- Parameters:
segment
- the value for thesegment
record 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
-
pRefListsRaw
public void pRefListsRaw(@Pointer(target=StdVideoEncodeH265ReferenceListsInfo.class) MemorySegment value) -
pShortTermRefPicSet
public StdVideoEncodeH265PictureInfo pShortTermRefPicSet(@Nullable @Nullable IStdVideoH265ShortTermRefPicSet value) -
pShortTermRefPicSet
-
pShortTermRefPicSet
-
pShortTermRefPicSetRaw
-
pShortTermRefPicSetRaw
public void pShortTermRefPicSetRaw(@Pointer(target=StdVideoH265ShortTermRefPicSet.class) MemorySegment value) -
pLongTermRefPics
public StdVideoEncodeH265PictureInfo pLongTermRefPics(@Nullable @Nullable IStdVideoEncodeH265LongTermRefPics value) -
pLongTermRefPics
-
pLongTermRefPics
-
pLongTermRefPicsRaw
-
pLongTermRefPicsRaw
public void pLongTermRefPicsRaw(@Pointer(target=StdVideoEncodeH265LongTermRefPics.class) 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 thesegment
record component.
-