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

1 2 3

  /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 81 opus_int32 *nrg, /* O Energy of x vector */
82 opus_int *rshifts, /* O Right shifts of correlations and energy */
87 opus_int32 energy; local
90 /* Calculate energy to find shift used to fit in 32 bits */
92 energy = *nrg;
94 /* Calculate energy of first column (0) of X: X[:,0]'*X[:,0] */
97 energy -= silk_RSHIFT32( silk_SMULBB( x[ i ], x[ i ] ), *rshifts );
100 /* Calculate energy of remaining columns of X: X[:,j]'*X[:,j] */
102 matrix_ptr( XX, 0, 0, order ) = energy;
103 silk_assert( energy >= 0 )
    [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;
  /external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
filterbank.h 38 // Converts the relevant complex values of an FFT output into energy (the
42 int32_t* energy);
44 // Computes the mel-scale filterbank on the given energy array. Output is cached
47 const int32_t* energy);
frontend.cc 39 // We can re-ruse the fft's output buffer to hold the energy.
40 int32_t* energy = reinterpret_cast<int32_t*>(state->fft.output); local
42 energy);
43 FilterbankAccumulateChannels(&state->filterbank, energy);
filterbank.cc 23 int32_t* energy) {
26 energy += state->start_index;
33 *energy++ = mag_squared;
38 const int32_t* energy) {
50 const int32_t* magnitudes = energy + *channel_frequency_starts++;
  /external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
filterbank.h 41 // Converts the relevant complex values of an FFT output into energy (the
45 int32_t* energy);
47 // Computes the mel-scale filterbank on the given energy array. Output is cached
50 const int32_t* energy);
frontend.c 39 // We can re-ruse the fft's output buffer to hold the energy.
40 int32_t* energy = (int32_t*) state->fft.output; local
43 energy);
45 FilterbankAccumulateChannels(&state->filterbank, energy);
  /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/libvpx/libvpx/vp9/encoder/
vp9_aq_variance.c 28 #define ENERGY_IN_BOUNDS(energy) \
29 assert((energy) >= ENERGY_MIN && (energy) <= ENERGY_MAX)
42 unsigned int vp9_vaq_segment_id(int energy) {
43 ENERGY_IN_BOUNDS(energy);
44 return SEGMENT_ID(energy);
196 // Get the range of sub block energy values;
212 int energy; local
219 energy = vp9_block_energy(cpi, mb, BLOCK_8X8);
220 *min_e = VPXMIN(*min_e, energy);
232 double energy; local
    [all...]
vp9_aq_variance.h 20 unsigned int vp9_vaq_segment_id(int energy);
  /external/perfetto/protos/perfetto/trace/power/
power_rails.proto 42 // Accumulated energy since device boot in microwatt-seconds (uWs)
43 optional uint64 energy = 3;
  /external/perfetto/src/android_internal/
power_stats_hal.h 48 // Accumulated energy since device boot in microwatt-seconds (uWs)
49 uint64_t energy; member in struct:perfetto::android_internal::RailEnergyData
  /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 201 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; local
203 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd + j][sfb]);
205 sfbEnergy->Long[i++] = energy;
216 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; local
218 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd + j][sfb]);
220 sfbEnergyMS->Long[i++] = energy;
231 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; local
233 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd + j][sfb])
    [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 */
81 *energy = nrg;
  /external/webrtc/webrtc/common_audio/vad/
vad_filterbank.c 143 // Calculates the energy of |data_in| in dB, and also updates an overall
146 // - data_in [i] : Input audio data for energy calculation.
149 // - total_energy [i/o] : An external energy updated with the energy of
153 // - log_energy [o] : 10 * log10("energy of |data_in|") given in Q4.
157 // |tot_rshifts| accumulates the number of right shifts performed on |energy|.
159 // The |energy| will be normalized to 15 bits. We use unsigned integer because
161 uint32_t energy = 0; local
166 energy = (uint32_t) WebRtcSpl_Energy((int16_t*) data_in, data_length,
169 if (energy != 0)
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/
normal.cc 84 int32_t energy = WebRtcSpl_DotProductWithScale(signal, signal, local
89 energy = energy / scaled_energy_length;
91 energy = 0;
95 if ((energy != 0) &&
96 (energy > background_noise_.Energy(channel_ix))) {
97 // Normalize new frame energy to 15 bits.
98 scaling = WebRtcSpl_NormW32(energy) - 16;
99 // We want background_noise_.energy() / energy in Q14
    [all...]

Completed in 696 milliseconds

1 2 3