Skip to main content

Av1FrameHeader

Struct Av1FrameHeader 

Source
pub struct Av1FrameHeader {
Show 83 fields pub header_size: usize, pub show_existing_frame: bool, pub frame_to_show_map_idx: u8, pub frame_type: Av1FrameType, pub show_frame: bool, pub showable_frame: bool, pub error_resilient_mode: bool, pub disable_cdf_update: bool, pub disable_frame_end_update_cdf: bool, pub allow_screen_content_tools: bool, pub force_integer_motion_vectors: bool, pub frame_size_override: bool, pub order_hint: u8, pub primary_reference_frame: u8, pub refresh_frame_flags: u8, pub reference_name_slot_indices: [i8; 7], pub reference_order_hints: [u8; 8], pub reference_frame_sign_bias: u8, pub frame_references_short_signaling: bool, pub use_superres: bool, pub coded_denom: u8, pub render_and_frame_size_different: bool, pub allow_intra_block_copy: bool, pub allow_high_precision_motion_vectors: bool, pub interpolation_filter: Av1InterpolationFilter, pub motion_mode_switchable: bool, pub use_reference_frame_motion_vectors: bool, pub tile_columns: u8, pub tile_rows: u8, pub tile_columns_log2: u8, pub tile_rows_log2: u8, pub uniform_tile_spacing: bool, pub tile_column_starts_superblock: [u16; 65], pub tile_row_starts_superblock: [u16; 65], 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_q_matrix: bool, pub different_uv_delta: bool, pub qm_y: u8, pub qm_u: u8, pub qm_v: u8, pub segmentation_enabled: bool, pub segmentation_update_map: bool, pub segmentation_temporal_update: bool, pub segmentation_update_data: bool, pub segment_feature_enabled: [[bool; 8]; 8], pub segment_feature_data: [[i16; 8]; 8], pub delta_q_present: bool, pub delta_q_resolution: u8, pub delta_loop_filter_present: bool, pub delta_loop_filter_resolution: u8, pub delta_loop_filter_multi: bool, pub loop_filter_levels: [u8; 4], pub loop_filter_sharpness: u8, pub loop_filter_delta_enabled: bool, pub loop_filter_delta_update: bool, pub loop_filter_update_reference_delta: [bool; 8], pub loop_filter_reference_deltas: [i8; 8], pub loop_filter_update_mode_delta: [bool; 2], pub loop_filter_mode_deltas: [i8; 2], pub cdef_damping_minus_3: u8, pub cdef_bits: u8, pub cdef_y_primary_strength: [u8; 8], pub cdef_y_secondary_strength: [u8; 8], pub cdef_uv_primary_strength: [u8; 8], pub cdef_uv_secondary_strength: [u8; 8], pub restoration_types: [Av1RestorationType; 3], pub restoration_unit_size_log2_minus_5: [u16; 3], pub transform_mode: Av1TransformMode, pub reference_select: bool, pub skip_mode_present: bool, pub skip_mode_frame: [u8; 2], pub allow_warped_motion: bool, pub reduced_transform_set: bool, pub global_motion_types: [Av1GlobalMotionType; 7], pub global_motion_params: [[i32; 6]; 7], pub apply_grain: bool,
}
Expand description

Parsed AV1 uncompressed frame header required by picture submission.

Fields§

§header_size: usize§show_existing_frame: bool§frame_to_show_map_idx: u8§frame_type: Av1FrameType§show_frame: bool§showable_frame: bool§error_resilient_mode: bool§disable_cdf_update: bool§disable_frame_end_update_cdf: bool§allow_screen_content_tools: bool§force_integer_motion_vectors: bool§frame_size_override: bool§order_hint: u8§primary_reference_frame: u8§refresh_frame_flags: u8§reference_name_slot_indices: [i8; 7]§reference_order_hints: [u8; 8]§reference_frame_sign_bias: u8§frame_references_short_signaling: bool§use_superres: bool§coded_denom: u8§render_and_frame_size_different: bool§allow_intra_block_copy: bool§allow_high_precision_motion_vectors: bool§interpolation_filter: Av1InterpolationFilter§motion_mode_switchable: bool§use_reference_frame_motion_vectors: bool§tile_columns: u8§tile_rows: u8§tile_columns_log2: u8§tile_rows_log2: u8§uniform_tile_spacing: bool§tile_column_starts_superblock: [u16; 65]§tile_row_starts_superblock: [u16; 65]§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_q_matrix: bool§different_uv_delta: bool§qm_y: u8§qm_u: u8§qm_v: u8§segmentation_enabled: bool§segmentation_update_map: bool§segmentation_temporal_update: bool§segmentation_update_data: bool§segment_feature_enabled: [[bool; 8]; 8]§segment_feature_data: [[i16; 8]; 8]§delta_q_present: bool§delta_q_resolution: u8§delta_loop_filter_present: bool§delta_loop_filter_resolution: u8§delta_loop_filter_multi: bool§loop_filter_levels: [u8; 4]§loop_filter_sharpness: u8§loop_filter_delta_enabled: bool§loop_filter_delta_update: bool§loop_filter_update_reference_delta: [bool; 8]§loop_filter_reference_deltas: [i8; 8]§loop_filter_update_mode_delta: [bool; 2]§loop_filter_mode_deltas: [i8; 2]§cdef_damping_minus_3: u8§cdef_bits: u8§cdef_y_primary_strength: [u8; 8]§cdef_y_secondary_strength: [u8; 8]§cdef_uv_primary_strength: [u8; 8]§cdef_uv_secondary_strength: [u8; 8]§restoration_types: [Av1RestorationType; 3]§restoration_unit_size_log2_minus_5: [u16; 3]§transform_mode: Av1TransformMode§reference_select: bool§skip_mode_present: bool§skip_mode_frame: [u8; 2]§allow_warped_motion: bool§reduced_transform_set: bool§global_motion_types: [Av1GlobalMotionType; 7]§global_motion_params: [[i32; 6]; 7]§apply_grain: bool

Trait Implementations§

Source§

impl Clone for Av1FrameHeader

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Av1FrameHeader

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Av1FrameHeader

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for Av1FrameHeader

Source§

impl PartialEq for Av1FrameHeader

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Av1FrameHeader

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<S> FromSample<S> for S

Source§

fn from_sample_(s: S) -> S

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

Source§

fn into_sample(self) -> T

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

Source§

fn to_sample_(self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.