Home
last modified time | relevance | path

Searched refs:gain_adj_Q16 (Results 1 – 6 of 6) 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
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()
DNSQ.c383 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q26; in silk_nsq_scale_states() local
409 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states()
413 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states()
419 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_scale_states()
423 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states()
424 NSQ->sDiff_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sDiff_shp_Q14 ); in silk_nsq_scale_states()
428 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states()
431 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states()
DNSQ_del_dec.c669 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q26; in silk_nsq_del_dec_scale_states() local
696 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states()
700 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
706 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states()
714 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states()
715 psDD->Diff_Q14 = silk_SMULWW( gain_adj_Q16, psDD->Diff_Q14 ); in silk_nsq_del_dec_scale_states()
719 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
722 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
725 psDD->Pred_Q15[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Pred_Q15[ i ] ); in silk_nsq_del_dec_scale_states()
726 psDD->Shape_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Shape_Q14[ i ] ); in silk_nsq_del_dec_scale_states()
/external/libopus/silk/x86/
DNSQ_sse4_1.c674 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q26; in silk_nsq_scale_states_sse4_1() local
723 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states_sse4_1()
728 xmm_gain_adj_Q16 = _mm_set1_epi32(gain_adj_Q16); in silk_nsq_scale_states_sse4_1()
748 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
754 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_scale_states_sse4_1()
758 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states_sse4_1()
759 NSQ->sDiff_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sDiff_shp_Q14 ); in silk_nsq_scale_states_sse4_1()
763 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
766 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
DNSQ_del_dec_sse4_1.c805 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q26; in silk_nsq_del_dec_scale_states_sse4_1() local
854 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states_sse4_1()
861 xmm_gain_adj_Q16 = _mm_set1_epi32( gain_adj_Q16 ); in silk_nsq_del_dec_scale_states_sse4_1()
881 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1()
887 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1()
895 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states_sse4_1()
896 psDD->Diff_Q14 = silk_SMULWW( gain_adj_Q16, psDD->Diff_Q14 ); in silk_nsq_del_dec_scale_states_sse4_1()
900 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1()
903 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1()
906 psDD->Pred_Q15[ i ] = silk_SMULWW( gain_adj_Q16, psDD->Pred_Q15[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1()
[all …]
/external/libopus/silk/arm/
DNSQ_del_dec_neon_intr.c1021 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q26; in silk_nsq_del_dec_scale_states_neon() local
1043 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states_neon()
1046 if( ( gain_adj_Q16 >= -65536 ) && ( gain_adj_Q16 < 65536 ) ) { in silk_nsq_del_dec_scale_states_neon()
1047 gain_adj_Q16_s32x2 = vdup_n_s32( silk_LSHIFT32( gain_adj_Q16, 15 ) ); in silk_nsq_del_dec_scale_states_neon()
1052 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states_neon()
1061 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states_neon()
1083 gain_adj_Q16_s32x2 = vdup_n_s32( silk_LSHIFT32( gain_adj_Q16 & 0x0000FFFF, 15 ) ); in silk_nsq_del_dec_scale_states_neon()
1084 gain_adj_Q16_s32x2 = vset_lane_s32( gain_adj_Q16 >> 16, gain_adj_Q16_s32x2, 1 ); in silk_nsq_del_dec_scale_states_neon()
1089 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states_neon()
1098 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states_neon()