/external/libopus/silk/fixed/ |
D | corrMatrix_FIX.c | 85 opus_int32 energy; in silk_corrMatrix_FIX() local 89 silk_sum_sqr_shift( &energy, &rshifts_local, x, L + order - 1 ); in silk_corrMatrix_FIX() 91 head_room_rshifts = silk_max( head_room - silk_CLZ32( energy ), 0 ); in silk_corrMatrix_FIX() 93 energy = silk_RSHIFT32( energy, head_room_rshifts ); in silk_corrMatrix_FIX() 99 energy -= silk_RSHIFT32( silk_SMULBB( x[ i ], x[ i ] ), rshifts_local ); in silk_corrMatrix_FIX() 103 energy = silk_RSHIFT32( energy, *rshifts - rshifts_local ); in silk_corrMatrix_FIX() 109 matrix_ptr( XX, 0, 0, order ) = energy; in silk_corrMatrix_FIX() 112 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX() 113 …energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr1[ -j ] ), rshifts_local )… in silk_corrMatrix_FIX() 114 matrix_ptr( XX, j, j, order ) = energy; in silk_corrMatrix_FIX() [all …]
|
D | pitch_analysis_core_FIX.c | 104 opus_int32 cross_corr, normalizer, energy, shift, energy_basis, energy_target; in silk_pitch_analysis_core() local 168 silk_sum_sqr_shift( &energy, &shift, frame_4kHz, frame_length_4kHz ); in silk_pitch_analysis_core() 317 silk_sum_sqr_shift( &energy, &shift, frame_8kHz, frame_length_8kHz ); in silk_pitch_analysis_core() 469 silk_sum_sqr_shift( &energy, &shift, frame, frame_length ); in silk_pitch_analysis_core() 533 energy = energy_target; in silk_pitch_analysis_core() 538 energy = silk_ADD32( energy, in silk_pitch_analysis_core() 541 silk_assert( energy >= 0 ); in silk_pitch_analysis_core() 544 CCmax_new = silk_DIV32_varQ( cross_corr, energy, 13 + 1 ); /* Q13 */ in silk_pitch_analysis_core() 678 opus_int32 energy; in silk_P_Ana_calc_energy_st3() local 708 energy = silk_inner_prod_aligned( basis_ptr, basis_ptr, sf_length ); in silk_P_Ana_calc_energy_st3() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | cb_mem_energy.c | 41 int32_t energy, tmp32; in WebRtcIlbcfix_CbMemEnergy() local 52 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale); in WebRtcIlbcfix_CbMemEnergy() 55 energyShifts[0] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy() 56 tmp32 = energy << energyShifts[0]; in WebRtcIlbcfix_CbMemEnergy() 62 WebRtcIlbcfix_CbMemEnergyCalc(energy, range, ppi, ppo, energyW16, energyShifts, scale, 0); in WebRtcIlbcfix_CbMemEnergy() 65 energy=0; in WebRtcIlbcfix_CbMemEnergy() 68 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale); in WebRtcIlbcfix_CbMemEnergy() 71 energyShifts[base_size] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy() 72 tmp32 = energy << energyShifts[base_size]; in WebRtcIlbcfix_CbMemEnergy() 78 WebRtcIlbcfix_CbMemEnergyCalc(energy, range, ppi, ppo, energyW16, energyShifts, scale, base_size); in WebRtcIlbcfix_CbMemEnergy()
|
D | cb_mem_energy_calc.c | 25 int32_t energy, /* (i) input start energy */ in WebRtcIlbcfix_CbMemEnergyCalc() argument 50 energy += tmp >> scale; in WebRtcIlbcfix_CbMemEnergyCalc() 51 energy = WEBRTC_SPL_MAX(energy, 0); in WebRtcIlbcfix_CbMemEnergyCalc() 59 shft = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyCalc() 62 tmp = energy << shft; in WebRtcIlbcfix_CbMemEnergyCalc()
|
D | cb_mem_energy_augmentation.c | 30 int32_t energy, tmp32; in WebRtcIlbcfix_CbMemEnergyAugmentation() local 50 energy = nrjRecursive; in WebRtcIlbcfix_CbMemEnergyAugmentation() 53 energy += WebRtcSpl_DotProductWithScale(interpSamplesPtr, interpSamplesPtr, 4, scale); in WebRtcIlbcfix_CbMemEnergyAugmentation() 58 energy += WebRtcSpl_DotProductWithScale(pp, pp, SUBL-lagcount, scale); in WebRtcIlbcfix_CbMemEnergyAugmentation() 61 (*enShPtr) = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyAugmentation() 62 tmp32 = energy << *enShPtr; in WebRtcIlbcfix_CbMemEnergyAugmentation()
|
D | energy_inverse.c | 24 int16_t *energy, /* (i/o) Energy and inverse in WebRtcIlbcfix_EnergyInverse() argument 34 energyPtr=energy; in WebRtcIlbcfix_EnergyInverse() 41 energyPtr=energy; in WebRtcIlbcfix_EnergyInverse()
|
D | do_plc.c | 42 int32_t measure, maxMeasure, energy; in WebRtcIlbcfix_DoThePlc() local 232 energy = 0; in WebRtcIlbcfix_DoThePlc() 271 energy += (PLCresidual[i] * PLCresidual[i]) >> in WebRtcIlbcfix_DoThePlc() 276 …if (energy < (WEBRTC_SPL_SHIFT_W32(((int32_t)iLBCdec_inst->blockl*900),-(iLBCdec_inst->prevScale+1… in WebRtcIlbcfix_DoThePlc() 277 energy = 0; in WebRtcIlbcfix_DoThePlc()
|
/external/libopus/silk/float/ |
D | corrMatrix_FLP.c | 67 double energy; in silk_corrMatrix_FLP() local 71 energy = silk_energy_FLP( ptr1, L ); /* X[:,0]'*X[:,0] */ in silk_corrMatrix_FLP() 72 matrix_ptr( XX, 0, 0, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() 75 energy += ptr1[ -j ] * ptr1[ -j ] - ptr1[ L - j ] * ptr1[ L - j ]; in silk_corrMatrix_FLP() 76 matrix_ptr( XX, j, j, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() 82 energy = silk_inner_product_FLP( ptr1, ptr2, L ); in silk_corrMatrix_FLP() 83 matrix_ptr( XX, lag, 0, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() 84 matrix_ptr( XX, 0, lag, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() 87 energy += ptr1[ -j ] * ptr2[ -j ] - ptr1[ L - j ] * ptr2[ L - j ]; in silk_corrMatrix_FLP() 88 matrix_ptr( XX, lag + j, j, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() [all …]
|
D | pitch_analysis_core_FLP.c | 93 double cross_corr, normalizer, energy, energy_tmp; in silk_pitch_analysis_core_FLP() local 296 energy = silk_energy_FLP( basis_ptr, sf_length_8kHz ); in silk_pitch_analysis_core_FLP() 297 C[ k ][ d ] = (silk_float)( 2 * cross_corr / ( energy + energy_tmp ) ); in silk_pitch_analysis_core_FLP() 437 energy = energy_tmp; in silk_pitch_analysis_core_FLP() 440 energy += energies_st3[ k ][ j ][ lag_counter ]; in silk_pitch_analysis_core_FLP() 443 CCmax_new = (silk_float)( 2 * cross_corr / energy ); in silk_pitch_analysis_core_FLP() 569 double energy; in silk_P_Ana_calc_energy_st3() local 597 energy = silk_energy_FLP( basis_ptr, sf_length ) + 1e-3; in silk_P_Ana_calc_energy_st3() 598 silk_assert( energy >= 0.0 ); in silk_P_Ana_calc_energy_st3() 599 scratch_mem[lag_counter] = (silk_float)energy; in silk_P_Ana_calc_energy_st3() [all …]
|
/external/aac/libAACenc/src/ |
D | grp_data.cpp | 199 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData() local 202 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData() 204 sfbEnergy->Long[i++] = energy; in FDKaacEnc_groupShortData() 217 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; in FDKaacEnc_groupShortData() local 220 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData() 222 sfbEnergyMS->Long[i++] = energy; in FDKaacEnc_groupShortData() 235 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; in FDKaacEnc_groupShortData() local 238 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd+j][sfb]); in FDKaacEnc_groupShortData() 240 sfbSpreadEnergy->Long[i++] = energy; in FDKaacEnc_groupShortData()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | splitting_filter_unittest.cc | 66 float energy[kNumBands]; in TEST() local 68 energy[j] = 0.f; in TEST() 70 energy[j] += bands.fbuf_const()->channels(j)[0][k] * in TEST() 73 energy[j] /= kSamplesPer16kHzChannel; in TEST() 75 EXPECT_GT(energy[j], kAmplitude * kAmplitude / 4); in TEST() 77 EXPECT_LT(energy[j], kAmplitude * kAmplitude / 4); in TEST()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | normal.cc | 84 int32_t energy = WebRtcSpl_DotProductWithScale(signal, signal, in Process() local 89 energy = energy / scaled_energy_length; in Process() 91 energy = 0; in Process() 95 if ((energy != 0) && in Process() 96 (energy > background_noise_.Energy(channel_ix))) { in Process() 98 scaling = WebRtcSpl_NormW32(energy) - 16; in Process() 102 int16_t energy_scaled = static_cast<int16_t>(energy << scaling); in Process()
|
D | background_noise.h | 91 energy = 2500; in Reset() 103 int32_t energy; member
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_aq_variance.c | 27 #define ENERGY_IN_BOUNDS(energy)\ argument 28 assert((energy) >= ENERGY_MIN && (energy) <= ENERGY_MAX) 41 unsigned int vp9_vaq_segment_id(int energy) { in vp9_vaq_segment_id() argument 42 ENERGY_IN_BOUNDS(energy); in vp9_vaq_segment_id() 43 return SEGMENT_ID(energy); in vp9_vaq_segment_id() 200 double energy; in vp9_block_energy() local 205 energy = vp9_log_block_var(cpi, x, bs) - energy_midpoint; in vp9_block_energy() 206 return clamp((int)round(energy), ENERGY_MIN, ENERGY_MAX); in vp9_block_energy()
|
/external/eigen/bench/ |
D | vdw_new.cpp | 50 SCALAR energy = 0.0; in main() local 52 energy += E_VDW(interactions1, interactions2); in main() 53 energy *= 1 + 1e-20 * i; // prevent compiler from optimizing the loop in main() 55 cout << "energy = " << energy << endl; in main()
|
/external/webrtc/webrtc/common_audio/vad/ |
D | vad_filterbank.c | 161 uint32_t energy = 0; in LogOfEnergy() local 166 energy = (uint32_t) WebRtcSpl_Energy((int16_t*) data_in, data_length, in LogOfEnergy() 169 if (energy != 0) { in LogOfEnergy() 172 int normalizing_rshifts = 17 - WebRtcSpl_NormU32(energy); in LogOfEnergy() 184 energy <<= -normalizing_rshifts; in LogOfEnergy() 186 energy >>= normalizing_rshifts; in LogOfEnergy() 210 log2_energy += (int16_t) ((energy & 0x00003FFF) >> 4); in LogOfEnergy() 240 *total_energy += (int16_t) (energy >> -tot_rshifts); // Q0. in LogOfEnergy()
|
/external/opencv/cv/src/ |
D | cvsnakes.cpp | 216 float energy; in icvSnake8uC1R() local 228 Econt[(j + centery) * win.width + k + centerx] = energy = in icvSnake8uC1R() 232 maxEcont = MAX( maxEcont, energy ); in icvSnake8uC1R() 233 minEcont = MIN( minEcont, energy ); in icvSnake8uC1R() 251 float energy; in icvSnake8uC1R() local 268 Ecurv[(j + centery) * win.width + k + centerx] = energy = in icvSnake8uC1R() 270 maxEcurv = MAX( maxEcurv, energy ); in icvSnake8uC1R() 271 minEcurv = MIN( minEcurv, energy ); in icvSnake8uC1R() 286 float energy; in icvSnake8uC1R() local 324 Eimg[(j + centery) * win.width + k + centerx] = energy = in icvSnake8uC1R() [all …]
|
/external/speex/libspeex/ |
D | ltp_bfin.h | 164 VARDECL(spx_word32_t *energy); in open_loop_nbest_pitch() 169 ALLOC(energy, end-start+2, spx_word32_t); in open_loop_nbest_pitch() 178 energy[0]=inner_prod(sw-start, sw-start, len); in open_loop_nbest_pitch() 202 : : "d" (energy), "d" (&sw[-start-1]), "d" (&sw[-start+len-1]), in open_loop_nbest_pitch() 220 normalize16(energy, ener16, 180, end-start+1); in open_loop_nbest_pitch() 295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6)); in open_loop_nbest_pitch()
|
D | ltp.c | 185 spx_word32_t *energy; in open_loop_nbest_pitch() local 191 energy = corr; in open_loop_nbest_pitch() 194 VARDECL(spx_word32_t *energy); in open_loop_nbest_pitch() 197 ALLOC(energy, end-start+2, spx_word32_t); in open_loop_nbest_pitch() 200 ener16 = energy; in open_loop_nbest_pitch() 230 energy[0]=inner_prod(sw-start, sw-start, len); in open_loop_nbest_pitch() 235 …energy[i-start+1] = SUB32(ADD32(energy[i-start],SHR32(MULT16_16(sw[-i-1],sw[-i-1]),6)), SHR32(MULT… in open_loop_nbest_pitch() 236 if (energy[i-start+1] < 0) in open_loop_nbest_pitch() 237 energy[i-start+1] = 0; in open_loop_nbest_pitch() 241 eshift = normalize16(energy, ener16, 32766, end-start+1); in open_loop_nbest_pitch()
|
/external/libopus/silk/ |
D | PLC.c | 374 opus_int32 energy; in silk_PLC_glue_frames() local 386 silk_sum_sqr_shift( &energy, &energy_shift, frame, length ); in silk_PLC_glue_frames() 392 energy = silk_RSHIFT( energy, psPLC->conc_energy_shift - energy_shift ); in silk_PLC_glue_frames() 396 if( energy > psPLC->conc_energy ) { in silk_PLC_glue_frames() 403 energy = silk_RSHIFT( energy, silk_max_32( 24 - LZ, 0 ) ); in silk_PLC_glue_frames() 405 frac_Q24 = silk_DIV32( psPLC->conc_energy, silk_max( energy, 1 ) ); in silk_PLC_glue_frames()
|
D | sum_sqr_shift.c | 37 …opus_int32 *energy, /* O Energy of x, after shifting to the right … in silk_sum_sqr_shift() argument 83 *energy = nrg; in silk_sum_sqr_shift()
|
/external/autotest/client/site_tests/power_Draw/ |
D | power_Draw.py | 30 start_energy = status.battery[0].energy 40 end_energy = status.battery[0].energy
|
/external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/ |
D | control | 34 @param drain_limit: maximum ratio between the card reader energy consumption 35 and each of the two ramdisk read/write test energy consumption values. 36 1.00 means the card reader test may not consume more energy than either
|
/external/autotest/client/site_tests/power_Backlight/ |
D | control | 12 - turning down the backlight does not use less energy 25 each successive bump uses more energy than the previous level.
|
/external/ceres-solver/data/nist/ |
D | Roszman1.dat | 14 predictor variable is the excited energy state. 26 1 Predictor (x = excited state energy)
|