Record Class StdVideoAV1SequenceHeader
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoAV1SequenceHeader
- All Implemented Interfaces:
IPointer
,IStdVideoAV1SequenceHeader
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoAV1SequenceHeader(@NotNull MemorySegment segment)
extends Record
implements IStdVideoAV1SequenceHeader
Represents a pointer to a StdVideoAV1SequenceHeader
structure in native memory.
Structure
typedef struct StdVideoAV1SequenceHeader {
StdVideoAV1SequenceHeaderFlags
flags
;
StdVideoAV1Profile
seq_profile
;
uint8_t frame_width_bits_minus_1
;
uint8_t frame_height_bits_minus_1
;
uint16_t max_frame_width_minus_1
;
uint16_t max_frame_height_minus_1
;
uint8_t delta_frame_id_length_minus_2
;
uint8_t additional_frame_id_length_minus_1
;
uint8_t order_hint_bits_minus_1
;
uint8_t seq_force_integer_mv
;
uint8_t seq_force_screen_content_tools
;
uint8_t[5] reserved1;
StdVideoAV1ColorConfig
const* pColorConfig
;
StdVideoAV1TimingInfo
const* pTimingInfo
;
} StdVideoAV1SequenceHeader;
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 ValueLayout.OfByte
static final ValueLayout.OfByte
static final StructLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfShort
static final ValueLayout.OfShort
static final ValueLayout.OfByte
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfInt
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 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 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
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1SequenceHeader
(@NotNull MemorySegment segment) Creates an instance of aStdVideoAV1SequenceHeader
record class. -
Method Summary
Modifier and TypeMethodDescriptionbyte
additional_frame_id_length_minus_1
(byte value) static StdVideoAV1SequenceHeader
static StdVideoAV1SequenceHeader
clone
(Arena arena, StdVideoAV1SequenceHeader src) byte
delta_frame_id_length_minus_2
(byte value) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoAV1SequenceHeaderFlags
flags()
flags
(@NotNull StdVideoAV1SequenceHeaderFlags value) flags
(Consumer<@NotNull StdVideoAV1SequenceHeaderFlags> consumer) byte
frame_height_bits_minus_1
(byte value) byte
frame_width_bits_minus_1
(byte value) final int
hashCode()
Returns a hash code value for this object.short
max_frame_height_minus_1
(short value) short
max_frame_width_minus_1
(short value) byte
order_hint_bits_minus_1
(byte value) @Nullable StdVideoAV1ColorConfig
pColorConfig
(int assumedCount) pColorConfig
(@Nullable IStdVideoAV1ColorConfig value) void
pColorConfigRaw
(MemorySegment value) @Nullable StdVideoAV1TimingInfo
pTimingInfo
(int assumedCount) pTimingInfo
(@Nullable IStdVideoAV1TimingInfo value) void
pTimingInfoRaw
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
seq_force_integer_mv
(byte value) byte
seq_force_screen_content_tools
(byte value) int
seq_profile
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$seq_profile
-
PATH$frame_width_bits_minus_1
-
PATH$frame_height_bits_minus_1
-
PATH$max_frame_width_minus_1
-
PATH$max_frame_height_minus_1
-
PATH$delta_frame_id_length_minus_2
-
PATH$additional_frame_id_length_minus_1
-
PATH$order_hint_bits_minus_1
-
PATH$seq_force_integer_mv
-
PATH$seq_force_screen_content_tools
-
PATH$pColorConfig
-
PATH$pTimingInfo
-
LAYOUT$flags
-
LAYOUT$seq_profile
-
LAYOUT$frame_width_bits_minus_1
-
LAYOUT$frame_height_bits_minus_1
-
LAYOUT$max_frame_width_minus_1
-
LAYOUT$max_frame_height_minus_1
-
LAYOUT$delta_frame_id_length_minus_2
-
LAYOUT$additional_frame_id_length_minus_1
-
LAYOUT$order_hint_bits_minus_1
-
LAYOUT$seq_force_integer_mv
-
LAYOUT$seq_force_screen_content_tools
-
LAYOUT$pColorConfig
-
LAYOUT$pTimingInfo
-
SIZE$flags
public static final long SIZE$flags -
SIZE$seq_profile
public static final long SIZE$seq_profile -
SIZE$frame_width_bits_minus_1
public static final long SIZE$frame_width_bits_minus_1 -
SIZE$frame_height_bits_minus_1
public static final long SIZE$frame_height_bits_minus_1 -
SIZE$max_frame_width_minus_1
public static final long SIZE$max_frame_width_minus_1 -
SIZE$max_frame_height_minus_1
public static final long SIZE$max_frame_height_minus_1 -
SIZE$delta_frame_id_length_minus_2
public static final long SIZE$delta_frame_id_length_minus_2 -
SIZE$additional_frame_id_length_minus_1
public static final long SIZE$additional_frame_id_length_minus_1 -
SIZE$order_hint_bits_minus_1
public static final long SIZE$order_hint_bits_minus_1 -
SIZE$seq_force_integer_mv
public static final long SIZE$seq_force_integer_mv -
SIZE$seq_force_screen_content_tools
public static final long SIZE$seq_force_screen_content_tools -
SIZE$pColorConfig
public static final long SIZE$pColorConfig -
SIZE$pTimingInfo
public static final long SIZE$pTimingInfo -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$seq_profile
public static final long OFFSET$seq_profile -
OFFSET$frame_width_bits_minus_1
public static final long OFFSET$frame_width_bits_minus_1 -
OFFSET$frame_height_bits_minus_1
public static final long OFFSET$frame_height_bits_minus_1 -
OFFSET$max_frame_width_minus_1
public static final long OFFSET$max_frame_width_minus_1 -
OFFSET$max_frame_height_minus_1
public static final long OFFSET$max_frame_height_minus_1 -
OFFSET$delta_frame_id_length_minus_2
public static final long OFFSET$delta_frame_id_length_minus_2 -
OFFSET$additional_frame_id_length_minus_1
public static final long OFFSET$additional_frame_id_length_minus_1 -
OFFSET$order_hint_bits_minus_1
public static final long OFFSET$order_hint_bits_minus_1 -
OFFSET$seq_force_integer_mv
public static final long OFFSET$seq_force_integer_mv -
OFFSET$seq_force_screen_content_tools
public static final long OFFSET$seq_force_screen_content_tools -
OFFSET$pColorConfig
public static final long OFFSET$pColorConfig -
OFFSET$pTimingInfo
public static final long OFFSET$pTimingInfo
-
-
Constructor Details
-
StdVideoAV1SequenceHeader
Creates an instance of aStdVideoAV1SequenceHeader
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
-
flags
-
seq_profile
-
seq_profile
-
frame_width_bits_minus_1
-
frame_width_bits_minus_1
-
frame_height_bits_minus_1
-
frame_height_bits_minus_1
-
max_frame_width_minus_1
-
max_frame_width_minus_1
-
max_frame_height_minus_1
-
max_frame_height_minus_1
-
delta_frame_id_length_minus_2
-
delta_frame_id_length_minus_2
-
additional_frame_id_length_minus_1
-
additional_frame_id_length_minus_1
-
order_hint_bits_minus_1
-
order_hint_bits_minus_1
-
seq_force_integer_mv
-
seq_force_integer_mv
-
seq_force_screen_content_tools
-
seq_force_screen_content_tools
-
pColorConfig
-
pColorConfig
-
pColorConfig
-
pColorConfigRaw
-
pColorConfigRaw
-
pTimingInfo
-
pTimingInfo
-
pTimingInfo
-
pTimingInfoRaw
-
pTimingInfoRaw
-
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.
-