pub struct SilkDecoderState {Show 30 fields
pub prev_gain_q16: i32,
pub exc_q14: [i32; 320],
pub s_lpc_q14_buf: [i32; 16],
pub out_buf: [i16; 480],
pub lag_prev: i32,
pub last_gain_index: i8,
pub fs_khz: i32,
pub fs_api_hz: i32,
pub nb_subfr: i32,
pub frame_length: i32,
pub subfr_length: i32,
pub ltp_mem_length: i32,
pub lpc_order: i32,
pub prev_nlsf_q15: [i16; 16],
pub first_frame_after_reset: i32,
pub pitch_lag_low_bits_icdf: &'static [u8],
pub pitch_contour_icdf: &'static [u8],
pub n_frames_decoded: i32,
pub n_frames_per_packet: i32,
pub ec_prev_signal_type: i32,
pub ec_prev_lag_index: i16,
pub vad_flags: [i32; 3],
pub lbrr_flag: i32,
pub lbrr_flags: [i32; 3],
pub ps_nlsf_cb: Option<&'static NLSFCodebook>,
pub indices: SideInfoIndices,
pub s_cng: SilkCNGState,
pub loss_cnt: i32,
pub prev_signal_type: i32,
pub s_plc: SilkPLCState,
}Fields§
§prev_gain_q16: i32§exc_q14: [i32; 320]§s_lpc_q14_buf: [i32; 16]§out_buf: [i16; 480]§lag_prev: i32§last_gain_index: i8§fs_khz: i32§fs_api_hz: i32§nb_subfr: i32§frame_length: i32§subfr_length: i32§ltp_mem_length: i32§lpc_order: i32§prev_nlsf_q15: [i16; 16]§first_frame_after_reset: i32§pitch_lag_low_bits_icdf: &'static [u8]§pitch_contour_icdf: &'static [u8]§n_frames_decoded: i32§n_frames_per_packet: i32§ec_prev_signal_type: i32§ec_prev_lag_index: i16§vad_flags: [i32; 3]§lbrr_flag: i32§lbrr_flags: [i32; 3]§ps_nlsf_cb: Option<&'static NLSFCodebook>§indices: SideInfoIndices§s_cng: SilkCNGState§loss_cnt: i32§prev_signal_type: i32§s_plc: SilkPLCStateTrait Implementations§
Source§impl Clone for SilkDecoderState
impl Clone for SilkDecoderState
Source§fn clone(&self) -> SilkDecoderState
fn clone(&self) -> SilkDecoderState
Returns a duplicate of the value. Read more
1.0.0 · 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 SilkDecoderState
impl RefUnwindSafe for SilkDecoderState
impl Send for SilkDecoderState
impl Sync for SilkDecoderState
impl Unpin for SilkDecoderState
impl UnsafeUnpin for SilkDecoderState
impl UnwindSafe for SilkDecoderState
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