Searched refs:tmp32b (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | pitch_estimator.c | 169 int32_t tmp32a,tmp32b,lag32,ratq; in WebRtcIsacfix_InitialPitch() local 210 tmp32b = oldgQ12 * oldgQ12 >> 10; // Q12 & * 4.0; in WebRtcIsacfix_InitialPitch() 211 gain_bias16 = (int16_t) tmp32b; //Q12 in WebRtcIsacfix_InitialPitch() 218 tmp32b = WebRtcIsacfix_Log2Q8((uint32_t) (k + (PITCH_MIN_LAG/2-2))); in WebRtcIsacfix_InitialPitch() 219 tmp16a = (int16_t) (tmp32b - tmp32a); // Q8 & fabs(ratio)<4 in WebRtcIsacfix_InitialPitch() 227 tmp32b = WebRtcIsacfix_Log2Q8((uint32_t)bias16) - 2560; in WebRtcIsacfix_InitialPitch() 229 crrvecQ8_1[k] += tmp32b ; // -10*2^8 offset in WebRtcIsacfix_InitialPitch() 304 tmp32b = (int16_t)tmp32a * -42 >> 8; in WebRtcIsacfix_InitialPitch() 305 tmp32c= tmp32b + 256; in WebRtcIsacfix_InitialPitch() 312 tmp32b = (best_lag1q - OFFSET_Q8) * 2; in WebRtcIsacfix_InitialPitch() [all …]
|
D | lattice.c | 73 int32_t tmp32b = 0; in WebRtcIsacfix_FilterMaLoopC() local 77 tmp32b = *ptr2 + tmp32a; // Q15 + Q15 = Q15 in WebRtcIsacfix_FilterMaLoopC() 78 *ptr2 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b); in WebRtcIsacfix_FilterMaLoopC() 82 tmp32b = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr2); // Q15*Q15>>15 = Q15 in WebRtcIsacfix_FilterMaLoopC() 83 *ptr1 = tmp32a + tmp32b; // Q15 + Q15 = Q15 in WebRtcIsacfix_FilterMaLoopC() 110 int32_t tmp32, tmp32b; in WebRtcIsacfix_NormLatticeFilterMa() local 160 tmp32b= fQtmp + tmp32; //Q15+Q15=Q15 in WebRtcIsacfix_NormLatticeFilterMa() 165 tmp32 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b); in WebRtcIsacfix_NormLatticeFilterMa() 170 tmp32b = WEBRTC_SPL_MUL_16_32_RSFT15(sthQ15[i-1], fQtmp); //Q15*Q15>>15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa() 171 tmp32 = tmp32 + tmp32b;//Q15+Q15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
|
D | lattice_neon.c | 182 int32_t tmp32b; in WebRtcIsacfix_FilterMaLoopNeon() local 186 tmp32b = *ptr2 + tmp32a; in WebRtcIsacfix_FilterMaLoopNeon() 187 *ptr2 = (int32_t)(WEBRTC_SPL_MUL(t16a, tmp32b) + in WebRtcIsacfix_FilterMaLoopNeon() 188 (WEBRTC_SPL_MUL_16_32_RSFT16(t16b, tmp32b))); in WebRtcIsacfix_FilterMaLoopNeon() 192 tmp32b = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr2); in WebRtcIsacfix_FilterMaLoopNeon() 193 *ptr1 = tmp32a + tmp32b; in WebRtcIsacfix_FilterMaLoopNeon()
|
D | lpc_masking_model.c | 34 int32_t tmp32b; in WebRtcSpl_AToK_JSK() local 46 tmp32b = (a16[k] << 16) - ((k16[m] * a16[m - k + 1]) << 1); in WebRtcSpl_AToK_JSK() 48 tmp32[k] = WebRtcSpl_DivW32W16(tmp32b, tmp_inv_denum16); //Q27/Q15 = Q12 in WebRtcSpl_AToK_JSK() 571 int32_t tmp32a, tmp32b, tmp32c; in WebRtcIsacfix_GetLpcCoef() local 874 tmp32b = WEBRTC_SPL_SHIFT_W32(tmp32a, sh); // Q14->Qssh in WebRtcIsacfix_GetLpcCoef() 875 tmp32c = sqrt_nrg + tmp32b; // Qssh (denominator) in WebRtcIsacfix_GetLpcCoef() 882 tmp32b = WebRtcSpl_DivW32W16(tmp32a, tmp16a); // Q(24-ssh+shft) in WebRtcIsacfix_GetLpcCoef() 884 *gain_lo_hiQ17 = WEBRTC_SPL_SHIFT_W32(tmp32b, sh); // Gains in Q17 in WebRtcIsacfix_GetLpcCoef() 923 tmp32b = WEBRTC_SPL_SHIFT_W32(tmp32a, sh); // Q14->Qssh in WebRtcIsacfix_GetLpcCoef() 924 tmp32c = sqrt_nrg + tmp32b; // Qssh (denominator) in WebRtcIsacfix_GetLpcCoef() [all …]
|
D | entropy_coding.c | 1677 int32_t CQ11, CQ10,tmp32a,tmp32b; in WebRtcIsacfix_DecodePitchLag() local 1733 tmp32b = WebRtcIsacfix_kTransform[1][k] * (int16_t)CQ10 >> 10; in WebRtcIsacfix_DecodePitchLag() 1734 PitchLags_Q7[k] += (int16_t)(tmp32b >> 5); in WebRtcIsacfix_DecodePitchLag() 1739 tmp32b = WebRtcIsacfix_kTransform[3][k] * (int16_t)CQ10 >> 10; in WebRtcIsacfix_DecodePitchLag() 1740 PitchLags_Q7[k] += (int16_t)(tmp32b >> 5); in WebRtcIsacfix_DecodePitchLag() 1762 int32_t tmp32b; in WebRtcIsacfix_EncodePitchLag() local 1837 tmp32b = WebRtcIsacfix_kTransform[1][k] * (int16_t)CQ10 >> 10; in WebRtcIsacfix_EncodePitchLag() 1838 PitchLagsQ7[k] += (int16_t)(tmp32b >> 5); // Q7. in WebRtcIsacfix_EncodePitchLag() 1843 tmp32b = WebRtcIsacfix_kTransform[3][k] * (int16_t)CQ10 >> 10; in WebRtcIsacfix_EncodePitchLag() 1844 PitchLagsQ7[k] += (int16_t)(tmp32b >> 5); // Q7. in WebRtcIsacfix_EncodePitchLag()
|
D | decode_plc.c | 258 int32_t tmp32a, tmp32b; in WebRtcIsacfix_DecodePlcImpl() local 768 tmp32b = 262144 - tmp32a; // Q18 in WebRtcIsacfix_DecodePlcImpl() 769 gainQ13 = (int16_t) (tmp32b >> 5); // Q13 in WebRtcIsacfix_DecodePlcImpl()
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 638 int32_t out, nrg, tmp32, tmp32b; in WebRtcAgc_ProcessVad() local 756 tmp32b = WEBRTC_SPL_MUL_16_U16(state->logRatio, tmpU16); in WebRtcAgc_ProcessVad() 757 tmp32 += tmp32b >> 10; in WebRtcAgc_ProcessVad()
|