Record Class StdVideoH265ScalingLists
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265ScalingLists
- All Implemented Interfaces:
IPointer
,IStdVideoH265ScalingLists
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH265ScalingLists(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH265ScalingLists
Represents a pointer to a StdVideoH265ScalingLists
structure in native memory.
Structure
typedef struct StdVideoH265ScalingLists {
uint8_t[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS] ScalingList4x4
;
uint8_t[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS] ScalingList8x8
;
uint8_t[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS] ScalingList16x16
;
uint8_t[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS][STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS] ScalingList32x32
;
uint8_t[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS] ScalingListDCCoef16x16
;
uint8_t[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS] ScalingListDCCoef32x32
;
} StdVideoH265ScalingLists;
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 SequenceLayout
static final SequenceLayout
static final SequenceLayout
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 long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265ScalingLists
(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265ScalingLists
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ScalingLists
static StdVideoH265ScalingLists.Ptr
static StdVideoH265ScalingLists
clone
(Arena arena, StdVideoH265ScalingLists src) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ScalingList16x16
(BytePtr value) ScalingList32x32
(BytePtr value) ScalingList4x4
(BytePtr value) ScalingList8x8
(BytePtr value) ScalingListDCCoef16x16
(BytePtr value) ScalingListDCCoef32x32
(BytePtr value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$ScalingList4x4
-
PATH$ScalingList8x8
-
PATH$ScalingList16x16
-
PATH$ScalingList32x32
-
PATH$ScalingListDCCoef16x16
-
PATH$ScalingListDCCoef32x32
-
LAYOUT$ScalingList4x4
-
LAYOUT$ScalingList8x8
-
LAYOUT$ScalingList16x16
-
LAYOUT$ScalingList32x32
-
LAYOUT$ScalingListDCCoef16x16
-
LAYOUT$ScalingListDCCoef32x32
-
SIZE$ScalingList4x4
public static final long SIZE$ScalingList4x4 -
SIZE$ScalingList8x8
public static final long SIZE$ScalingList8x8 -
SIZE$ScalingList16x16
public static final long SIZE$ScalingList16x16 -
SIZE$ScalingList32x32
public static final long SIZE$ScalingList32x32 -
SIZE$ScalingListDCCoef16x16
public static final long SIZE$ScalingListDCCoef16x16 -
SIZE$ScalingListDCCoef32x32
public static final long SIZE$ScalingListDCCoef32x32 -
OFFSET$ScalingList4x4
public static final long OFFSET$ScalingList4x4 -
OFFSET$ScalingList8x8
public static final long OFFSET$ScalingList8x8 -
OFFSET$ScalingList16x16
public static final long OFFSET$ScalingList16x16 -
OFFSET$ScalingList32x32
public static final long OFFSET$ScalingList32x32 -
OFFSET$ScalingListDCCoef16x16
public static final long OFFSET$ScalingListDCCoef16x16 -
OFFSET$ScalingListDCCoef32x32
public static final long OFFSET$ScalingListDCCoef32x32
-
-
Constructor Details
-
StdVideoH265ScalingLists
Creates an instance of aStdVideoH265ScalingLists
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
ScalingList4x4
-
ScalingList4x4
-
ScalingList4x4Raw
-
ScalingList8x8
-
ScalingList8x8
-
ScalingList8x8Raw
-
ScalingList16x16
-
ScalingList16x16
-
ScalingList16x16Raw
-
ScalingList32x32
-
ScalingList32x32
-
ScalingList32x32Raw
-
ScalingListDCCoef16x16
-
ScalingListDCCoef16x16
-
ScalingListDCCoef16x16Raw
-
ScalingListDCCoef32x32
-
ScalingListDCCoef32x32
-
ScalingListDCCoef32x32Raw
-
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.
-