Record Class StdVideoEncodeH265SliceSegmentHeader
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265SliceSegmentHeader
- All Implemented Interfaces:
IPointer,IStdVideoEncodeH265SliceSegmentHeader
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265SliceSegmentHeader(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265SliceSegmentHeader
Represents a pointer to a StdVideoEncodeH265SliceSegmentHeader structure in native memory.
Structure
typedef struct StdVideoEncodeH265SliceSegmentHeader {
StdVideoEncodeH265SliceSegmentHeaderFlags flags;
StdVideoH265SliceType slice_type;
uint32_t slice_segment_address;
uint8_t collocated_ref_idx;
uint8_t MaxNumMergeCand;
int8_t slice_cb_qp_offset;
int8_t slice_cr_qp_offset;
int8_t slice_beta_offset_div2;
int8_t slice_tc_offset_div2;
int8_t slice_act_y_qp_offset;
int8_t slice_act_cb_qp_offset;
int8_t slice_act_cr_qp_offset;
int8_t slice_qp_delta;
uint16_t reserved1;
StdVideoEncodeH265WeightTable const* pWeightTable;
} StdVideoEncodeH265SliceSegmentHeader;
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 ValueLayout.OfBytestatic final StructLayoutstatic final ValueLayout.OfBytestatic final AddressLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic 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 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 longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265SliceSegmentHeader(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265SliceSegmentHeaderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoEncodeH265SliceSegmentHeader src) bytecollocated_ref_idx(byte value) final booleanIndicates whether some other object is "equal to" this one.flags()flags(@NotNull StdVideoEncodeH265SliceSegmentHeaderFlags value) flags(Consumer<@NotNull StdVideoEncodeH265SliceSegmentHeaderFlags> consumer) final inthashCode()Returns a hash code value for this object.byteMaxNumMergeCand(byte value) @Nullable StdVideoEncodeH265WeightTablepWeightTable(int assumedCount) pWeightTable(@Nullable IStdVideoEncodeH265WeightTable value) @NotNull MemorySegmentvoidpWeightTableRaw(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.byteslice_act_cb_qp_offset(byte value) byteslice_act_cr_qp_offset(byte value) byteslice_act_y_qp_offset(byte value) byteslice_beta_offset_div2(byte value) byteslice_cb_qp_offset(byte value) byteslice_cr_qp_offset(byte value) byteslice_qp_delta(byte value) intslice_segment_address(int value) byteslice_tc_offset_div2(byte value) intslice_type(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$slice_type
-
PATH$slice_segment_address
-
PATH$collocated_ref_idx
-
PATH$MaxNumMergeCand
-
PATH$slice_cb_qp_offset
-
PATH$slice_cr_qp_offset
-
PATH$slice_beta_offset_div2
-
PATH$slice_tc_offset_div2
-
PATH$slice_act_y_qp_offset
-
PATH$slice_act_cb_qp_offset
-
PATH$slice_act_cr_qp_offset
-
PATH$slice_qp_delta
-
PATH$pWeightTable
-
LAYOUT$flags
-
LAYOUT$slice_type
-
LAYOUT$slice_segment_address
-
LAYOUT$collocated_ref_idx
-
LAYOUT$MaxNumMergeCand
-
LAYOUT$slice_cb_qp_offset
-
LAYOUT$slice_cr_qp_offset
-
LAYOUT$slice_beta_offset_div2
-
LAYOUT$slice_tc_offset_div2
-
LAYOUT$slice_act_y_qp_offset
-
LAYOUT$slice_act_cb_qp_offset
-
LAYOUT$slice_act_cr_qp_offset
-
LAYOUT$slice_qp_delta
-
LAYOUT$pWeightTable
-
SIZE$flags
public static final long SIZE$flags -
SIZE$slice_type
public static final long SIZE$slice_type -
SIZE$slice_segment_address
public static final long SIZE$slice_segment_address -
SIZE$collocated_ref_idx
public static final long SIZE$collocated_ref_idx -
SIZE$MaxNumMergeCand
public static final long SIZE$MaxNumMergeCand -
SIZE$slice_cb_qp_offset
public static final long SIZE$slice_cb_qp_offset -
SIZE$slice_cr_qp_offset
public static final long SIZE$slice_cr_qp_offset -
SIZE$slice_beta_offset_div2
public static final long SIZE$slice_beta_offset_div2 -
SIZE$slice_tc_offset_div2
public static final long SIZE$slice_tc_offset_div2 -
SIZE$slice_act_y_qp_offset
public static final long SIZE$slice_act_y_qp_offset -
SIZE$slice_act_cb_qp_offset
public static final long SIZE$slice_act_cb_qp_offset -
SIZE$slice_act_cr_qp_offset
public static final long SIZE$slice_act_cr_qp_offset -
SIZE$slice_qp_delta
public static final long SIZE$slice_qp_delta -
SIZE$pWeightTable
public static final long SIZE$pWeightTable -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$slice_type
public static final long OFFSET$slice_type -
OFFSET$slice_segment_address
public static final long OFFSET$slice_segment_address -
OFFSET$collocated_ref_idx
public static final long OFFSET$collocated_ref_idx -
OFFSET$MaxNumMergeCand
public static final long OFFSET$MaxNumMergeCand -
OFFSET$slice_cb_qp_offset
public static final long OFFSET$slice_cb_qp_offset -
OFFSET$slice_cr_qp_offset
public static final long OFFSET$slice_cr_qp_offset -
OFFSET$slice_beta_offset_div2
public static final long OFFSET$slice_beta_offset_div2 -
OFFSET$slice_tc_offset_div2
public static final long OFFSET$slice_tc_offset_div2 -
OFFSET$slice_act_y_qp_offset
public static final long OFFSET$slice_act_y_qp_offset -
OFFSET$slice_act_cb_qp_offset
public static final long OFFSET$slice_act_cb_qp_offset -
OFFSET$slice_act_cr_qp_offset
public static final long OFFSET$slice_act_cr_qp_offset -
OFFSET$slice_qp_delta
public static final long OFFSET$slice_qp_delta -
OFFSET$pWeightTable
public static final long OFFSET$pWeightTable
-
-
Constructor Details
-
StdVideoEncodeH265SliceSegmentHeader
Creates an instance of aStdVideoEncodeH265SliceSegmentHeaderrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH265SliceSegmentHeader clone(Arena arena, StdVideoEncodeH265SliceSegmentHeader src) -
flags
-
flags
public StdVideoEncodeH265SliceSegmentHeader flags(@NotNull @NotNull StdVideoEncodeH265SliceSegmentHeaderFlags value) -
flags
public StdVideoEncodeH265SliceSegmentHeader flags(Consumer<@NotNull StdVideoEncodeH265SliceSegmentHeaderFlags> consumer) -
slice_type
-
slice_type
public StdVideoEncodeH265SliceSegmentHeader slice_type(@EnumType(StdVideoH265SliceType.class) int value) -
slice_segment_address
-
slice_segment_address
-
collocated_ref_idx
-
collocated_ref_idx
-
MaxNumMergeCand
-
MaxNumMergeCand
-
slice_cb_qp_offset
public byte slice_cb_qp_offset() -
slice_cb_qp_offset
-
slice_cr_qp_offset
public byte slice_cr_qp_offset() -
slice_cr_qp_offset
-
slice_beta_offset_div2
public byte slice_beta_offset_div2() -
slice_beta_offset_div2
-
slice_tc_offset_div2
public byte slice_tc_offset_div2() -
slice_tc_offset_div2
-
slice_act_y_qp_offset
public byte slice_act_y_qp_offset() -
slice_act_y_qp_offset
-
slice_act_cb_qp_offset
public byte slice_act_cb_qp_offset() -
slice_act_cb_qp_offset
-
slice_act_cr_qp_offset
public byte slice_act_cr_qp_offset() -
slice_act_cr_qp_offset
-
slice_qp_delta
public byte slice_qp_delta() -
slice_qp_delta
-
pWeightTable
public StdVideoEncodeH265SliceSegmentHeader pWeightTable(@Nullable @Nullable IStdVideoEncodeH265WeightTable value) -
pWeightTable
-
pWeightTable
-
pWeightTableRaw
@Pointer(target=StdVideoEncodeH265WeightTable.class) @NotNull public @NotNull MemorySegment pWeightTableRaw() -
pWeightTableRaw
public void pWeightTableRaw(@Pointer(target=StdVideoEncodeH265WeightTable.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.
-