Home
last modified time | relevance | path

Searched refs:inv_gain_Q31 (Results 1 – 5 of 5) sorted by relevance

/external/libopus/silk/
Ddecode_core.c50 …opus_int32 LTP_pred_Q13, LPC_pred_Q10, Gain_Q10, inv_gain_Q31, gain_adj_Q16, rand_seed, offset_Q10; in silk_decode_core() local
107 inv_gain_Q31 = silk_INVERSE32_varQ( psDecCtrl->Gains_Q16[ k ], 47 ); in silk_decode_core()
122 silk_assert( inv_gain_Q31 != 0 ); in silk_decode_core()
156inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, psDecCtrl->LTP_scale_Q14 ), 2 ); in silk_decode_core()
159 …sLTP_Q15[ sLTP_buf_idx - i - 1 ] = silk_SMULWB( inv_gain_Q31, sLTP[ psDec->ltp_mem_length - i - 1 … in silk_decode_core()
DNSQ.c371 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_scale_states() local
374 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_scale_states()
375 silk_assert( inv_gain_Q31 != 0 ); in silk_nsq_scale_states()
385 inv_gain_Q23 = silk_RSHIFT_ROUND( inv_gain_Q31, 8 ); in silk_nsq_scale_states()
397 inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, LTP_scale_Q14 ), 2 ); in silk_nsq_scale_states()
401 sLTP_Q15[ i ] = silk_SMULWB( inv_gain_Q31, sLTP[ i ] ); in silk_nsq_scale_states()
DNSQ_del_dec.c648 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_del_dec_scale_states() local
652 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_del_dec_scale_states()
653 silk_assert( inv_gain_Q31 != 0 ); in silk_nsq_del_dec_scale_states()
663 inv_gain_Q23 = silk_RSHIFT_ROUND( inv_gain_Q31, 8 ); in silk_nsq_del_dec_scale_states()
675 inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, LTP_scale_Q14 ), 2 ); in silk_nsq_del_dec_scale_states()
679 sLTP_Q15[ i ] = silk_SMULWB( inv_gain_Q31, sLTP[ i ] ); in silk_nsq_del_dec_scale_states()
/external/libopus/silk/x86/
DNSQ_sse.c618 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_scale_states_sse4_1() local
622 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_scale_states_sse4_1()
623 silk_assert( inv_gain_Q31 != 0 ); in silk_nsq_scale_states_sse4_1()
633 inv_gain_Q23 = silk_RSHIFT_ROUND( inv_gain_Q31, 8 ); in silk_nsq_scale_states_sse4_1()
666 inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, LTP_scale_Q14 ), 2 ); in silk_nsq_scale_states_sse4_1()
670 sLTP_Q15[ i ] = silk_SMULWB( inv_gain_Q31, sLTP[ i ] ); in silk_nsq_scale_states_sse4_1()
DNSQ_del_dec_sse.c743 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_del_dec_scale_states_sse4_1() local
748 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_del_dec_scale_states_sse4_1()
750 silk_assert( inv_gain_Q31 != 0 ); in silk_nsq_del_dec_scale_states_sse4_1()
760 inv_gain_Q23 = silk_RSHIFT_ROUND( inv_gain_Q31, 8 ); in silk_nsq_del_dec_scale_states_sse4_1()
792 inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, LTP_scale_Q14 ), 2 ); in silk_nsq_del_dec_scale_states_sse4_1()
796 sLTP_Q15[ i ] = silk_SMULWB( inv_gain_Q31, sLTP[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1()