Record Class StdVideoEncodeH265SliceSegmentHeaderFlags
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265SliceSegmentHeaderFlags
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeH265SliceSegmentHeaderFlags
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeH265SliceSegmentHeaderFlags(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeH265SliceSegmentHeaderFlags
Represents a pointer to a StdVideoEncodeH265SliceSegmentHeaderFlags
structure in native memory.
Structure
typedef struct StdVideoEncodeH265SliceSegmentHeaderFlags {
uint32_t first_slice_segment_in_pic_flag
: 1;
uint32_t dependent_slice_segment_flag
: 1;
uint32_t slice_sao_luma_flag
: 1;
uint32_t slice_sao_chroma_flag
: 1;
uint32_t num_ref_idx_active_override_flag
: 1;
uint32_t mvd_l1_zero_flag
: 1;
uint32_t cabac_init_flag
: 1;
uint32_t cu_chroma_qp_offset_enabled_flag
: 1;
uint32_t deblocking_filter_override_flag
: 1;
uint32_t slice_deblocking_filter_disabled_flag
: 1;
uint32_t collocated_from_l0_flag
: 1;
uint32_t slice_loop_filter_across_slices_enabled_flag
: 1;
uint32_t reserved : 20;
} StdVideoEncodeH265SliceSegmentHeaderFlags;
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.OfInt
static final long
static final MemoryLayout.PathElement
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265SliceSegmentHeaderFlags
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeH265SliceSegmentHeaderFlags
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
cabac_init_flag
(boolean value) clone
(Arena arena, StdVideoEncodeH265SliceSegmentHeaderFlags src) boolean
collocated_from_l0_flag
(boolean value) boolean
cu_chroma_qp_offset_enabled_flag
(boolean value) boolean
deblocking_filter_override_flag
(boolean value) boolean
dependent_slice_segment_flag
(boolean value) final boolean
Indicates whether some other object is "equal to" this one.boolean
first_slice_segment_in_pic_flag
(boolean value) final int
hashCode()
Returns a hash code value for this object.boolean
mvd_l1_zero_flag
(boolean value) boolean
num_ref_idx_active_override_flag
(boolean value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.boolean
slice_deblocking_filter_disabled_flag
(boolean value) boolean
slice_loop_filter_across_slices_enabled_flag
(boolean value) boolean
slice_sao_chroma_flag
(boolean value) boolean
slice_sao_luma_flag
(boolean value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$bitfield$first_slice_segment_in_pic_flag$reserved
-
LAYOUT$bitfield$first_slice_segment_in_pic_flag$reserved
-
OFFSET$bitfield$first_slice_segment_in_pic_flag$reserved
public static final long OFFSET$bitfield$first_slice_segment_in_pic_flag$reserved
-
-
Constructor Details
-
StdVideoEncodeH265SliceSegmentHeaderFlags
Creates an instance of aStdVideoEncodeH265SliceSegmentHeaderFlags
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeH265SliceSegmentHeaderFlags clone(Arena arena, StdVideoEncodeH265SliceSegmentHeaderFlags src) -
first_slice_segment_in_pic_flag
public boolean first_slice_segment_in_pic_flag() -
first_slice_segment_in_pic_flag
-
dependent_slice_segment_flag
public boolean dependent_slice_segment_flag() -
dependent_slice_segment_flag
-
slice_sao_luma_flag
public boolean slice_sao_luma_flag() -
slice_sao_luma_flag
-
slice_sao_chroma_flag
public boolean slice_sao_chroma_flag() -
slice_sao_chroma_flag
-
num_ref_idx_active_override_flag
public boolean num_ref_idx_active_override_flag() -
num_ref_idx_active_override_flag
-
mvd_l1_zero_flag
public boolean mvd_l1_zero_flag() -
mvd_l1_zero_flag
-
cabac_init_flag
public boolean cabac_init_flag() -
cabac_init_flag
-
cu_chroma_qp_offset_enabled_flag
public boolean cu_chroma_qp_offset_enabled_flag() -
cu_chroma_qp_offset_enabled_flag
-
deblocking_filter_override_flag
public boolean deblocking_filter_override_flag() -
deblocking_filter_override_flag
-
slice_deblocking_filter_disabled_flag
public boolean slice_deblocking_filter_disabled_flag() -
slice_deblocking_filter_disabled_flag
public StdVideoEncodeH265SliceSegmentHeaderFlags slice_deblocking_filter_disabled_flag(boolean value) -
collocated_from_l0_flag
public boolean collocated_from_l0_flag() -
collocated_from_l0_flag
-
slice_loop_filter_across_slices_enabled_flag
public boolean slice_loop_filter_across_slices_enabled_flag() -
slice_loop_filter_across_slices_enabled_flag
public StdVideoEncodeH265SliceSegmentHeaderFlags slice_loop_filter_across_slices_enabled_flag(boolean 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 thesegment
record component.
-