pub struct LoopFilterParams {
pub level: u8,
pub sharpness: u8,
pub delta_enabled: bool,
pub delta_update: bool,
pub update_ref_delta: [bool; 4],
pub ref_deltas: [i8; 4],
pub update_mode_delta: [bool; 2],
pub mode_deltas: [i8; 2],
}
Fields§
§level: u8
Indicates the loop filter strength.
sharpness: u8
Indicates the sharpness level. The loop filter level and loop filter_sharpness together determine when a block edge is filtered, and by how much the filtering can change the sample values.
delta_enabled: bool
If set, means that the filter level depends on the mode and reference frame used to predict a block. If unset, means that the filter level does not depend on the mode and reference frame.
delta_update: bool
If set, means that the bitstream contains additional syntax elements that specify which mode and reference frame deltas are to be updated. If unset, means that these syntax elements are not present.
update_ref_delta: [bool; 4]
If set, means that the bitstream contains additional syntax elements that specify which mode and reference frame deltas are to be updated. If unset, means that these syntax elements are not present.
ref_deltas: [i8; 4]
Contains the adjustment needed for the filter level based on the chosen reference frame. If this syntax element is not present in the bitstream, it maintains its previous value.
update_mode_delta: [bool; 2]
If set, means that the bitstream contains the syntax element loop_filter_mode_deltas. If unset, means that the bitstream does not contain this syntax element.
mode_deltas: [i8; 2]
Contains the adjustment needed for the filter level based on the chosen mode. If this syntax element is not present in the bitstream, it maintains its previous value.
Trait Implementations§
Source§impl Clone for LoopFilterParams
impl Clone for LoopFilterParams
Source§fn clone(&self) -> LoopFilterParams
fn clone(&self) -> LoopFilterParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more