Home
last modified time | relevance | path

Searched refs:gains (Results 1 – 25 of 105) sorted by relevance

12345

/external/libopus/silk/float/
Dresidual_energy_FLP.c95 …const silk_float gains[], /* I Quantization gains … in silk_residual_energy_FLP() argument
109 …nrgs[ 0 ] = ( silk_float )( gains[ 0 ] * gains[ 0 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, su… in silk_residual_energy_FLP()
110 …nrgs[ 1 ] = ( silk_float )( gains[ 1 ] * gains[ 1 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, su… in silk_residual_energy_FLP()
114 …nrgs[ 2 ] = ( silk_float )( gains[ 2 ] * gains[ 2 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, su… in silk_residual_energy_FLP()
115 …nrgs[ 3 ] = ( silk_float )( gains[ 3 ] * gains[ 3 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, su… in silk_residual_energy_FLP()
/external/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.cc284 int32_t gains[11]) { in WebRtcAgc_ComputeDigitalGains()
368 gains[0] = stt->gain; in WebRtcAgc_ComputeDigitalGains()
406 gains[k + 1] = stt->gainTable[zeros] + tmp32; in WebRtcAgc_ComputeDigitalGains()
438 if ((gains[k + 1] - stt->gainTable[0]) > 8388608) { in WebRtcAgc_ComputeDigitalGains()
440 tmp32 = (gains[k + 1] - stt->gainTable[0]) >> 8; in WebRtcAgc_ComputeDigitalGains()
443 tmp32 = (gains[k + 1] - stt->gainTable[0]) * (178 + gain_adj); in WebRtcAgc_ComputeDigitalGains()
446 gains[k + 1] = stt->gainTable[0] + tmp32; in WebRtcAgc_ComputeDigitalGains()
455 if (gains[k + 1] > 47452159) { in WebRtcAgc_ComputeDigitalGains()
456 zeros = 16 - WebRtcSpl_NormW32(gains[k + 1]); in WebRtcAgc_ComputeDigitalGains()
458 gain32 = (gains[k + 1] >> zeros) + 1; in WebRtcAgc_ComputeDigitalGains()
[all …]
Dgain_control.h158 int32_t gains[11]);
178 const int32_t gains[11],
Ddigital_agc.h49 int32_t gains[11]);
51 int32_t WebRtcAgc_ApplyDigitalGains(const int32_t gains[11],
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c261 double* lags, double* gains, PitchFilterOperation mode, in FilterFrame() argument
299 gains[n] *= -kEnhancer; in FilterFrame()
310 old_gain = gains[0]; in FilterFrame()
324 gain_delta = (gains[m] - old_gain) / PITCH_GRAN_PER_SUBFRAME; in FilterFrame()
328 old_gain = gains[m]; in FilterFrame()
365 double* gains) { in WebRtcIsac_PitchfilterPre() argument
366 FilterFrame(in_data, pf_state, lags, gains, kPitchFilterPre, out_data, NULL); in WebRtcIsac_PitchfilterPre()
371 double* gains) { in WebRtcIsac_PitchfilterPre_la() argument
372 FilterFrame(in_data, pf_state, lags, gains, kPitchFilterPreLa, out_data, in WebRtcIsac_PitchfilterPre_la()
379 double* lags, double* gains) { in WebRtcIsac_PitchfilterPre_gains() argument
[all …]
Dpitch_filter.h20 double* gains);
26 double* gains);
32 double* gains);
40 double* gains);
Dpitch_estimator.c542 double *gains) in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
594 gains[k] = PITCH_MAX_GAIN_06; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
599 WebRtcIsac_PitchfilterPre_gains(Whitened, out_G, out_dG, &(State->PFstr_wght), lags, gains); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
621 tmp += kWeight[k+1][m+1] * gains[m]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
632 tmp = 1.0 / (1 - gains[k]); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
636 tmp = 1.0 / (1 - gains[3]); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
672 gains[k] += dG[k]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
673 if (gains[k] > PITCH_MAX_GAIN) in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
674 gains[k] = PITCH_MAX_GAIN; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
675 else if (gains[k] < 0.0) in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
[all …]
Dpitch_estimator.h30 double* gains);
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dstats_ops_test.py136 (node_ids, gains, _, _, left_node_contribs, right_node_contribs,
150 self.assertAllClose([0.02823, 0.41184], gains)
159 (node_ids, gains, feature_dimensions, thresholds, left_node_contribs,
172 self.assertAllClose([0.116495, 0.60429], gains)
237 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
253 self.assertAllClose([0.02823, 0.41184], gains)
274 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
289 self.assertAllClose([0.02823, 0.41184], gains)
309 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
324 self.assertAllClose([0.116495, 0.60429], gains)
[all …]
Dtraining_ops_test.py78 gains=[feature1_gains, feature2_gains, feature3_gains],
186 gains=[group1_gains, group2_gains],
295 gains=[group1_gains, group2_gains],
408 gains=[group1_gains, group2_gains],
621 gains=[feature1_gains, feature2_gains, feature3_gains],
824 gains=[group1_gains, group2_gains, group3_gains],
1027 gains=[group1_gains, group2_gains, group3_gains],
1242 gains=[group1_gains, group2_gains, group3_gains],
1463 gains=[feature1_gains],
1616 gains=[group1_gains],
[all …]
/external/webrtc/modules/audio_processing/vad/
Dpitch_internal.cc31 double* gains, in GetSubframesPitchParameters() argument
41 gains[n] = log(gains[n] + 1e-12); in GetSubframesPitchParameters()
44 PitchInterpolation(*log_old_gain, gains, log_pitch_gain); in GetSubframesPitchParameters()
45 *log_old_gain = gains[num_in_frames - 1]; in GetSubframesPitchParameters()
Dpitch_internal_unittest.cc25 double gains[] = {0.6, 0.2, 0.5, 0.4}; in TEST() local
33 double expected_log_old_gain = log(gains[kNumInputParameters - 1]); in TEST()
42 GetSubframesPitchParameters(kSamplingRateHz, gains, lags, kNumInputParameters, in TEST()
Dvad_audio_proc.cc237 double gains[kNumPitchSubframes]; in PitchAnalysis() local
255 pitch_analysis_handle_.get(), lags, gains); in PitchAnalysis()
260 kSampleRateHz / 2, gains, lags, kNumPitchSubframes, kNum10msSubframes, in PitchAnalysis()
Dpitch_internal.h19 double* gains,
/external/libopus/celt/mips/
Dcelt_mipsr1.h69 static const opus_val16 gains[3][3] = { in comb_filter() local
82 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
83 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
84 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
85 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
86 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
87 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
/external/webrtc/modules/audio_processing/
Dgain_control_impl.cc48 void ApplyDigitalGain(const int32_t gains[11], in ApplyDigitalGain()
57 gains_scaled[k] = gains[k] * kScaling; in ApplyDigitalGain()
92 int32_t gains[11]; member
223 stream_has_echo, &saturation_warning, mono_agcs_[ch]->gains); in ProcessCaptureAudio()
234 if (mono_agcs_[index_to_apply]->gains[10] < mono_agcs_[ch]->gains[10]) { in ProcessCaptureAudio()
248 mono_agcs_[ch]->state, mono_agcs_[index_to_apply]->gains, split_bands, in ProcessCaptureAudio()
256 ApplyDigitalGain(mono_agcs_[index_to_apply]->gains, audio->num_bands(), in ProcessCaptureAudio()
/external/libopus/silk/fixed/
Dresidual_energy_FIX.c42 …const opus_int32 gains[ MAX_NB_SUBFR ], /* I Quantization gains… in silk_residual_energy_FIX()
86 lz2 = silk_CLZ32( gains[ i ] ) - 1; in silk_residual_energy_FIX()
88 tmp32 = silk_LSHIFT32( gains[ i ], lz2 ); in silk_residual_energy_FIX()
/external/libopus/celt/
Dcelt.c198 static const opus_val16 gains[3][3] = { in comb_filter() local
214 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
215 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
216 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
217 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
218 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
219 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
/external/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_search.c56 int16_t gains[CB_NSTAGES+1]; in WebRtcIlbcfix_CbSearch() local
184 gains[0] = 16384; in WebRtcIlbcfix_CbSearch()
290 … (int16_t)WEBRTC_SPL_ABS_W16(gains[stage]), stage, &gain_index[stage]); in WebRtcIlbcfix_CbSearch()
346 gains[stage+1] = bestGain; in WebRtcIlbcfix_CbSearch()
369 tmp = (int16_t)((gains[1] * gains[1]) >> 14); in WebRtcIlbcfix_CbSearch()
373 tmpW32 = ((int32_t)(gains[1]-1))<<1; in WebRtcIlbcfix_CbSearch()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DBoostedTreesUpdateEnsembleV2.pbtxt22 name: "gains"
86 name: "gains"
158 name: "gains"
DBoostedTreesCalculateBestFeatureSplit.pbtxt32 name: "gains"
105 name: "gains"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BoostedTreesCalculateBestFeatureSplit.pbtxt48 name: "gains"
50 A Rank 1 tensors indicating the best gains for each feature to split for certain nodes. See above f…
96 …summary: "Calculates gains for each feature and returns the best possible split information for th…
98 The split information is the best threshold (bucket id), gains and left/right node contributions pe…
Dapi_def_BoostedTreesSparseCalculateBestFeatureSplit.pbtxt60 name: "gains"
62 A Rank 1 tensor indicating the best gains to split each node.
109 …summary: "Calculates gains for each feature and returns the best possible split information for th…
111 The split information is the best threshold (bucket id), gains and left/right node contributions pe…
Dapi_def_BoostedTreesUpdateEnsemble.pbtxt25 name: "gains"
27 List of rank 1 tensors representing the gains for each of the feature's
Dapi_def_BoostedTreesCalculateBestFeatureSplitV2.pbtxt60 name: "gains"
62 A Rank 1 tensor indicating the best gains for each feature to split for certain nodes. See above fo…
114 …summary: "Calculates gains for each feature and returns the best possible split information for ea…
116 The split information is the best threshold (bucket id), gains and left/right node contributions pe…

12345