Home
last modified time | relevance | path

Searched refs:LD_DATA_SHIFT (Results 1 – 12 of 12) sorted by relevance

/external/aac/libAACenc/src/
Dline_pe.cpp169 …Data->sfbPe[sfbGrp+sfb] = fMultDiv2(logDataRatio, (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONSTPART_S… in FDKaacEnc_calcSfbPe()
171 …fMultDiv2(sfbEnergyLdData[sfbGrp+sfb], (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONSTPART_SHIFT+1))); ; in FDKaacEnc_calcSfbPe()
177 …IXP_DBL)C2LdData + fMult(C3LdData,logDataRatio)), (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONSTPART_S… in FDKaacEnc_calcSfbPe()
181 (FIXP_DBL)(nLines<<(LD_DATA_SHIFT+PE_CONSTPART_SHIFT+1))) ; in FDKaacEnc_calcSfbPe()
Dintensity.cpp284 …2FXCONST_DBL(60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), fixMax(FL2FXCONST_DBL(-60.f/(1<<(REAL_SCALE… in FDKaacEnc_prepareIntensityDecision()
497 …boffs + sfb]) < (isParams->direction_deviation_thresh>>(REAL_SCALE_SF+LD_DATA_SHIFT-IS_DIRECTION_D… in FDKaacEnc_finalizeIntensityDecision()
744 …]>>1)-FL2FXCONST_DBL(0.5f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT+1))))>>(DFRACT_BITS-1-REAL_SCALE_SF-LD_… in FDKaacEnc_IntensityStereoProcessing()
747 …]>>1)+FL2FXCONST_DBL(0.5f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT+1))))>>(DFRACT_BITS-1-REAL_SCALE_SF-LD_… in FDKaacEnc_IntensityStereoProcessing()
Dmetadata_compressor.cpp761 …Level = CalcLdData(level_b) + (FIXP_DBL)((level_e-12)<<(DFRACT_BITS-1-LD_DATA_SHIFT)) - CalcLdData… in FDK_DRC_Generator_Calc()
777 …ACT_BITS+LD_DATA_SHIFT)), fMult( FL2FXCONST_DBL(0.30102999566398119521373889472449f), ldLevel) + (… in FDK_DRC_Generator_Calc()
972 …DBL ld_peak = CalcLdData(peak[i]) + (FIXP_DBL)((LONG)DOWNMIX_SHIFT<<(DFRACT_BITS-1-LD_DATA_SHIFT)); in FDK_DRC_Generator_Calc()
986 …peak[i] = fMult((FIXP_DBL)(10<<(METADATA_FRACT_BITS+LD_DATA_SHIFT)), fMult( FL2FX_DBL(2*0.30102999… in FDK_DRC_Generator_Calc()
Dadj_thr.cpp901 - (FIXP_DBL)(minScale<<(DFRACT_BITS-1-LD_DATA_SHIFT)); in FDKaacEnc_reduceThresholdsCBR()
961 …E_FORM_FAC-SCALE_NRGS_SQRT4+FORM_FAC_SHIFT-(SCALE_NLINES_P34))<<(DFRACT_BITS-1-LD_DATA_SHIFT))>>1)) in FDKaacEnc_calcChaosMeasure()
1116 ((FIXP_DBL)6<<(DFRACT_BITS-1-LD_DATA_SHIFT)) ); in FDKaacEnc_reduceThresholdsVBR()
1234 … - (FIXP_DBL)(minScale<<(DFRACT_BITS-1-LD_DATA_SHIFT)); in FDKaacEnc_correctThresh()
1285 …NActiveLinesLdData[elementId][ch][sfbGrp+sfb] - FL2FXCONST_DBL((float)LD_DATA_SHIFT/LD_DATA_SCALIN… in FDKaacEnc_correctThresh()
Dsf_estim.cpp1142 …scfInt = (INT)(scfFract>>((DFRACT_BITS-1)-3-LD_DATA_SHIFT)); /* 3 bits => scfFract/8.0; 6 bits => … in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
/external/aac/libSBRenc/src/
Denv_est.cpp467 tmp = ((((INT)NoiseLevels[i])>>(DFRACT_BITS-1-LD_DATA_SHIFT)) ); /* conversion to integer */ in sbrNoiseFloorLevelsQuantisation()
512 …temp1 = temp1 << (DFRACT_BITS-1-LD_DATA_SHIFT-1); /* INT to fract conversion of result, if input … in coupleNoiseFloor()
520 …temp2 = temp2 << (DFRACT_BITS-1-LD_DATA_SHIFT-1); /* INT to fract conversion of result, if input … in coupleNoiseFloor()
574 dynScale = CalcLdInt(ui-li)>>(DFRACT_BITS-1-LD_DATA_SHIFT); in getEnvSfbEnergy()
914 …tmp1 = ((FIXP_DBL) (commonScale+tmpScale)) << (DFRACT_BITS-1-LD_DATA_SHIFT-1); /* scaled by 1/6… in calculateSbrEnvelope()
926 nrgLeft = (FIXP_DBL)(LONG)nrgLeft >> (DFRACT_BITS-1-LD_DATA_SHIFT-1-oneBitLess-1); in calculateSbrEnvelope()
939 …scaleFract = ((FIXP_DBL)(sc0-sc1)) << (DFRACT_BITS-1-LD_DATA_SHIFT); /* scale value in ld64 repres… in calculateSbrEnvelope()
943 nrgRight = (FIXP_DBL)(LONG)(nrgRight) >> (DFRACT_BITS-1-LD_DATA_SHIFT-1-oneBitLess); in calculateSbrEnvelope()
Dsbrenc_freq_sca.cpp551 …p_o * fMult( (CalcLdInt(stop) - CalcLdInt(start)), warp_factor) + (FL2FX_DBL(0.5f)>>LD_DATA_SHIFT) in numberOfBands()
552 … ) >> ((DFRACT_BITS-1)-LD_DATA_SHIFT) ) << 1; /* do not optimize anymore (rounding!!) */ in numberOfBands()
Dps_encode.cpp654 IID = fixMin( IID, (FIXP_DBL)(MAXVAL_DBL>>(LD_DATA_SHIFT+1)) ); in calculateIID()
655 IID = fixMax( IID, (FIXP_DBL)(MINVAL_DBL>>(LD_DATA_SHIFT+1)) ); in calculateIID()
656 iid[env][i] = IID << (LD_DATA_SHIFT+1); in calculateIID()
705 …LdData( (CalcLdData((cNrgR + cNrgI)>>1)>>1) - (FIXP_DBL)((sc1-1)<<(DFRACT_BITS-1-LD_DATA_SHIFT)) ); in calculateICC()
Dmh_det.cpp1020 …tmp = (tmp >> (DFRACT_BITS-1-LD_DATA_SHIFT-1)) + (FIXP_DBL)1; /* shift one bit less for rounding … in calculateCompVector()
1039 …tmp = (tmp >> (DFRACT_BITS-1-LD_DATA_SHIFT-1)) + (FIXP_DBL)1; /* shift one bit less for rounding … in calculateCompVector()
Dtran_det.cpp216 *result_e = ((accu_e>>1) + LD_DATA_SHIFT); in spectralChange()
/external/aac/libFDK/include/
Dfixpoint_math.h128 #define LD_DATA_SHIFT 6 /* pow(2, LD_DATA_SHIFT) = LD_DATA_SCALING */ macro
/external/aac/libFDK/src/
Dfixpoint_math.cpp888 x_m = scaleValue(x_m, result_e-LD_DATA_SHIFT); in fLog2()