Record Class StdVideoDecodeAV1PictureInfoFlags
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoDecodeAV1PictureInfoFlags
- All Implemented Interfaces:
IPointer,IStdVideoDecodeAV1PictureInfoFlags
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoDecodeAV1PictureInfoFlags(@NotNull MemorySegment segment)
extends Record
implements IStdVideoDecodeAV1PictureInfoFlags
Represents a pointer to a StdVideoDecodeAV1PictureInfoFlags structure in native memory.
Structure
typedef struct StdVideoDecodeAV1PictureInfoFlags {
uint32_t error_resilient_mode : 1;
uint32_t disable_cdf_update : 1;
uint32_t use_superres : 1;
uint32_t render_and_frame_size_different : 1;
uint32_t allow_screen_content_tools : 1;
uint32_t is_filter_switchable : 1;
uint32_t force_integer_mv : 1;
uint32_t frame_size_override_flag : 1;
uint32_t buffer_removal_time_present_flag : 1;
uint32_t allow_intrabc : 1;
uint32_t frame_refs_short_signaling : 1;
uint32_t allow_high_precision_mv : 1;
uint32_t is_motion_mode_switchable : 1;
uint32_t use_ref_frame_mvs : 1;
uint32_t disable_frame_end_update_cdf : 1;
uint32_t allow_warped_motion : 1;
uint32_t reduced_tx_set : 1;
uint32_t reference_select : 1;
uint32_t skip_mode_present : 1;
uint32_t delta_q_present : 1;
uint32_t delta_lf_present : 1;
uint32_t delta_lf_multi : 1;
uint32_t segmentation_enabled : 1;
uint32_t segmentation_update_map : 1;
uint32_t segmentation_temporal_update : 1;
uint32_t segmentation_update_data : 1;
uint32_t UsesLr : 1;
uint32_t usesChromaLr : 1;
uint32_t apply_grain : 1;
uint32_t reserved : 3;
} StdVideoDecodeAV1PictureInfoFlags;
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.OfIntstatic final longstatic final MemoryLayout.PathElement -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeAV1PictureInfoFlags(@NotNull MemorySegment segment) Creates an instance of aStdVideoDecodeAV1PictureInfoFlagsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallow_high_precision_mv(boolean value) booleanallow_intrabc(boolean value) booleanallow_screen_content_tools(boolean value) booleanallow_warped_motion(boolean value) booleanapply_grain(boolean value) booleanbuffer_removal_time_present_flag(boolean value) clone(Arena arena, StdVideoDecodeAV1PictureInfoFlags src) booleandelta_lf_multi(boolean value) booleandelta_lf_present(boolean value) booleandelta_q_present(boolean value) booleandisable_cdf_update(boolean value) booleandisable_frame_end_update_cdf(boolean value) final booleanIndicates whether some other object is "equal to" this one.booleanerror_resilient_mode(boolean value) booleanforce_integer_mv(boolean value) booleanframe_refs_short_signaling(boolean value) booleanframe_size_override_flag(boolean value) final inthashCode()Returns a hash code value for this object.booleanis_filter_switchable(boolean value) booleanis_motion_mode_switchable(boolean value) booleanreduced_tx_set(boolean value) booleanreference_select(boolean value) booleanrender_and_frame_size_different(boolean value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.booleansegmentation_enabled(boolean value) booleansegmentation_temporal_update(boolean value) booleansegmentation_update_data(boolean value) booleansegmentation_update_map(boolean value) booleanskip_mode_present(boolean value) final StringtoString()Returns a string representation of this record class.booleanuse_ref_frame_mvs(boolean value) booleanuse_superres(boolean value) booleanusesChromaLr(boolean value) booleanUsesLr()UsesLr(boolean value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$bitfield$error_resilient_mode$reserved
-
LAYOUT$bitfield$error_resilient_mode$reserved
-
OFFSET$bitfield$error_resilient_mode$reserved
public static final long OFFSET$bitfield$error_resilient_mode$reserved
-
-
Constructor Details
-
StdVideoDecodeAV1PictureInfoFlags
Creates an instance of aStdVideoDecodeAV1PictureInfoFlagsrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoDecodeAV1PictureInfoFlags clone(Arena arena, StdVideoDecodeAV1PictureInfoFlags src) -
error_resilient_mode
public boolean error_resilient_mode() -
error_resilient_mode
-
disable_cdf_update
public boolean disable_cdf_update() -
disable_cdf_update
-
use_superres
public boolean use_superres() -
use_superres
-
render_and_frame_size_different
public boolean render_and_frame_size_different() -
render_and_frame_size_different
-
allow_screen_content_tools
public boolean allow_screen_content_tools() -
allow_screen_content_tools
-
is_filter_switchable
public boolean is_filter_switchable() -
is_filter_switchable
-
force_integer_mv
public boolean force_integer_mv() -
force_integer_mv
-
frame_size_override_flag
public boolean frame_size_override_flag() -
frame_size_override_flag
-
buffer_removal_time_present_flag
public boolean buffer_removal_time_present_flag() -
buffer_removal_time_present_flag
-
allow_intrabc
public boolean allow_intrabc() -
allow_intrabc
-
frame_refs_short_signaling
public boolean frame_refs_short_signaling() -
frame_refs_short_signaling
-
allow_high_precision_mv
public boolean allow_high_precision_mv() -
allow_high_precision_mv
-
is_motion_mode_switchable
public boolean is_motion_mode_switchable() -
is_motion_mode_switchable
-
use_ref_frame_mvs
public boolean use_ref_frame_mvs() -
use_ref_frame_mvs
-
disable_frame_end_update_cdf
public boolean disable_frame_end_update_cdf() -
disable_frame_end_update_cdf
-
allow_warped_motion
public boolean allow_warped_motion() -
allow_warped_motion
-
reduced_tx_set
public boolean reduced_tx_set() -
reduced_tx_set
-
reference_select
public boolean reference_select() -
reference_select
-
skip_mode_present
public boolean skip_mode_present() -
skip_mode_present
-
delta_q_present
public boolean delta_q_present() -
delta_q_present
-
delta_lf_present
public boolean delta_lf_present() -
delta_lf_present
-
delta_lf_multi
public boolean delta_lf_multi() -
delta_lf_multi
-
segmentation_enabled
public boolean segmentation_enabled() -
segmentation_enabled
-
segmentation_update_map
public boolean segmentation_update_map() -
segmentation_update_map
-
segmentation_temporal_update
public boolean segmentation_temporal_update() -
segmentation_temporal_update
-
segmentation_update_data
public boolean segmentation_update_data() -
segmentation_update_data
-
UsesLr
public boolean UsesLr() -
UsesLr
-
usesChromaLr
public boolean usesChromaLr() -
usesChromaLr
-
apply_grain
public boolean apply_grain() -
apply_grain
-
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.
-