Searched refs:gain_adj_Q16 (Results 1 – 5 of 5) sorted by relevance
/external/libopus/silk/ |
D | NSQ.c | 371 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_scale_states() local 379 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states() 381 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_scale_states() 406 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_scale_states() 409 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states() 415 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_scale_states() 419 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states() 423 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states() 426 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states()
|
D | decode_core.c | 50 …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 111 gain_adj_Q16 = silk_DIV32_varQ( psDec->prev_gain_Q16, psDecCtrl->Gains_Q16[ k ], 16 ); in silk_decode_core() 115 sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, sLPC_Q14[ i ] ); in silk_decode_core() 118 gain_adj_Q16 = (opus_int32)1 << 16; in silk_decode_core() 163 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_decode_core() 165 … sLTP_Q15[ sLTP_buf_idx - i - 1 ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ sLTP_buf_idx - i - 1 ] ); in silk_decode_core()
|
D | NSQ_del_dec.c | 648 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_del_dec_scale_states() local 657 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states() 659 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_del_dec_scale_states() 684 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_del_dec_scale_states() 687 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states() 693 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states() 701 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states() 705 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states() 708 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states() 711 psDD->Pred_Q15[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Pred_Q15[ i ] ); in silk_nsq_del_dec_scale_states() [all …]
|
/external/libopus/silk/x86/ |
D | NSQ_sse.c | 618 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_scale_states_sse4_1() local 627 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states_sse4_1() 629 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_scale_states_sse4_1() 675 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_scale_states_sse4_1() 680 xmm_gain_adj_Q16 = _mm_set1_epi32(gain_adj_Q16); in silk_nsq_scale_states_sse4_1() 700 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states_sse4_1() 706 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_scale_states_sse4_1() 710 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states_sse4_1() 714 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states_sse4_1() 717 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
|
D | NSQ_del_dec_sse.c | 743 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_del_dec_scale_states_sse4_1() local 754 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states_sse4_1() 756 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_del_dec_scale_states_sse4_1() 801 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_del_dec_scale_states_sse4_1() 807 xmm_gain_adj_Q16 = _mm_set1_epi32( gain_adj_Q16 ); in silk_nsq_del_dec_scale_states_sse4_1() 827 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() 833 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() 841 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states_sse4_1() 845 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() 848 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() [all …]
|