/frameworks/base/media/libeffects/testlibs/ |
AudioEqualizer.cpp | 105 void AudioEqualizer::setGain(int band, int32_t millibel) { 106 LOGV("AudioEqualizer::setGain(band=%d, millibel=%d)", band, millibel); 107 assert(band >= 0 && band < mNumPeaking + 2); 108 if (band == 0) { 110 } else if (band == mNumPeaking + 1) { 113 mpPeakingFilters[band - 1].setGain(millibel); 118 void AudioEqualizer::setFrequency(int band, uint32_t millihertz) { 119 LOGV("AudioEqualizer::setFrequency(band=%d, millihertz=%d)", band 264 int band = mNumPeaking; local [all...] |
AudioEqualizer.h | 30 // shelf, where each band has frequency and gain controls, and the peaking 34 // Configuration of a single band. 49 // corresponding band. 107 // band The band to set the gain for. 109 void setGain(int band, int32_t millibel); 111 // Gets gain of a certain band. This is always the last value set (or 113 // band The band to get the gain for. 115 int32_t getGain(int band) const [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
ps_hybrid_synthesis.cpp | 156 Int32 band; local 166 for (band = 0; band < hHybrid->nQmfBands; band++) 168 hybridRes = (HYBRID_RES)(min(hHybrid->pResolution[band], 6) - 2);
|
ps_hybrid_analysis.cpp | 197 Int32 band; local 209 for (band = 0; band < pHybrid->nQmfBands; band++) 214 pt_mQmfBufferReal[HYBRID_FILTER_LENGTH_m_1] = mQmfReal[HYBRID_FILTER_DELAY][band]; 215 pt_mQmfBufferImag[HYBRID_FILTER_LENGTH_m_1] = mQmfImag[HYBRID_FILTER_DELAY][band]; 221 hybridRes = (HYBRID_RES)pHybrid->pResolution[band]; 225 * For QMF band = 1 and 2 239 * For QMF band = 0
|
ps_applied.h | 92 Int32 band);
|
ps_hybrid_analysis.h | 90 Int32 band);
|
sbr_decode_envelope.cpp | 143 Int32 band; local 169 for (band = 1; band < no_of_bands; band++) 176 band, 183 for (band = 0; band < no_of_bands; band++) 185 *iEnvelope += sfb_nrg_prev[ indexLow2High(offset, band, freqRes)]; 190 band, [all...] |
ps_applied.cpp | 156 Int32 band) 170 band);
|
/system/media/wilhelm/src/itf/ |
IEqualizer.c | 145 static SLresult IEqualizer_SetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel level) 151 (band >= thiz->mNumBands)) { 156 thiz->mLevels[band] = level; 164 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level); 175 static SLresult IEqualizer_GetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel *pLevel) 184 if (band >= thiz->mNumBands) { 190 level = thiz->mLevels[band]; 197 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level); 210 static SLresult IEqualizer_GetCenterFreq(SLEqualizerItf self, SLuint16 band, SLmilliHertz *pCenter) 218 if (band >= thiz->mNumBands) 302 const struct EqualizerBand *band; local 321 uint16_t band = 0; local 388 SLuint16 band; local [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_poly_phase_synthesis.cpp | 138 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2) 140 int32 *inData = &pChVars->circ_buffer[544 - (band<<5)]; 178 }/* end band loop */
|
pvmp3_imdct_synth.cpp | 224 int32 band; local 239 for (band = 0; band < bands2process; band++) 241 uint32 current_blk_type = (band < mx_band) ? LONG : blk_type; 243 int32 * out = in + (band * FILTERBANK_BANDS); 244 int32 * history = overlap + (band * FILTERBANK_BANDS); 317 if (band & 1) 332 for (band = bands2process; band < SUBBANDS_NUMBER; band++ [all...] |
pvmp3_equalizer.cpp | 332 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2) 335 int32 *pt_work_buff = &work_buff[band]; 336 int32 *inData = &circ_buffer[544 - (band<<5)]; 372 for (int32 band = 0; band < FILTERBANK_BANDS; band += 3) 374 int32 *inData = &circ_buffer[544 - (band<<5)]; 376 int32 *pt_work_buff = &work_buff[band]; [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelEffect.java | 198 for (short band = 0; band < mEQNumBands; band++) { 199 mEQCenterFreq[band] = equalizerEffect.getCenterFreq(band); 207 for (short band = 0; band < mEQNumBands; band++) { 208 mEQPresetOpenSLESBandLevel[preset][band] = equalizerEffect 209 .getBandLevel(band); 570 final short band = (short) arg1; local 633 final short band = (short) arg1; local 670 final short band = (short) arg1; local 719 final short band = (short) arg1; local [all...] |
ActivityMusic.java | 111 * Mapping for the EQ widget ids per band 597 // Initialize the N-Band Equalizer elements. 610 for (int band = 0; band < mNumberEqualizerBands; band++) { 612 final int centerFreq = centerFreqs[band] / 1000; 619 ((TextView) eqcontainer.findViewById(EQViewElementIds[band][0])).setText( 621 mEqualizerSeekBar[band] = (SeekBar) eqcontainer 622 .findViewById(EQViewElementIds[band][1]); 623 mEqualizerSeekBar[band].setMax(mEqualizerMaxBandLevel - mEqualizerMinBandLevel) [all...] |
/external/iproute2/tc/ |
q_prio.c | 60 unsigned band; local 66 if (get_unsigned(&band, *argv, 10)) { 70 if (band > opt.bands) { 78 opt.priomap[idx++] = band;
|
q_rr.c | 61 unsigned band; local 67 if (get_unsigned(&band, *argv, 10)) { 71 if (band > opt.bands) { 79 opt.priomap[idx++] = band;
|
/external/webrtc/src/modules/audio_processing/aecm/main/matlab/ |
getBspectrum.m | 7 % bandfirst = first band considered 8 % bandlast = last band considered
|
hisser2.m | 8 % bandfirst = first band considered 9 % bandlast = last band considered
|
/external/webrtc/src/modules/audio_processing/aecm/main/matlab/matlab/ |
getBspectrum.m | 7 % bandfirst = first band considered 8 % bandlast = last band considered
|
hisser2.m | 8 % bandfirst = first band considered 9 % bandlast = last band considered
|
/external/webp/src/enc/ |
cost.c | 358 int ctype, band, ctx; local 360 for (band = 0; band < NUM_BANDS; ++band) { 362 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; 363 uint16_t* const table = proba->level_cost_[ctype][band][ctx];
|
/external/libvpx/vp8/encoder/ |
tokenize.c | 117 const int band = vp8_coef_bands[c]; local 133 t->context_tree = cpi->common.fc.coef_probs [type] [band] [pt]; 135 t->skip_eob_node = pt == 0 && ((band > 0 && type > 0) || (band > 1 && type == 0)); 137 ++cpi->coef_counts [type] [band] [pt] [x]; 168 const int band = vp8_coef_bands[c]; local 184 t->context_tree = cpi->common.fc.coef_probs [type] [band] [pt]; 186 t->skip_eob_node = pt == 0 && ((band > 0 && type > 0) || (band > 1 && type == 0)); 188 ++cpi->coef_counts [type] [band] [pt] [x] 344 int type, band, pt, t; local [all...] |
encodemb.c | 289 int band; local 347 band = vp8_coef_bands[i + 1]; 350 mb->token_costs[type][band][pt][tokens[next][0].token]; 352 mb->token_costs[type][band][pt][tokens[next][1].token]; 405 band = vp8_coef_bands[i + 1]; 409 rate0 += mb->token_costs[type][band][pt][ 415 rate1 += mb->token_costs[type][band][pt][ 450 band = vp8_coef_bands[i + 1]; 456 tokens[next][0].rate += mb->token_costs[type][band][0][t0]; 461 tokens[next][1].rate += mb->token_costs[type][band][0][t1] [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
Equalizer.java | 37 * precise control of the gain in each frequency band controlled by the equalizer. 60 * Band level range. Parameter ID for OnParameterChangeListener 64 * Band level. Parameter ID for OnParameterChangeListener 68 * Band center frequency. Parameter ID for OnParameterChangeListener 72 * Band frequency range. Parameter ID for 77 * Band for a given frequency. Parameter ID for OnParameterChangeListener 198 * @return the band level range in an array of short integers. The first element is the lower 212 * Sets the given equalizer band to the given gain value. 213 * @param band frequency band that will have the new gain. The numbering of the bands start [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
IWifiManager.aidl | 64 void setFrequencyBand(int band, boolean persist);
|