/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/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
lattice.c | 31 multiplication between t32 and tmp32, done in two ways: 32 1) Using (WebRtc_Word32) (((float)(tmp32))*((float)(tmp32b))/65536.0); 112 WebRtc_Word32 tmp32, tmp32b; local 161 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(sthQ15[i-1], stateGQ15[i-1]);//Q15*Q15>>15 = Q15 162 tmp32b= fQtmp + tmp32; //Q15+Q15=Q15 163 tmp32 = inv_cthQ16[i-1]; //Q16 164 t16a = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32, 16); 165 t16b = (WebRtc_Word16) (tmp32-WEBRTC_SPL_LSHIFT_W32(((WebRtc_Word32)t16a), 16)); 167 tmp32 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b); 168 fQtmp = tmp32; // Q1 227 WebRtc_Word32 tmp32; local [all...] |
lattice_c.c | 34 int32_t tmp32 = 0; local 39 tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cth_Q15[k], tmpAR)) 43 tmpAR = (WebRtc_Word16)WebRtcSpl_SatW32ToW16(tmp32);
|
lpc_masking_model.c | 33 WebRtc_Word32 tmp32[MAX_AR_MODEL_ORDER]; local 48 tmp32[k] = WebRtcSpl_DivW32W16(tmp32b, tmp_inv_denum16); //Q27/Q15 = Q12 52 a16[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q12>>1 => Q11 55 tmp32[m] = WEBRTC_SPL_SAT(4092, tmp32[m], -4092); 56 k16[m-1] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmp32[m], 3); //Q12<<3 => Q15 482 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; local 493 tmp32 = WEBRTC_SPL_MUL_16_16(a_polynomial[j], a_polynomial[j - i]); 494 /* tmp32 in Q(q_val_polynomial * 2). */ 496 tmp32 <<= 1 556 WebRtc_Word32 tmp32; local [all...] |
entropy_coding.c | 815 WebRtc_Word32 tmp32; local 942 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(31208, tmpcoeffs_sQ17[poss]); // (Q16*Q17)>>16 = Q17, with 1/2.1 = 0.47619047619 ~= 31208 in Q16 943 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 944 LPCCoefQ17[pos] = tmp32; 949 tmp32 = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_32_RSFT16(18204, tmpcoeffs_sQ17[poss]), 3); // ((Q13*Q17)>>16)<<3 = Q17, with 1/0.45 = 2.222222222222 ~= 18204 in Q13 950 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 951 LPCCoefQ17[pos] = tmp32; 982 WebRtc_Word32 tmp32; local [all...] |
/external/chromium_org/third_party/opus/src/silk/fixed/ |
residual_energy_FIX.c | 52 opus_int32 tmp32; local 87 tmp32 = silk_LSHIFT32( gains[ i ], lz2 ); 90 tmp32 = silk_SMMUL( tmp32, tmp32 ); /* Q( 2 * lz2 - 32 )*/ 93 nrgs[ i ] = silk_SMMUL( tmp32, silk_LSHIFT32( nrgs[ i ], lz1 ) ); /* Q( nrgsQ[ i ] + lz1 + 2 * lz2 - 32 - 32 )*/
|
vector_ops_FIX.c | 43 opus_int32 tmp32; local 46 tmp32 = silk_SMULWB( gain_Q16, data_in[ i ] ); 47 data_out[ i ] = (opus_int16)silk_CHECK_FIT16( tmp32 );
|
noise_shape_analysis_FIX.c | 153 opus_int32 SNR_adj_dB_Q7, HarmBoost_Q16, HarmShapeGain_Q16, Tilt_Q16, tmp32; local 308 tmp32 = silk_SQRT_APPROX( nrg ); 311 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( tmp32, 16 - Qnrg );
|
/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/chromium_org/third_party/openssl/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/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 | 362 M4OSA_UInt32 tmp32 = 0; local 365 (M4OSA_Void**)&tmp32); 366 mBGAudioPCMFileLength = tmp32; 711 M4OSA_UInt32 tmp32 = local 715 (M4OSA_FilePosition*)&tmp32); 717 mBGAudioPCMFileSeekPoint = tmp32;
|
/external/chromium_org/third_party/ots/src/ |
cff.cc | 44 uint32_t tmp32 = 0; local 50 tmp32 <<= 8; 51 tmp32 += tmp8; 53 *offset = tmp32;
|
/external/valgrind/main/VEX/priv/ |
guest_ppc_toIR.c | 10715 IRTemp tmp32 = newTemp( Ity_I32 ); local 11004 IRTemp tmp32 = newTemp( Ity_I32 ); local [all...] |