pub struct Pred {
pub on: bool,
pub w: [i16; 7],
}Expand description
Per-band causal linear predictor of the quantized value (integer
weights, Q12). Smooth fields leave highpass bands smooth along their
lowpass axes (neighbour correlation ≈ 0.9) and anticorrelated (≈ −0.5)
along the highpass axis — structure significance coders such as SPECK
leave on the table. The coder codes q − pred; contexts are computed on
the residuals.
Fields§
§on: boolWhether prediction is on for the band.
w: [i16; 7]Tap weights, Q12.
Trait Implementations§
impl Copy for Pred
impl Eq for Pred
impl StructuralPartialEq for Pred
Auto Trait Implementations§
impl Freeze for Pred
impl RefUnwindSafe for Pred
impl Send for Pred
impl Sync for Pred
impl Unpin for Pred
impl UnsafeUnpin for Pred
impl UnwindSafe for Pred
Blanket Implementations§
impl<T> Boilerplate for T
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