HomeSort by relevance Sort by last modified time
    Searched refs:tmp32 (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/third_party/webrtc/common_audio/signal_processing/
lpc_to_refl_coef.c 25 int32_t tmp32[SPL_LPC_TO_REFL_COEF_MAX_AR_MODEL_ORDER]; local
42 tmp32[k] = WEBRTC_SPL_LSHIFT_W32((int32_t)a16[k], 16)
45 tmp32[k] = WebRtcSpl_DivW32W16(tmp32[k], tmp_inv_denom16); //Q28/Q15 = Q13
50 a16[k] = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q13>>1 => Q12
53 tmp32[m] = WEBRTC_SPL_SAT(8191, tmp32[m], -8191);
54 k16[m - 1] = (int16_t)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15
  /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
  /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/chromium_org/third_party/webrtc/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_sp.c 70 int32_t tmp32 = 0; local
173 tmp32 = WEBRTC_SPL_MUL_16_16(alpha + 1, self->mean_value[channel]);
174 tmp32 += WEBRTC_SPL_MUL_16_16(WEBRTC_SPL_WORD16_MAX - alpha, current_median);
175 tmp32 += 16384;
176 self->mean_value[channel] = (int16_t) (tmp32 >> 15);
vad_filterbank.c 46 int32_t tmp32 = 0; local
59 tmp32 = WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[0], *in_ptr);
60 tmp32 += WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[1], filter_state[0]);
61 tmp32 += WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[2], filter_state[1]);
66 tmp32 -= WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[1], filter_state[2]);
67 tmp32 -= WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[2], filter_state[3]);
69 filter_state[2] = (int16_t) (tmp32 >> 14);
94 int32_t tmp32 = 0; local
98 tmp32 = state32 + WEBRTC_SPL_MUL_16_16(filter_coefficient, *data_in);
99 tmp16 = (int16_t) (tmp32 >> 16); // Q(-1
    [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/chromium_org/third_party/webrtc/modules/audio_processing/agc/
digital_agc.c 70 int32_t 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
306 int32_t out_tmp, tmp32; local
663 int32_t out, nrg, tmp32, tmp32b; local
    [all...]
analog_agc.c 116 int32_t nrg, max_nrg, sample, tmp32; local
209 tmp32 = WEBRTC_SPL_MUL_16_16(GAIN_TBL_LEN - 1, tmp16);
211 targetGainIdx = (uint16_t)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 int32_t tmp32 = 0; local
624 tmp32 += env[i];
630 if (tmp32 < 500
685 int32_t tmp32; local
763 int32_t Rxx16w32, tmp32; local
1536 int32_t max_add, tmp32; local
    [all...]
  /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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
lattice.c 31 multiplication between t32 and tmp32, done in two ways:
32 1) Using (int32_t) (((float)(tmp32))*((float)(tmp32b))/65536.0);
109 int32_t tmp32, tmp32b; local
158 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(sthQ15[i-1], stateGQ15[i-1]);//Q15*Q15>>15 = Q15
159 tmp32b= fQtmp + tmp32; //Q15+Q15=Q15
160 tmp32 = inv_cthQ16[i-1]; //Q16
161 t16a = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmp32, 16);
162 t16b = (int16_t) (tmp32-WEBRTC_SPL_LSHIFT_W32(((int32_t)t16a), 16));
164 tmp32 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b);
165 fQtmp = tmp32; // Q1
224 int32_t 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 = (int16_t)WebRtcSpl_SatW32ToW16(tmp32);
  /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);
  /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 );
  /external/libopus/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 );
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
cb_mem_energy.c 41 int32_t energy, tmp32; local
56 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, energyShifts[0]);
57 energyW16[0] = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32, 16);
72 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, energyShifts[base_size]);
73 energyW16[base_size] = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32, 16);
cb_mem_energy_augmentation.c 30 int32_t energy, tmp32; local
62 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, (*enShPtr));
63 (*enPtr) = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32, 16);
cb_search_core.c 38 int32_t maxW32, tmp32; local
68 tmp32 = WEBRTC_SPL_LSHIFT_W32(*cDotPtr,sh);
69 tmp16 = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32,16);
  /external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
nsx_core_c.c 29 int32_t invLrtFX, indPriorFX, tmp32, tmp32no1, tmp32no2, besselTmpFX32; local
59 tmp32 = WEBRTC_SPL_MUL(frac32, frac32);
60 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(tmp32, -43), 19);
61 tmp32 += WEBRTC_SPL_MUL_16_16_RSFT((int16_t)frac32, 5412, 12);
62 frac32 = tmp32 + 37;
63 // tmp32 = log2(priorLocSnr[i])
64 tmp32 = (int32_t)(((31 - zeros) << 12) + frac32) - (11 << 12); // Q12
65 logTmp = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_32_16(tmp32, 178), 8);

Completed in 404 milliseconds

1 2