Lines Matching refs:silk_RSHIFT
142 … psPLC->LTPCoef_Q14[ i ] = silk_RSHIFT( silk_SMULBB( psPLC->LTPCoef_Q14[ i ], scale_Q10 ), 10 ); in silk_PLC_update()
151 … psPLC->LTPCoef_Q14[ i ] = silk_RSHIFT( silk_SMULBB( psPLC->LTPCoef_Q14[ i ], scale_Q14 ), 14 ); in silk_PLC_update()
183 exc_buf_ptr[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT( in silk_PLC_energy()
228 prevGain_Q10[0] = silk_RSHIFT( psPLC->prevGain_Q16[ 0 ], 6); in silk_PLC_conceal()
229 prevGain_Q10[1] = silk_RSHIFT( psPLC->prevGain_Q16[ 1 ], 6); in silk_PLC_conceal()
237 if( silk_RSHIFT( energy1, shift2 ) < silk_RSHIFT( energy2, shift1 ) ) { in silk_PLC_conceal()
273 …rand_scale_Q14 = (opus_int16)silk_RSHIFT( silk_SMULBB( rand_scale_Q14, psPLC->prevLTP_scale_Q14 ),… in silk_PLC_conceal()
280 …down_scale_Q30 = silk_min_32( silk_RSHIFT( (opus_int32)1 << 30, LOG2_INV_LPC_GAIN_HIGH_THRES ), in… in silk_PLC_conceal()
281 …down_scale_Q30 = silk_max_32( silk_RSHIFT( (opus_int32)1 << 30, LOG2_INV_LPC_GAIN_LOW_THRES ), dow… in silk_PLC_conceal()
284 rand_Gain_Q15 = silk_RSHIFT( silk_SMULWB( down_scale_Q30, rand_Gain_Q15 ), 14 ); in silk_PLC_conceal()
322 idx = silk_RSHIFT( rand_seed, 25 ) & RAND_BUF_MASK; in silk_PLC_conceal()
329 B_Q14[ j ] = silk_RSHIFT( silk_SMULBB( harm_Gain_Q15, B_Q14[ j ] ), 15 ); in silk_PLC_conceal()
332 rand_scale_Q14 = silk_RSHIFT( silk_SMULBB( rand_scale_Q14, rand_Gain_Q15 ), 15 ); in silk_PLC_conceal()
352 LPC_pred_Q10 = silk_RSHIFT( psDec->LPC_order, 1 ); in silk_PLC_conceal()
413 … psPLC->conc_energy = silk_RSHIFT( psPLC->conc_energy, energy_shift - psPLC->conc_energy_shift ); in silk_PLC_glue_frames()
415 energy = silk_RSHIFT( energy, psPLC->conc_energy_shift - energy_shift ); in silk_PLC_glue_frames()
426 energy = silk_RSHIFT( energy, silk_max_32( 24 - LZ, 0 ) ); in silk_PLC_glue_frames()