pub struct DecodeStats {
pub epsilon_0: u8,
pub epsilon_t: u8,
pub disposition: Option<FrameDisposition>,
}Expand description
Decode-side per-frame stats.
Fields§
§epsilon_0: u8FEC error count on the leading codeword (Golay c̃₀ for full-rate, AMBE+2 c̃₀ for half-rate).
epsilon_t: u8Total FEC error count across all coded vectors of the frame.
disposition: Option<FrameDisposition>Synth-side disposition for this frame (Use / Repeat / Mute).
Populated for both rates after the synth runs. None only on
frames where dequantize errored before synth was reached
(e.g. invalid pitch index in full-rate; the field then carries
over the prior frame’s value via Vocoder::synth.last_disposition).
Trait Implementations§
Source§impl Clone for DecodeStats
impl Clone for DecodeStats
Source§fn clone(&self) -> DecodeStats
fn clone(&self) -> DecodeStats
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 moreAuto Trait Implementations§
impl Freeze for DecodeStats
impl RefUnwindSafe for DecodeStats
impl Send for DecodeStats
impl Sync for DecodeStats
impl Unpin for DecodeStats
impl UnsafeUnpin for DecodeStats
impl UnwindSafe for DecodeStats
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