/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
energy_inverse.h | 27 int16_t *energy, /* (i/o) Energy and inverse 28 energy (in Q29) */ 29 size_t noOfEnergies); /* (i) The length of the energy
|
cb_mem_energy.c | 24 * Function WebRtcIlbcfix_CbMemEnergy computes the energy of all 35 int16_t *energyW16, /* (o) Energy in the CB vectors */ 36 int16_t *energyShifts, /* (o) Shift value of the energy */ 37 int scale, /* (i) The scaling of all energy values */ 38 size_t base_size /* (i) Index to where energy values should be stored */ 41 int32_t energy, tmp32; local 43 /* Compute the energy and store it in a vector. Also the 44 * corresponding shift values are stored. The energy values 47 /* Calculate the energy in the first block of 'lTarget' sampels. */ 52 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale) [all...] |
cb_mem_energy_calc.c | 21 /* Compute the energy of the rest of the cb memory 25 int32_t energy, /* (i) input start energy */ 29 int16_t *energyW16, /* (o) Energy in the CB vectors */ 30 int16_t *energyShifts, /* (o) Shift value of the energy */ 31 int scale, /* (i) The scaling of all energy values */ 32 size_t base_size /* (i) Index to where energy values should be stored */ 47 /* Calculate next energy by a +/- 50 energy += tmp >> scale; 51 energy = WEBRTC_SPL_MAX(energy, 0) [all...] |
energy_inverse.c | 24 int16_t *energy, /* (i/o) Energy and inverse 25 energy (in Q29) */ 26 size_t noOfEnergies) /* (i) The length of the energy 33 /* Set the minimum energy value to 16384 to avoid overflow */ 34 energyPtr=energy; 40 /* Calculate inverse energy in Q29 */ 41 energyPtr=energy;
|
cb_mem_energy_calc.h | 23 int32_t energy, /* (i) input start energy */ 27 int16_t *energyW16, /* (o) Energy in the CB vectors */ 28 int16_t *energyShifts, /* (o) Shift value of the energy */ 29 int scale, /* (i) The scaling of all energy values */ 30 size_t base_size /* (i) Index to where energy values should be stored */
|
cb_mem_energy_augmentation.c | 25 int scale, /* (i) The scaling of all energy values */ 26 size_t base_size, /* (i) Index to where energy values should be stored */ 27 int16_t *energyW16, /* (o) Energy in the CB vectors */ 28 int16_t *energyShifts /* (o) Shift value of the energy */ 30 int32_t energy, tmp32; local 41 /* Compute the energy for the first (low-5) noninterpolated samples */ 47 /* Update the energy recursively to save complexity */ 50 energy = nrjRecursive; 53 energy += WebRtcSpl_DotProductWithScale(interpSamplesPtr, interpSamplesPtr, 4, scale); 56 /* Compute energy for the remaining samples * [all...] |
/external/libopus/silk/fixed/ |
corrMatrix_FIX.c | 87 opus_int32 energy; local 90 /* Calculate energy to find shift used to fit in 32 bits */ 91 silk_sum_sqr_shift( &energy, &rshifts_local, x, L + order - 1 ); 93 head_room_rshifts = silk_max( head_room - silk_CLZ32( energy ), 0 ); 95 energy = silk_RSHIFT32( energy, head_room_rshifts ); 98 /* Calculate energy of first column (0) of X: X[:,0]'*X[:,0] */ 101 energy -= silk_RSHIFT32( silk_SMULBB( x[ i ], x[ i ] ), rshifts_local ); 104 /* Adjust energy */ 105 energy = silk_RSHIFT32( energy, *rshifts - rshifts_local ) [all...] |
/external/libopus/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...] |
/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;
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/DeviceTree/ |
hi6220-sched-energy.dtsi | 2 * Hikey specific energy cost model data. 37 energy-costs {
|
/system/media/audio_utils/include/audio_utils/ |
power.h | 48 * \brief Compute signal energy (sum of squared amplitudes). 59 * signal energy of the samples in the buffer (sum of squares) where each sample is 86 * \brief Returns the signal power from energy. 87 * \param energy the signal energy. This should be non-negative. 91 static inline float audio_utils_power_from_energy(float energy) 93 return 10.f * log10f(energy);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
grp_data.c | 124 Word32 energy = sfbEnergy->sfbShort[wnd][sfb]; local 126 energy = L_add(energy, sfbEnergy->sfbShort[wnd+j][sfb]); 128 sfbEnergy->sfbLong[i] = energy; 139 Word32 energy = sfbEnergyMS->sfbShort[wnd][sfb]; local 141 energy = L_add(energy, sfbEnergyMS->sfbShort[wnd+j][sfb]); 143 sfbEnergyMS->sfbLong[i] = energy; 154 Word32 energy = sfbSpreadedEnergy->sfbShort[wnd][sfb]; local 156 energy = L_add(energy, sfbSpreadedEnergy->sfbShort[wnd+j][sfb]) [all...] |
/hardware/interfaces/health/1.0/ |
IHealth.hal | 49 * energy in the Battery through BatteryManager APIs. 52 * @return energy Battery remaining energy in nanowatt-hours. 55 energyCounter() generates (Result result, int64_t energy);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_variance.h | 20 unsigned int vp9_vaq_segment_id(int energy);
|
vp9_aq_variance.c | 27 #define ENERGY_IN_BOUNDS(energy) \ 28 assert((energy) >= ENERGY_MIN && (energy) <= ENERGY_MAX) 41 unsigned int vp9_vaq_segment_id(int energy) { 42 ENERGY_IN_BOUNDS(energy); 43 return SEGMENT_ID(energy); 197 double energy; local 202 energy = vp9_log_block_var(cpi, x, bs) - energy_midpoint; 203 return clamp((int)round(energy), ENERGY_MIN, ENERGY_MAX);
|
/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/webrtc/modules/audio_processing/ |
splitting_filter_unittest.cc | 65 // Energy calculation. 66 float energy[kNumBands]; local 68 energy[j] = 0.f; 70 energy[j] += bands.fbuf_const()->channels(j)[0][k] * 73 energy[j] /= kSamplesPer16kHzChannel; 75 EXPECT_GT(energy[j], kAmplitude * kAmplitude / 4); 77 EXPECT_LT(energy[j], kAmplitude * kAmplitude / 4);
|
/external/lisa/libs/utils/ |
__init__.py | 23 from energy import EnergyMeter
|
/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...] |
/hardware/interfaces/health/1.0/default/ |
Health.cpp | 70 int64_t energy = 0; local 74 int status = mGetEnergyCounter(&energy); 80 _hidl_cb(result, energy);
|
/hardware/interfaces/health/1.0/vts/functional/ |
VtsHalHealthV1_0TargetTest.cpp | 45 * Ensure EnergyCounter call returns positive energy counter or NOT_SUPPORTED 49 int64_t energy = 0; local 52 energy = energyOut; 56 ASSERT_TRUE(result != Result::SUCCESS || energy > 0);
|
/external/speex/libspeex/ |
ltp_bfin.h | 164 VARDECL(spx_word32_t *energy); 169 ALLOC(energy, end-start+2, spx_word32_t); 178 energy[0]=inner_prod(sw-start, sw-start, len); 181 /* energy update -------------------------------------*/ 202 : : "d" (energy), "d" (&sw[-start-1]), "d" (&sw[-start+len-1]), 220 normalize16(energy, ener16, 180, end-start+1); 228 " I1 = %2;\n\t" /* I1: energy */ 231 " R3 = 0;\n\t" /* R3: best energy */ 259 /* Instead of dividing the tmp by the energy, we multiply on the other side */ 295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6)) [all...] |
/external/autotest/client/site_tests/power_Draw/ |
power_Draw.py | 19 'unable to monitor energy consumption') 30 start_energy = status.battery[0].energy 40 end_energy = status.battery[0].energy
|
/external/libopus/silk/ |
sum_sqr_shift.c | 37 opus_int32 *energy, /* O Energy of x, after shifting to the right */ 38 opus_int *shift, /* O Number of bits right shift applied to energy */ 84 *energy = nrg;
|