/external/aac/libAACdec/src/ |
H A D | 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...] |
H A D | 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; 151 CPns_IsPnsUsed(const CPnsData *pPnsData, const int group, const int band) argument 165 CPns_SetCorrelation(CPnsData *pPnsData, const int group, const int band, const int outofphase) argument 185 CPns_IsCorrelated(const CPnsData *pPnsData, const int group, const int band) argument 204 CPns_IsOutOfPhase(const CPnsData *pPnsData, const int group, const int band) argument 219 CPns_Read(CPnsData *pPnsData, HANDLE_FDK_BITSTREAM bs, const CodeBookDescription *hcb, SHORT *pScaleFactor, UCHAR global_gain, int band, int group ) argument [all...] |
H A D | 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...] |
H A D | 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...] |
H A D | aacdec_drc.cpp | 614 pDrcBs->channelData.numBands = 1; /* One band ... */ 624 pDrcBs->channelData.numBands = 1; /* One band ... */ 855 int band, top, bin, numBands; 937 for (band = 0; band < numBands; band++) 939 UCHAR drcVal = pDrcChData->drcValue[band]; 940 top = fixMin((int)( (pDrcChData->bandTop[band]+1)<<2 ), aacFrameSize); 942 fact_mantissa[band] = FL2FXCONST_DBL(0.5f); 943 fact_exponent[band] [all...] |
H A D | rvlc.cpp | 196 int group, band, bnds; local 201 for (band=0; band < pRvlc->maxSfbTransmitted; band++) { 202 bnds = 16*group+band; 419 int band = 0; local 448 for (band=0; band < pRvlc->maxSfbTransmitted; band++) { 449 bnds = 16*group+band; 610 SHORT band, group, dpcm, offset; local 930 int band; local 958 int band; local 1058 int group,band; local [all...] |
H A D | channel.cpp | 113 for (UCHAR band = 0 ; band < pAacDecoderChannelInfo[L]->icsInfo.MaxSfBands; band++) { 114 if (pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] & groupMask) { /* channels are correlated */ 115 CPns_SetCorrelation(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, band, 0); 117 if (CPns_IsPnsUsed(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, band) && 118 CPns_IsPnsUsed(&pAacDecoderChannelInfo[R]->data.aac.PnsData, group, band)) 119 pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] ^= groupMask; /* clear the groupMask-bit */
|
/external/aac/libAACdec/src/arm/ |
H A D | 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];
|
/external/aac/libSBRenc/src/ |
H A D | 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_band [all...] |
H A D | 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...] |
H A D | 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 583 INT env, band; local 855 int group, bin, col, subband, band; local [all...] |
H A D | invf_est.cpp | 430 INT band; local 435 for(band = 0 ; band < hInvFilt->noDetectorBands; band++){ 436 INT startChannel = hInvFilt->freqBandTableInvFilt[band]; 437 INT stopChannel = hInvFilt->freqBandTableInvFilt[band+1]; 443 &hInvFilt->detectorValues[band], 450 infVec[band]= decisionAlgorithm( hInvFilt->detectorParams, 451 &hInvFilt->detectorValues[band], 453 &hInvFilt->prevRegionSbr[band], [all...] |
H A D | ps_main.cpp | 551 INT group, bin, col, band; local 600 for (band=0; band<psBands; band++) { 602 dynBandScale[band] = CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band])); 604 dynBandScale[band] = fixMax(0,CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band])) [all...] |
/external/aac/libSBRdec/src/ |
H A D | 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] 202 int band, bottomMdct, topMdct, bin, useLP; local [all...] |
H A D | 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], hHybri 628 int k, band; local [all...] |
H A D | sbrdec_freq_sca.cpp | 109 \brief Retrieve QMF-band where the SBR range starts 114 \return Number of start band 121 INT band; local 129 band = FDK_sbrDecoder_sbr_start_freq_88[startFreq]; 132 band = FDK_sbrDecoder_sbr_start_freq_64[startFreq]; 135 band = FDK_sbrDecoder_sbr_start_freq_48[startFreq]; 138 band = FDK_sbrDecoder_sbr_start_freq_44[startFreq]; 141 band = FDK_sbrDecoder_sbr_start_freq_32[startFreq]; 144 band = FDK_sbrDecoder_sbr_start_freq_24[startFreq]; 147 band [all...] |
/external/libopus/celt/ |
H A D | rate.h | 53 static OPUS_INLINE int bits2pulses(const CELTMode *m, int band, int LM, int bits) argument 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) argument 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/libvorbis/lib/ |
H A D | 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[ [all...] |
H A D | envelope.h | 61 envelope_band band[VE_BANDS]; member in struct:__anon9355
|
/external/iproute2/tc/ |
H A D | q_prio.c | 60 unsigned band; local 66 if (get_unsigned(&band, *argv, 10)) { 70 if (band > opt.bands) { 78 opt.priomap[idx++] = band;
|
H A D | 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/ |
H A D | 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 229 /* c = band fo 430 int type, band, pt, t; local 529 int band; local [all...] |
H A D | encodemb.c | 253 int band; local 311 band = vp8_coef_bands[i + 1]; 314 mb->token_costs[type][band][pt][tokens[next][0].token]; 316 mb->token_costs[type][band][pt][tokens[next][1].token]; 369 band = vp8_coef_bands[i + 1]; 373 rate0 += mb->token_costs[type][band][pt][ 379 rate1 += mb->token_costs[type][band][pt][ 414 band = vp8_coef_bands[i + 1]; 420 tokens[next][0].rate += mb->token_costs[type][band][0][t0]; 425 tokens[next][1].rate += mb->token_costs[type][band][ [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_detokenize.c | 34 ++coef_counts[band][ctx][token]; \ 61 int band, c = 0; local 77 band = *band_translate++; 78 prob = coef_probs[band][ctx]; 80 ++eob_branch_count[band][ctx]; 94 band = *band_translate++; 95 prob = coef_probs[band][ctx];
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_tokenize.c | 226 const uint8_t *const band = get_band_translate(tx_size); local 244 add_token_no_extra(&t, coef_probs[band[c]][pt], ZERO_TOKEN, skip_eob, 245 counts[band[c]][pt]); 246 eob_branch[band[c]][pt] += !skip_eob; 255 add_token(&t, coef_probs[band[c]][pt], 259 counts[band[c]][pt]); 260 eob_branch[band[c]][pt] += !skip_eob; 268 add_token_no_extra(&t, coef_probs[band[c]][pt], EOB_TOKEN, 0, 269 counts[band[c]][pt]); 270 ++eob_branch[band[ [all...] |