Lines Matching refs:Fs_Hz_out
81 …opus_int32 Fs_Hz_out, /* I Output sampling rate (Hz) … in silk_resampler_init() argument
93 ( Fs_Hz_out != 8000 && Fs_Hz_out != 12000 && Fs_Hz_out != 16000 ) ) { in silk_resampler_init()
97 S->inputDelay = delay_matrix_enc[ rateID( Fs_Hz_in ) ][ rateID( Fs_Hz_out ) ]; in silk_resampler_init()
100 …( Fs_Hz_out != 8000 && Fs_Hz_out != 12000 && Fs_Hz_out != 16000 && Fs_Hz_out != 24000 && Fs_Hz_out… in silk_resampler_init()
104 S->inputDelay = delay_matrix_dec[ rateID( Fs_Hz_in ) ][ rateID( Fs_Hz_out ) ]; in silk_resampler_init()
108 S->Fs_out_kHz = silk_DIV32_16( Fs_Hz_out, 1000 ); in silk_resampler_init()
115 if( Fs_Hz_out > Fs_Hz_in ) { in silk_resampler_init()
117 …if( Fs_Hz_out == silk_MUL( Fs_Hz_in, 2 ) ) { /* Fs_out : Fs_in = 2 : 1 … in silk_resampler_init()
125 } else if ( Fs_Hz_out < Fs_Hz_in ) { in silk_resampler_init()
128 …if( silk_MUL( Fs_Hz_out, 4 ) == silk_MUL( Fs_Hz_in, 3 ) ) { /* Fs_out : Fs_in = 3 : 4 … in silk_resampler_init()
132 …} else if( silk_MUL( Fs_Hz_out, 3 ) == silk_MUL( Fs_Hz_in, 2 ) ) { /* Fs_out : Fs_in = 2 : 3 … in silk_resampler_init()
136 …} else if( silk_MUL( Fs_Hz_out, 2 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 2 … in silk_resampler_init()
140 …} else if( silk_MUL( Fs_Hz_out, 3 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 3 … in silk_resampler_init()
144 …} else if( silk_MUL( Fs_Hz_out, 4 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 4 … in silk_resampler_init()
148 …} else if( silk_MUL( Fs_Hz_out, 6 ) == Fs_Hz_in ) { /* Fs_out : Fs_in = 1 : 6 … in silk_resampler_init()
163 …S->invRatio_Q16 = silk_LSHIFT32( silk_DIV32( silk_LSHIFT32( Fs_Hz_in, 14 + up2x ), Fs_Hz_out ), 2 … in silk_resampler_init()
165 while( silk_SMULWW( S->invRatio_Q16, Fs_Hz_out ) < silk_LSHIFT32( Fs_Hz_in, up2x ) ) { in silk_resampler_init()