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 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.OfShort
static final ValueLayout.OfByte
static final ValueLayout.OfInt
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final SequenceLayout
static final SequenceLayout
static final SequenceLayout
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 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
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeH265PictureInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoDecodeH265PictureInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoDecodeH265PictureInfo src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoDecodeH265PictureInfoFlags
flags()
flags
(@NotNull StdVideoDecodeH265PictureInfoFlags value) flags
(Consumer<@NotNull StdVideoDecodeH265PictureInfoFlags> consumer) final int
hashCode()
Returns a hash code value for this object.short
NumBitsForSTRefPicSetInSlice
(short value) byte
NumDeltaPocsOfRefRpsIdx
(byte value) int
PicOrderCntVal
(int value) byte
pps_pic_parameter_set_id
(byte value) byte
pps_seq_parameter_set_id
(byte value) RefPicSetLtCurr
(BytePtr value) RefPicSetStCurrAfter
(BytePtr value) RefPicSetStCurrBefore
(BytePtr value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
sps_video_parameter_set_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$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 aStdVideoDecodeH265PictureInfo
record class.- Parameters:
segment
- the value for thesegment
record 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
-
RefPicSetStCurrBeforeRaw
-
RefPicSetStCurrAfter
-
RefPicSetStCurrAfter
-
RefPicSetStCurrAfterRaw
-
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 thesegment
record component.
-