Record Class StdVideoEncodeAV1PictureInfoFlags
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeAV1PictureInfoFlags
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeAV1PictureInfoFlags
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeAV1PictureInfoFlags(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeAV1PictureInfoFlags
Represents a pointer to a StdVideoEncodeAV1PictureInfoFlags
structure in native memory.
Structure
typedef struct StdVideoEncodeAV1PictureInfoFlags {
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 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 show_frame
: 1;
uint32_t showable_frame
: 1;
uint32_t reserved : 3;
} StdVideoEncodeAV1PictureInfoFlags;
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
ConstructorsConstructorDescriptionStdVideoEncodeAV1PictureInfoFlags
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeAV1PictureInfoFlags
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
allow_high_precision_mv
(boolean value) boolean
allow_intrabc
(boolean value) boolean
allow_screen_content_tools
(boolean value) boolean
allow_warped_motion
(boolean value) boolean
buffer_removal_time_present_flag
(boolean value) clone
(Arena arena, StdVideoEncodeAV1PictureInfoFlags src) boolean
delta_lf_multi
(boolean value) boolean
delta_lf_present
(boolean value) boolean
delta_q_present
(boolean value) boolean
disable_cdf_update
(boolean value) boolean
disable_frame_end_update_cdf
(boolean value) final boolean
Indicates whether some other object is "equal to" this one.boolean
error_resilient_mode
(boolean value) boolean
force_integer_mv
(boolean value) boolean
frame_refs_short_signaling
(boolean value) boolean
frame_size_override_flag
(boolean value) final int
hashCode()
Returns a hash code value for this object.boolean
is_filter_switchable
(boolean value) boolean
is_motion_mode_switchable
(boolean value) boolean
reduced_tx_set
(boolean value) boolean
render_and_frame_size_different
(boolean value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.boolean
segmentation_enabled
(boolean value) boolean
segmentation_temporal_update
(boolean value) boolean
segmentation_update_data
(boolean value) boolean
segmentation_update_map
(boolean value) boolean
show_frame
(boolean value) boolean
showable_frame
(boolean value) boolean
skip_mode_present
(boolean value) final String
toString()
Returns a string representation of this record class.boolean
use_ref_frame_mvs
(boolean value) boolean
use_superres
(boolean value) boolean
usesChromaLr
(boolean value) boolean
UsesLr()
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
-
StdVideoEncodeAV1PictureInfoFlags
Creates an instance of aStdVideoEncodeAV1PictureInfoFlags
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeAV1PictureInfoFlags clone(Arena arena, StdVideoEncodeAV1PictureInfoFlags 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
-
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
-
show_frame
public boolean show_frame() -
show_frame
-
showable_frame
public boolean showable_frame() -
showable_frame
-
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.
-