Record Class StdVideoEncodeH264PictureInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH264PictureInfo
- All Implemented Interfaces:
IPointer,IStdVideoEncodeH264PictureInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH264PictureInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH264PictureInfo
Represents a pointer to a StdVideoEncodeH264PictureInfo structure in native memory.
Structure
typedef struct StdVideoEncodeH264PictureInfo {
StdVideoEncodeH264PictureInfoFlags flags;
uint8_t seq_parameter_set_id;
uint8_t pic_parameter_set_id;
uint16_t idr_pic_id;
StdVideoH264PictureType primary_pic_type;
uint32_t frame_num;
int32_t PicOrderCnt;
uint8_t temporal_id;
uint8_t[3] reserved1;
StdVideoEncodeH264ReferenceListsInfo const* pRefLists;
} StdVideoEncodeH264PictureInfo;
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.OfShortstatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfIntstatic 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 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 long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264PictureInfo(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH264PictureInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoEncodeH264PictureInfo src) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH264PictureInfoFlagsflags()flags(@NotNull StdVideoEncodeH264PictureInfoFlags value) flags(Consumer<@NotNull StdVideoEncodeH264PictureInfoFlags> consumer) intframe_num(int value) final inthashCode()Returns a hash code value for this object.shortidr_pic_id(short value) bytepic_parameter_set_id(byte value) intPicOrderCnt(int value) @Nullable StdVideoEncodeH264ReferenceListsInfopRefLists(int assumedCount) pRefLists(@Nullable IStdVideoEncodeH264ReferenceListsInfo value) @NotNull MemorySegmentvoidpRefListsRaw(@NotNull MemorySegment value) intprimary_pic_type(int value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.byteseq_parameter_set_id(byte value) bytetemporal_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$seq_parameter_set_id
-
PATH$pic_parameter_set_id
-
PATH$idr_pic_id
-
PATH$primary_pic_type
-
PATH$frame_num
-
PATH$PicOrderCnt
-
PATH$temporal_id
-
PATH$pRefLists
-
LAYOUT$flags
-
LAYOUT$seq_parameter_set_id
-
LAYOUT$pic_parameter_set_id
-
LAYOUT$idr_pic_id
-
LAYOUT$primary_pic_type
-
LAYOUT$frame_num
-
LAYOUT$PicOrderCnt
-
LAYOUT$temporal_id
-
LAYOUT$pRefLists
-
SIZE$flags
public static final long SIZE$flags -
SIZE$seq_parameter_set_id
public static final long SIZE$seq_parameter_set_id -
SIZE$pic_parameter_set_id
public static final long SIZE$pic_parameter_set_id -
SIZE$idr_pic_id
public static final long SIZE$idr_pic_id -
SIZE$primary_pic_type
public static final long SIZE$primary_pic_type -
SIZE$frame_num
public static final long SIZE$frame_num -
SIZE$PicOrderCnt
public static final long SIZE$PicOrderCnt -
SIZE$temporal_id
public static final long SIZE$temporal_id -
SIZE$pRefLists
public static final long SIZE$pRefLists -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$seq_parameter_set_id
public static final long OFFSET$seq_parameter_set_id -
OFFSET$pic_parameter_set_id
public static final long OFFSET$pic_parameter_set_id -
OFFSET$idr_pic_id
public static final long OFFSET$idr_pic_id -
OFFSET$primary_pic_type
public static final long OFFSET$primary_pic_type -
OFFSET$frame_num
public static final long OFFSET$frame_num -
OFFSET$PicOrderCnt
public static final long OFFSET$PicOrderCnt -
OFFSET$temporal_id
public static final long OFFSET$temporal_id -
OFFSET$pRefLists
public static final long OFFSET$pRefLists
-
-
Constructor Details
-
StdVideoEncodeH264PictureInfo
Creates an instance of aStdVideoEncodeH264PictureInforecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
public StdVideoEncodeH264PictureInfo flags(@NotNull @NotNull StdVideoEncodeH264PictureInfoFlags value) -
flags
public StdVideoEncodeH264PictureInfo flags(Consumer<@NotNull StdVideoEncodeH264PictureInfoFlags> consumer) -
seq_parameter_set_id
-
seq_parameter_set_id
-
pic_parameter_set_id
-
pic_parameter_set_id
-
idr_pic_id
-
idr_pic_id
-
-
primary_pic_type
public StdVideoEncodeH264PictureInfo primary_pic_type(@EnumType(StdVideoH264PictureType.class) int value) -
frame_num
-
frame_num
-
PicOrderCnt
public int PicOrderCnt() -
PicOrderCnt
-
temporal_id
-
temporal_id
-
pRefLists
public StdVideoEncodeH264PictureInfo pRefLists(@Nullable @Nullable IStdVideoEncodeH264ReferenceListsInfo value) -
pRefLists
-
pRefLists
-
pRefListsRaw
@Pointer(target=StdVideoEncodeH264ReferenceListsInfo.class) @NotNull public @NotNull MemorySegment pRefListsRaw() -
pRefListsRaw
public void pRefListsRaw(@Pointer(target=StdVideoEncodeH264ReferenceListsInfo.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.
-