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

/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.cpp437 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_LEVEL band %d, level %d",
448 ALOGV("Equalizer_getParameter() EQ_PARAM_CENTER_FREQ band %d, frequency %d",
459 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_FREQ_RANGE band %d, min %d, max %d",
466 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_BAND frequency %d, band %d",
536 int32_t band; local
554 band = *pParam;
556 ALOGV("setParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", band, level);
557 if (band >= kNumBands) {
561 pEqualizer->setGain(band, leve
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java30 * precise control of the gain in each frequency band controlled by the equalizer.
191 * @return the band level range in an array of short integers. The first element is the lower
205 * Sets the given equalizer band to the given gain value.
206 * @param band frequency band that will have the new gain. The numbering of the bands starts
208 * @param level new gain in millibels that will be set to the given band. getBandLevelRange()
215 public void setBandLevel(short band, short level) argument
221 param[1] = (int)band;
227 * Gets the gain set for the given equalizer band.
228 * @param band frequenc
235 getBandLevel(short band) argument
257 getCenterFreq(short band) argument
279 getBandFreqRange(short band) argument
[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/opt/net/wifi/service/lib/
H A Dwifi_hal.cpp117 int band, int max_channels, wifi_channel *channels, int *num_channels) {
116 wifi_get_valid_channels(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument
/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/aacenc/src/
H A Dtns.c90 * description: Retrieve index of nearest band border
97 const Word16 *bandStartOffset) /*!< table of band borders */
99 Word32 lineNumber, band; local
111 /* find band the line number lies in */
112 for (band=0; band<numOfBands; band++) {
113 temp = bandStartOffset[band + 1] - lineNumber;
117 temp = (lineNumber - bandStartOffset[band]);
118 temp = (temp - (bandStartOffset[band
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiScanner.java50 /** no band specified; use channel list instead */
53 /** 2.4 GHz band */
54 public static final int WIFI_BAND_24_GHZ = 1; /* 2.4 GHz band */
55 /** 5 GHz band excluding DFS channels */
56 public static final int WIFI_BAND_5_GHZ = 2; /* 5 GHz band without DFS channels */
57 /** DFS channels from 5 GHz band only */
58 public static final int WIFI_BAND_5_GHZ_DFS_ONLY = 4; /* 5 GHz band with DFS channels */
59 /** 5 GHz band including DFS channels */
60 public static final int WIFI_BAND_5_GHZ_WITH_DFS = 6; /* 5 GHz band with DFS channels */
61 /** Both 2.4 GHz band an
100 getAvailableChannels(int band) argument
152 public int band; field in class:WifiScanner.ScanSettings
[all...]
H A DWifiManager.java502 * 2.4 GHz and 5 GHz or make a dynamic decision on selecting the band.
855 * @return true if this adapter supports 5 GHz band
1241 * Set the operational frequency band.
1242 * @param band One of
1249 public void setFrequencyBand(int band, boolean persist) { argument
1251 mService.setFrequencyBand(band, persist);
1256 * Get the operational frequency band.
1273 * Check if the chipset supports dual frequency band (2.4 GHz and 5 GHz)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiScanningServiceImpl.java70 public Bundle getAvailableChannels(int band) { argument
71 WifiScanner.ChannelSpec channelSpecs[] = getChannelsForBand(band);
521 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED
523 desiredChannels = getChannelsForBand(settings.band);
572 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED
574 desiredChannels = getChannelsForBand(settings.band);
802 // set channels based on band
803 channels = getChannelsForBand(settings.band);
865 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED
868 // set channels based on band
1547 getChannelsForBand(int band) argument
[all...]
H A DWifiServiceImpl.java1087 * Set the operational frequency band
1088 * @param band One of
1095 public void setFrequencyBand(int band, boolean persist) { argument
1098 Slog.i(TAG, "WifiService trying to set frequency band to " + band +
1102 mWifiStateMachine.setFrequencyBand(band, persist);
1110 * Get the operational frequency band
H A DWifiNative.java513 //reply is "BAND X" where X is the band
524 public boolean setBand(int band) { argument
525 return doBooleanCommand("DRIVER SETBAND " + band);
1238 int band; field in class:WifiNative.BucketSettings
1597 int iface, int band);
1599 synchronized public static int [] getChannelsForBand(int band) { argument
1602 return getChannelsForBandNative(sWlan0Index, band);
1596 getChannelsForBandNative( int iface, int band) argument
H A DWifiStateMachine.java545 /* Set the frequency band */
678 * timeStamp of last full band scan we perfoemed for autojoin while connected with screen lit
683 * time interval to the next full band scan we will perform for
689 * max time interval to the next full band scan we will perform for
2332 * Set the operational frequency band
2333 * @param band
2336 public void setFrequencyBand(int band, boolean persist) { argument
2340 band);
2342 sendMessage(CMD_SET_FREQUENCY_BAND, band, 0);
2354 * Returns the operational frequency band
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp369 params.buckets[i].band = (wifi_band) getIntField(env, bucket, "band");
373 params.buckets[i].band, params.buckets[i].period);
1028 jint iface, jint band) {
1036 wifi_error result = wifi_get_valid_channels(handle, band, MaxChannels,
1027 android_net_wifi_getValidChannels(JNIEnv *env, jclass cls, jint iface, jint band) argument
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp539 LVM_EQNB_BandDef_t BandDefs[MAX_NUM_BANDS]; /* Equaliser band definitions */
790 // ActiveParams.pEQNB_BandDefinition[band].Gain);
803 // ActiveParams.pEQNB_BandDefinition[band].Gain);
811 // the overall EQ band gain and BassBoost relative levels.
828 // ActiveParams.pEQNB_BandDefinition[band].Gain);
831 //Count the energy contribution per band for EQ and BassBoost only if they are active.
874 // ActiveParams.pEQNB_BandDefinition[band].Gain);
1469 // Purpose: Retrieve the gain currently being used for the band passed in
1472 // band: band numbe
1478 EqualizerGetBandLevel(EffectContext *pContext, int32_t band) argument
1497 EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain) argument
1524 EqualizerGetCentreFrequency(EffectContext *pContext, int32_t band) argument
1562 EqualizerGetBandFreqRange(EffectContext *pContext __unused, int32_t band, uint32_t *pLow, uint32_t *pHi) argument
1587 int band = 0; local
2419 int32_t band; local
[all...]
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp60 static wifi_band band = WIFI_BAND_UNSPECIFIED; variable
334 params.buckets[0].band = WIFI_BAND_UNSPECIFIED;
353 params.buckets[0].band = WIFI_BAND_UNSPECIFIED;
362 params.buckets[1].band = WIFI_BAND_A;
365 params.buckets[1].num_channels = 8; // driver should ignore list since band is specified
378 params.buckets[2].band = WIFI_BAND_UNSPECIFIED;
430 static int scanOnce(wifi_band band, wifi_scan_result *results, int num_results) { argument
445 params.buckets[0].band = band;
1000 band
[all...]

Completed in 4660 milliseconds