Realm

vk · Structs · S7

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::StdVideoAV1FrameType

Contract

Open integer representation of StdVideoAV1FrameType.

Khronos registry source: StdVideoAV1FrameType

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoAV1FrameType
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1FrameType
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1FrameType) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1GlobalMotion

Contract

Native structure StdVideoAV1GlobalMotion.

Khronos registry source: StdVideoAV1GlobalMotion

Fields

gm_type

Field
gm_type: [u8; 8]

Native field GmType.

gm_params

Field
gm_params: [[i32; 6]; 8]

Native field gm_params.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_gm_type

Method
pub fn set_gm_type(self, value: [u8; 8]) -> Self

Set native field GmType without native effects.

set_gm_params

Method
pub fn set_gm_params(self, value: [[i32; 6]; 8]) -> Self

Set native field gm_params without native effects.

clone

Method
fn clone(&self) -> StdVideoAV1GlobalMotion
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1InterpolationFilter

Contract

Open integer representation of StdVideoAV1InterpolationFilter.

Khronos registry source: StdVideoAV1InterpolationFilter

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoAV1InterpolationFilter
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1InterpolationFilter
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1InterpolationFilter) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1Level

Contract

Open integer representation of StdVideoAV1Level.

Khronos registry source: StdVideoAV1Level

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1Level
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1Level) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1LoopFilter

#[repr(C)]pub struct StdVideoAV1LoopFilter { pub flags: StdVideoAV1LoopFilterFlags, pub loop_filter_level: [u8; 4], pub loop_filter_sharpness: u8, pub update_ref_delta: u8, pub loop_filter_ref_deltas: [i8; 8], pub update_mode_delta: u8, pub loop_filter_mode_deltas: [i8; 2], }
Native structure StdVideoAV1LoopFilter.

Contract

Native structure StdVideoAV1LoopFilter.

Khronos registry source: StdVideoAV1LoopFilter

Fields

flags

Field
flags: StdVideoAV1LoopFilterFlags

Native field flags.

loop_filter_level

Field
loop_filter_level: [u8; 4]

Native field loop_filter_level.

loop_filter_sharpness

Field
loop_filter_sharpness: u8

Native field loop_filter_sharpness.

update_ref_delta

Field
update_ref_delta: u8

Native field update_ref_delta.

loop_filter_ref_deltas

Field
loop_filter_ref_deltas: [i8; 8]

Native field loop_filter_ref_deltas.

update_mode_delta

Field
update_mode_delta: u8

Native field update_mode_delta.

loop_filter_mode_deltas

Field
loop_filter_mode_deltas: [i8; 2]

Native field loop_filter_mode_deltas.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoAV1LoopFilterFlags) -> Self

Set native field flags without native effects.

set_loop_filter_level

Method
pub fn set_loop_filter_level(self, value: [u8; 4]) -> Self

Set native field loop_filter_level without native effects.

set_loop_filter_sharpness

Method
pub fn set_loop_filter_sharpness(self, value: u8) -> Self

Set native field loop_filter_sharpness without native effects.

set_update_ref_delta

Method
pub fn set_update_ref_delta(self, value: u8) -> Self

Set native field update_ref_delta without native effects.

set_loop_filter_ref_deltas

Method
pub fn set_loop_filter_ref_deltas(self, value: [i8; 8]) -> Self

Set native field loop_filter_ref_deltas without native effects.

set_update_mode_delta

Method
pub fn set_update_mode_delta(self, value: u8) -> Self

Set native field update_mode_delta without native effects.

set_loop_filter_mode_deltas

Method
pub fn set_loop_filter_mode_deltas(self, value: [i8; 2]) -> Self

Set native field loop_filter_mode_deltas without native effects.

clone

Method
fn clone(&self) -> StdVideoAV1LoopFilter
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1LoopFilterFlags

Contract

Native structure StdVideoAV1LoopFilterFlags.

Khronos registry source: StdVideoAV1LoopFilterFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

loop_filter_delta_enabled

Method
pub const fn loop_filter_delta_enabled(&self) -> u32

Read native bitfield loop_filter_delta_enabled.

set_loop_filter_delta_enabled

Method
pub fn set_loop_filter_delta_enabled(&mut self, value: u32)

Set native bitfield loop_filter_delta_enabled, retaining its low 1 bits.

loop_filter_delta_update

Method
pub const fn loop_filter_delta_update(&self) -> u32

Read native bitfield loop_filter_delta_update.

set_loop_filter_delta_update

Method
pub fn set_loop_filter_delta_update(&mut self, value: u32)

Set native bitfield loop_filter_delta_update, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoAV1LoopFilterFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1LoopRestoration

#[repr(C)]pub struct StdVideoAV1LoopRestoration { pub frame_restoration_type: [StdVideoAV1FrameRestorationType; 3], pub loop_restoration_size: [u16; 3], }
Native structure StdVideoAV1LoopRestoration.

Contract

Native structure StdVideoAV1LoopRestoration.

Khronos registry source: StdVideoAV1LoopRestoration

Fields

frame_restoration_type

Field
frame_restoration_type: [StdVideoAV1FrameRestorationType; 3]

Native field FrameRestorationType.

loop_restoration_size

Field
loop_restoration_size: [u16; 3]

Native field LoopRestorationSize.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_frame_restoration_type

Method
pub fn set_frame_restoration_type( self, value: [StdVideoAV1FrameRestorationType; 3], ) -> Self

Set native field FrameRestorationType without native effects.

set_loop_restoration_size

Method
pub fn set_loop_restoration_size(self, value: [u16; 3]) -> Self

Set native field LoopRestorationSize without native effects.

clone

Method
fn clone(&self) -> StdVideoAV1LoopRestoration
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1MatrixCoefficients

Contract

Open integer representation of StdVideoAV1MatrixCoefficients.

Khronos registry source: StdVideoAV1MatrixCoefficients

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoAV1MatrixCoefficients
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1MatrixCoefficients
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1MatrixCoefficients) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1Profile

Contract

Open integer representation of StdVideoAV1Profile.

Khronos registry source: StdVideoAV1Profile

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1Profile
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1Profile) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1Quantization

#[repr(C)]pub struct StdVideoAV1Quantization { pub flags: StdVideoAV1QuantizationFlags, pub base_q_idx: u8, pub delta_qy_dc: i8, pub delta_qu_dc: i8, pub delta_qu_ac: i8, pub delta_qv_dc: i8, pub delta_qv_ac: i8, pub qm_y: u8, pub qm_u: u8, pub qm_v: u8, }
Native structure StdVideoAV1Quantization.

Contract

Native structure StdVideoAV1Quantization.

Khronos registry source: StdVideoAV1Quantization

Fields

flags

Field
flags: StdVideoAV1QuantizationFlags

Native field flags.

base_q_idx

Field
base_q_idx: u8

Native field base_q_idx.

delta_qy_dc

Field
delta_qy_dc: i8

Native field DeltaQYDc.

delta_qu_dc

Field
delta_qu_dc: i8

Native field DeltaQUDc.

delta_qu_ac

Field
delta_qu_ac: i8

Native field DeltaQUAc.

delta_qv_dc

Field
delta_qv_dc: i8

Native field DeltaQVDc.

delta_qv_ac

Field
delta_qv_ac: i8

Native field DeltaQVAc.

qm_y

Field
qm_y: u8

Native field qm_y.

qm_u

Field
qm_u: u8

Native field qm_u.

qm_v

Field
qm_v: u8

Native field qm_v.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoAV1QuantizationFlags) -> Self

Set native field flags without native effects.

set_base_q_idx

Method
pub fn set_base_q_idx(self, value: u8) -> Self

Set native field base_q_idx without native effects.

set_delta_qy_dc

Method
pub fn set_delta_qy_dc(self, value: i8) -> Self

Set native field DeltaQYDc without native effects.

set_delta_qu_dc

Method
pub fn set_delta_qu_dc(self, value: i8) -> Self

Set native field DeltaQUDc without native effects.

set_delta_qu_ac

Method
pub fn set_delta_qu_ac(self, value: i8) -> Self

Set native field DeltaQUAc without native effects.

set_delta_qv_dc

Method
pub fn set_delta_qv_dc(self, value: i8) -> Self

Set native field DeltaQVDc without native effects.

set_delta_qv_ac

Method
pub fn set_delta_qv_ac(self, value: i8) -> Self

Set native field DeltaQVAc without native effects.

set_qm_y

Method
pub fn set_qm_y(self, value: u8) -> Self

Set native field qm_y without native effects.

set_qm_u

Method
pub fn set_qm_u(self, value: u8) -> Self

Set native field qm_u without native effects.

set_qm_v

Method
pub fn set_qm_v(self, value: u8) -> Self

Set native field qm_v without native effects.

clone

Method
fn clone(&self) -> StdVideoAV1Quantization
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1QuantizationFlags

Contract

Native structure StdVideoAV1QuantizationFlags.

Khronos registry source: StdVideoAV1QuantizationFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

using_qmatrix

Method
pub const fn using_qmatrix(&self) -> u32

Read native bitfield using_qmatrix.

set_using_qmatrix

Method
pub fn set_using_qmatrix(&mut self, value: u32)

Set native bitfield using_qmatrix, retaining its low 1 bits.

diff_uv_delta

Method
pub const fn diff_uv_delta(&self) -> u32

Read native bitfield diff_uv_delta.

set_diff_uv_delta

Method
pub fn set_diff_uv_delta(&mut self, value: u32)

Set native bitfield diff_uv_delta, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoAV1QuantizationFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1ReferenceName

Contract

Open integer representation of StdVideoAV1ReferenceName.

Khronos registry source: StdVideoAV1ReferenceName

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoAV1ReferenceName
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoAV1ReferenceName
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoAV1ReferenceName) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoAV1Segmentation

Contract

Native structure StdVideoAV1Segmentation.

Khronos registry source: StdVideoAV1Segmentation

Fields

feature_enabled

Field
feature_enabled: [u8; 8]

Native field FeatureEnabled.

feature_data

Field
feature_data: [[i16; 8]; 8]

Native field FeatureData.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_feature_enabled

Method
pub fn set_feature_enabled(self, value: [u8; 8]) -> Self

Set native field FeatureEnabled without native effects.

set_feature_data

Method
pub fn set_feature_data(self, value: [[i16; 8]; 8]) -> Self

Set native field FeatureData without native effects.

clone

Method
fn clone(&self) -> StdVideoAV1Segmentation
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1SequenceHeader

pub struct StdVideoAV1SequenceHeader<'a> { pub flags: StdVideoAV1SequenceHeaderFlags, pub seq_profile: StdVideoAV1Profile, pub frame_width_bits_minus_1: u8, pub frame_height_bits_minus_1: u8, pub max_frame_width_minus_1: u16, pub max_frame_height_minus_1: u16, pub delta_frame_id_length_minus_2: u8, pub additional_frame_id_length_minus_1: u8, pub order_hint_bits_minus_1: u8, pub seq_force_integer_mv: u8, pub seq_force_screen_content_tools: u8, pub reserved1: [u8; 5], pub p_color_config: *const StdVideoAV1ColorConfig, pub p_timing_info: *const StdVideoAV1TimingInfo, /* private fields */ }
Native structure StdVideoAV1SequenceHeader.

Contract

Native structure StdVideoAV1SequenceHeader.

Khronos registry source: StdVideoAV1SequenceHeader

Fields

flags

Field
flags: StdVideoAV1SequenceHeaderFlags

Native field flags.

seq_profile

Field
seq_profile: StdVideoAV1Profile

Native field seq_profile.

frame_width_bits_minus_1

Field
frame_width_bits_minus_1: u8

Native field frame_width_bits_minus_1.

frame_height_bits_minus_1

Field
frame_height_bits_minus_1: u8

Native field frame_height_bits_minus_1.

max_frame_width_minus_1

Field
max_frame_width_minus_1: u16

Native field max_frame_width_minus_1.

max_frame_height_minus_1

Field
max_frame_height_minus_1: u16

Native field max_frame_height_minus_1.

delta_frame_id_length_minus_2

Field
delta_frame_id_length_minus_2: u8

Native field delta_frame_id_length_minus_2.

additional_frame_id_length_minus_1

Field
additional_frame_id_length_minus_1: u8

Native field additional_frame_id_length_minus_1.

order_hint_bits_minus_1

Field
order_hint_bits_minus_1: u8

Native field order_hint_bits_minus_1.

seq_force_integer_mv

Field
seq_force_integer_mv: u8

Native field seq_force_integer_mv.

seq_force_screen_content_tools

Field
seq_force_screen_content_tools: u8

Native field seq_force_screen_content_tools.

reserved1

Field
reserved1: [u8; 5]

Native field reserved1.

p_color_config

Field
p_color_config: *const StdVideoAV1ColorConfig

Native field pColorConfig.

p_timing_info

Field
p_timing_info: *const StdVideoAV1TimingInfo

Native field pTimingInfo.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoAV1SequenceHeaderFlags) -> Self

Set native field flags without native effects.

set_seq_profile

Method
pub fn set_seq_profile(self, value: StdVideoAV1Profile) -> Self

Set native field seq_profile without native effects.

set_frame_width_bits_minus_1

Method
pub fn set_frame_width_bits_minus_1(self, value: u8) -> Self

Set native field frame_width_bits_minus_1 without native effects.

set_frame_height_bits_minus_1

Method
pub fn set_frame_height_bits_minus_1(self, value: u8) -> Self

Set native field frame_height_bits_minus_1 without native effects.

set_max_frame_width_minus_1

Method
pub fn set_max_frame_width_minus_1(self, value: u16) -> Self

Set native field max_frame_width_minus_1 without native effects.

set_max_frame_height_minus_1

Method
pub fn set_max_frame_height_minus_1(self, value: u16) -> Self

Set native field max_frame_height_minus_1 without native effects.

set_delta_frame_id_length_minus_2

Method
pub fn set_delta_frame_id_length_minus_2(self, value: u8) -> Self

Set native field delta_frame_id_length_minus_2 without native effects.

set_additional_frame_id_length_minus_1

Method
pub fn set_additional_frame_id_length_minus_1(self, value: u8) -> Self

Set native field additional_frame_id_length_minus_1 without native effects.

set_order_hint_bits_minus_1

Method
pub fn set_order_hint_bits_minus_1(self, value: u8) -> Self

Set native field order_hint_bits_minus_1 without native effects.

set_seq_force_integer_mv

Method
pub fn set_seq_force_integer_mv(self, value: u8) -> Self

Set native field seq_force_integer_mv without native effects.

set_seq_force_screen_content_tools

Method
pub fn set_seq_force_screen_content_tools(self, value: u8) -> Self

Set native field seq_force_screen_content_tools without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: [u8; 5]) -> Self

Set native field reserved1 without native effects.

set_color_config

Method
pub fn set_color_config(self, value: &'a StdVideoAV1ColorConfig) -> Self

Set native field pColorConfig without native effects.

set_timing_info

Method
pub fn set_timing_info(self, value: &'a StdVideoAV1TimingInfo) -> Self

Set native field pTimingInfo without native effects.

clone

Method
fn clone(&self) -> StdVideoAV1SequenceHeader<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1SequenceHeaderFlags

Contract

Native structure StdVideoAV1SequenceHeaderFlags.

Khronos registry source: StdVideoAV1SequenceHeaderFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

still_picture

Method
pub const fn still_picture(&self) -> u32

Read native bitfield still_picture.

set_still_picture

Method
pub fn set_still_picture(&mut self, value: u32)

Set native bitfield still_picture, retaining its low 1 bits.

reduced_still_picture_header

Method
pub const fn reduced_still_picture_header(&self) -> u32

Read native bitfield reduced_still_picture_header.

set_reduced_still_picture_header

Method
pub fn set_reduced_still_picture_header(&mut self, value: u32)

Set native bitfield reduced_still_picture_header, retaining its low 1 bits.

use_128x128_superblock

Method
pub const fn use_128x128_superblock(&self) -> u32

Read native bitfield use_128x128_superblock.

set_use_128x128_superblock

Method
pub fn set_use_128x128_superblock(&mut self, value: u32)

Set native bitfield use_128x128_superblock, retaining its low 1 bits.

enable_filter_intra

Method
pub const fn enable_filter_intra(&self) -> u32

Read native bitfield enable_filter_intra.

set_enable_filter_intra

Method
pub fn set_enable_filter_intra(&mut self, value: u32)

Set native bitfield enable_filter_intra, retaining its low 1 bits.

enable_intra_edge_filter

Method
pub const fn enable_intra_edge_filter(&self) -> u32

Read native bitfield enable_intra_edge_filter.

set_enable_intra_edge_filter

Method
pub fn set_enable_intra_edge_filter(&mut self, value: u32)

Set native bitfield enable_intra_edge_filter, retaining its low 1 bits.

enable_interintra_compound

Method
pub const fn enable_interintra_compound(&self) -> u32

Read native bitfield enable_interintra_compound.

set_enable_interintra_compound

Method
pub fn set_enable_interintra_compound(&mut self, value: u32)

Set native bitfield enable_interintra_compound, retaining its low 1 bits.

enable_masked_compound

Method
pub const fn enable_masked_compound(&self) -> u32

Read native bitfield enable_masked_compound.

set_enable_masked_compound

Method
pub fn set_enable_masked_compound(&mut self, value: u32)

Set native bitfield enable_masked_compound, retaining its low 1 bits.

enable_warped_motion

Method
pub const fn enable_warped_motion(&self) -> u32

Read native bitfield enable_warped_motion.

set_enable_warped_motion

Method
pub fn set_enable_warped_motion(&mut self, value: u32)

Set native bitfield enable_warped_motion, retaining its low 1 bits.

enable_dual_filter

Method
pub const fn enable_dual_filter(&self) -> u32

Read native bitfield enable_dual_filter.

set_enable_dual_filter

Method
pub fn set_enable_dual_filter(&mut self, value: u32)

Set native bitfield enable_dual_filter, retaining its low 1 bits.

enable_order_hint

Method
pub const fn enable_order_hint(&self) -> u32

Read native bitfield enable_order_hint.

set_enable_order_hint

Method
pub fn set_enable_order_hint(&mut self, value: u32)

Set native bitfield enable_order_hint, retaining its low 1 bits.

enable_jnt_comp

Method
pub const fn enable_jnt_comp(&self) -> u32

Read native bitfield enable_jnt_comp.

set_enable_jnt_comp

Method
pub fn set_enable_jnt_comp(&mut self, value: u32)

Set native bitfield enable_jnt_comp, retaining its low 1 bits.

enable_ref_frame_mvs

Method
pub const fn enable_ref_frame_mvs(&self) -> u32

Read native bitfield enable_ref_frame_mvs.

set_enable_ref_frame_mvs

Method
pub fn set_enable_ref_frame_mvs(&mut self, value: u32)

Set native bitfield enable_ref_frame_mvs, retaining its low 1 bits.

frame_id_numbers_present_flag

Method
pub const fn frame_id_numbers_present_flag(&self) -> u32

Read native bitfield frame_id_numbers_present_flag.

set_frame_id_numbers_present_flag

Method
pub fn set_frame_id_numbers_present_flag(&mut self, value: u32)

Set native bitfield frame_id_numbers_present_flag, retaining its low 1 bits.

enable_superres

Method
pub const fn enable_superres(&self) -> u32

Read native bitfield enable_superres.

set_enable_superres

Method
pub fn set_enable_superres(&mut self, value: u32)

Set native bitfield enable_superres, retaining its low 1 bits.

enable_cdef

Method
pub const fn enable_cdef(&self) -> u32

Read native bitfield enable_cdef.

set_enable_cdef

Method
pub fn set_enable_cdef(&mut self, value: u32)

Set native bitfield enable_cdef, retaining its low 1 bits.

enable_restoration

Method
pub const fn enable_restoration(&self) -> u32

Read native bitfield enable_restoration.

set_enable_restoration

Method
pub fn set_enable_restoration(&mut self, value: u32)

Set native bitfield enable_restoration, retaining its low 1 bits.

film_grain_params_present

Method
pub const fn film_grain_params_present(&self) -> u32

Read native bitfield film_grain_params_present.

set_film_grain_params_present

Method
pub fn set_film_grain_params_present(&mut self, value: u32)

Set native bitfield film_grain_params_present, retaining its low 1 bits.

timing_info_present_flag

Method
pub const fn timing_info_present_flag(&self) -> u32

Read native bitfield timing_info_present_flag.

set_timing_info_present_flag

Method
pub fn set_timing_info_present_flag(&mut self, value: u32)

Set native bitfield timing_info_present_flag, retaining its low 1 bits.

initial_display_delay_present_flag

Method
pub const fn initial_display_delay_present_flag(&self) -> u32

Read native bitfield initial_display_delay_present_flag.

set_initial_display_delay_present_flag

Method
pub fn set_initial_display_delay_present_flag(&mut self, value: u32)

Set native bitfield initial_display_delay_present_flag, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 13 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoAV1SequenceHeaderFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoAV1TileInfo

pub struct StdVideoAV1TileInfo<'a> { pub flags: StdVideoAV1TileInfoFlags, pub tile_cols: u8, pub tile_rows: u8, pub context_update_tile_id: u16, pub tile_size_bytes_minus_1: u8, pub reserved1: [u8; 7], pub p_mi_col_starts: *const u16, pub p_mi_row_starts: *const u16, pub p_width_in_sbs_minus1: *const u16, pub p_height_in_sbs_minus1: *const u16, /* private fields */ }
Native structure StdVideoAV1TileInfo.

Contract

Native structure StdVideoAV1TileInfo.

Khronos registry source: StdVideoAV1TileInfo

Fields

flags

Field
flags: StdVideoAV1TileInfoFlags

Native field flags.

tile_cols

Field
tile_cols: u8

Native field TileCols.

tile_rows

Field
tile_rows: u8

Native field TileRows.

context_update_tile_id

Field
context_update_tile_id: u16

Native field context_update_tile_id.

tile_size_bytes_minus_1

Field
tile_size_bytes_minus_1: u8

Native field tile_size_bytes_minus_1.

reserved1

Field
reserved1: [u8; 7]

Native field reserved1.

p_mi_col_starts

Field
p_mi_col_starts: *const u16

Native field pMiColStarts.

p_mi_row_starts

Field
p_mi_row_starts: *const u16

Native field pMiRowStarts.

p_width_in_sbs_minus1

Field
p_width_in_sbs_minus1: *const u16

Native field pWidthInSbsMinus1.

p_height_in_sbs_minus1

Field
p_height_in_sbs_minus1: *const u16

Native field pHeightInSbsMinus1.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoAV1TileInfoFlags) -> Self

Set native field flags without native effects.

set_tile_cols

Method
pub fn set_tile_cols(self, value: u8) -> Self

Set native count TileCols directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_tile_rows

Method
pub fn set_tile_rows(self, value: u8) -> Self

Set native count TileRows directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_context_update_tile_id

Method
pub fn set_context_update_tile_id(self, value: u16) -> Self

Set native field context_update_tile_id without native effects.

set_tile_size_bytes_minus_1

Method
pub fn set_tile_size_bytes_minus_1(self, value: u8) -> Self

Set native field tile_size_bytes_minus_1 without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: [u8; 7]) -> Self

Set native field reserved1 without native effects.

set_mi_col_starts

Method
pub fn set_mi_col_starts( self, mi_col_starts: &'a [u16], width_in_sbs_minus1: &'a [u16], ) -> Result<Self, ConstructionError>

Borrow parallel arrays sharing native TileCols. Optional arrays may be null. Mutable arrays retain exclusive borrows of initialized output storage. This checks lengths only; native valid usage and later raw edits remain caller obligations.

Errors

Returns a construction error for unequal lengths or native count overflow.

set_mi_row_starts

Method
pub fn set_mi_row_starts( self, mi_row_starts: &'a [u16], height_in_sbs_minus1: &'a [u16], ) -> Result<Self, ConstructionError>

Borrow parallel arrays sharing native TileRows. Optional arrays may be null. Mutable arrays retain exclusive borrows of initialized output storage. This checks lengths only; native valid usage and later raw edits remain caller obligations.

Errors

Returns a construction error for unequal lengths or native count overflow.

clone

Method
fn clone(&self) -> StdVideoAV1TileInfo<'a>
Returns a duplicate of the value. Read more