Record Class StdVideoEncodeH265WeightTable
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265WeightTable
- All Implemented Interfaces:
IPointer,IStdVideoEncodeH265WeightTable
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265WeightTable(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265WeightTable
Represents a pointer to a StdVideoEncodeH265WeightTable structure in native memory.
Structure
typedef struct StdVideoEncodeH265WeightTable {
StdVideoEncodeH265WeightTableFlags flags;
uint8_t luma_log2_weight_denom;
int8_t delta_chroma_log2_weight_denom;
int8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] delta_luma_weight_l0;
int8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] luma_offset_l0;
int8_t[STD_VIDEO_H265_MAX_CHROMA_PLANES][STD_VIDEO_H265_MAX_NUM_LIST_REF] delta_chroma_weight_l0;
int8_t[STD_VIDEO_H265_MAX_CHROMA_PLANES][STD_VIDEO_H265_MAX_NUM_LIST_REF] delta_chroma_offset_l0;
int8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] delta_luma_weight_l1;
int8_t[STD_VIDEO_H265_MAX_NUM_LIST_REF] luma_offset_l1;
int8_t[STD_VIDEO_H265_MAX_CHROMA_PLANES][STD_VIDEO_H265_MAX_NUM_LIST_REF] delta_chroma_weight_l1;
int8_t[STD_VIDEO_H265_MAX_CHROMA_PLANES][STD_VIDEO_H265_MAX_NUM_LIST_REF] delta_chroma_offset_l1;
} StdVideoEncodeH265WeightTable;
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 SequenceLayoutstatic final SequenceLayoutstatic final SequenceLayoutstatic final SequenceLayoutstatic final SequenceLayoutstatic final SequenceLayoutstatic final StructLayoutstatic final ValueLayout.OfBytestatic final SequenceLayoutstatic final SequenceLayoutstatic 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 longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265WeightTable(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265WeightTablerecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoEncodeH265WeightTable src) bytedelta_chroma_log2_weight_denom(byte value) delta_chroma_offset_l0(BytePtr value) delta_chroma_offset_l0(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentdelta_chroma_offset_l1(BytePtr value) delta_chroma_offset_l1(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentdelta_chroma_weight_l0(BytePtr value) delta_chroma_weight_l0(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentdelta_chroma_weight_l1(BytePtr value) delta_chroma_weight_l1(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentdelta_luma_weight_l0(BytePtr value) delta_luma_weight_l0(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentdelta_luma_weight_l1(BytePtr value) delta_luma_weight_l1(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentfinal booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoEncodeH265WeightTableFlagsflags()flags(@NotNull StdVideoEncodeH265WeightTableFlags value) flags(Consumer<@NotNull StdVideoEncodeH265WeightTableFlags> consumer) final inthashCode()Returns a hash code value for this object.byteluma_log2_weight_denom(byte value) luma_offset_l0(BytePtr value) luma_offset_l0(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentluma_offset_l1(BytePtr value) luma_offset_l1(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegment@NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$luma_log2_weight_denom
-
PATH$delta_chroma_log2_weight_denom
-
PATH$delta_luma_weight_l0
-
PATH$luma_offset_l0
-
PATH$delta_chroma_weight_l0
-
PATH$delta_chroma_offset_l0
-
PATH$delta_luma_weight_l1
-
PATH$luma_offset_l1
-
PATH$delta_chroma_weight_l1
-
PATH$delta_chroma_offset_l1
-
LAYOUT$flags
-
LAYOUT$luma_log2_weight_denom
-
LAYOUT$delta_chroma_log2_weight_denom
-
LAYOUT$delta_luma_weight_l0
-
LAYOUT$luma_offset_l0
-
LAYOUT$delta_chroma_weight_l0
-
LAYOUT$delta_chroma_offset_l0
-
LAYOUT$delta_luma_weight_l1
-
LAYOUT$luma_offset_l1
-
LAYOUT$delta_chroma_weight_l1
-
LAYOUT$delta_chroma_offset_l1
-
SIZE$flags
public static final long SIZE$flags -
SIZE$luma_log2_weight_denom
public static final long SIZE$luma_log2_weight_denom -
SIZE$delta_chroma_log2_weight_denom
public static final long SIZE$delta_chroma_log2_weight_denom -
SIZE$delta_luma_weight_l0
public static final long SIZE$delta_luma_weight_l0 -
SIZE$luma_offset_l0
public static final long SIZE$luma_offset_l0 -
SIZE$delta_chroma_weight_l0
public static final long SIZE$delta_chroma_weight_l0 -
SIZE$delta_chroma_offset_l0
public static final long SIZE$delta_chroma_offset_l0 -
SIZE$delta_luma_weight_l1
public static final long SIZE$delta_luma_weight_l1 -
SIZE$luma_offset_l1
public static final long SIZE$luma_offset_l1 -
SIZE$delta_chroma_weight_l1
public static final long SIZE$delta_chroma_weight_l1 -
SIZE$delta_chroma_offset_l1
public static final long SIZE$delta_chroma_offset_l1 -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$luma_log2_weight_denom
public static final long OFFSET$luma_log2_weight_denom -
OFFSET$delta_chroma_log2_weight_denom
public static final long OFFSET$delta_chroma_log2_weight_denom -
OFFSET$delta_luma_weight_l0
public static final long OFFSET$delta_luma_weight_l0 -
OFFSET$luma_offset_l0
public static final long OFFSET$luma_offset_l0 -
OFFSET$delta_chroma_weight_l0
public static final long OFFSET$delta_chroma_weight_l0 -
OFFSET$delta_chroma_offset_l0
public static final long OFFSET$delta_chroma_offset_l0 -
OFFSET$delta_luma_weight_l1
public static final long OFFSET$delta_luma_weight_l1 -
OFFSET$luma_offset_l1
public static final long OFFSET$luma_offset_l1 -
OFFSET$delta_chroma_weight_l1
public static final long OFFSET$delta_chroma_weight_l1 -
OFFSET$delta_chroma_offset_l1
public static final long OFFSET$delta_chroma_offset_l1
-
-
Constructor Details
-
StdVideoEncodeH265WeightTable
Creates an instance of aStdVideoEncodeH265WeightTablerecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
public StdVideoEncodeH265WeightTable flags(@NotNull @NotNull StdVideoEncodeH265WeightTableFlags value) -
flags
public StdVideoEncodeH265WeightTable flags(Consumer<@NotNull StdVideoEncodeH265WeightTableFlags> consumer) -
luma_log2_weight_denom
-
luma_log2_weight_denom
-
delta_chroma_log2_weight_denom
public byte delta_chroma_log2_weight_denom() -
delta_chroma_log2_weight_denom
-
delta_luma_weight_l0
-
delta_luma_weight_l0
public StdVideoEncodeH265WeightTable delta_luma_weight_l0(@NotNull @NotNull Consumer<BytePtr> consumer) -
delta_luma_weight_l0
-
delta_luma_weight_l0Raw
-
luma_offset_l0
-
luma_offset_l0
-
luma_offset_l0
-
luma_offset_l0Raw
-
delta_chroma_weight_l0
-
delta_chroma_weight_l0
public StdVideoEncodeH265WeightTable delta_chroma_weight_l0(@NotNull @NotNull Consumer<BytePtr> consumer) -
delta_chroma_weight_l0
-
delta_chroma_weight_l0Raw
-
delta_chroma_offset_l0
-
delta_chroma_offset_l0
public StdVideoEncodeH265WeightTable delta_chroma_offset_l0(@NotNull @NotNull Consumer<BytePtr> consumer) -
delta_chroma_offset_l0
-
delta_chroma_offset_l0Raw
-
delta_luma_weight_l1
-
delta_luma_weight_l1
public StdVideoEncodeH265WeightTable delta_luma_weight_l1(@NotNull @NotNull Consumer<BytePtr> consumer) -
delta_luma_weight_l1
-
delta_luma_weight_l1Raw
-
luma_offset_l1
-
luma_offset_l1
-
luma_offset_l1
-
luma_offset_l1Raw
-
delta_chroma_weight_l1
-
delta_chroma_weight_l1
public StdVideoEncodeH265WeightTable delta_chroma_weight_l1(@NotNull @NotNull Consumer<BytePtr> consumer) -
delta_chroma_weight_l1
-
delta_chroma_weight_l1Raw
-
delta_chroma_offset_l1
-
delta_chroma_offset_l1
public StdVideoEncodeH265WeightTable delta_chroma_offset_l1(@NotNull @NotNull Consumer<BytePtr> consumer) -
delta_chroma_offset_l1
-
delta_chroma_offset_l1Raw
-
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.
-