pub struct Av1FrameHeader {Show 79 fields
pub show_frame: bool,
pub showable_frame: bool,
pub frame_type: Av1FrameType,
pub error_resilient_mode: bool,
pub disable_cdf_update: bool,
pub allow_screen_content_tools: bool,
pub force_integer_mv: bool,
pub order_hint: u32,
pub primary_ref_frame: u8,
pub refresh_frame_flags: u8,
pub frame_width: u32,
pub frame_height: u32,
pub render_width: u32,
pub render_height: u32,
pub use_ref_frame_mvs: bool,
pub allow_high_precision_mv: bool,
pub is_filter_switchable: bool,
pub disable_frame_end_update_cdf: bool,
pub allow_warped_motion: bool,
pub reduced_tx_set: bool,
pub allow_intrabc: bool,
pub frame_size_override_flag: bool,
pub use_superres: bool,
pub is_motion_mode_switchable: bool,
pub reference_select: bool,
pub skip_mode_present: bool,
pub tile_cols: u8,
pub tile_rows: u8,
pub uniform_tile_spacing_flag: bool,
pub tile_cols_log2: u8,
pub tile_rows_log2: u8,
pub mi_col_starts: Vec<u16>,
pub mi_row_starts: Vec<u16>,
pub width_in_sbs_minus_1: Vec<u16>,
pub height_in_sbs_minus_1: Vec<u16>,
pub context_update_tile_id: u16,
pub tile_size_bytes_minus_1: u8,
pub base_q_idx: u8,
pub delta_q_y_dc: i8,
pub delta_q_u_dc: i8,
pub delta_q_u_ac: i8,
pub delta_q_v_dc: i8,
pub delta_q_v_ac: i8,
pub using_qmatrix: bool,
pub qm_y: u8,
pub qm_u: u8,
pub qm_v: u8,
pub delta_q_present: bool,
pub delta_q_res: u8,
pub delta_lf_present: bool,
pub delta_lf_res: u8,
pub delta_lf_multi: bool,
pub segmentation_enabled: bool,
pub segmentation_update_map: bool,
pub segmentation_temporal_update: bool,
pub segmentation_update_data: bool,
pub feature_enabled: [[bool; 8]; 8],
pub feature_data: [[i16; 8]; 8],
pub loop_filter_level: [u8; 4],
pub loop_filter_sharpness: u8,
pub loop_filter_delta_enabled: bool,
pub loop_filter_delta_update: bool,
pub update_ref_delta_mask: u8,
pub loop_filter_ref_deltas: [i8; 8],
pub update_mode_delta_mask: u8,
pub loop_filter_mode_deltas: [i8; 2],
pub cdef_damping_minus_3: u8,
pub cdef_bits: u8,
pub cdef_y_pri_strength: [u8; 8],
pub cdef_y_sec_strength: [u8; 8],
pub cdef_uv_pri_strength: [u8; 8],
pub cdef_uv_sec_strength: [u8; 8],
pub lr_type: [u8; 3],
pub lr_unit_shift: u8,
pub lr_uv_shift: u8,
pub tx_mode: u8,
pub interpolation_filter: u8,
pub tile_group_offset_in_obu: u32,
pub coded_lossless: bool,
}Expand description
Parsed AV1 frame header — full §5.9.1 uncompressed_header parse.
Provides everything needed to populate StdVideoDecodeAV1PictureInfo
- its 7 sub-struct pointers for a Vulkan Video AV1 decode submit.
Vec fields (tile MI-unit arrays) forced the drop of
Copy.
Fields§
§show_frame: bool§showable_frame: bool§frame_type: Av1FrameType§error_resilient_mode: bool§disable_cdf_update: bool§allow_screen_content_tools: bool§force_integer_mv: bool§order_hint: u32§primary_ref_frame: u8§refresh_frame_flags: u8§frame_width: u32§frame_height: u32§render_width: u32§render_height: u32§use_ref_frame_mvs: bool§allow_high_precision_mv: bool§is_filter_switchable: bool§disable_frame_end_update_cdf: bool§allow_warped_motion: bool§reduced_tx_set: bool§allow_intrabc: bool§frame_size_override_flag: bool§use_superres: bool§is_motion_mode_switchable: bool§reference_select: bool§skip_mode_present: bool§tile_cols: u8§tile_rows: u8§uniform_tile_spacing_flag: bool§tile_cols_log2: u8§tile_rows_log2: u8§mi_col_starts: Vec<u16>§mi_row_starts: Vec<u16>§width_in_sbs_minus_1: Vec<u16>§height_in_sbs_minus_1: Vec<u16>§context_update_tile_id: u16§tile_size_bytes_minus_1: u8§base_q_idx: u8§delta_q_y_dc: i8§delta_q_u_dc: i8§delta_q_u_ac: i8§delta_q_v_dc: i8§delta_q_v_ac: i8§using_qmatrix: bool§qm_y: u8§qm_u: u8§qm_v: u8§delta_q_present: bool§delta_q_res: u8§delta_lf_present: bool§delta_lf_res: u8§delta_lf_multi: bool§segmentation_enabled: bool§segmentation_update_map: bool§segmentation_temporal_update: bool§segmentation_update_data: bool§feature_enabled: [[bool; 8]; 8]§feature_data: [[i16; 8]; 8]§loop_filter_level: [u8; 4]§loop_filter_sharpness: u8§loop_filter_delta_enabled: bool§loop_filter_delta_update: bool§update_ref_delta_mask: u8§loop_filter_ref_deltas: [i8; 8]§update_mode_delta_mask: u8§loop_filter_mode_deltas: [i8; 2]§cdef_damping_minus_3: u8§cdef_bits: u8§cdef_y_pri_strength: [u8; 8]§cdef_y_sec_strength: [u8; 8]§cdef_uv_pri_strength: [u8; 8]§cdef_uv_sec_strength: [u8; 8]§lr_type: [u8; 3]§lr_unit_shift: u8§lr_uv_shift: u8§tx_mode: u8§interpolation_filter: u8§tile_group_offset_in_obu: u32§coded_lossless: boolTrait Implementations§
Source§impl Clone for Av1FrameHeader
impl Clone for Av1FrameHeader
Source§fn clone(&self) -> Av1FrameHeader
fn clone(&self) -> Av1FrameHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Av1FrameHeader
impl Debug for Av1FrameHeader
Auto Trait Implementations§
impl Freeze for Av1FrameHeader
impl RefUnwindSafe for Av1FrameHeader
impl Send for Av1FrameHeader
impl Sync for Av1FrameHeader
impl Unpin for Av1FrameHeader
impl UnsafeUnpin for Av1FrameHeader
impl UnwindSafe for Av1FrameHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more