/external/aac/libAACenc/src/ |
D | quantize.cpp | 117 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line],quantizer); in FDKaacEnc_quantizeLines() local 119 if (accu < FL2FXCONST_DBL(0.0f)) in FDKaacEnc_quantizeLines() 121 accu=-accu; in FDKaacEnc_quantizeLines() 123 …INT accuShift = CntLeadingZeros(accu) - 1; /* CountLeadingBits() is not necessary here since te… in FDKaacEnc_quantizeLines() 124 accu <<= accuShift; in FDKaacEnc_quantizeLines() 125 INT tabIndex = (INT)(accu>>(DFRACT_BITS-2-MANT_DIGITS))&(~MANT_SIZE); in FDKaacEnc_quantizeLines() 127 accu = fMultDiv2(FDKaacEnc_mTab_3_4[tabIndex],FDKaacEnc_quantTableE[totalShift&3]); in FDKaacEnc_quantizeLines() 130 accu >>= fixMin(totalShift,DFRACT_BITS-1); in FDKaacEnc_quantizeLines() 131 quaSpectrum[line] = (SHORT)(-((LONG)(k + accu) >> (DFRACT_BITS-1-16))); in FDKaacEnc_quantizeLines() 133 else if(accu > FL2FXCONST_DBL(0.0f)) in FDKaacEnc_quantizeLines() [all …]
|
D | aacenc_pns.cpp | 514 FIXP_DBL accu = sfbEnergyMid[sfb]- (((sfbEnergyLeft[sfb]>>1)+(sfbEnergyRight[sfb]>>1))>>1); in FDKaacEnc_PreProcessPnsChannelPair() local 515 INT sign = (accu < FL2FXCONST_DBL(0.0f)) ? 1 : 0 ; in FDKaacEnc_PreProcessPnsChannelPair() 516 accu = fixp_abs(accu); in FDKaacEnc_PreProcessPnsChannelPair() 518 …ccf = CalcLdData(accu) + FL2FXCONST_DBL((float)1.0f/(float)LD_DATA_SCALING) - quot; /* ld(accu*2… in FDKaacEnc_PreProcessPnsChannelPair()
|
D | metadata_compressor.cpp | 699 FIXP_DBL accu = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc() local 713 accu += fPow2Div2(y)>>(granuleShift-1); /* partial energy */ in FDK_DRC_Generator_Calc() 716 …fixpAdd(accu, granuleShift+2*WEIGHTING_FILTER_SHIFT, &level_b, &level_e); /* sup up partial energi… in FDK_DRC_Generator_Calc() 742 FIXP_DBL accu = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc() local 746 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShift-1); in FDK_DRC_Generator_Calc() 749 fixpAdd(accu, granuleShift, &level_b, &level_e); /* sup up partial energies */ in FDK_DRC_Generator_Calc() 843 FIXP_DBL accu; in FDK_DRC_Generator_Calc() local 846 accu = fMult(((FIXP_DBL)MAXVAL_DBL-alpha), drcComp->smoothLevel[i]); in FDK_DRC_Generator_Calc() 847 accu += fMult(alpha,level); in FDK_DRC_Generator_Calc() 848 drcComp->smoothLevel[i] = accu; in FDK_DRC_Generator_Calc() [all …]
|
D | sf_estim.cpp | 181 FIXP_DBL accu; in FDKaacEnc_calcSfbRelevantLines() local 198 accu = sfbEnergyLdData[sfbOffs+sfb] - sfbWidthLdData - asPeFacLdData; in FDKaacEnc_calcSfbRelevantLines() 199 accu = sfbFormFactorLdData[sfbOffs+sfb] - (accu >> 2); in FDKaacEnc_calcSfbRelevantLines() 201 sfbNRelevantLines[sfbOffs+sfb] = CalcInvLdData(accu) >> 1; in FDKaacEnc_calcSfbRelevantLines()
|
D | adj_thr.cpp | 387 FIXP_DBL accu; in FDKaacEnc_adaptMinSnr() local 392 accu = FL2FXCONST_DBL(0.0f); in FDKaacEnc_adaptMinSnr() 396 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp+sfb]>>6; in FDKaacEnc_adaptMinSnr() 401 if ((accu == FL2FXCONST_DBL(0.0f)) || (nSfb == 0)) { in FDKaacEnc_adaptMinSnr() 406 avgEnLD64 = CalcLdData(accu); in FDKaacEnc_adaptMinSnr()
|
/external/aac/libSBRenc/src/ |
D | nf_est.cpp | 129 FIXP_DBL accu; in smoothingOfNoiseLevels() local 145 accu = FL2FXCONST_DBL(0.0f); in smoothingOfNoiseLevels() 147 accu += fMultDiv2(smoothFilter[i], prevNoiseLevels[i][band]); in smoothingOfNoiseLevels() 150 NoiseLevels[band+ env*noNoiseBands] = accu<<1; in smoothingOfNoiseLevels() 184 FIXP_DBL accu; in qmfBasedNoiseFloorDetection() local 194 accu = FL2FXCONST_DBL(0.0f); in qmfBasedNoiseFloorDetection() 196 accu += fMultDiv2(quotaMatrixOrig[k][l], invIndex); in qmfBasedNoiseFloorDetection() 198 meanOrig = fixMax(meanOrig,(accu<<1)); in qmfBasedNoiseFloorDetection() 201 accu = FL2FXCONST_DBL(0.0f); in qmfBasedNoiseFloorDetection() 203 accu += fMultDiv2(quotaMatrixOrig[k][indexVector[l]], invIndex); in qmfBasedNoiseFloorDetection() [all …]
|
D | tran_det.cpp | 242 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); in addHighbandEnergies() local 251 accu = FL2FXCONST_DBL(0.0f); in addHighbandEnergies() 258 accu += (Energies[(slotIn+i)>>1][k] >> 5); in addHighbandEnergies() 261 EnergiesM[slotOut][j] = accu; in addHighbandEnergies() 271 accu = FL2FXCONST_DBL(0.0f); in addHighbandEnergies() 274 accu += (EnergiesM[slotOut][j] >> scale); in addHighbandEnergies() 277 nrgTotal = accu >> (scaleEnergies[0]-scale); in addHighbandEnergies() 382 FIXP_DBL accu,accu0,accu1; in calculateThresholds() local 417 accu = FL2FXCONST_DBL(0.0f); in calculateThresholds() 424 accu += temp; in calculateThresholds() [all …]
|
D | mh_det.cpp | 213 FIXP_DBL accu; in calculateFlatnessMeasure() local 253 accu = (FIXP_DBL)-shiftFacSum0 << (DFRACT_BITS-1-8); in calculateFlatnessMeasure() 254 tmp2 = fMultDiv2(invBands, accu) << (2+1); in calculateFlatnessMeasure() 269 accu = (FIXP_DBL)-shiftFacSum1 << (DFRACT_BITS-1-8); in calculateFlatnessMeasure() 270 tmp2 = fMultDiv2(invBands, accu) << (2+1); in calculateFlatnessMeasure()
|
/external/aac/libSBRdec/src/ |
D | transcendent.h | 127 FIXP_DBL accu; in FDK_add_MantExp() local 146 accu = (shiftedMantissa >> 1) + (otherMantissa >> 1); in FDK_add_MantExp() 149 if ( (accu >= (FL2FXCONST_DBL(0.5f) - (FIXP_DBL)1)) || (accu <= FL2FXCONST_DBL(-0.5f)) ) in FDK_add_MantExp() 152 accu = (shiftedMantissa + otherMantissa); in FDK_add_MantExp() 154 *ptrSum_m = FX_DBL2FX_SGL(accu); in FDK_add_MantExp() 165 FIXP_DBL accu; in FDK_add_MantExp() local 184 accu = (shiftedMantissa >> 1) + (otherMantissa >> 1); in FDK_add_MantExp() 187 if ( (accu >= (FL2FXCONST_DBL(0.5f) - (FIXP_DBL)1)) || (accu <= FL2FXCONST_DBL(-0.5f)) ) in FDK_add_MantExp() 190 accu = (shiftedMantissa + otherMantissa); in FDK_add_MantExp() 192 *ptrSum = accu; in FDK_add_MantExp()
|
D | env_calc.cpp | 728 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); in calculateSbrEnvelope() local 782 FDK_add_MantExp(tmp, tmp_e, accu, accu_e, &accu, &accu_e); in calculateSbrEnvelope() 786 FDK_add_MantExp(pNrgs->nrgSine[k], pNrgs->nrgSine_e[k], accu, accu_e, &accu, &accu_e); in calculateSbrEnvelope() 791 … FDK_add_MantExp(pNrgs->noiseLevel[k], pNrgs->noiseLevel_e[k], accu, accu_e, &accu, &accu_e); in calculateSbrEnvelope() 797 if (accu == (FIXP_DBL)0) { /* If divisor is 0, limit quotient to +4 dB */ in calculateSbrEnvelope() 802 boostGain = fDivNorm(sumRef, accu, &div_e); in calculateSbrEnvelope() 1388 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); in calcNrgPerSubband() local 1397 accu = fPow2AddDiv2(accu, temp1); in calcNrgPerSubband() 1398 accu = fPow2AddDiv2(accu, temp2); in calcNrgPerSubband() 1404 accu = fPow2AddDiv2(accu, temp); in calcNrgPerSubband() [all …]
|
D | lpp_tran.cpp | 174 FIXP_DBL accu; in inverseFilteringLevelEmphasis() local 180 accu = fMultDiv2(FL2FXCONST_DBL(0.75f),bwTmp) + in inverseFilteringLevelEmphasis() 184 accu = fMultDiv2(FL2FXCONST_DBL(0.90625f),bwTmp) + in inverseFilteringLevelEmphasis() 188 if (accu < FL2FXCONST_DBL(0.015625f)>>1) in inverseFilteringLevelEmphasis() 191 bwVector[i] = fixMin(accu<<1,FL2FXCONST_DBL(0.99609375f)); in inverseFilteringLevelEmphasis()
|
/external/aac/libFDK/src/ |
D | qmf.cpp | 319 FIXP_DBL accu; in qmfAnaPrototypeFirSlot() local 331 accu = fMultDiv2( p_flt[0], *sta_1); sta_1 -= staStep1; in qmfAnaPrototypeFirSlot() 332 accu += fMultDiv2( p_flt[1], *sta_1); sta_1 -= staStep1; in qmfAnaPrototypeFirSlot() 333 accu += fMultDiv2( p_flt[2], *sta_1); sta_1 -= staStep1; in qmfAnaPrototypeFirSlot() 334 accu += fMultDiv2( p_flt[3], *sta_1); sta_1 -= staStep1; in qmfAnaPrototypeFirSlot() 335 accu += fMultDiv2( p_flt[4], *sta_1); in qmfAnaPrototypeFirSlot() 336 *pData_1++ = FX_DBL2FX_QMF(accu<<1); in qmfAnaPrototypeFirSlot() 344 accu = fMultDiv2( p_flt[0], *sta_0); sta_0 += staStep1; in qmfAnaPrototypeFirSlot() 345 accu += fMultDiv2( p_flt[1], *sta_0); sta_0 += staStep1; in qmfAnaPrototypeFirSlot() 346 accu += fMultDiv2( p_flt[2], *sta_0); sta_0 += staStep1; in qmfAnaPrototypeFirSlot() [all …]
|
/external/bison/lib/ |
D | vasnprintf.c | 624 mp_twolimb_t accu = 0; in divide() local 628 accu += (mp_twolimb_t) *sourceptr++ << s; in divide() 629 *destptr++ = (mp_limb_t) accu; in divide() 630 accu = accu >> GMP_LIMB_BITS; in divide() 633 if (accu != 0) in divide() 652 mp_twolimb_t accu = 0; in divide() local 656 accu += (mp_twolimb_t) *sourceptr++ << s; in divide() 657 *destptr++ = (mp_limb_t) accu; in divide() 658 accu = accu >> GMP_LIMB_BITS; in divide() 660 *destptr++ = (mp_limb_t) accu; in divide() [all …]
|
/external/aac/libFDK/src/arm/ |
D | qmf_arm.cpp | 147 inline INT SMLABB(const LONG accu, const SHORT a, const LONG b) in SMLABB() argument 152 : "r" (a), "r" (b), "r" (accu)) ; in SMLABB() 155 inline INT SMLABT(const LONG accu, const SHORT a, const LONG b) in SMLABT() argument 160 : "r" (a), "r" (b), "r" (accu)) ; in SMLABT() 443 inline INT SMLAWB(const LONG accu, const LONG a, const LONG b) in SMLAWB() argument 448 : "r" (a), "r" (b), "r" (accu) ); in SMLAWB() 452 inline INT SMLAWT(const LONG accu, const LONG a, const LONG b) in SMLAWT() argument 457 : "r" (a), "r" (b), "r" (accu) ); in SMLAWT()
|
/external/libvpx/libvpx/vp9/encoder/mips/msa/ |
D | vp9_temporal_filter_msa.c | 277 int32_t filt_wgt, uint32_t *accu, in vp9_temporal_filter_apply_msa() argument 281 strength, filt_wgt, accu, cnt); in vp9_temporal_filter_apply_msa() 284 strength, filt_wgt, accu, cnt); in vp9_temporal_filter_apply_msa() 287 strength, filt_wgt, accu, cnt); in vp9_temporal_filter_apply_msa()
|
/external/aac/libAACdec/src/ |
D | conceal.cpp | 1422 FIXP_DBL accu; in CConcealment_InterpolateBuffer() local 1432 accu = fMult(*(spectrum+line), facMod4Table[fac_mod]); in CConcealment_InterpolateBuffer() 1434 accu >>= -fac_shift; in CConcealment_InterpolateBuffer() 1436 accu <<= fac_shift; in CConcealment_InterpolateBuffer() 1438 *(spectrum+line) = accu; in CConcealment_InterpolateBuffer()
|
/external/e2fsprogs/po/ |
D | nl.po | 2851 msgstr " (controle is uitgesteld; computer loopt op accu)"
|