HomeSort by relevance Sort by last modified time
    Searched refs:band (Results 1 - 25 of 157) sorted by null

1 2 3 4 5 6 7

  /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...]
  /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...]
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...]
rvlcconceal.cpp 116 int band,bnds,group,startBand; local
140 for (band=startBand; band >= 0; band--) {
141 bnds = 16*group+band;
191 int band,bnds,group,startBand; local
216 for (band=startBand; band < pRvlc->maxSfbTransmitted; band++) {
217 bnds = 16*group+band;
269 int band,bnds,startBand,endBand,group; local
405 int band,bnds,startBand,endBand,group; local
535 int band,bnds,group; local
643 int band,bnds,group; 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_drc.cpp 602 pDrcBs->channelData.numBands = 1; /* One band ... */
612 pDrcBs->channelData.numBands = 1; /* One band ... */
822 int band, top, bin, numBands;
884 for (band = 0; band < numBands; band++)
886 UCHAR drcVal = pDrcChData->drcValue[band];
887 top = fixMin((int)( (pDrcChData->bandTop[band]+1)<<2 ), aacFrameSize);
889 fact_mantissa[band] = FL2FXCONST_DBL(0.5f);
890 fact_exponent[band] = 1
    [all...]
  /external/aac/libAACdec/src/arm/
block_arm.cpp 110 for (int band=0; band < max_band; band++)
113 band_offset = BandOffsets[band+1];
115 int scale = SpecScale_window-pSfbScale[window*16+band];
  /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...]
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_poly_phase_synthesis.cpp 138 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2)
140 int32 *inData = &pChVars->circ_buffer[544 - (band<<5)];
178 }/* end band loop */
pvmp3_imdct_synth.cpp 224 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_NUMBER; band++
    [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...]
nf_est.cpp 128 INT i,band,env; local
144 for (band = 0; band < noNoiseBands; band++){
147 accu += fMultDiv2(smoothFilter[i], prevNoiseLevels[i][band]);
149 FDK_ASSERT( (band + env*noNoiseBands) < MAX_NUM_NOISE_VALUES);
150 NoiseLevels[band+ env*noNoiseBands] = accu<<1;
171 INT startChannel, /*!< Start channel of the current noise floor band.*/
172 INT stopChannel, /*!< Stop channel of the current noise floor band. */
178 INVF_MODE inverseFilteringLevel) /*!< Inverse filtering level of the current band.*
308 INT nNoiseEnvelopes, startPos[2], stopPos[2], env, band; local
    [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...]
  /packages/apps/MusicFX/src/com/android/musicfx/
ControlPanelEffect.java 221 for (short band = 0; band < mEQNumBands; band++) {
222 mEQCenterFreq[band] = equalizerEffect.getCenterFreq(band);
230 for (short band = 0; band < mEQNumBands; band++) {
231 mEQPresetOpenSLESBandLevel[preset][band] = equalizerEffect
232 .getBandLevel(band);
594 final short band = (short) arg1; local
657 final short band = (short) arg1; local
694 final short band = (short) arg1; local
743 final short band = (short) arg1; 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...]
psdec_hybrid.cpp 489 int k, band; local
503 QMF samples in the low-band buffer.
506 for(band = 0; band < hHybrid->nQmfBands; band++) {
508 /* get hybrid resolution per qmf band */
509 /* in case of baseline ps 10/20 band stereo mode : */
515 /* (split the 3 lower qmf band to 12 hybrid bands) */
517 hybridRes = (HYBRID_RES)hHybrid->pResolution[band];
519 FDKmemcpy(pWorkRealSlot, hHybrid->mQmfBufferRealSlot[band], hHybrid->qmfBufferMove * sizeof(FIXP_DBL))
628 int k, band; local
    [all...]
  /external/chromium_org/third_party/opus/src/celt/
rate.h 53 static inline int bits2pulses(const CELTMode *m, int band, int LM, int bits)
60 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band];
80 static inline int pulses2bits(const CELTMode *m, int band, int LM, int pulses)
85 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band];
90 * band.
93 each band
95 @param pulses Number of pulses per band (returned)
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
WifiAssociationTestRunner.java 33 * The instrument will set frequency band if it is necessary
38 * -e security-type [OPEN|WEP64|WEP128|WPA_TKIP|WPA2_AES] -e frequency-band [2.4|5.0|auto]
61 String mFrequencyBand = arguments.getString("frequency-band");
67 private void setFrequencyBand(String band) {
69 if (band.equals("2.4")) {
70 Log.v(TAG, "set frequency band to 2.4");
72 } else if (band.equals("5.0")) {
73 Log.v(TAG, "set frequency band to 5.0");
75 } else if (band.equals("auto")) {
76 Log.v(TAG, "set frequency band to auto")
    [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/libvpx/libvpx/vp9/decoder/
vp9_detokenize.c 68 coef_counts[type][ref][band][pt] \
98 int band, c = 0; local
119 band = get_coef_band(band_translate, c);
120 prob = coef_probs[band][pt];
121 counts->eob_branch[tx_size][type][ref][band][pt]++;
130 band = get_coef_band(band_translate, c);
131 prob = coef_probs[band][pt];
144 if (!load_map[band][pt]) {
145 vp9_model_to_full_probs(coef_probs[band][pt],
146 coef_probs_full[band][pt])
    [all...]
  /external/iproute2/tc/
q_prio.c 60 unsigned band; local
66 if (get_unsigned(&band, *argv, 10)) {
70 if (band > opt.bands) {
78 opt.priomap[idx++] = band;
q_rr.c 61 unsigned band; local
67 if (get_unsigned(&band, *argv, 10)) {
71 if (band > opt.bands) {
79 opt.priomap[idx++] = band;
  /external/libvpx/libvpx/vp8/encoder/
tokenize.c 118 int band, rc, v, token; local
130 /* c = band for this case */
157 band = vp8_coef_bands[c];
164 t->context_tree = cpi->common.fc.coef_probs [1] [band] [pt];
168 ++x->coef_counts [1] [band] [pt] [token];
175 band = vp8_coef_bands[c];
177 t->context_tree = cpi->common.fc.coef_probs [1] [band] [pt];
181 ++x->coef_counts [1] [band] [pt] [DCT_EOB_TOKEN];
209 int band, rc, v; local
228 /* c = band for this case *
426 int type, band, pt, t; local
525 int band; local
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_tokenize.c 147 const int band = get_coef_band(band_translate, c); local
164 t->context_tree = coef_probs[type][ref][band][pt];
169 ++counts[type][ref][band][pt][token];
171 ++cpi->common.counts.eob_branch[tx_size][type][ref][band][pt];
260 int type, ref, band, pt, t; local
271 band = 0;
273 fprintf(f, "%s\n { /* Coeff Band %d */", Comma(band), band);
280 const int64_t x = context_counters[type][ref][band][pt][t]
299 int type, ref, band, pt, t; local
    [all...]

Completed in 290 milliseconds

1 2 3 4 5 6 7