Searched defs:band (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacdec/
H A Dps_applied.cpp156 Int32 band)
170 band);
150 ps_applied(STRUCT_PS_DEC *h_ps_dec, Int32 rIntBufferLeft[][64], Int32 iIntBufferLeft[][64], Int32 *rIntBufferRight, Int32 *iIntBufferRight, Int32 scratch_mem[], Int32 band) argument
H A Dps_hybrid_analysis.cpp197 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
H A Dps_hybrid_synthesis.cpp156 Int32 band; local
166 for (band = 0; band < hHybrid->nQmfBands; band++)
168 hybridRes = (HYBRID_RES)(min(hHybrid->pResolution[band], 6) - 2);
H A Dsbr_decode_envelope.cpp143 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...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
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...]
/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 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/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/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/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp566 LVM_EQNB_BandDef_t BandDefs[MAX_NUM_BANDS]; /* Equaliser band definitions */
1198 // Purpose: Retrieve the gain currently being used for the band passed in
1201 // band: band number
1207 int32_t EqualizerGetBandLevel(EffectContext *pContext, int32_t band){ argument
1220 Gain = (int32_t)BandDef[band].Gain*100; // Convert to millibels
1231 // Sets gain value for the given band.
1234 // band: band number
1241 void EqualizerSetBandLevel(EffectContext *pContext, int band, shor argument
1285 EqualizerGetCentreFrequency(EffectContext *pContext, int32_t band) argument
1323 EqualizerGetBandFreqRange(EffectContext *pContext, int32_t band, uint32_t *pLow, uint32_t *pHi) argument
1348 int band = 0; local
2196 int32_t band; local
[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/base/wifi/java/android/net/wifi/
H A DWifiNative.java276 //reply is "BAND X" where X is the band
287 public boolean setBand(int band) { argument
288 return doBooleanCommand("DRIVER SETBAND " + band);
H A DWifiManager.java451 * 2.4 GHz and 5 GHz or make a dynamic decision on selecting the band.
796 * Set the operational frequency band.
797 * @param band One of
804 public void setFrequencyBand(int band, boolean persist) { argument
806 mService.setFrequencyBand(band, persist);
811 * Get the operational frequency band.
828 * Check if the chipset supports dual frequency band (2.4 GHz and 5 GHz)
H A DWifiStateMachine.java357 /* Set the frequency band */
1049 * Set the operational frequency band
1050 * @param band
1053 public void setFrequencyBand(int band, boolean persist) { argument
1057 band);
1059 sendMessage(obtainMessage(CMD_SET_FREQUENCY_BAND, band, 0));
1063 * Returns the operational frequency band
1288 * Set the frequency band from the system setting value, if any.
1291 int band = Settings.Secure.getInt(mContext.getContentResolver(),
1293 setFrequencyBand(band, fals
[all...]
/frameworks/base/services/java/com/android/server/
H A DWifiService.java831 * Set the operational frequency band
832 * @param band One of
839 public void setFrequencyBand(int band, boolean persist) { argument
842 Slog.i(TAG, "WifiService trying to set frequency band to " + band +
844 mWifiStateMachine.setFrequencyBand(band, persist);
849 * Get the operational frequency band

Completed in 299 milliseconds