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

1 2

  /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 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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
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 int16_t scale, /* (i) The scaling of all energy values */
38 int16_t base_size /* (i) Index to where the 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_augmentation.c 25 int16_t scale, /* (i) The scaling of all energy values */
26 int16_t base_size, /* (i) Index to where the 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
40 /* Compute the energy for the first (low-5) noninterpolated samples */
46 /* 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...]
do_plc.c 42 int32_t measure, maxMeasure, energy; local
102 /* Use the criteria (corr*corr)/energy to compare if
140 abs(corr(vec1, vec2))/(sqrt(energy(vec1))*sqrt(energy(vec2)))
228 energy = 0;
273 energy += WEBRTC_SPL_MUL_16_16_RSFT(PLCresidual[i],
279 if (energy < (WEBRTC_SPL_SHIFT_W32(((int32_t)iLBCdec_inst->blockl*900),-(iLBCdec_inst->prevScale+1)))) {
280 energy = 0;
  /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;
  /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 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/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
normal.cc 84 int32_t energy = WebRtcSpl_DotProductWithScale(signal, signal, local
87 energy = energy / (energy_length >> scaling);
89 energy = 0;
93 if ((energy != 0) &&
94 (energy > background_noise_.Energy(channel_ix))) {
95 // Normalize new frame energy to 15 bits.
96 scaling = WebRtcSpl_NormW32(energy) - 16;
97 // We want background_noise_.energy() / energy in Q14
    [all...]
background_noise.h 45 int32_t Energy(size_t channel) const;
91 energy = 2500;
103 int32_t energy; member in struct:webrtc::BackgroundNoise::ChannelParameters
118 // Increments the energy threshold by a factor 1 + |kThresholdIncrement|.
  /external/libopus/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...]
  /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();
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
vp9_aq_variance.c 25 #define ENERGY_IN_BOUNDS(energy)\
26 assert((energy) >= ENERGY_MIN && (energy) <= ENERGY_MAX)
38 unsigned int vp9_vaq_segment_id(int energy) {
39 ENERGY_IN_BOUNDS(energy);
41 return SEGMENT_ID(energy);
44 double vp9_vaq_rdmult_ratio(int energy) {
45 ENERGY_IN_BOUNDS(energy);
49 return RDMULT_RATIO(energy);
52 double vp9_vaq_inv_q_ratio(int energy) {
142 double energy; local
    [all...]
  /external/chromium_org/third_party/webrtc/common_audio/vad/
vad_filterbank.c 144 // Calculates the energy of |data_in| in dB, and also updates an overall
147 // - data_in [i] : Input audio data for energy calculation.
150 // - total_energy [i/o] : An external energy updated with the energy of
154 // - log_energy [o] : 10 * log10("energy of |data_in|") given in Q4.
158 // |tot_rshifts| accumulates the number of right shifts performed on |energy|.
160 // The |energy| will be normalized to 15 bits. We use unsigned integer because
162 uint32_t energy = 0; local
167 energy = (uint32_t) WebRtcSpl_Energy((int16_t*) data_in, data_length,
170 if (energy != 0)
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_aq_variance.c 25 #define ENERGY_IN_BOUNDS(energy)\
26 assert((energy) >= ENERGY_MIN && (energy) <= ENERGY_MAX)
38 unsigned int vp9_vaq_segment_id(int energy) {
39 ENERGY_IN_BOUNDS(energy);
41 return SEGMENT_ID(energy);
44 double vp9_vaq_rdmult_ratio(int energy) {
45 ENERGY_IN_BOUNDS(energy);
49 return RDMULT_RATIO(energy);
52 double vp9_vaq_inv_q_ratio(int energy) {
141 double energy; 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/chromium_org/third_party/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...]
  /external/libopus/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...]
  /cts/tests/tests/media/src/android/media/cts/
VisualizerTest.java 148 int energy = computeEnergy(data, true); local
149 assertEquals("getWaveForm reports energy for silence",
150 0, energy);
152 energy = computeEnergy(data, false);
153 assertEquals("getFft reports energy for silence",
154 0, energy);
195 int energy = computeEnergy(mWaveform, true); local
196 assertEquals("getWaveForm reports energy for silence",
197 0, energy);
211 energy = computeEnergy(mFft, false)
427 int energy = 0; local
    [all...]

Completed in 299 milliseconds

1 2