/frameworks/av/media/libeffects/testlibs/ |
AudioEqualizer.cpp | 105 void AudioEqualizer::setGain(int band, int32_t millibel) { 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) { 119 ALOGV("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/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...] |
/external/aac/libAACdec/src/ |
stereo.cpp | 113 int group,band; local 129 for (band=0; band<scaleFactorBandsTransmitted; band++) 131 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs,1) << group); 138 for (band=0; band<scaleFactorBandsTransmitted; band++) 140 pJointStereoData->MsUsed[band] = 255 ; /* set all flags to 1 */ 168 int band; local 246 int band; local [all...] |
block.cpp | 167 int band; local 178 for (band=0; band < ScaleFactorBandsTransmitted; band++) 180 switch (pCodeBook[group*16+band]) { 183 pScaleFactor[group*16+band] = 0; 191 pScaleFactor[group*16+band] = factor - 100; 198 pScaleFactor[group*16+band] = position - 100; 205 CPns_Read( &pAacDecoderChannelInfo->data.aac.PnsData, bs, hcb, pAacDecoderChannelInfo->pDynData->aScaleFactor, pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain, band, group); 216 int band; local 277 int top, band; local 428 int window, group, groupwin, band; local 508 int window,group,groupwin,groupoffset,band; local [all...] |
aacdec_pns.cpp | 153 const int band) 155 unsigned pns_band = group*16+band; 167 const int band, 171 unsigned pns_band = group*16+band; 187 const int band) 190 unsigned pns_band = group*16+band; 206 const int band) 209 unsigned pns_band = group*16+band; 224 int band, 228 UINT pns_band = group*16+band; [all...] |
aacdec_drc.cpp | 581 pDrcBs->channelData.numBands = 1; /* One band ... */ 591 pDrcBs->channelData.numBands = 1; /* One band ... */ 785 int band, top, bin, numBands; 847 for (band = 0; band < numBands; band++) 849 UCHAR drcVal = pDrcChData->drcValue[band]; 850 top = fixMin((int)( (pDrcChData->bandTop[band]+1)<<2 ), aacFrameSize); 852 fact_mantissa[band] = FL2FXCONST_DBL(0.5f); 853 fact_exponent[band] = 1 [all...] |
/external/libvpx/vp8/common/ |
defaultcoefcounts.h | 20 /* Coeff Band ( 0 ) */ 26 /* Coeff Band ( 1 ) */ 32 /* Coeff Band ( 2 ) */ 38 /* Coeff Band ( 3 ) */ 44 /* Coeff Band ( 4 ) */ 50 /* Coeff Band ( 5 ) */ 56 /* Coeff Band ( 6 ) */ 62 /* Coeff Band ( 7 ) */ 71 /* Coeff Band ( 0 ) */ 77 /* Coeff Band ( 1 ) * [all...] |
context.c | 24 // Coeff Band ( 0 ) 30 // Coeff Band ( 1 ) 36 // Coeff Band ( 2 ) 42 // Coeff Band ( 3 ) 48 // Coeff Band ( 4 ) 54 // Coeff Band ( 5 ) 60 // Coeff Band ( 6 ) 66 // Coeff Band ( 7 ) 75 // Coeff Band ( 0 ) 81 // Coeff Band ( 1 [all...] |
/frameworks/base/media/tests/EffectsTest/res/values/ |
strings.xml | 22 <string name="eq_param_1_name">Band 1 Level</string> 23 <string name="eq_param_2_name">Band 2 Level</string> 24 <string name="eq_param_3_name">Band 3 Level</string> 25 <string name="eq_param_4_name">Band 4 Level</string> 26 <string name="eq_param_5_name">Band 5 Level</string>
|
/system/media/audio_effects/include/audio_effects/ |
effect_equalizer.h | 35 EQ_PARAM_LEVEL_RANGE, // Returns the minimum and maximum band levels supported. 36 EQ_PARAM_BAND_LEVEL, // Gets/Sets the gain set for the given equalizer band. 37 EQ_PARAM_CENTER_FREQ, // Gets the center frequency of the given band. 38 EQ_PARAM_BAND_FREQ_RANGE, // Gets the frequency range of the given frequency band. 39 EQ_PARAM_GET_BAND, // Gets the band that has the most effect on the given frequency.
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelEffect.java | 219 for (short band = 0; band < mEQNumBands; band++) { 220 mEQCenterFreq[band] = equalizerEffect.getCenterFreq(band); 228 for (short band = 0; band < mEQNumBands; band++) { 229 mEQPresetOpenSLESBandLevel[preset][band] = equalizerEffect 230 .getBandLevel(band); 591 final short band = (short) arg1; local 654 final short band = (short) arg1; local 691 final short band = (short) arg1; local 740 final short band = (short) arg1; local [all...] |
ActivityMusic.java | 113 * Mapping for the EQ widget ids per band 626 // Initialize the N-Band Equalizer elements. 639 for (int band = 0; band < mNumberEqualizerBands; band++) { 641 final int centerFreq = centerFreqs[band] / 1000; 648 ((TextView) eqcontainer.findViewById(EQViewElementIds[band][0])).setText( 650 mEqualizerSeekBar[band] = (SeekBar) eqcontainer 651 .findViewById(EQViewElementIds[band][1]); 652 mEqualizerSeekBar[band].setMax(mEqualizerMaxBandLevel - mEqualizerMinBandLevel) [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...] |
/external/speex/libspeex/ |
sb_celp.h | 4 @brief Sub-band CELP mode used for wideband encoding 43 /**Structure representing the full state of the sub-band encoder*/ 46 void *st_low; /**< State of the low-band (narrowband) encoder */ 47 int full_frame_size; /**< Length of full-band frames*/ 48 int frame_size; /**< Length of high-band frames*/ 49 int subframeSize; /**< Length of high-band sub-frames*/ 50 int nbSubframes; /**< Number of high-band sub-frames*/ 51 int windowSize; /**< Length of high-band LPC window*/ 52 int lpcSize; /**< Order of high-band LPC analysis */ 59 spx_word16_t *high; /**< High-band signal (buffer) * [all...] |
/external/webrtc/src/modules/audio_processing/ |
splitting_filter.h | 31 * - low_band : The signal from the 0-4 kHz band 32 * - high_band : The signal from the 4-8 kHz band 46 * - low_band : The signal with the 0-8 kHz band 47 * - high_band : The signal with the 8-16 kHz band
|
/external/libvpx/vpx_scale/generic/ |
gen_scalers.c | 93 * FUNCTION : Scales vertical band of pixels by scale 4 to 5. The 94 * height of the band scaled is 4-pixels. 96 * SPECIAL NOTES : The routine uses the first line of the band below 97 * the current band. 119 /* First line in next band */ 139 * FUNCTION : Scales last vertical band of pixels by scale 4 to 5. The 140 * height of the band scaled is 4-pixels. 143 * the band below the current band, since this is the 144 * last band [all...] |
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
LVPSA_Private.h | 52 #define LVPSA_NBANDSMIN 1 /* Minimum number of frequency band */ 53 #define LVPSA_NBANDSMAX 30 /* Maximum number of frequency band */ 95 LVPSA_BPFilterPrecision_en *pBPFiltersPrecision; /* Points a nBands elements array that contains the filter precision for each band */ 96 Biquad_Instance_t *pBP_Instances; /* Points a nBands elements array that contains the band pass filter instance for each band */ 97 Biquad_1I_Order2_Taps_t *pBP_Taps; /* Points a nBands elements array that contains the band pass filter taps for each band */ 98 QPD_State_t *pQPD_States; /* Points a nBands elements array that contains the QPD filter instance for each band */ 99 QPD_Taps_t *pQPD_Taps; /* Points a nBands elements array that contains the QPD filter taps for each band */ 100 LVM_UINT16 *pPostGains; /* Points a nBands elements array that contains the post-filter gains for each band */ [all...] |
/packages/apps/Settings/src/com/android/settings/ |
BandMode.java | 22 * Radio Band Mode Selection Class 24 * It will query baseband about all available band modes and display them 25 * in screen. It will display all six band modes if the query failed. 27 * After user select one band, it will send the selection to baseband. 42 "EURO Band", 43 "USA Band", 44 "JAPAN Band", 45 "AUS Band", 46 "AUS2 Band" 70 mBandList = (ListView) findViewById(R.id.band); [all...] |
/external/iproute2/man/man8/ |
tc-prio.8 | 14 band,band,band... 31 band is a class, although is not possible to add classes with 'tc qdisc 35 When dequeueing, band 0 is tried first and only if it did not deliver a 36 packet does PRIO try band 1, and so onwards. Maximum reliability packets 37 should therefore go to band 0, minimum delay to band 1 and the rest to band 40 As the PRIO qdisc itself will have minor number 0, band 0 is actuall [all...] |
/external/libvorbis/lib/ |
envelope.c | 53 e->band[0].begin=2; e->band[0].end=4; 54 e->band[1].begin=4; e->band[1].end=5; 55 e->band[2].begin=6; e->band[2].end=6; 56 e->band[3].begin=9; e->band[3].end=8; 57 e->band[4].begin=13; e->band[4].end=8 [all...] |
/external/aac/libSBRenc/src/ |
code_env.cpp | 427 INT i, no_of_bands, band; local 526 for (band = no_of_bands - 1; band > 0; band--) { 527 if ( ptr_nrg[band] - ptr_nrg[band-1] > codeBookScfLavBalanceFreq ) { 528 ptr_nrg[band-1] = ptr_nrg[band] - codeBookScfLavBalanceFreq; 531 for (band = 1; band < no_of_bands; band++) [all...] |
ps_encode.cpp | 220 INT idx, band; local 223 for (band=0; band<nBands;band++) { 225 if( fixp_abs((input[band]>>1)-(quantTable[idx+1]>>1)) > 226 fixp_abs((input[band]>>1)-(quantTable[idx]>>1)) ) 231 quantErr += (fixp_abs(input[band]-quantTable[idx])>>PS_QUANT_SCALE); /* don't scale before subtraction; diff smaller (64-25)/64 */ 232 quantOut[band] = idx - idxOffset; 352 INT env, band; local 373 for(band=0;band<psBands;band++) 583 INT env, band; local 855 int group, bin, col, subband, band; local [all...] |
/external/aac/libSBRdec/src/ |
sbrdec_drc.cpp | 111 int band; local 117 for (band = 0; band < (64); band++) { 118 hDrcData->prevFact_mag[band] = FL2FXCONST_DBL(0.5f); 121 for (band = 0; band < SBRDEC_MAX_DRC_BANDS; band++) { 122 hDrcData->currFact_mag[band] = FL2FXCONST_DBL(0.5f); 123 hDrcData->nextFact_mag[band] = FL2FXCONST_DBL(0.5f) 202 int band, bottomMdct, topMdct, bin, useLP; local [all...] |
/hardware/ti/wlan/wl1271/stad/src/Application/ |
scanMngr.h | 91 SCAN_ISS_G_BAND, /**< immediate scan is running on G band */ 92 SCAN_ISS_A_BAND, /**< immediate scan is running on A band */ 115 SCAN_SDP_NEIGHBOR_G = 0, /**< attempting to discover neighbor APs in G band */ 116 SCAN_SDP_NEIGHBOR_A, /**< attempting to discover neighbor APs in A band */ 117 SCAN_SDP_CHANNEL_LIST_G, /**< attempting to discover all APs in G band */ 118 SCAN_SDP_CHANNEL_LIST_A, /**< attempting to discover all APs in A band */ 226 * other reasons (invalid band, 368 ERadioBand currentBSSBand; /**< band of current BSS */ 393 * For statistics: the band on which 494 * \brief Search current policy for band polic [all...] |