Searched refs:band (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp105 void AudioEqualizer::setGain(int band, int32_t millibel) { argument
106 ALOGV("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) { argument
119 ALOGV("AudioEqualizer::setFrequency(band
132 setBandwidth(int band, uint32_t cents) argument
172 getBandRange(int band, uint32_t & low, uint32_t & high) const argument
264 int band = mNumPeaking; local
[all...]
H A DAudioEqualizer.h30 // 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) cons
[all...]
H A DEffectEqualizer.cpp455 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_LEVEL band %d, level %d",
466 ALOGV("Equalizer_getParameter() EQ_PARAM_CENTER_FREQ band %d, frequency %d",
477 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_FREQ_RANGE band %d, min %d, max %d",
484 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_BAND frequency %d, band %d",
554 int32_t band; local
572 band = *pParam;
574 ALOGV("setParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", band, level);
575 if (band >= kNumBands) {
579 pEqualizer->setGain(band, leve
[all...]
/frameworks/wilhelm/src/itf/
H A DIEqualizer.c145 static SLresult IEqualizer_SetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel level) argument
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) argument
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) argument
218 if (band >
245 IEqualizer_GetBandFreqRange(SLEqualizerItf self, SLuint16 band, SLmilliHertz *pMin, SLmilliHertz *pMax) argument
302 const struct EqualizerBand *band; local
321 uint16_t band = 0; local
388 SLuint16 band; local
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_poly_phase_synthesis.cpp138 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2)
140 int32 *inData = &pChVars->circ_buffer[544 - (band<<5)];
178 }/* end band loop */
H A Dpvmp3_imdct_synth.cpp224 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_NUMBE
[all...]
H A Dpvmp3_equalizer.cpp332 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...]
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java37 * precise control of the gain in each frequency band controlled by the equalizer.
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 starts
215 * @param level new gain in millibels that will be set to the given band. getBandLevelRange()
222 public void setBandLevel(short band, short level) argument
228 param[1] = (int)band;
234 * Gets the gain set for the given equalizer band.
235 * @param band frequenc
242 getBandLevel(short band) argument
264 getCenterFreq(short band) argument
286 getBandFreqRange(short band) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEqualizerTest.java160 //Test case 1.1: test band frequency
167 short band = mEqualizer.getBand(TEST_FREQUENCY_MILLIHERTZ);
168 assertTrue(msg + ": getBand failed", band >= 0);
169 int[] freqRange = mEqualizer.getBandFreqRange(band);
173 int freq = mEqualizer.getCenterFreq(band);
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl64 void setFrequencyBand(int band, boolean persist);
H A DWifiNative.java291 //reply is "BAND X" where X is the band
302 public boolean setBand(int band) { argument
303 return doBooleanCommand("DRIVER SETBAND " + band);
H A DWifiManager.java456 * 2.4 GHz and 5 GHz or make a dynamic decision on selecting the band.
813 * Set the operational frequency band.
814 * @param band One of
821 public void setFrequencyBand(int band, boolean persist) { argument
823 mService.setFrequencyBand(band, persist);
828 * Get the operational frequency band.
845 * Check if the chipset supports dual frequency band (2.4 GHz and 5 GHz)
H A DWifiStateMachine.java352 /* Set the frequency band */
1082 * Set the operational frequency band
1083 * @param band
1086 public void setFrequencyBand(int band, boolean persist) { argument
1090 band);
1092 sendMessage(obtainMessage(CMD_SET_FREQUENCY_BAND, band, 0));
1096 * Returns the operational frequency band
1342 * Set the frequency band from the system setting value, if any.
1345 int band = Settings.Global.getInt(mContext.getContentResolver(),
1347 setFrequencyBand(band, fals
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c88 * description: Retrieve index of nearest band border
95 const Word16 *bandStartOffset) /*!< table of band borders */
97 Word32 lineNumber, band; local
109 /* find band the line number lies in */
110 for (band=0; band<numOfBands; band++) {
111 temp = bandStartOffset[band + 1] - lineNumber;
115 temp = (lineNumber - bandStartOffset[band]);
116 temp = (temp - (bandStartOffset[band
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp570 LVM_EQNB_BandDef_t BandDefs[MAX_NUM_BANDS]; /* Equaliser band definitions */
1205 // Purpose: limit all EQ band gains to a value less than 0 dB while
1206 // preserving the relative band levels.
1223 // ActiveParams.pEQNB_BandDefinition[band].Gain);
1226 // - the maximum EQ band gain: the volume correction is such that the total of volume + max
1227 // band gain is <= 0 dB
1228 // - the average gain in all bands weighted by their proximity to max gain band.
1239 // skip current band and gains < 0 dB
1242 // no need to continue if one band not processed yet has a higher gain than current
1288 // ActiveParams.pEQNB_BandDefinition[band]
1312 EqualizerGetBandLevel(EffectContext *pContext, int32_t band) argument
1331 EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain) argument
1357 EqualizerGetCentreFrequency(EffectContext *pContext, int32_t band) argument
1395 EqualizerGetBandFreqRange(EffectContext *pContext, int32_t band, uint32_t *pLow, uint32_t *pHi) argument
1420 int band = 0; local
2210 int32_t band; local
[all...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEqualizerTest.java264 public BandLevelParam(Equalizer equalizer, int band, short min, short max, SeekBar seekBar, TextView textView) { argument
267 mBand = band;
/frameworks/base/services/java/com/android/server/
H A DWifiService.java891 * Set the operational frequency band
892 * @param band One of
899 public void setFrequencyBand(int band, boolean persist) { argument
902 Slog.i(TAG, "WifiService trying to set frequency band to " + band +
904 mWifiStateMachine.setFrequencyBand(band, persist);
909 * Get the operational frequency band
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h2026 XAuint16 band,
2031 XAuint16 band,
2036 XAuint16 band,
2041 XAuint16 band,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1242 SLuint16 band,
1247 SLuint16 band,
1252 SLuint16 band,
1257 SLuint16 band,

Completed in 305 milliseconds