Home
last modified time | relevance | path

Searched refs:scaleValue (Results 1 – 25 of 46) sorted by relevance

12

/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp209 scaleValue(src1_m, fixMax((src1_e - (*dst_e)), -(DFRACT_BITS - 1))) + in fixpAdd()
210 scaleValue(src2_m, fixMax((src2_e - (*dst_e)), -(DFRACT_BITS - 1))); in fixpAdd()
238 scaleValue(value1, q1 - resultScale) + in fixpAddNorm()
239 scaleValue(*pValue2, fixMax(-(DFRACT_BITS - 1), ((*pQ2) - resultScale))); in fixpAddNorm()
287 deltax_m = scaleValue(deltax_m, PI_E + deltax_e - (DFRACT_BITS - 1) - 1); in fdk_sacenc_init_enhancedTimeDomainDmx()
311 hEnhancedTimeDmx->gain_weight_m[L] = scaleValue( in fdk_sacenc_init_enhancedTimeDomainDmx()
313 hEnhancedTimeDmx->gain_weight_m[R] = scaleValue( in fdk_sacenc_init_enhancedTimeDomainDmx()
322 scaleValue(hEnhancedTimeDmx->gain_weight_m[L], -4); in fdk_sacenc_init_enhancedTimeDomainDmx()
324 scaleValue(hEnhancedTimeDmx->gain_weight_m[R], -4); in fdk_sacenc_init_enhancedTimeDomainDmx()
388 scaleValue((FIXP_PCM)inputTime[L][smp], in_margin - 1); in fdk_sacenc_apply_enhancedTimeDomainDmx()
[all …]
/external/skia/src/gpu/gradients/
DGrSweepGradientLayout.cpp56 float scaleValue = _outer.scale(); in onSetData() local
57 if (fScalePrev != scaleValue) { in onSetData()
58 fScalePrev = scaleValue; in onSetData()
59 pdman.set1f(fScaleVar, scaleValue); in onSetData()
/external/skqp/src/gpu/gradients/
DGrSweepGradientLayout.cpp57 float scaleValue = _outer.scale(); in onSetData() local
58 if (fScalePrev != scaleValue) { in onSetData()
59 fScalePrev = scaleValue; in onSetData()
60 pdman.set1f(fScaleVar, scaleValue); in onSetData()
/external/aac/libFDK/src/
DFDK_lpc.cpp150 tmp = scaleValue(*pSignal, shift + signal_e) - in CLpc_SynthesisLattice()
190 fMultSubDiv2(scaleValue(*pSignal, signal_e - 1), *pCoeff--, *pState--); in CLpc_SynthesisLattice()
203 *pSignal = scaleValue(tmp, -signal_e_out); in CLpc_SynthesisLattice()
240 x = scaleValue(*pSignal, -(lpcCoeff_e + 1)); in CLpc_Synthesis()
250 *pSignal = scaleValue(x, signal_e); in CLpc_Synthesis()
283 x = scaleValue(*pSignal, -(lpcCoeff_e + 1)); in CLpc_Synthesis()
293 *pSignal = scaleValue(x, signal_e); in CLpc_Synthesis()
DFDK_qmf_domain.cpp645 pQmfOutReal[b] = scaleValue(real[b], lb_sf); in FDK_QmfDomain_GetSlot()
648 pQmfOutReal[b] = scaleValue(real[b], hb_sf); in FDK_QmfDomain_GetSlot()
656 pQmfOutReal[b] = scaleValue(real[b], lb_sf); in FDK_QmfDomain_GetSlot()
657 pQmfOutImag[b] = scaleValue(imag[b], lb_sf); in FDK_QmfDomain_GetSlot()
660 pQmfOutReal[b] = scaleValue(real[b], hb_sf); in FDK_QmfDomain_GetSlot()
661 pQmfOutImag[b] = scaleValue(imag[b], hb_sf); in FDK_QmfDomain_GetSlot()
DFDK_decorrelate.cpp1240 tmp1 = scaleValue(tmp1, scaleSmoothDirRevNrg_asExponent); in DuckerApply()
1241 tmp2 = scaleValue(tmp2, scaleSmoothDirRevNrg_asExponent); in DuckerApply()
1242 tmp1 = fMultAddDiv2(tmp1, scaleValue(directNrg[pb], -scaleDirectNrg), in DuckerApply()
1244 tmp2 = fMultAddDiv2(tmp2, scaleValue(reverbNrg[pb], -scaleReverbNrg), in DuckerApply()
1365 directNrg2 = scaleValue(directNrg2, -scaleDirectNrg); in DuckerApplyPS()
1367 scaleValue(self->peakDiff[pb], -scaleSmoothDirRevNrg); in DuckerApplyPS()
1369 scaleValue(self->peakDecay[pb], -scaleSmoothDirRevNrg); in DuckerApplyPS()
1371 scaleValue(self->SmoothDirRevNrg[pb], -scaleSmoothDirRevNrg); in DuckerApplyPS()
Dqmf.cpp702 cplxMult(&tImag[i], &tReal[i], scaleValue(qmfImag[i], scaleFactorLowBand), in qmfInverseModulationHQ()
703 scaleValue(qmfReal[i], scaleFactorLowBand), synQmf->t_cos[i], in qmfInverseModulationHQ()
708 scaleValue(qmfImag[i], scaleFactorHighBand), in qmfInverseModulationHQ()
709 scaleValue(qmfReal[i], scaleFactorHighBand), synQmf->t_cos[i], in qmfInverseModulationHQ()
Dfixpoint_math.cpp494 res = scaleValue(res, e); in fDivNorm()
522 res = scaleValue(res, e); in fDivNormSigned()
645 return scaleValue(result_m, result_e); in f2Pow()
/external/aac/libPCMutils/src/
Dlimiter.cpp141 attackConst = scaleValue(attackConst, e_ans); in pcmLimiter_Create()
146 releaseConst = scaleValue(releaseConst, e_ans); in pcmLimiter_Create()
471 attackConst = scaleValue(attackConst, e_ans); in pcmLimiter_SetSampleRate()
476 releaseConst = scaleValue(releaseConst, e_ans); in pcmLimiter_SetSampleRate()
506 attackConst = scaleValue(attackConst, e_ans); in pcmLimiter_SetAttack()
530 releaseConst = scaleValue(releaseConst, e_ans); in pcmLimiter_SetRelease()
/external/aac/libAACenc/src/
Dquantize.cpp337 diff = scaleValue(diff, scale); in FDKaacEnc_calcSfbDist()
341 diff = scaleValue(diff, -scale); in FDKaacEnc_calcSfbDist()
389 diff = scaleValue(diff, scale); in FDKaacEnc_calcSfbQuantEnergyAndDist()
394 diff = scaleValue(diff, -scale); in FDKaacEnc_calcSfbQuantEnergyAndDist()
Dband_nrg.cpp181 maxNrg = scaleValue(bandEnergy[nr], scale); in FDKaacEnc_CheckBandEnergyOptim()
240 bandEnergy[i] = scaleValue(bandEnergy[i], -scale); in FDKaacEnc_CalcBandEnergyOptimLong()
252 bandEnergy[i] = scaleValue(bandEnergy[i], -scale); in FDKaacEnc_CalcBandEnergyOptimLong()
276 FIXP_DBL spec = scaleValue(mdctSpectrum[j], leadingBits); in FDKaacEnc_CalcBandEnergyOptimShort()
Daacenc_tns.cpp683 _rxx1[0] = scaleValue(fMult(rxx1_0, fac1), sc_fac1); in FDKaacEnc_MergedAutoCorrelation()
692 fMult(scaleValue(fMult(x1, fac1), sc_fac1), acfWindow[LOFILT][lag]); in FDKaacEnc_MergedAutoCorrelation()
699 _rxx1[lag] = fMult(scaleValue(fMult(x1, fac1), sc_fac1), in FDKaacEnc_MergedAutoCorrelation()
727 _rxx2[0] = scaleValue(fMult(rxx2_0, fac2), sc_fac2) + in FDKaacEnc_MergedAutoCorrelation()
728 scaleValue(fMult(rxx3_0, fac3), sc_fac3) + in FDKaacEnc_MergedAutoCorrelation()
729 scaleValue(fMult(rxx4_0, fac4), sc_fac4); in FDKaacEnc_MergedAutoCorrelation()
734 FIXP_DBL x2 = scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue( in FDKaacEnc_MergedAutoCorrelation()
738 scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue( in FDKaacEnc_MergedAutoCorrelation()
742 scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue( in FDKaacEnc_MergedAutoCorrelation()
Dadj_thr.cpp1019 CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + in FDKaacEnc_reduceThresholdsCBR()
1020 scaleValue(redVal_m, redVal_e + minScale))) - in FDKaacEnc_reduceThresholdsCBR()
1406 CalcLdData(scaleValue(thrExp[elementId][ch][sfbGrp + sfb], in FDKaacEnc_correctThresh()
1408 scaleValue(redVal_m, redVal_e + minScale)) - in FDKaacEnc_correctThresh()
1983 scaleValue(redVal_m, redVal_e - result_e) - in FDKaacEnc_adaptThresholdsToPe()
1984 scaleValue(avgThrExp_m, avgThrExp_e - result_e)); in FDKaacEnc_adaptThresholdsToPe()
2066 scaleValue(reductionValue_m, reductionValue_e - result_e) + in FDKaacEnc_adaptThresholdsToPe()
2067 scaleValue(redVal_m, redVal_e - result_e) - in FDKaacEnc_adaptThresholdsToPe()
2068 scaleValue(avgThrExp_m, avgThrExp_e - result_e)); in FDKaacEnc_adaptThresholdsToPe()
2414 fillLevel = scaleValue(fillLevel, fillLevel_e); in FDKaacEnc_bitresCalcBitFac()
[all …]
Dmetadata_compressor.cpp341 *pValue2 = scaleValue(value1, q1 - resultScale) + in fixpAdd()
342 scaleValue(*pValue2, (*pQ2) - resultScale); in fixpAdd()
369 f = scaleValue(f, e_res - METADATA_INT_BITS); /* convert to METADATA_FRACT */ in tc2Coeff()
373 product = scaleValue( in tc2Coeff()
378 exponent = scaleValue( in tc2Coeff()
388 result = (FIXP_DBL)MAXVAL_DBL - scaleValue(result, e_res); in tc2Coeff()
1561 *pDynrng = (LONG)scaleValue(tmp, -(METADATA_FRACT_BITS - 16)); in FDK_DRC_Generator_Calc()
1567 *pCompr = (LONG)scaleValue(tmp, -(METADATA_FRACT_BITS - 16)); in FDK_DRC_Generator_Calc()
Dbandwidth.cpp245 (INT)scaleValue(fMult(bwFac_fix, (FIXP_DBL)(endBw - startBw)), in GetBandwidthEntry()
/external/aac/libSACdec/src/
Dsac_calcM1andM2.cpp644 weight_m = scaleValue(weight_m, scale); in param2UMX_Prediction_Core__FDK()
670 *H11re = scaleValue(accu2_m, accu2_e - SCALE_PARAM_M2_212_PRED); in param2UMX_Prediction_Core__FDK()
672 *H21re = scaleValue(accu2_m, accu2_e - SCALE_PARAM_M2_212_PRED); in param2UMX_Prediction_Core__FDK()
685 accu_m = scaleValue(accu_m, accu_e - SCALE_PARAM_M2_212_PRED); in param2UMX_Prediction_Core__FDK()
695 scaleValue(weight_m, weight_e - SCALE_PARAM_M2_212_PRED); in param2UMX_Prediction_Core__FDK()
712 beta_m = scaleValue(beta_m, beta_e - SCALE_PARAM_M2_212_PRED); in param2UMX_Prediction_Core__FDK()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp532 alphar[1] = FX_DBL2FX_SGL(scaleValue(result, scale)); in lppTransposer()
560 alphai[1] = FX_DBL2FX_SGL(scaleValue(result, scale)); in lppTransposer()
599 alphar[0] = FX_DBL2FX_SGL(scaleValue(result, scale + 1)); in lppTransposer()
619 alphai[0] = FX_DBL2FX_SGL(scaleValue(result, scale + 1)); in lppTransposer()
662 k1 = scaleValue(result, scale); in lppTransposer()
1069 alphar[1] = FX_DBL2FX_SGL(scaleValue(result, scale)); in lppTransposerHBE()
1095 alphai[1] = FX_DBL2FX_SGL(scaleValue(result, scale)); in lppTransposerHBE()
1124 alphar[0] = FX_DBL2FX_SGL(scaleValue(result, scale + 1)); in lppTransposerHBE()
1143 alphai[0] = FX_DBL2FX_SGL(scaleValue(result, scale + 1)); in lppTransposerHBE()
Dpsdec.cpp309 scaleValue(rIntBufferLeft[i][j], scaleFactorLowBand); in PreparePsProcessing()
311 scaleValue(iIntBufferLeft[i][j], scaleFactorLowBand); in PreparePsProcessing()
618 qmfInputData[0][i] = scaleValue(rIntBufferLeft[HYBRID_FILTER_DELAY][i], in ApplyPsSlot()
620 qmfInputData[1][i] = scaleValue(iIntBufferLeft[HYBRID_FILTER_DELAY][i], in ApplyPsSlot()
Dpvc_dec.cpp547 nrg = scaleValue(nrg, exp_log - PVC_ESG_EXP + 2); in pvcDecodeTimeSlot()
632 predictedEsgSlot[ksg] = scaleValue(predictedEsgSlot[ksg], scale); in pvcDecodeTimeSlot()
DHFgen_preFlat.cpp930 nrg = (scaleValue(nrg_ov, scale_nrg_ov) >> 1) + in sbrDecoder_calculateGainVec()
931 (scaleValue(nrg, scale_nrg) >> 1); in sbrDecoder_calculateGainVec()
943 nrg = scaleValue(nrg, exp_log2 - 6); in sbrDecoder_calculateGainVec()
/external/aac/libAACdec/src/
Dusacdec_acelp.cpp224 ener_code += scaleValue(FL2FXCONST_DBL(0.01f), -ener_code_e); in D_gain2_plus()
254 *gain_code = scaleValue(fMult(tgcode, gcode_inov), gcode_inov_e); in D_gain2_plus()
273 *gain_code = scaleValue(Ltmp, gcode0_e - SF_GAIN_C + SF_QUA_GAIN7B); in D_gain2_plus()
287 *past_gcode = scaleValue(gcode_m, gcode_e); in D_gain2_plus()
348 den += scaleValue(FL2FXCONST_DBL(0.01f), -ener_exc_e - 1); in calc_period_factor()
359 den += scaleValue(FL2FXCONST_DBL(0.01f), -L_tmp_e - 1); in calc_period_factor()
585 L_tmp = scaleValue(L_tmp, a_exp + LP_FILTER_SCALE); in Syn_filt()
637 s = scaleValue(s, a_exp + LP_FILTER_SCALE); in E_UTIL_residu()
/external/aac/libFDK/include/
Dscale.h155 inline FIXP_DBL scaleValue(const FIXP_DBL value, /*!< Value */ in scaleValue() function
163 inline FIXP_SGL scaleValue(const FIXP_SGL value, /*!< Value */ in scaleValue() function
Dfixpoint_math.h617 return scaleValue(a_m, shift); in fAdjust()
666 a_m = scaleValue(a_m, a_e - result_e); in fAddNorm()
667 b_m = scaleValue(b_m, b_e - result_e); in fAddNorm()
851 x_m = scaleValue(x_m, result_e - LD_DATA_SHIFT); in fLog2()
/external/aac/libSBRenc/src/
Dnf_est.cpp297 *noiseLevel = scaleValue(accu, scale); in qmfBasedNoiseFloorDetection()
526 tmp = scaleValue(tmp, qtmp - NOISE_FLOOR_OFFSET_SCALING); in FDKsbrEnc_InitSbrNoiseFloorEstimate()
572 tmp = scaleValue(tmp, qlg2 - 23); in FDKsbrEnc_resetSbrNoiseFloorEstimate()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp232 static inline SVal scaleValue(ProgramStateRef state, in scaleValue() function
287 scaleValue(state, in computeOffset()

12