Home
last modified time | relevance | path

Searched refs:band (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/media/libeffects/testlibs/
DAudioEqualizer.cpp105 void AudioEqualizer::setGain(int band, int32_t millibel) { in setGain() argument
106 ALOGV("AudioEqualizer::setGain(band=%d, millibel=%d)", band, millibel); in setGain()
107 assert(band >= 0 && band < mNumPeaking + 2); in setGain()
108 if (band == 0) { in setGain()
110 } else if (band == mNumPeaking + 1) { in setGain()
113 mpPeakingFilters[band - 1].setGain(millibel); in setGain()
118 void AudioEqualizer::setFrequency(int band, uint32_t millihertz) { in setFrequency() argument
119 ALOGV("AudioEqualizer::setFrequency(band=%d, millihertz=%d)", band, in setFrequency()
121 assert(band >= 0 && band < mNumPeaking + 2); in setFrequency()
122 if (band == 0) { in setFrequency()
[all …]
DAudioEqualizer.h109 void setGain(int band, int32_t millibel);
115 int32_t getGain(int band) const;
122 void setFrequency(int band, uint32_t millihertz);
128 uint32_t getFrequency(int band) const;
135 void setBandwidth(int band, uint32_t cents);
142 uint32_t getBandwidth(int band) const;
150 void getBandRange(int band, uint32_t & low, uint32_t & high) const;
DEffectEqualizer.cpp554 int32_t band; in Equalizer_setParameter() local
572 band = *pParam; in Equalizer_setParameter()
574 ALOGV("setParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", band, level); in Equalizer_setParameter()
575 if (band >= kNumBands) { in Equalizer_setParameter()
579 pEqualizer->setGain(band, level); in Equalizer_setParameter()
/frameworks/wilhelm/src/itf/
DIEqualizer.c145 static SLresult IEqualizer_SetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel level) in IEqualizer_SetBandLevel() argument
151 (band >= thiz->mNumBands)) { in IEqualizer_SetBandLevel()
156 thiz->mLevels[band] = level; in IEqualizer_SetBandLevel()
164 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level); in IEqualizer_SetBandLevel()
175 static SLresult IEqualizer_GetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel *pLevel) in IEqualizer_GetBandLevel() argument
184 if (band >= thiz->mNumBands) { in IEqualizer_GetBandLevel()
190 level = thiz->mLevels[band]; in IEqualizer_GetBandLevel()
197 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level); in IEqualizer_GetBandLevel()
210 static SLresult IEqualizer_GetCenterFreq(SLEqualizerItf self, SLuint16 band, SLmilliHertz *pCenter) in IEqualizer_GetCenterFreq() argument
218 if (band >= thiz->mNumBands) { in IEqualizer_GetCenterFreq()
[all …]
/frameworks/av/media/libstagefright/codecs/aacdec/
Dsbr_decode_envelope.cpp143 Int32 band; in sbr_decode_envelope() local
169 for (band = 1; band < no_of_bands; band++) in sbr_decode_envelope()
176 band, in sbr_decode_envelope()
183 for (band = 0; band < no_of_bands; band++) in sbr_decode_envelope()
185 *iEnvelope += sfb_nrg_prev[ indexLow2High(offset, band, freqRes)]; in sbr_decode_envelope()
190 band, in sbr_decode_envelope()
Dps_hybrid_analysis.cpp197 Int32 band; in ps_hybrid_analysis() local
209 for (band = 0; band < pHybrid->nQmfBands; band++) in ps_hybrid_analysis()
214 pt_mQmfBufferReal[HYBRID_FILTER_LENGTH_m_1] = mQmfReal[HYBRID_FILTER_DELAY][band]; in ps_hybrid_analysis()
215 pt_mQmfBufferImag[HYBRID_FILTER_LENGTH_m_1] = mQmfImag[HYBRID_FILTER_DELAY][band]; in ps_hybrid_analysis()
221 hybridRes = (HYBRID_RES)pHybrid->pResolution[band]; in ps_hybrid_analysis()
Dps_hybrid_synthesis.cpp156 Int32 band; in ps_hybrid_synthesis() local
166 for (band = 0; band < hHybrid->nQmfBands; band++) in ps_hybrid_synthesis()
168 hybridRes = (HYBRID_RES)(min(hHybrid->pResolution[band], 6) - 2); in ps_hybrid_synthesis()
Dps_applied.cpp156 Int32 band) in ps_applied() argument
170 band); in ps_applied()
Dps_applied.h92 Int32 band);
Dps_hybrid_analysis.h90 Int32 band);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_imdct_synth.cpp224 int32 band; in pvmp3_imdct_synth() local
239 for (band = 0; band < bands2process; band++) in pvmp3_imdct_synth()
241 uint32 current_blk_type = (band < mx_band) ? LONG : blk_type; in pvmp3_imdct_synth()
243 int32 * out = in + (band * FILTERBANK_BANDS); in pvmp3_imdct_synth()
244 int32 * history = overlap + (band * FILTERBANK_BANDS); in pvmp3_imdct_synth()
317 if (band & 1) in pvmp3_imdct_synth()
332 for (band = bands2process; band < SUBBANDS_NUMBER; band++) in pvmp3_imdct_synth()
334 int32 * out = in + (band * FILTERBANK_BANDS); in pvmp3_imdct_synth()
335 int32 * history = overlap + (band * FILTERBANK_BANDS); in pvmp3_imdct_synth()
338 if (band & 1) in pvmp3_imdct_synth()
Dpvmp3_poly_phase_synthesis.cpp138 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2) in pvmp3_poly_phase_synthesis() local
140 int32 *inData = &pChVars->circ_buffer[544 - (band<<5)]; in pvmp3_poly_phase_synthesis()
Dpvmp3_equalizer.cpp332 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2) in pvmp3_equalizer() local
335 int32 *pt_work_buff = &work_buff[band]; in pvmp3_equalizer()
336 int32 *inData = &circ_buffer[544 - (band<<5)]; in pvmp3_equalizer()
372 for (int32 band = 0; band < FILTERBANK_BANDS; band += 3) in pvmp3_equalizer() local
374 int32 *inData = &circ_buffer[544 - (band<<5)]; in pvmp3_equalizer()
376 int32 *pt_work_buff = &work_buff[band]; in pvmp3_equalizer()
/frameworks/base/media/java/android/media/audiofx/
DEqualizer.java222 public void setBandLevel(short band, short level) in setBandLevel() argument
228 param[1] = (int)band; in setBandLevel()
242 public short getBandLevel(short band) in getBandLevel() argument
248 param[1] = (int)band; in getBandLevel()
264 public int getCenterFreq(short band) in getCenterFreq() argument
270 param[1] = (int)band; in getCenterFreq()
286 public int[] getBandFreqRange(short band) in getBandFreqRange() argument
291 param[1] = (int)band; in getBandFreqRange()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEqualizerTest.java167 short band = mEqualizer.getBand(TEST_FREQUENCY_MILLIHERTZ); in test1_1BandFrequency() local
168 assertTrue(msg + ": getBand failed", band >= 0); in test1_1BandFrequency()
169 int[] freqRange = mEqualizer.getBandFreqRange(band); in test1_1BandFrequency()
173 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dtns.c97 Word32 lineNumber, band; in FreqToBandWithRounding() local
110 for (band=0; band<numOfBands; band++) { in FreqToBandWithRounding()
111 temp = bandStartOffset[band + 1] - lineNumber; in FreqToBandWithRounding()
115 temp = (lineNumber - bandStartOffset[band]); in FreqToBandWithRounding()
116 temp = (temp - (bandStartOffset[band + 1] - lineNumber)); in FreqToBandWithRounding()
119 band = band + 1; in FreqToBandWithRounding()
122 return extract_l(band); in FreqToBandWithRounding()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp1207 int32_t EqualizerGetBandLevel(EffectContext *pContext, int32_t band){ in EqualizerGetBandLevel() argument
1220 Gain = (int32_t)BandDef[band].Gain*100; // Convert to millibels in EqualizerGetBandLevel()
1241 void EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain){ in EqualizerSetBandLevel() argument
1263 ActiveParams.pEQNB_BandDefinition[band].Gain = gainRounded; in EqualizerSetBandLevel()
1285 int32_t EqualizerGetCentreFrequency(EffectContext *pContext, int32_t band){ in EqualizerGetCentreFrequency() argument
1298 Frequency = (int32_t)BandDef[band].Frequency*1000; // Convert to millibels in EqualizerGetCentreFrequency()
1323 int32_t EqualizerGetBandFreqRange(EffectContext *pContext, int32_t band, uint32_t *pLow, in EqualizerGetBandFreqRange() argument
1325 *pLow = bandFreqRange[band][0]; in EqualizerGetBandFreqRange()
1326 *pHi = bandFreqRange[band][1]; in EqualizerGetBandFreqRange()
1348 int band = 0; in EqualizerGetBand() local
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl64 void setFrequencyBand(int band, boolean persist); in setFrequencyBand() argument
DWifiNative.java287 public boolean setBand(int band) { in setBand() argument
288 return doBooleanCommand("DRIVER SETBAND " + band); in setBand()
DWifiStateMachine.java1053 public void setFrequencyBand(int band, boolean persist) { in setFrequencyBand() argument
1057 band); in setFrequencyBand() local
1059 sendMessage(obtainMessage(CMD_SET_FREQUENCY_BAND, band, 0)); in setFrequencyBand()
1291 int band = Settings.Secure.getInt(mContext.getContentResolver(), in setFrequencyBand() local
1293 setFrequencyBand(band, false); in setFrequencyBand()
2688 int band = message.arg1; in processMessage() local
2689 if (DBG) log("set frequency band " + band); in processMessage()
2690 if (mWifiNative.setBand(band)) { in processMessage()
2691 mFrequencyBand.set(band); in processMessage()
2695 loge("Failed to set frequency band " + band); in processMessage()
DWifiManager.java804 public void setFrequencyBand(int band, boolean persist) { in setFrequencyBand() argument
806 mService.setFrequencyBand(band, persist); in setFrequencyBand()
/frameworks/base/services/java/com/android/server/
DWifiService.java839 public void setFrequencyBand(int band, boolean persist) { in setFrequencyBand() argument
842 Slog.i(TAG, "WifiService trying to set frequency band to " + band + in setFrequencyBand()
844 mWifiStateMachine.setFrequencyBand(band, persist); in setFrequencyBand()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1242 SLuint16 band,
1247 SLuint16 band,
1252 SLuint16 band,
1257 SLuint16 band,
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h2026 XAuint16 band,
2031 XAuint16 band,
2036 XAuint16 band,
2041 XAuint16 band,
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd305 <p>The {@link android.media.MediaPlayer} now handles both in-band and out-of-band text tracks.
306 In-band text tracks come as a text track within an MP4 or 3GPP media source. Out-of-band text

12