/cts/tests/tests/media/src/android/media/cts/ |
VisualizerTest.java | 141 int energy = computeEnergy(data, true); local 142 assertEquals("getWaveForm reports energy for silence", 143 0, energy); 145 energy = computeEnergy(data, false); 146 assertEquals("getFft reports energy for silence", 147 0, energy); 190 int energy = computeEnergy(mWaveform, true); local 191 assertEquals("getWaveForm reports energy for silence", 192 0, energy); 206 energy = computeEnergy(mFft, false) 434 int energy = 0; local [all...] |
/external/libopus/silk/fixed/ |
pitch_analysis_core_FIX.c | 70 silk_pe_stage3_vals energies_st3[], /* O 3 DIM energy array */ 71 const opus_int16 frame[], /* I vector to calc energy in */ 104 opus_int32 cross_corr, normalizer, energy, shift, energy_basis, energy_target; local 168 silk_sum_sqr_shift( &energy, &shift, frame_4kHz, frame_length_4kHz ); 317 silk_sum_sqr_shift( &energy, &shift, frame_8kHz, frame_length_8kHz ); 326 * Find energy of each subframe projected onto its history, for a range of delays 469 silk_sum_sqr_shift( &energy, &shift, frame, frame_length ); 533 energy = energy_target; 538 energy = silk_ADD32( energy, 678 opus_int32 energy; local [all...] |
/external/libopus/silk/float/ |
pitch_analysis_core_FLP.c | 93 double cross_corr, normalizer, energy, energy_tmp; local 280 * Find energy of each subframe projected onto its history, for a range of delays 296 energy = silk_energy_FLP( basis_ptr, sf_length_8kHz ); 297 C[ k ][ d ] = (silk_float)( 2 * cross_corr / ( energy + energy_tmp ) ); 437 energy = energy_tmp; 440 energy += energies_st3[ k ][ j ][ lag_counter ]; 443 CCmax_new = (silk_float)( 2 * cross_corr / energy ); 569 double energy; local 595 /* Calculate the energy for first lag */ 597 energy = silk_energy_FLP( basis_ptr, sf_length ) + 1e-3 [all...] |
/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/opencv3/modules/photo/src/ |
contrast_preserve.hpp | 86 vector <double> energy; local 101 energy.push_back(-1.0*log(exp(-1.0*pow(temp[i],2)/sigma) + exp(-1.0*pow(temp1[i],2)/sigma))); 105 sum +=energy[i];
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
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)) {
|
/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...] |
/frameworks/base/services/core/java/com/android/server/ |
AnyMotionDetector.java | 61 /** Threshold energy above which the device is considered moving. */ 249 + " energy = " + mRunningStats.getEnergy()); 410 * <li>running sum-of-squared-errors as the energy of the signal derivative. 417 float energy; field in class:AnyMotionDetector.RunningSignalStats 428 energy = 0; 447 energy += incrementalEnergy; 451 ", energy = " + energy); 463 return energy; 480 msg += ", energy = " + energy [all...] |
/external/aac/libSBRenc/src/ |
env_est.cpp | 112 \brief Calculates complete energy per band from the energy values 118 \brief Energies - energy matrix 123 \return mean tonality of the 5 bands with the highest energy 140 FIXP_DBL energyMaxMin = MAXVAL_DBL; /* min. energy in energyMax array */ 141 UCHAR posEnergyMaxMin = 0; /* min. energy in energyMax array position */ 145 INT maxNEnergyValues; /* max. number of max. energy values */ 217 \brief Calculates energy form real and imaginary part of 257 Calculate energy of each time slot pair, max energy 271 FIXP_DBL energy; local 362 FIXP_DBL energy; local [all...] |
/external/webrtc/webrtc/modules/audio_processing/ns/ |
ns_core.c | 954 float energy = 0.f; local 1048 float energy; 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...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_core.c | 294 // Measures the energy in each filter partition and returns the partition with 295 // highest energy. 569 // Do the energy calculation in the frequency domain. The FFT is performed on 570 // a segment of PART_LEN2 samples due to overlap, but we only want the energy 572 // that the energy is preserved according to 575 // = ENERGY, 577 // where N = PART_LEN2. Since we are only interested in calculating the energy 578 // for the last PART_LEN samples we approximate by calculating ENERGY and 581 // \sum_{n=N/2}^{N-1} |x(n)|^2 ~= ENERGY / 2 584 // bins [0, PART_LEN], which is what |in| consists of. To calculate ENERGY w 595 float energy = (in[0][0] * in[0][0]) \/ 2; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_firstpass.c | 600 const int energy = vp9_block_energy(cpi, x, bsize); local 601 error_weight = vp9_vaq_inv_q_ratio(energy); [all...] |
vp9_encodeframe.c | 1035 const int energy = bsize <= BLOCK_16X16 ? x->mb_energy local [all...] |
/device/google/contexthub/firmware/inc/platform/stm32f4xx/cmsis/ |
arm_math.h | 4370 float32_t energy; \/**< saves previous frame energy. *\/ member in struct:__anon2940 4424 q31_t energy; \/**< saves previous frame energy. *\/ member in struct:__anon2941 4480 q15_t energy; \/**< saves previous frame energy. *\/ member in struct:__anon2942 [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodeframe.c | 1219 const int energy = bsize <= BLOCK_16X16 ? x->mb_energy local [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |