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 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.OfShort
static final ValueLayout.OfByte
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
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 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
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH264PictureInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH264PictureInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH264PictureInfo src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH264PictureInfoFlags
flags()
flags
(@NotNull StdVideoEncodeH264PictureInfoFlags value) flags
(Consumer<@NotNull StdVideoEncodeH264PictureInfoFlags> consumer) int
frame_num
(int value) final int
hashCode()
Returns a hash code value for this object.short
idr_pic_id
(short value) byte
pic_parameter_set_id
(byte value) int
PicOrderCnt
(int value) @Nullable StdVideoEncodeH264ReferenceListsInfo
pRefLists
(int assumedCount) pRefLists
(@Nullable IStdVideoEncodeH264ReferenceListsInfo value) void
pRefListsRaw
(MemorySegment value) int
primary_pic_type
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
seq_parameter_set_id
(byte value) byte
temporal_id
(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$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 aStdVideoEncodeH264PictureInfo
record class.- Parameters:
segment
- the value for thesegment
record 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
-
pRefListsRaw
public void pRefListsRaw(@Pointer(target=StdVideoEncodeH264ReferenceListsInfo.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.
-