/external/webrtc/src/common_audio/vad/ |
vad_sp.c | 29 int16_t tmp16_1 = 0, tmp16_2 = 0; local 38 tmp16_1 = (int16_t) ((tmp32_1 >> 1) + 40 *signal_out = tmp16_1; 42 WEBRTC_SPL_MUL_16_16_RSFT(kAllPassCoefsQ13[0], tmp16_1, 12);
|
vad_core.c | 338 WebRtc_Word16 tmp16, tmp16_1, tmp16_2; local 500 tmp16_1 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(nmid, 6); // Q8 532 ndelt -= tmp16_1; // Q8 - Q8 645 // tmp16_1 = ~0.8 * (kMinimumDifference - diff) in Q7 647 tmp16_1 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(13, tmp16, 2); 651 tmp16 = tmp16_1 + *smean1ptr; 656 tmp16 = tmp16_1 + *smean2ptr;
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
pitch_estimator.c | 54 WebRtc_Word16 tmp16_1, tmp16_2; local 57 tmp16_1=-(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W16(x,10); 58 if(tmp16_1>0) 59 return (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W16(tmp16_2, tmp16_1); 61 return (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); 72 WebRtc_Word16 t16, tmp16, tmp16_1; local 98 tmp16_1=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16(t16,t16); /* Q8*Q8=Q16 */ 99 tmp16_1 = WEBRTC_SPL_RSHIFT_W16(tmp16_1,2); /* Q16>>2 = Q14 */ 101 tmp16 = tmp16_1-t16 [all...] |
lpc_masking_model.c | 377 WebRtc_Word16 tmp16_1, tmp16_2; local 425 tmp16_1 = (WEBRTC_SPL_RSHIFT_W16((WebRtc_UWord16)(tmp16 ^ 0xFFFF), 10)-3); /* Gives result in Q14 */ 426 if (tmp16_1<0) 427 expPg=(WebRtc_Word16) -WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); 429 expPg=(WebRtc_Word16) -WEBRTC_SPL_RSHIFT_W16(tmp16_2, tmp16_1); 439 tmp16_1 = (WEBRTC_SPL_RSHIFT_W16((WebRtc_UWord16)(tmp16 ^ 0xFFFF), 10)-3); /* Gives result in Q14 */ 440 if (tmp16_1<0) 441 expPg=(WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); 443 expPg=(WebRtc_Word16) WEBRTC_SPL_RSHIFT_W16(tmp16_2, tmp16_1); 455 WebRtc_Word16 tmp16_1, tmp16_2 local [all...] |
decode_plc.c | 110 WebRtc_Word16 tmp16_1, tmp16_2; local 113 tmp16_1=-(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W16(x,10); 114 if(tmp16_1>0) 115 return (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W16(tmp16_2, tmp16_1); 117 return (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1);
|