/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
lpc_to_refl_coef.c | 25 WebRtc_Word32 tmp32[SPL_LPC_TO_REFL_COEF_MAX_AR_MODEL_ORDER]; local 42 tmp32[k] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)a16[k], 16) 45 tmp32[k] = WebRtcSpl_DivW32W16(tmp32[k], tmp_inv_denom16); //Q28/Q15 = Q13 50 a16[k] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q13>>1 => Q12 53 tmp32[m] = WEBRTC_SPL_SAT(8191, tmp32[m], -8191); 54 k16[m - 1] = (WebRtc_Word16)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15
|
complex_ifft.c | 39 WebRtc_Word32 tmp32, round2; local 60 tmp32 = (WebRtc_Word32)WebRtcSpl_MaxAbsValueW16(frfi, 2 * n); 61 if (tmp32 > 13573) 67 if (tmp32 > 27146)
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
findhalfpel.cpp | 152 int32 tmp32; local 169 tmp32 = *ref++; 171 tmp32 |= (tmp8 << 8); 173 tmp32 |= (tmp8 << 16); 175 tmp32 |= (tmp8 << 24); 176 *((uint32*)(dst += 4)) = tmp32; 232 tmp32 = a + f - 5 * (b + e) + 20 * (c + d); 233 *dst_16++ = tmp32; 234 tmp32 = (tmp32 + 16) >> 5 462 int32 tmp32; local [all...] |
/external/webrtc/src/modules/audio_processing/agc/main/source/ |
digital_agc.c | 66 WebRtc_Word32 tmp32, tmp32no1, tmp32no2, numFIX, den, y32; local 138 tmp32 = WEBRTC_SPL_MUL_16_U16(tmp16, kLog10_2) + 1; // Q14 139 inLevel = WebRtcSpl_DivW32W16(tmp32, kCompRatio); // Q14 204 tmp32 = WEBRTC_SPL_MUL_16_U16(i - 1, kLog10_2); // Q14 205 tmp32 -= WEBRTC_SPL_LSHIFT_W32(limiterLvl, 14); // Q14 206 y32 = WebRtcSpl_DivW32W16(tmp32 + 10, 20); 210 tmp32 = WEBRTC_SPL_MUL(y32 >> 1, kLog10) + 4096; // in Q27 211 tmp32 = WEBRTC_SPL_RSHIFT_W32(tmp32, 13); // in Q14 214 tmp32 = WEBRTC_SPL_MUL(y32, kLog10) + 8192; // in Q2 299 WebRtc_Word32 out_tmp, tmp32; local 648 WebRtc_Word32 out, nrg, tmp32, tmp32b; local [all...] |
analog_agc.c | 116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local 205 tmp32 = WEBRTC_SPL_MUL_16_16(GAIN_TBL_LEN - 1, tmp16); 207 targetGainIdx = (WebRtc_UWord16)WEBRTC_SPL_DIV(tmp32, tmp16); 227 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic[i], gain); 228 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 243 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic_H[i], gain); 244 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 614 WebRtc_Word32 tmp32 = 0; local 620 tmp32 += env[i]; 626 if (tmp32 < 500 681 WebRtc_Word32 tmp32; local 759 WebRtc_Word32 Rxx16w32, tmp32; local 1515 WebRtc_Word32 max_add, tmp32; local [all...] |
/external/webrtc/src/common_audio/vad/main/source/ |
vad_gmm.c | 27 WebRtc_Word32 tmp32, y32; local 30 tmp32 = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_W16(std,1) + (WebRtc_Word32)131072; // 1 in Q17 31 tmpDiv = (WebRtc_Word16)WebRtcSpl_DivW32W16(tmp32, std); // Q17/Q7 = Q10 44 // Calculate tmp32=(x-m)^2/(2*std^2), in Q10 45 tmp32 = (WebRtc_Word32)WEBRTC_SPL_MUL_16_16_RSFT(*delta, tmp16, 9); // One shift for /2 47 // Calculate expVal ~= exp(-(x-m)^2/(2*std^2)) ~= exp2(-log2(exp(1))*tmp32) 48 if (tmp32 < kCompVar) 50 // Calculate tmp16 = log2(exp(1))*tmp32 , in Q10 51 tmp16 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT((WebRtc_Word16)tmp32, 58 // Calculate expVal=log2(-tmp32), in Q1 [all...] |
vad_sp.c | 69 WebRtc_Word32 tmp32, tmp32_1; local 224 tmp32 = WEBRTC_SPL_MUL_16_16((alpha+1), inst->mean_value[n]); 226 tmp32 += tmp32_1; 227 tmp32 += 16384; 228 inst->mean_value[n] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 15);
|
vad_filterbank.c | 73 WebRtc_Word32 tmp32, in32, state32; local 80 tmp32 = state32 + WEBRTC_SPL_MUL_16_16(filter_coefficients, (*in_vector)); 81 tmp16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 16);
|
/external/speex/libspeex/ |
mdf.c | 706 spx_word32_t tmp32; local 730 spx_word32_t tmp32; local 732 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan]))); 734 if (tmp32 > 32767) 736 tmp32 = 32767; 740 if (tmp32 < -32767) 742 tmp32 = -32767; 748 st->input[chan*st->frame_size+i] = EXTRACT16(tmp32); 756 spx_word32_t tmp32; local 758 tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak]))) [all...] |
/external/webrtc/src/modules/audio_processing/ns/main/source/ |
nsx_core.c | 806 WebRtc_Word32 tmp32; local 1024 WebRtc_Word32 tmp32; local 1195 WebRtc_Word32 invLrtFX, indPriorFX, tmp32, tmp32no1, tmp32no2, besselTmpFX32; local [all...] |
/external/openssl/crypto/sha/asm/ |
sha512-sparcv9.pl | 117 $tmp32="%i5"; 131 subcc %g0,$tmp31,$tmp32 ! should be 64-$tmp31, but -$tmp31 works too 141 srlx @X[$j+1],$tmp32,$tmp1 147 srlx $T1,$tmp32,$T1 180 srlx @pair[2],$tmp32,@pair[1] 198 srlx @pair[2],$tmp32,@pair[1] 270 $xi=$tmp32; 288 $xi=$tmp32; 470 mov 32,$tmp32 471 sub $tmp32,$tmp31,$tmp3 [all...] |
/frameworks/media/libvideoeditor/lvpp/ |
VideoEditorAudioPlayer.cpp | 152 M4OSA_UInt32 tmp32 = 0; local 155 (M4OSA_Void**)&tmp32); 156 mBGAudioPCMFileLength = tmp32; 525 M4OSA_UInt32 tmp32 = local 529 (M4OSA_FilePosition*)&tmp32); 531 mBGAudioPCMFileSeekPoint = tmp32;
|
/external/webrtc/src/modules/audio_processing/aecm/main/source/ |
aecm_core.c | 964 WebRtc_Word32 tmp32; local 983 tmp32 = WEBRTC_SPL_MUL_16_16(tmp16, MU_DIFF); 984 tmp32 = WebRtcSpl_DivW32W16(tmp32, aecm->farEnergyMaxMin); 985 mu = MU_MIN - 1 - (WebRtc_Word16)(tmp32); 2367 WebRtc_Word32 tmp32; local [all...] |