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

1 2 3

  /external/aac/libAACenc/src/
spreading.cpp 104 delay = fixMax(pbSpreadEnergy[i], fMult(maskHighFactor[i], delay));
111 delay = fixMax(pbSpreadEnergy[i], fMult(maskLowFactor[i],delay));
channel_map.cpp 375 hQC->elementBits[0]->chBitrateEl = fMult(sceRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTot;
376 hQC->elementBits[1]->chBitrateEl = fMult(cpeRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brTot+1);
391 hQC->elementBits[0]->chBitrateEl = fMult(sce1Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTot;
392 hQC->elementBits[1]->chBitrateEl = fMult(cpeRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brTot+1);
393 hQC->elementBits[2]->chBitrateEl = fMult(sce2Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTot;
409 hQC->elementBits[0]->chBitrateEl = fMult(sceRate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>sc_brTot;
410 hQC->elementBits[1]->chBitrateEl = fMult(cpe1Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brTot+1);
411 hQC->elementBits[2]->chBitrateEl = fMult(cpe2Rate, (FIXP_DBL)(bitrateTot<<sc_brTot))>>(sc_brTot+1);
432 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1),
433 (INT)((fMult(FL2FXCONST_DBL(1.1f/2.f),fMult(lfeRate,(FIXP_DBL)(averageBitsTot<<sc)))<<1)>>sc) )
    [all...]
psy_configuration.cpp 317 center_freq = fMult(center_freq, INV480) << 4; // q13
323 x1 = fMult(center_freq, FOURBY3EM4); /* q13 * q43 - (DFRACT_BITS-1) = q25 */
324 x2 = fMult(center_freq, PZZZ76) << 2; /* q13 * q41 - (DFRACT_BITS-1) + 2 = q25 */
330 bvalFFTLine = fMult(ONE3P3, atan2) + fMult(THREEP5, fMult(atan1, atan1));
414 fMult(MASKHIGH, (pbBarcValue[i] - pbBarcValue[i-1])), 23,
418 fMult(MASKLOW, (pbBarcValue[i] - pbBarcValue[i-1])), 23,
422 fMult(MASKHIGHSPREN, (pbBarcValue[i] - pbBarcValue[i-1])), 23,
426 fMult(MASKLOWSPREN, (pbBarcValue[i] - pbBarcValue[i-1])), 23
    [all...]
pre_echo_control.cpp 138 tmpThreshold2 = fMult(minRemainingThresholdFactor, pbThreshold[i]);
156 tmpThreshold2 = fMult(minRemainingThresholdFactor, pbThreshold[i]);
metadata_compressor.cpp 418 exponent = fMult(exponent,FIXP_ILOG2_DIV2)<<1; /* e^(x) = 2^(x*ld(e)) */
629 drcComp->maxEarlyCut[i] = - fMult((drcComp->cutThr[i] - drcComp->earlyCutThr[i]), drcComp->earlyCutFac[i]); /* no scaling after mult needed, earlyCutFac is in FIXP_DBL */
706 y = fMult(b0,x-x2) - fMult(a1,y1) - fMult(a2,y2);
777 FIXP_DBL level = fMult((FIXP_DBL)(10<<(METADATA_FRACT_BITS+LD_DATA_SHIFT)), fMult( FL2FXCONST_DBL(0.30102999566398119521373889472449f), ldLevel) + (FIXP_DBL)(FL2FXCONST_DBL(0.3f)>>LD_DATA_SHIFT) );
797 gain = fMult((level - drcComp->boostThr[i]),drcComp->boostFac[i]);
    [all...]
chaosmeasure.cpp 122 chaosMeasure[j] = fMult(tmp,tmp);
transform.cpp 224 z0 = (fMult((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N/2-1-i])<< (WTS0-1)) + (fMult((FIXP_PCM)timeData[L+N*3/4+i], pWindowELD[N/2+i])<< (WTS0-1));
243 z0 = fMult((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N/2-1-i]) << (WTS0-1);
248 overlapAddBuffer[N/2+i] = overlapAddBuffer[i] + (fMult((FIXP_PCM)timeData[L-N/4+i], pWindowELD[N/2+i])<< (WTS0-1) );
aacenc_tns.cpp 560 result += (fMult(spectrum[i], spectrum[i+lag])>>scale);
603 retValue = fMult(tmp,tmp);
681 _rxx1[0] = scaleValue(fMult(rxx1_0,fac1),sc_fac1);
687 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][3*lag]);
713 _rxx2[0] = scaleValue(fMult(rxx2_0,fac2),sc_fac2) +
714 scaleValue(fMult(rxx3_0,fac3),sc_fac3) +
715 scaleValue(fMult(rxx4_0,fac4),sc_fac4);
719 FIXP_DBL x2 = scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx1, idx2, lag, nsc2), fac2),sc_fac2) +
720 scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx2, idx3, lag, nsc3), fac3),sc_fac3)
    [all...]
sf_estim.cpp 239 ldRatio = sfbConstPePart - fMult(FL2FXCONST_DBL(0.375f),scfFract);
242 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,ldRatio));
245 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,(PE_C2 + fMult(PE_C3,ldRatio))));
330 ldRatioOld = sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f),scfFract);
333 ldRatioNew = sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f),scfFract);
338 pOld = PE_C2 + fMult(PE_C3,ldRatioOld);
343 pNew = PE_C2 + fMult(PE_C3,ldRatioNew)
    [all...]
line_pe.cpp 177 fMultDiv2(((FIXP_DBL)C2LdData + fMult(C3LdData,logDataRatio)), (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONSTPART_SHIFT+1)));
180 fMultDiv2(((FIXP_DBL)C2LdData + fMult(C3LdData,sfbEnergyLdData[sfbGrp+sfb])),
adj_thr.cpp 319 FIXP_DBL peFac = fMult((FIXP_DBL)(bitRate-startB)<<14, (FIXP_DBL)peSlope) << 2;
348 return (INT)(fMult(factor_m, (FIXP_DBL)(bits<<Q_AVGBITS)) >> (Q_AVGBITS-factor_e));
414 dbRatio = fMult((avgEnLD64 - qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]),FL2FXCONST_DBL(0.3010299956f)); /* scaled by (1.0f/(10.0f*64.0f)) */
415 minSnrRed = msaParam->redOffs + fMult(msaParam->redRatioFac,dbRatio); /* scaled by 1.0f/64.0f*/
417 qcOutChannel[ch]->sfbMinSnrLdData[sfbGrp+sfb] = (fMult(qcOutChannel[ch]->sfbMinSnrLdData[sfbGrp+sfb],minSnrRed)) << 6;
458 fMult(FL2FXCONST_DBL(0.63f),
546 fMult(qcOutChanS->sfbEnergy[sfbGrp+sfb], FL2FXCONST_DBL(0.9f));
550 fMult(qcOutChanM->sfbEnergy[sfbGrp+sfb], FL2FXCONST_DBL(0.9f));
672 nrgSum34 += ( fMult(nrgFac14, nrgFac12) >> 6 ); /* sum up nrg^(3/4) */
    [all...]
noisedet.cpp 115 else if (testVal >= fMult((hiLim>>1)+(loLim>>1), refVal))
  /external/aac/libFDK/include/
cplx_mul.h 221 *c_Re = fMult(a_Re,b_Re) - fMult(a_Im,b_Im);
222 *c_Im = fMult(a_Re,b_Im) + fMult(a_Im,b_Re);
249 *c_Re = fMult(a_Re,b_Re) - fMult(a_Im,b_Im);
250 *c_Im = fMult(a_Re,b_Im) + fMult(a_Im,b_Re);
FDK_trigFcts.h 152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI));
156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2;
common_fix.h 190 FDK_INLINE LONG fMult(SHORT a, SHORT b) { return fixmul_SS(a, b); }
191 FDK_INLINE LONG fMult(SHORT a, LONG b) { return fixmul_SD(a, b); }
192 FDK_INLINE LONG fMult(LONG a, SHORT b) { return fixmul_DS(a, b); }
193 FDK_INLINE LONG fMult(LONG a, LONG b) { return fixmul_DD(a, b); }
  /external/aac/libSBRenc/src/
resampler.cpp 405 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]);
406 y = state0 - fMult(state1b, coeff[A1]) - fMult(state2b, coeff[A2]);
426 y = fMult(y, downFilter->gain);
440 state0 = input - fMult(state1, coeff[A1]) - fMult(state2, coeff[A2]);
441 y = state0 + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]);
443 y = fMult(y, downFilter->gain)
    [all...]
tran_det.cpp 131 pos_weight = /*FL2FXCONST_DBL(1.0)*/ (FIXP_DBL)MAXVAL_DBL - (fMult(pos_weight, pos_weight)<<2);
157 delta = fixp_abs(fMult(tmp2, FL2FXCONST_DBL(0.6931471806f)));
166 delta_sum += (FIXP_DBL)(fMult(sqrtFixp(result), delta));
169 return fMult(delta_sum, pos_weight);
409 accu0 += fMult(Energies[j][i], i_noCols);
411 accu1 += fMult(Energies[j][i], i_noCols);
423 temp = fMult(temp, i_noCols1);
429 temp = fMult(temp, i_noCols1);
440 ? fMult(FL2FXCONST_DBL(0.66f), thresholds[i]) + (fMult(FL2FXCONST_DBL(0.34f), std_val) >> commonScale
    [all...]
invf_est.cpp 223 quotaVecOrig[i] += fMult(quotaMatrixOrig[j][i], invIndex);
226 quotaVecSbr[i] += fMult(quotaMatrixOrig[j][indexVector[i]], invIndex);
228 detectorValues->avgNrg += fMult(nrgVector[j], invIndex);
289 detectorValues->origQuotaMeanFilt += fMult(detectorValues->origQuotaMean[i], filter[i]);
290 detectorValues->sbrQuotaMeanFilt += fMult(detectorValues->sbrQuotaMean[i], filter[i]);
291 detectorValues->origQuotaMeanStrongestFilt += fMult(detectorValues->origQuotaMeanStrongest[i], filter[i]);
292 detectorValues->sbrQuotaMeanStrongestFilt += fMult(detectorValues->sbrQuotaMeanStrongest[i], filter[i]);
nf_est.cpp 216 meanOrig += fMult((accu<<1), invChannel);
223 meanSbr += fMult((accu<<1), invChannel);
250 fMult(RELAXATION_FRACT,fMult(weightFac,accu)) >>( RELAXATION_SHIFT-scale ) ) ;
272 *noiseLevel = fMult(*noiseLevel, noiseFloorOffset)<<(NOISE_FLOOR_OFFSET_SCALING);
540 tmp = fMult((FIXP_DBL)(h_sbrNoiseFloorEstimate->noiseBands<<24), lg2);
ton_corr.cpp 227 alphar[0] = (fMultDiv2(ac->r01r, ac->det)>>(ac->det_scale+1)) + fMult(alphar[1], ac->r12r) + fMult(alphai[1], ac->r12i);
228 alphai[0] = (fMultDiv2(ac->r01i, ac->det)>>(ac->det_scale+1)) + fMult(alphai[1], ac->r12r) - fMult(alphar[1], ac->r12i);
230 fac = fMultDiv2(ac->r00r, fMult(ac->det, ac->r11r))>>(ac->det_scale+1);
244 num = fMultDiv2(alphar[0], ac->r01r) + fMultDiv2(alphai[0], ac->r01i) - fMultDiv2(alphar[1], fMult(ac->r02r, ac->r11r)) - fMultDiv2(alphai[1], fMult(ac->r02i, ac->r11r));
250 num = fMult(num,RELAXATION_FRACT);
    [all...]
  /external/aac/libFDK/src/
FDK_hybrid.cpp 525 fft[FFT_IDX_R(0)] = ( fMult(p[10], ( fMultSub(fMultDiv2(cr[ 2], pQmfReal[pReadIdx[ 2]]), ci[ 2], pQmfImag[pReadIdx[ 2]]))) +
526 fMult(p[ 6], ( fMultSub(fMultDiv2(cr[ 6], pQmfReal[pReadIdx[ 6]]), ci[ 6], pQmfImag[pReadIdx[ 6]]))) +
527 fMult(p[ 2], ( fMultSub(fMultDiv2(cr[10], pQmfReal[pReadIdx[10]]), ci[10], pQmfImag[pReadIdx[10]]))) );
528 fft[FFT_IDX_I(0)] = ( fMult(p[10], ( fMultAdd(fMultDiv2(ci[ 2], pQmfReal[pReadIdx[ 2]]), cr[ 2], pQmfImag[pReadIdx[ 2]]))) +
529 fMult(p[ 6], ( fMultAdd(fMultDiv2(ci[ 6], pQmfReal[pReadIdx[ 6]]), cr[ 6], pQmfImag[pReadIdx[ 6]]))) +
530 fMult(p[ 2], ( fMultAdd(fMultDiv2(ci[10], pQmfReal[pReadIdx[10]]), cr[10], pQmfImag[pReadIdx[10]]))) );
533 fft[FFT_IDX_R(1)] = ( fMult(p[ 9], ( fMultSub(fMultDiv2(cr[ 3], pQmfReal[pReadIdx[ 3]]), ci[ 3], pQmfImag[pReadIdx[ 3]]))) +
534 fMult(p[ 5], ( fMultSub(fMultDiv2(cr[ 7], pQmfReal[pReadIdx[ 7]]), ci[ 7], pQmfImag[pReadIdx[ 7]]))) +
535 fMult(p[ 1], ( fMultSub(fMultDiv2(cr[11], pQmfReal[pReadIdx[11]]), ci[11], pQmfImag[pReadIdx[11]]))) );
536 fft[FFT_IDX_I(1)] = ( fMult(p[ 9], ( fMultAdd(fMultDiv2(ci[ 3], pQmfReal[pReadIdx[ 3]]), cr[ 3], pQmfImag[pReadIdx[ 3]])))
    [all...]
FDK_trigFcts.cpp 262 temp = fMult(temp, ONEBY3P56); // q19 * q31 - (DFRACT_BITS-1) = q19
301 error = fMult(sine, residual);
311 error = fMult(cosine, residual);
321 error0 = fMult(sine, residual);
322 error1 = fMult(cosine, residual);
  /external/aac/libSBRdec/src/
psdec.cpp 674 h_ps_d->specificTo.mpeg.aPeakDecayFastBin[bin] = fMult( h_ps_d->specificTo.mpeg.aPeakDecayFastBin[bin], PEAK_DECAY_FACTOR );
687 nrg = h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] + fMult( INT_FILTER_COEFF, aaPowerSlot[bin] - h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] );
696 nrg = fMult( nrg, TRANSIENT_IMPACT_FACTOR );
771 pAaaRealDelayRBufferSerSubQmf[tmpDelayRSer] = rR0 + fMult(aAllpassLinkDecaySer[m], rTmp);
772 pAaaImagDelayRBufferSerSubQmf[tmpDelayRSer] = iR0 + fMult(aAllpassLinkDecaySer[m], iTmp);
783 aaRightReal[sb] = fMult(transRatio, rR0);
784 aaRightImag[sb] = fMult(transRatio, iR0);
834 resR = fMult(decayScaleFactor, rR0);
835 resI = fMult(decayScaleFactor, iR0);
    [all...]
sbrdec_drc.cpp 369 drcFact_mag = fMult(alphaValue, drcFact2_mag) + fMult(((FIXP_DBL)MAXVAL_DBL - alphaValue), drcFact1_mag);
373 qmfRealSlot[bin] = fMult(qmfRealSlot[bin], drcFact_mag);
375 qmfImagSlot[bin] = fMult(qmfImagSlot[bin], drcFact_mag);
451 qmfRealSlot[bin] = fMult(qmfRealSlot[bin], drcFact_mag);
453 qmfImagSlot[bin] = fMult(qmfImagSlot[bin], drcFact_mag);
env_calc.cpp 359 tmp = fMult(tmp,nrgGain[k]);
381 FDK_add_MantExp( fMult(alpha,groupGain), groupGain_e,
382 fMult(/*FL2FXCONST_DBL(1.0f)*/ (FIXP_DBL)MAXVAL_DBL - alpha,nrgGain[k]), nrgGain_e[k],
386 tmp = fMult(nrgGain[k],nrgEst[k]);
402 nrgGain[k] = fMult(nrgGain[k],compensation);
737 maxGain = fMult(maxGain, FDK_sbrDecoder_sbr_limGains_m[hHeaderData->bs_data.limiterGains]);
764 pNrgs->noiseLevel[k] = fMult(pNrgs->noiseLevel[k],noiseAmp);
780 FIXP_DBL tmp = fMult(pNrgs->nrgGain[k],pNrgs->nrgEst[k]);
    [all...]

Completed in 701 milliseconds

1 2 3