Record Class StdVideoEncodeH265LongTermRefPics
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265LongTermRefPics
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeH265LongTermRefPics
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265LongTermRefPics(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265LongTermRefPics
Represents a pointer to a StdVideoEncodeH265LongTermRefPics
structure in native memory.
Structure
typedef struct StdVideoEncodeH265LongTermRefPics {
uint8_t num_long_term_sps
;
uint8_t num_long_term_pics
;
uint8_t[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS] lt_idx_sps
;
uint8_t[STD_VIDEO_H265_MAX_LONG_TERM_PICS] poc_lsb_lt
;
uint16_t used_by_curr_pic_lt_flag
;
uint8_t[STD_VIDEO_H265_MAX_DELTA_POC] delta_poc_msb_present_flag
;
uint8_t[STD_VIDEO_H265_MAX_DELTA_POC] delta_poc_msb_cycle_lt
;
} StdVideoEncodeH265LongTermRefPics;
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 SequenceLayout
static final SequenceLayout
static final SequenceLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final SequenceLayout
static final ValueLayout.OfShort
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 long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265LongTermRefPics
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265LongTermRefPics
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeH265LongTermRefPics src) delta_poc_msb_cycle_lt
(BytePtr value) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.lt_idx_sps
(BytePtr value) byte
num_long_term_pics
(byte value) byte
num_long_term_sps
(byte value) poc_lsb_lt
(BytePtr value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.short
used_by_curr_pic_lt_flag
(short value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$num_long_term_sps
-
PATH$num_long_term_pics
-
PATH$lt_idx_sps
-
PATH$poc_lsb_lt
-
PATH$used_by_curr_pic_lt_flag
-
PATH$delta_poc_msb_present_flag
-
PATH$delta_poc_msb_cycle_lt
-
LAYOUT$num_long_term_sps
-
LAYOUT$num_long_term_pics
-
LAYOUT$lt_idx_sps
-
LAYOUT$poc_lsb_lt
-
LAYOUT$used_by_curr_pic_lt_flag
-
LAYOUT$delta_poc_msb_present_flag
-
LAYOUT$delta_poc_msb_cycle_lt
-
SIZE$num_long_term_sps
public static final long SIZE$num_long_term_sps -
SIZE$num_long_term_pics
public static final long SIZE$num_long_term_pics -
SIZE$lt_idx_sps
public static final long SIZE$lt_idx_sps -
SIZE$poc_lsb_lt
public static final long SIZE$poc_lsb_lt -
SIZE$used_by_curr_pic_lt_flag
public static final long SIZE$used_by_curr_pic_lt_flag -
SIZE$delta_poc_msb_present_flag
public static final long SIZE$delta_poc_msb_present_flag -
SIZE$delta_poc_msb_cycle_lt
public static final long SIZE$delta_poc_msb_cycle_lt -
OFFSET$num_long_term_sps
public static final long OFFSET$num_long_term_sps -
OFFSET$num_long_term_pics
public static final long OFFSET$num_long_term_pics -
OFFSET$lt_idx_sps
public static final long OFFSET$lt_idx_sps -
OFFSET$poc_lsb_lt
public static final long OFFSET$poc_lsb_lt -
OFFSET$used_by_curr_pic_lt_flag
public static final long OFFSET$used_by_curr_pic_lt_flag -
OFFSET$delta_poc_msb_present_flag
public static final long OFFSET$delta_poc_msb_present_flag -
OFFSET$delta_poc_msb_cycle_lt
public static final long OFFSET$delta_poc_msb_cycle_lt
-
-
Constructor Details
-
StdVideoEncodeH265LongTermRefPics
Creates an instance of aStdVideoEncodeH265LongTermRefPics
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH265LongTermRefPics clone(Arena arena, StdVideoEncodeH265LongTermRefPics src) -
num_long_term_sps
-
num_long_term_sps
-
num_long_term_pics
-
num_long_term_pics
-
lt_idx_sps
-
lt_idx_sps
-
lt_idx_spsRaw
-
poc_lsb_lt
-
poc_lsb_lt
-
poc_lsb_ltRaw
-
used_by_curr_pic_lt_flag
-
used_by_curr_pic_lt_flag
-
delta_poc_msb_present_flag
-
delta_poc_msb_present_flag
-
delta_poc_msb_present_flagRaw
-
delta_poc_msb_cycle_lt
-
delta_poc_msb_cycle_lt
-
delta_poc_msb_cycle_ltRaw
-
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.
-