/external/webrtc/src/common_audio/signal_processing/ |
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_fft.c | 292 WebRtc_Word32 tmp32, round2; local 313 tmp32 = (WebRtc_Word32)WebRtcSpl_MaxAbsValueW16(frfi, 2 * n); 314 if (tmp32 > 13573) 320 if (tmp32 > 27146)
|
/frameworks/av/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/common_audio/vad/ |
vad_gmm.c | 35 int32_t tmp32; local 40 tmp32 = (int32_t) 131072 + (int32_t) (std >> 1); 41 inv_std = (int16_t) WebRtcSpl_DivW32W16(tmp32, std); 59 // Calculate the exponent |tmp32| = (x - m)^2 / (2 * s^2), in Q10. Replacing 62 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT(*delta, tmp16, 9); 66 // ~= exp2(-log2(exp(1)) * |tmp32|). 67 if (tmp32 < kCompVar) { 68 // Calculate |tmp16| = log2(exp(1)) * |tmp32|, in Q10. 70 tmp16 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLog2Exp, (int16_t) tmp32, 12); 76 // Get |exp_value| = exp(-|tmp32|) in Q10 [all...] |
vad_filterbank.c | 43 int32_t tmp32 = 0; local 56 tmp32 = (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[0], (*in_ptr)); 57 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[1], filter_state[0]); 58 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[2], 64 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[1], 66 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[2], filter_state[3]); 68 filter_state[2] = (int16_t) WEBRTC_SPL_RSHIFT_W32 (tmp32, 14); 86 int32_t tmp32 = 0, in32 = 0; local 90 tmp32 = state32 + WEBRTC_SPL_MUL_16_16(filter_coefficients, (*in_vector)); 91 tmp16 = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmp32, 16) [all...] |
vad_sp.c | 68 int32_t tmp32 = 0; local 175 tmp32 = WEBRTC_SPL_MUL_16_16(alpha + 1, self->mean_value[channel]); 176 tmp32 += WEBRTC_SPL_MUL_16_16(WEBRTC_SPL_WORD16_MAX - alpha, current_median); 177 tmp32 += 16384; 178 self->mean_value[channel] = (int16_t) (tmp32 >> 15);
|
/external/webrtc/src/modules/audio_processing/agc/ |
digital_agc.c | 70 WebRtc_Word32 tmp32, tmp32no1, tmp32no2, numFIX, den, y32; local 143 tmp32 = WEBRTC_SPL_MUL_16_U16(tmp16, kLog10_2) + 1; // Q14 144 inLevel = WebRtcSpl_DivW32W16(tmp32, kCompRatio); // Q14 216 tmp32 = WEBRTC_SPL_MUL_16_U16(i - 1, kLog10_2); // Q14 217 tmp32 -= WEBRTC_SPL_LSHIFT_W32(limiterLvl, 14); // Q14 218 y32 = WebRtcSpl_DivW32W16(tmp32 + 10, 20); 222 tmp32 = WEBRTC_SPL_MUL(y32 >> 1, kLog10) + 4096; // in Q27 223 tmp32 = WEBRTC_SPL_RSHIFT_W32(tmp32, 13); // in Q14 226 tmp32 = WEBRTC_SPL_MUL(y32, kLog10) + 8192; // in Q2 311 WebRtc_Word32 out_tmp, tmp32; local 668 WebRtc_Word32 out, nrg, tmp32, tmp32b; local [all...] |
analog_agc.c | 116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local 209 tmp32 = WEBRTC_SPL_MUL_16_16(GAIN_TBL_LEN - 1, tmp16); 211 targetGainIdx = (WebRtc_UWord16)WEBRTC_SPL_DIV(tmp32, tmp16); 231 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic[i], gain); 232 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 247 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic_H[i], gain); 248 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 618 WebRtc_Word32 tmp32 = 0; local 624 tmp32 += env[i]; 630 if (tmp32 < 500 685 WebRtc_Word32 tmp32; local 763 WebRtc_Word32 Rxx16w32, tmp32; local 1529 WebRtc_Word32 max_add, tmp32; local [all...] |
/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/ |
nsx_core.c | 621 int32_t tmp32 = 0; local 623 tmp32 = WEBRTC_SPL_SHIFT_W32((WebRtc_Word32)in[j], 625 inst->real[i] = WebRtcSpl_SatW32ToW16(tmp32); // Q0 637 int32_t tmp32 = 0; local 643 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(tmp16a, gain_factor, 13); // Q0 645 tmp16b = WebRtcSpl_SatW32ToW16(tmp32); // Q0 933 WebRtc_Word32 tmp32; local 1131 WebRtc_Word32 tmp32; local 1296 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...] |
/external/webrtc/src/modules/audio_processing/aecm/ |
aecm_core.c | 565 WebRtc_Word32 tmp32 = PART_LEN1 * PART_LEN1; local 636 aecm->noiseEst[i] = (tmp32 << 8); 638 tmp32 -= (WebRtc_Word32)((tmp16 << 1) + 1); 642 aecm->noiseEst[i] = (tmp32 << 8); 1035 WebRtc_Word32 tmp32; local 1924 WebRtc_Word32 tmp32; local [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorAudioPlayer.cpp | 363 M4OSA_UInt32 tmp32 = 0; local 366 (M4OSA_Void**)&tmp32); 367 mBGAudioPCMFileLength = tmp32; 710 M4OSA_UInt32 tmp32 = local 714 (M4OSA_FilePosition*)&tmp32); 716 mBGAudioPCMFileSeekPoint = tmp32;
|