Home
last modified time | relevance | path

Searched refs:tmp32a (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c169 int32_t tmp32a,tmp32b,lag32,ratq; in WebRtcIsacfix_InitialPitch() local
208 tmp32a = WebRtcIsacfix_Log2Q8((uint32_t) old_lagQ8) - 2304; in WebRtcIsacfix_InitialPitch()
219 tmp16a = (int16_t) (tmp32b - tmp32a); // Q8 & fabs(ratio)<4 in WebRtcIsacfix_InitialPitch()
301 tmp32a= WebRtcIsacfix_Log2Q8((uint32_t) *yq) - 2048; // offset 8*2^8 in WebRtcIsacfix_InitialPitch()
304 tmp32b = (int16_t)tmp32a * -42 >> 8; in WebRtcIsacfix_InitialPitch()
321 tmp32a = lagsQ8[0] - PITCH_MIN_LAG_Q8; in WebRtcIsacfix_InitialPitch()
322 ratq = (tmp32a >> 1) + OFFSET_Q8; in WebRtcIsacfix_InitialPitch()
326 tmp32a = k << 7; // 0.5*k Q8 in WebRtcIsacfix_InitialPitch()
327 tmp32b = tmp32a * 2 - ratq; // Q8 in WebRtcIsacfix_InitialPitch()
332 tmp32c = WebRtcIsacfix_Log2Q8((uint32_t)tmp32a) - 2048; in WebRtcIsacfix_InitialPitch()
[all …]
Dlattice_neon.c181 int32_t tmp32a; in WebRtcIsacfix_FilterMaLoopNeon() local
185 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr0); in WebRtcIsacfix_FilterMaLoopNeon()
186 tmp32b = *ptr2 + tmp32a; in WebRtcIsacfix_FilterMaLoopNeon()
191 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT15(input1, *ptr0); in WebRtcIsacfix_FilterMaLoopNeon()
193 *ptr1 = tmp32a + tmp32b; in WebRtcIsacfix_FilterMaLoopNeon()
Dlattice.c72 int32_t tmp32a = 0; in WebRtcIsacfix_FilterMaLoopC() local
76 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr0); // Q15 * Q15 >> 15 = Q15 in WebRtcIsacfix_FilterMaLoopC()
77 tmp32b = *ptr2 + tmp32a; // Q15 + Q15 = Q15 in WebRtcIsacfix_FilterMaLoopC()
81 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT15(input1, *ptr0); // Q15*Q15>>15 = Q15 in WebRtcIsacfix_FilterMaLoopC()
83 *ptr1 = tmp32a + tmp32b; // Q15 + Q15 = Q15 in WebRtcIsacfix_FilterMaLoopC()
Dlpc_masking_model.c571 int32_t tmp32a, tmp32b, tmp32c; in WebRtcIsacfix_GetLpcCoef() local
871 tmp32a = varscaleQ14 >> 1; // H_T_HQ19=65536 (16-17=-1) in WebRtcIsacfix_GetLpcCoef()
874 tmp32b = WEBRTC_SPL_SHIFT_W32(tmp32a, sh); // Q14->Qssh in WebRtcIsacfix_GetLpcCoef()
876 tmp32a = varscaleQ14 * snrq; // Q24 (numerator) in WebRtcIsacfix_GetLpcCoef()
882 tmp32b = WebRtcSpl_DivW32W16(tmp32a, tmp16a); // Q(24-ssh+shft) in WebRtcIsacfix_GetLpcCoef()
919 tmp32a = varscaleQ14 >> 1; // H_T_HQ19=65536 (16-17=-1) in WebRtcIsacfix_GetLpcCoef()
923 tmp32b = WEBRTC_SPL_SHIFT_W32(tmp32a, sh); // Q14->Qssh in WebRtcIsacfix_GetLpcCoef()
925 tmp32a = varscaleQ14 * snrq; // Q24 (numerator) in WebRtcIsacfix_GetLpcCoef()
931 tmp32b = WebRtcSpl_DivW32W16(tmp32a, tmp16a); // Q(24-ssh+shft) in WebRtcIsacfix_GetLpcCoef()
Ddecode.c57 int32_t tmp32a; in WebRtcIsacfix_DecodeImpl() local
180 tmp32a = AvgPitchGain_Q12 * 29; // Q18 in WebRtcIsacfix_DecodeImpl()
181 gainQ13 = (int16_t)((262144 - tmp32a) >> 5); // Q18 -> Q13. in WebRtcIsacfix_DecodeImpl()
Ddecode_plc.c258 int32_t tmp32a, tmp32b; in WebRtcIsacfix_DecodePlcImpl() local
767 tmp32a = ISACdec_obj->plcstr_obj.AvgPitchGain_Q12 * 29; // Q18 in WebRtcIsacfix_DecodePlcImpl()
768 tmp32b = 262144 - tmp32a; // Q18 in WebRtcIsacfix_DecodePlcImpl()
Dentropy_coding.c1677 int32_t CQ11, CQ10,tmp32a,tmp32b; in WebRtcIsacfix_DecodePitchLag() local
1727 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT11(WebRtcIsacfix_kTransform[0][k], CQ11); in WebRtcIsacfix_DecodePitchLag()
1728 PitchLags_Q7[k] = (int16_t)(tmp32a >> 5); in WebRtcIsacfix_DecodePitchLag()
1756 int32_t CQ11, CQ10,tmp32a; in WebRtcIsacfix_EncodePitchLag() local
1831 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT11(WebRtcIsacfix_kTransform[0][k], CQ11); // Q12 in WebRtcIsacfix_EncodePitchLag()
1832 PitchLagsQ7[k] = (int16_t)(tmp32a >> 5); // Q7. in WebRtcIsacfix_EncodePitchLag()