Skip to main content

SilkDecoderState

Struct SilkDecoderState 

Source
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: SilkPLCState

Trait Implementations§

Source§

impl Clone for SilkDecoderState

Source§

fn clone(&self) -> SilkDecoderState

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for SilkDecoderState

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.