/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
g722_encode.c | 65 static void block4(G722EncoderState *s, int band, int d) 73 s->band[band].d[0] = d; 74 s->band[band].r[0] = saturate(s->band[band].s + d); 77 s->band[band].p[0] = saturate(s->band[band].sz + d) [all...] |
g722_decode.c | 65 static void block4(G722DecoderState *s, int band, int d); 67 static void block4(G722DecoderState *s, int band, int d) 75 s->band[band].d[0] = d; 76 s->band[band].r[0] = saturate(s->band[band].s + d); 79 s->band[band].p[0] = saturate(s->band[band].sz + d) [all...] |
/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 | 123 int group, band; local 145 for (band = 0; band < scaleFactorBandsTransmitted; band++) { 146 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs, 1) << group); 152 for (band = 0; band < scaleFactorBandsTransmitted; band++) { 153 pJointStereoData->MsUsed[band] = 255; /* set all flags to 1 */ 171 for (band = 0; band < scaleFactorBandsTransmitted; band++) 553 int window, group, band; local 1200 int band; local [all...] |
aacdec_pns.cpp | 155 int CPns_IsPnsUsed(const CPnsData *pPnsData, const int group, const int band) { 156 unsigned pns_band = group * 16 + band; 166 void CPns_SetCorrelation(CPnsData *pPnsData, const int group, const int band, 169 unsigned pns_band = group * 16 + band; 183 const int band) { 185 unsigned pns_band = group * 16 + band; 199 const int band) { 201 unsigned pns_band = group * 16 + band; 213 UCHAR global_gain, int band, int group /* = 0 */) { 215 UINT pns_band = group * 16 + band; [all...] |
rvlcconceal.cpp | 132 int band, bnds, group, startBand; local 157 for (band = startBand; band >= 0; band--) { 158 bnds = 16 * group + band; 208 int band, bnds, group, startBand; local 234 for (band = startBand; band < pRvlc->maxSfbTransmitted; band++) { 235 bnds = 16 * group + band; 290 int band, bnds, startBand, endBand, group; local 437 int band, bnds, startBand, endBand, group; local 607 int band, bnds, group; local 720 int band, bnds, group; local [all...] |
block.cpp | 162 int band; local 177 for (band = 0; band < ScaleFactorBandsTransmitted; band++) { 178 switch (pCodeBook[band]) { 180 pScaleFactor[band] = 0; 184 if (!((flags & (AC_USAC | AC_RSVD50 | AC_RSV603DA)) && band == 0 && 189 pScaleFactor[band] = factor - 100; 196 pScaleFactor[band] = position - 100; 206 band, group) 220 int band; local 329 int top, band; local 491 int window, group, groupwin, band; local 650 int band; local [all...] |
/external/aac/libAACdec/src/arm/ |
block_arm.cpp | 114 for (int band = 0; band < maxSfbs; band++) { 116 band_offset = BandOffsets[band + 1]; 120 fMin(DFRACT_BITS - 1, SpecScale_window - pSfbScale[window * 16 + band]);
|
/external/autotest/server/cros/ap_configurators/ |
asus_ac66r_ap_configurator.py | 14 def set_mode(self, mode, band=None): 16 self.add_item_to_command_list(self._set_mode, (mode, band), 1, 900) 19 def _set_mode(self, mode, band=None): 20 if band: 21 self._set_band(band)
|
ap_spec_unittest.py | 21 self.assertEquals(spec.band, ap_spec.DEFAULT_BAND) 28 """Test setting only the band to 2GHz.""" 29 spec = ap_spec.APSpec(band=ap_spec.BAND_2GHZ) 35 """Test setting only the band to 5GHz.""" 36 spec = ap_spec.APSpec(band=ap_spec.BAND_5GHZ) 44 self.assertEquals(spec.band, ap_spec.DEFAULT_BAND) 51 self.assertEquals(spec.band, ap_spec.BAND_5GHZ) 58 self.assertEquals(spec.band, ap_spec.DEFAULT_BAND) 65 self.assertEquals(spec.band, ap_spec.BAND_2GHZ) 72 self.assertEquals(spec.band, ap_spec.BAND_5GHZ [all...] |
asus_qis_ap_configurator.py | 50 return [{'band': ap_spec.BAND_2GHZ, 52 {'band': ap_spec.BAND_5GHZ, 57 return [{'band': ap_spec.BAND_2GHZ, 59 {'band': ap_spec.BAND_5GHZ, 63 def set_mode(self, mode, band=None): 66 self.add_item_to_command_list(self._set_mode, (mode, band), 1, 800) 69 def _set_mode(self, mode, band=None): 70 if band: 71 self._set_band(band) 110 def set_band(self, band) [all...] |
ap_spec.py | 89 def band_string_for_band(band): 90 """Returns a human readable string of the band 92 @param band: band object 93 @returns: string representation of the band 95 if band == BAND_2GHZ: 97 elif band == BAND_5GHZ: 139 band=None, mode=None, channel=None, hostnames=None, 155 if band == BAND_2GHZ or not band 210 def band(self): member in class:APSpec [all...] |
netgear4500_ap_configurator.py | 5 """Base class for NetgearWNDR dual band routers.""" 13 """Base class for Netgear WNDR 4500 dual band routers.""" 16 def _set_mode(self, mode, band=None):
|
/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 */
|
/external/aac/libSBRenc/src/ |
code_env.cpp | 407 INT i, no_of_bands, band; local 498 for (band = no_of_bands - 1; band > 0; band--) { 499 if (ptr_nrg[band] - ptr_nrg[band - 1] > codeBookScfLavBalanceFreq) { 500 ptr_nrg[band - 1] = ptr_nrg[band] - codeBookScfLavBalanceFreq; 503 for (band = 1; band < no_of_bands; band++) [all...] |
nf_est.cpp | 150 INT i, band, env; local 169 for (band = 0; band < noNoiseBands; band++) { 172 accu += fMultDiv2(pSmoothFilter[i], prevNoiseLevels[i][band]); 174 FDK_ASSERT((band + env * noNoiseBands) < MAX_NUM_NOISE_VALUES); 175 NoiseLevels[band + env * noNoiseBands] = accu << 1; 201 noise floor band.*/ 203 noise floor band. */ 217 band.* 351 INT nNoiseEnvelopes, startPos[2], stopPos[2], env, band; local [all...] |
/external/aac/libSACdec/src/ |
sac_dec_conceal.cpp | 140 int band, dataMode = -1; local 166 for (band = startBand; band < stopBand; band += 1) { 168 idxPrev[band] = 169 fMultI(fac, defaultValue - idxPrev[band]) + idxPrev[band]; 176 for (band = startBand; band < stopBand; band += 1) [all...] |
sac_calcM1andM2.cpp | 325 int band; local 328 for (band = 0; band < numOttBands; band++) { 329 SpatialDequantGetCLDValues(cld[band], &c_l[band], &c_r[band]); 333 band = 0; 335 for (; band < numOttBands; band++) 365 int band; local 479 INT band; local 529 INT band; local 725 int band; local [all...] |
/external/libxaac/decoder/ |
ixheaacd_rev_vlc.c | 380 WORD32 group, band, bnds; local 385 for (band = 0; band < ptr_rvlc->max_sfb_transmitted; band++) { 386 bnds = 16 * group + band; 528 WORD32 band = 0; local 558 for (band = 0; band < ptr_rvlc->max_sfb_transmitted; band++) { 559 bnds = 16 * group + band; 702 WORD16 band, group, dpcm, ixheaacd_drc_offset; local 868 WORD32 group, band; local 1019 WORD32 band, bnds, start_band, end_band, group; local 1152 WORD32 band, bnds, group, start_band; local 1207 WORD32 band, bnds, group, start_band; local 1264 WORD32 band, bnds, start_band, end_band, group; local 1375 WORD32 band, bnds, group; local 1466 WORD32 band, bnds, group; local 1658 WORD32 band; local 1686 WORD32 band; local [all...] |
/external/aac/libSBRdec/src/ |
sbrdec_drc.cpp | 125 int band; local 131 for (band = 0; band < (64); band++) { 132 hDrcData->prevFact_mag[band] = FL2FXCONST_DBL(0.5f); 135 for (band = 0; band < SBRDEC_MAX_DRC_BANDS; band++) { 136 hDrcData->currFact_mag[band] = FL2FXCONST_DBL(0.5f); 137 hDrcData->nextFact_mag[band] = FL2FXCONST_DBL(0.5f) 204 int band, bottomMdct, topMdct, bin, useLP; local [all...] |
/external/libopus/celt/ |
rate.h | 53 static OPUS_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 OPUS_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)
|
/external/libvpx/libvpx/vp8/encoder/ |
tokenize.c | 110 int band, rc, v, token; local 121 /* c = band for this case */ 147 band = vp8_coef_bands[c]; 154 t->context_tree = cpi->common.fc.coef_probs[1][band][pt]; 158 ++x->coef_counts[1][band][pt][token]; 164 band = vp8_coef_bands[c]; 166 t->context_tree = cpi->common.fc.coef_probs[1][band][pt]; 170 ++x->coef_counts[1][band][pt][DCT_EOB_TOKEN]; 193 int band, rc, v; local 211 /* c = band for this case * 403 int band; local [all...] |
/external/flatbuffers/lua/flatbuffers/ |
compat.lua | 11 return bit32.band(alignsize,(size - 1))
|
/external/bcc/src/lua/bpf/ |
ljbytecode.lua | 19 local shr, band = bit.rshift, bit.band 29 local op, ma, mb, mc = band(ins, 0xff), band(m, 7), band(m, 15*8), band(m, 15*128) 30 local a, b, c, d = band(shr(ins, 8), 0xff), nil, nil, shr(ins, 16) 32 d = band(d, 0xff)
|