Record Class StdVideoH264PictureParameterSet
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH264PictureParameterSet
- All Implemented Interfaces:
IPointer
,IStdVideoH264PictureParameterSet
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH264PictureParameterSet(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH264PictureParameterSet
Represents a pointer to a StdVideoH264PictureParameterSet
structure in native memory.
Structure
typedef struct StdVideoH264PictureParameterSet {
StdVideoH264PpsFlags
flags
;
uint8_t seq_parameter_set_id
;
uint8_t pic_parameter_set_id
;
uint8_t num_ref_idx_l0_default_active_minus1
;
uint8_t num_ref_idx_l1_default_active_minus1
;
StdVideoH264WeightedBipredIdc
weighted_bipred_idc
;
int8_t pic_init_qp_minus26
;
int8_t pic_init_qs_minus26
;
int8_t chroma_qp_index_offset
;
int8_t second_chroma_qp_index_offset
;
StdVideoH264ScalingLists
const* pScalingLists
;
} StdVideoH264PictureParameterSet;
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 StructLayout
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfByte
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 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
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH264PictureParameterSet
(@NotNull MemorySegment segment) Creates an instance of aStdVideoH264PictureParameterSet
record class. -
Method Summary
Modifier and TypeMethodDescriptionbyte
chroma_qp_index_offset
(byte value) clone
(Arena arena, StdVideoH264PictureParameterSet src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoH264PpsFlags
flags()
flags
(@NotNull StdVideoH264PpsFlags value) flags
(Consumer<@NotNull StdVideoH264PpsFlags> consumer) final int
hashCode()
Returns a hash code value for this object.byte
num_ref_idx_l0_default_active_minus1
(byte value) byte
num_ref_idx_l1_default_active_minus1
(byte value) byte
pic_init_qp_minus26
(byte value) byte
pic_init_qs_minus26
(byte value) byte
pic_parameter_set_id
(byte value) @Nullable StdVideoH264ScalingLists
pScalingLists
(int assumedCount) pScalingLists
(@Nullable IStdVideoH264ScalingLists value) void
pScalingListsRaw
(MemorySegment value) byte
second_chroma_qp_index_offset
(byte value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
seq_parameter_set_id
(byte value) final String
toString()
Returns a string representation of this record class.int
weighted_bipred_idc
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$seq_parameter_set_id
-
PATH$pic_parameter_set_id
-
PATH$num_ref_idx_l0_default_active_minus1
-
PATH$num_ref_idx_l1_default_active_minus1
-
PATH$weighted_bipred_idc
-
PATH$pic_init_qp_minus26
-
PATH$pic_init_qs_minus26
-
PATH$chroma_qp_index_offset
-
PATH$second_chroma_qp_index_offset
-
PATH$pScalingLists
-
LAYOUT$flags
-
LAYOUT$seq_parameter_set_id
-
LAYOUT$pic_parameter_set_id
-
LAYOUT$num_ref_idx_l0_default_active_minus1
-
LAYOUT$num_ref_idx_l1_default_active_minus1
-
LAYOUT$weighted_bipred_idc
-
LAYOUT$pic_init_qp_minus26
-
LAYOUT$pic_init_qs_minus26
-
LAYOUT$chroma_qp_index_offset
-
LAYOUT$second_chroma_qp_index_offset
-
LAYOUT$pScalingLists
-
SIZE$flags
public static final long SIZE$flags -
SIZE$seq_parameter_set_id
public static final long SIZE$seq_parameter_set_id -
SIZE$pic_parameter_set_id
public static final long SIZE$pic_parameter_set_id -
SIZE$num_ref_idx_l0_default_active_minus1
public static final long SIZE$num_ref_idx_l0_default_active_minus1 -
SIZE$num_ref_idx_l1_default_active_minus1
public static final long SIZE$num_ref_idx_l1_default_active_minus1 -
SIZE$weighted_bipred_idc
public static final long SIZE$weighted_bipred_idc -
SIZE$pic_init_qp_minus26
public static final long SIZE$pic_init_qp_minus26 -
SIZE$pic_init_qs_minus26
public static final long SIZE$pic_init_qs_minus26 -
SIZE$chroma_qp_index_offset
public static final long SIZE$chroma_qp_index_offset -
SIZE$second_chroma_qp_index_offset
public static final long SIZE$second_chroma_qp_index_offset -
SIZE$pScalingLists
public static final long SIZE$pScalingLists -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$seq_parameter_set_id
public static final long OFFSET$seq_parameter_set_id -
OFFSET$pic_parameter_set_id
public static final long OFFSET$pic_parameter_set_id -
OFFSET$num_ref_idx_l0_default_active_minus1
public static final long OFFSET$num_ref_idx_l0_default_active_minus1 -
OFFSET$num_ref_idx_l1_default_active_minus1
public static final long OFFSET$num_ref_idx_l1_default_active_minus1 -
OFFSET$weighted_bipred_idc
public static final long OFFSET$weighted_bipred_idc -
OFFSET$pic_init_qp_minus26
public static final long OFFSET$pic_init_qp_minus26 -
OFFSET$pic_init_qs_minus26
public static final long OFFSET$pic_init_qs_minus26 -
OFFSET$chroma_qp_index_offset
public static final long OFFSET$chroma_qp_index_offset -
OFFSET$second_chroma_qp_index_offset
public static final long OFFSET$second_chroma_qp_index_offset -
OFFSET$pScalingLists
public static final long OFFSET$pScalingLists
-
-
Constructor Details
-
StdVideoH264PictureParameterSet
Creates an instance of aStdVideoH264PictureParameterSet
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoH264PictureParameterSet clone(Arena arena, StdVideoH264PictureParameterSet src) -
flags
-
flags
-
flags
-
seq_parameter_set_id
-
seq_parameter_set_id
-
pic_parameter_set_id
-
pic_parameter_set_id
-
num_ref_idx_l0_default_active_minus1
-
num_ref_idx_l0_default_active_minus1
-
num_ref_idx_l1_default_active_minus1
-
num_ref_idx_l1_default_active_minus1
-
weighted_bipred_idc
-
weighted_bipred_idc
public StdVideoH264PictureParameterSet weighted_bipred_idc(@EnumType(StdVideoH264WeightedBipredIdc.class) int value) -
pic_init_qp_minus26
public byte pic_init_qp_minus26() -
pic_init_qp_minus26
-
pic_init_qs_minus26
public byte pic_init_qs_minus26() -
pic_init_qs_minus26
-
chroma_qp_index_offset
public byte chroma_qp_index_offset() -
chroma_qp_index_offset
-
second_chroma_qp_index_offset
public byte second_chroma_qp_index_offset() -
second_chroma_qp_index_offset
-
pScalingLists
public StdVideoH264PictureParameterSet pScalingLists(@Nullable @Nullable IStdVideoH264ScalingLists value) -
pScalingLists
-
pScalingLists
-
pScalingListsRaw
-
pScalingListsRaw
-
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.
-