Home
last modified time | relevance | path

Searched refs:gain_adj_Q16 (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/opus/src/silk/
Ddecode_core.c49 …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
110 gain_adj_Q16 = silk_DIV32_varQ( psDec->prev_gain_Q16, psDecCtrl->Gains_Q16[ k ], 16 ); in silk_decode_core()
114 sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, sLPC_Q14[ i ] ); in silk_decode_core()
117 gain_adj_Q16 = (opus_int32)1 << 16; in silk_decode_core()
162 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_decode_core()
164 … sLTP_Q15[ sLTP_buf_idx - i - 1 ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ sLTP_buf_idx - i - 1 ] ); in silk_decode_core()
DNSQ.c388 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_scale_states() local
396 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states()
398 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_scale_states()
423 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_scale_states()
426 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states()
432 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_scale_states()
436 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states()
440 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states()
443 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states()
DNSQ_del_dec.c651 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_del_dec_scale_states() local
660 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states()
662 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_del_dec_scale_states()
687 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_del_dec_scale_states()
690 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
696 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states()
704 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states()
708 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
711 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
714 psDD->Pred_Q15[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Pred_Q15[ i ] ); in silk_nsq_del_dec_scale_states()
[all …]