/external/chromium_org/third_party/opus/src/silk/float/ |
corrMatrix_FLP.c | 67 double energy; local 71 energy = silk_energy_FLP( ptr1, L ); /* X[:,0]'*X[:,0] */ 72 matrix_ptr( XX, 0, 0, Order ) = ( silk_float )energy; 75 energy += ptr1[ -j ] * ptr1[ -j ] - ptr1[ L - j ] * ptr1[ L - j ]; 76 matrix_ptr( XX, j, j, Order ) = ( silk_float )energy; 82 energy = silk_inner_product_FLP( ptr1, ptr2, L ); 83 matrix_ptr( XX, lag, 0, Order ) = ( silk_float )energy; 84 matrix_ptr( XX, 0, lag, Order ) = ( silk_float )energy; 87 energy += ptr1[ -j ] * ptr2[ -j ] - ptr1[ L - j ] * ptr2[ L - j ]; 88 matrix_ptr( XX, lag + j, j, Order ) = ( silk_float )energy; [all...] |
pitch_analysis_core_FLP.c | 90 double cross_corr, normalizer, energy, energy_tmp; local 218 energy = 1000.0f; 220 energy += target_ptr[i] * (double)target_ptr[i]; 223 if( energy / 16.0f > threshold ) { 280 * Find energy of each subframe projected onto its history, for a range of delays 295 energy = silk_energy_FLP( basis_ptr, sf_length_8kHz ); 297 C[ k ][ d ] = (silk_float)(cross_corr * cross_corr / (energy * energy_tmp + eps)); 436 energy = eps; 438 energy += energies_st3[ k ][ j ][ lag_counter ]; 442 CCmax_new = (silk_float)(cross_corr * cross_corr / energy); 569 double energy; local [all...] |
/external/eigen/bench/ |
vdw_new.cpp | 37 // energy . . . . ... 49 // Energy() 50 SCALAR energy = 0.0; local 52 energy += E_VDW(interactions1, interactions2); 53 energy *= 1 + 1e-20 * i; // prevent compiler from optimizing the loop 55 cout << "energy = " << energy << endl;
|
/cts/suite/audio_quality/lib/src/ |
BuiltinProcessing.cpp | 58 double energy = 0.0f; local 60 energy += (rawData[i] * rawData[i]); 62 rms = (int64_t)sqrt(energy/samples);
|
/external/aac/libAACenc/src/ |
grp_data.cpp | 199 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; local 202 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd+j][sfb]); 204 sfbEnergy->Long[i++] = energy; 217 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; local 220 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd+j][sfb]); 222 sfbEnergyMS->Long[i++] = energy; 235 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; local 238 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd+j][sfb]) [all...] |
quantize.cpp | 343 description: calculates energy and distortion of quantized values 347 output: energy, distortion 361 FIXP_DBL energy = FL2FXCONST_DBL(0.0f); local 375 /* energy */ 376 energy += fPow2(invQuantSpec); 392 *en = CalcLdData(energy)+FL2FXCONST_DBL(0.03125f);
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
corrMatrix_FIX.c | 85 opus_int32 energy; local 88 /* Calculate energy to find shift used to fit in 32 bits */ 89 silk_sum_sqr_shift( &energy, &rshifts_local, x, L + order - 1 ); 91 head_room_rshifts = silk_max( head_room - silk_CLZ32( energy ), 0 ); 93 energy = silk_RSHIFT32( energy, head_room_rshifts ); 96 /* Calculate energy of first column (0) of X: X[:,0]'*X[:,0] */ 99 energy -= silk_RSHIFT32( silk_SMULBB( x[ i ], x[ i ] ), rshifts_local ); 102 /* Adjust energy */ 103 energy = silk_RSHIFT32( energy, *rshifts - rshifts_local ) [all...] |
pitch_analysis_core_FIX.c | 54 opus_int32 energies_st3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ][ PE_NB_STAGE3_LAGS ],/* (O) 3 DIM energy array */ 55 const opus_int16 frame[], /* I vector to calc energy in */ 93 opus_int32 cross_corr, normalizer, energy, shift, energy_basis, energy_target; local 242 energy = silk_inner_prod_aligned( target_ptr, target_ptr, silk_LSHIFT( sf_length_4kHz, 2 ) ); 243 energy = silk_ADD_SAT32( energy, 1000 ); /* Q0 */ 248 if( silk_RSHIFT( energy, 4 + 2 ) > threshold ) { 317 * Find energy of each subframe projected onto its history, for a range of delays 340 energy = silk_max( energy_target, energy_basis ); /* Find max to make sure first division < 1.0 */ 343 temp32 = silk_DIV32( silk_LSHIFT( cross_corr, lshift ), silk_RSHIFT( energy, 15 - lshift ) + 1 ); /* Q15 * 658 opus_int32 energy; local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
grp_data.c | 125 Word32 energy = sfbEnergy->sfbShort[wnd][sfb]; local 127 energy = L_add(energy, sfbEnergy->sfbShort[wnd+j][sfb]); 129 sfbEnergy->sfbLong[i] = energy; 140 Word32 energy = sfbEnergyMS->sfbShort[wnd][sfb]; local 142 energy = L_add(energy, sfbEnergyMS->sfbShort[wnd+j][sfb]); 144 sfbEnergyMS->sfbLong[i] = energy; 155 Word32 energy = sfbSpreadedEnergy->sfbShort[wnd][sfb]; local 157 energy = L_add(energy, sfbSpreadedEnergy->sfbShort[wnd+j][sfb]) [all...] |
sf_estim.c | 706 Word32 thresh, energy; local 719 energy = psyOutChan->sfbEnergy[i]; 732 /* scfs without energy or with thresh>energy are marked with MIN_16 */ 736 if ((maxSpec > 0) && (energy > thresh)) {
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
access-nbody.js | 128 NBodySystem.prototype.energy = function(){ 163 ret = bodies.energy(); 167 ret = bodies.energy();
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
access-nbody.js | 128 NBodySystem.prototype.energy = function(){ 163 ret = bodies.energy(); 167 ret = bodies.energy();
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
access-nbody.js | 128 NBodySystem.prototype.energy = function(){ 163 ret = bodies.energy(); 167 ret = bodies.energy();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
EnergyProbe.java | 23 * The EnergyProbe class provides audio signal energy measurements based on the FFT returned 25 * value has no unit and is just proportional to the amount of energy present around the 57 int energy = 0; local 70 energy += (int)mFft[0] * (int)mFft[0]; 83 energy += tmp/j; 97 return energy/count;
|
/external/webrtc/src/common_audio/vad/ |
vad_filterbank.c | 162 // Energy in 3000 Hz - 4000 Hz 167 // Energy in 2000 Hz - 3000 Hz 181 // Energy in 1000 Hz - 2000 Hz 196 // Energy in 500 Hz - 1000 Hz 211 // Energy in 250 Hz - 500 Hz 234 int32_t energy = WebRtcSpl_Energy(vector, vector_length, &shfts); local 236 if (energy > 0) { 238 shfts2 = 16 - WebRtcSpl_NormW32(energy); 242 energy_s16 = (int16_t) WEBRTC_SPL_SHIFT_W32(energy, -shfts2);
|
/cts/tests/tests/media/src/android/media/cts/ |
VisualizerTest.java | 135 int energy = computeEnergy(data, true); local 136 assertEquals("getWaveForm reports energy for silence", 137 0, energy); 139 energy = computeEnergy(data, false); 140 assertEquals("getFft reports energy for silence", 141 0, energy); 179 int energy = computeEnergy(mWaveform, true); local 180 assertEquals("getWaveForm reports energy for silence", 181 0, energy); 195 energy = computeEnergy(mFft, false) 214 int energy = 0; local [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
PLC.c | 211 /* Find the subframe with lowest energy of the last two and use that as random noise generator */ 216 /* First sub-frame has lowest energy */ 219 /* Second sub-frame has lowest energy */ 374 opus_int32 energy; local 379 /* Calculate energy in concealed residual */ 386 silk_sum_sqr_shift( &energy, &energy_shift, frame, length ); 392 energy = silk_RSHIFT( energy, psPLC->conc_energy_shift - energy_shift ); 395 /* Fade in the energy difference */ 396 if( energy > psPLC->conc_energy ) [all...] |
/external/speex/libspeex/ |
ltp.c | 185 spx_word32_t *energy; local 191 energy = corr; 194 VARDECL(spx_word32_t *energy); 197 ALLOC(energy, end-start+2, spx_word32_t); 200 ener16 = energy; 230 energy[0]=inner_prod(sw-start, sw-start, len); 234 /* Update energy for next pitch*/ 235 energy[i-start+1] = SUB32(ADD32(energy[i-start],SHR32(MULT16_16(sw[-i-1],sw[-i-1]),6)), SHR32(MULT16_16(sw[-i+len-1],sw[-i+len-1]),6)); 236 if (energy[i-start+1] < 0 [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
AutoFixFilter.java | 125 " float energy = dot(color.rgb, weights);\n" + 126 " float mask_value = energy - 0.5;\n" + 133 " float index = energy * hist_scale + hist_offset;\n" + 139 " float dst_energy = energy * alpha + value * (1.0 - alpha);\n" + 140 " float max_energy = energy / max(color.r, max(color.g, color.b));\n" + 144 " if (energy == 0.0) {\n" + 147 " gl_FragColor = vec4(color.rgb * dst_energy / energy, color.a);\n" + 285 int energy = (data[index] & 0xFF) + ((data[index] >> 8) & 0xFF) + local 287 histArray[energy] ++;
|
/external/opencv/cv/src/ |
cvsnakes.cpp | 58 // alpha - pointer to coefficient of continuity energy, 59 // beta - pointer to coefficient of curvature energy, 60 // gamma - pointer to coefficient of image energy, 64 // scheme - image energy scheme 65 // if _CV_SNAKE_IMAGE - image intensity is energy 66 // if _CV_SNAKE_GRAD - magnitude of gradient is energy 216 float energy; local 228 Econt[(j + centery) * win.width + k + centerx] = energy = 232 maxEcont = MAX( maxEcont, energy ); 233 minEcont = MIN( minEcont, energy ); 251 float energy; local 286 float energy; local [all...] |
/external/webrtc/src/modules/audio_processing/test/ |
unit_test.cc | 801 uint32_t energy = frame_->_energy; // Save default to restore below. local 806 frame_->_energy = energy; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaVisualizerTest.java | 259 int energy = computeEnergy(data, true); local 260 assertEquals(msg +": getWaveForm reports energy for silence", 261 0, energy); 263 energy = computeEnergy(data, false); 264 assertEquals(msg +": getFft reports energy for silence", 265 0, energy); 271 energy = computeEnergy(data, true); 273 energy > 0); 275 energy = computeEnergy(data, false); 277 energy > 0) 358 int energy = computeEnergy(mWaveform, true); local 527 int energy = 0; local [all...] |
/external/aac/libSBRenc/src/ |
env_est.cpp | 109 \brief Calculates energy form real and imaginary part of 149 Calculate energy of each time slot pair, max energy 163 FIXP_DBL energy; local 169 /* Scale QMF Values and Calc Energy of both timeslots */ 172 energy = fPow2AddDiv2(fPow2Div2(tr0), ti0) >> 1; 176 energy += fPow2AddDiv2(fPow2Div2(tr1), ti1) >> 1; 178 /* Write timeslot pair energy to scratch */ 179 *nrgValues++ = energy; 180 max_val = fixMax(max_val, energy); 254 FIXP_DBL energy; local [all...] |
/external/webrtc/src/modules/audio_processing/aec/ |
aec_core.c | 878 // Filter energy 894 // Measure energy in each filter partition to determine delay. 1343 float energy = (in[0][0] * in[0][0]) \/ 2; local [all...] |
/external/opencv/cvaux/src/ |
cvvecfacetracking.cpp | 92 int Energy(const CvTrackingRect& prev) 226 void Energy(); 239 Energy(); 245 Energy(); 252 Energy(); 259 Energy(); 393 void CvFaceElement::Energy() 420 // energy 421 pRect->Energy(m_trPrev); 424 }//void CvFaceElement::Energy() 792 int energy = 0; local 837 int energy = ppNew[element[0]]->iEnergy + ppNew[element[1]]->iEnergy + local [all...] |