Searched refs:gain_adj_Q16 (Results 1 – 6 of 6) sorted by relevance
/external/libopus/silk/ |
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.c | 383 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()
|
D | NSQ_del_dec.c | 669 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/ |
D | NSQ_sse4_1.c | 617 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_scale_states_sse4_1() local 626 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states_sse4_1() 628 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_scale_states_sse4_1() 674 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_scale_states_sse4_1() 679 xmm_gain_adj_Q16 = _mm_set1_epi32(gain_adj_Q16); in silk_nsq_scale_states_sse4_1() 699 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states_sse4_1() 705 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_scale_states_sse4_1() 709 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states_sse4_1() 713 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states_sse4_1() 716 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
|
D | NSQ_del_dec_sse4_1.c | 745 opus_int32 gain_adj_Q16, inv_gain_Q31, inv_gain_Q23; in silk_nsq_del_dec_scale_states_sse4_1() local 756 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states_sse4_1() 758 gain_adj_Q16 = (opus_int32)1 << 16; in silk_nsq_del_dec_scale_states_sse4_1() 803 if( gain_adj_Q16 != (opus_int32)1 << 16 ) { in silk_nsq_del_dec_scale_states_sse4_1() 809 xmm_gain_adj_Q16 = _mm_set1_epi32( gain_adj_Q16 ); in silk_nsq_del_dec_scale_states_sse4_1() 829 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() 835 sLTP_Q15[ i ] = silk_SMULWW( gain_adj_Q16, sLTP_Q15[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() 843 psDD->LF_AR_Q14 = silk_SMULWW( gain_adj_Q16, psDD->LF_AR_Q14 ); in silk_nsq_del_dec_scale_states_sse4_1() 847 psDD->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sLPC_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() 850 psDD->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, psDD->sAR2_Q14[ i ] ); in silk_nsq_del_dec_scale_states_sse4_1() [all …]
|
/external/libopus/silk/arm/ |
D | NSQ_del_dec_neon_intr.c | 1021 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()
|