pub struct SilkEncoderState {
pub s_cmn: SilkEncoderStateCommon,
pub s_shape: SilkShapeState,
pub pulses: [i8; 320],
pub s_nsq: SilkNSQState,
pub ltp_corr_q15: i32,
pub res_nrg_smth: i32,
pub pitch_estimation_lpc_order: i32,
pub ps_nlsf_cb: Option<&'static NLSFCodebook>,
pub stereo: SilkStereoState,
pub resampler_delay_buf: [i16; 48],
pub flp_ltp_corr: f32,
pub use_flp: bool,
}Fields§
§s_cmn: SilkEncoderStateCommon§s_shape: SilkShapeState§pulses: [i8; 320]§s_nsq: SilkNSQState§ltp_corr_q15: i32§res_nrg_smth: i32§pitch_estimation_lpc_order: i32§ps_nlsf_cb: Option<&'static NLSFCodebook>§stereo: SilkStereoState§resampler_delay_buf: [i16; 48]§flp_ltp_corr: f32Normalized pitch correlation carried across frames by the float SILK
analysis path (psEnc->LTPCorr in silk_encoder_state_FLP).
use_flp: boolWhen set, the encoder runs the float SILK analysis (silk::flp) in
place of the fixed-point analysis. The NSQ stays fixed-point.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SilkEncoderState
impl RefUnwindSafe for SilkEncoderState
impl Send for SilkEncoderState
impl Sync for SilkEncoderState
impl Unpin for SilkEncoderState
impl UnsafeUnpin for SilkEncoderState
impl UnwindSafe for SilkEncoderState
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