/external/aac/libAACenc/src/ |
D | aacEnc_rom.cpp | 683 …FL2FXCONST_DBL(0.3968502629920499),FL2FXCONST_DBL(0.3978840634868335),FL2FXCONST_DBL(0.39891853593… 684 …FL2FXCONST_DBL(0.4009894932098531),FL2FXCONST_DBL(0.4020259763004115),FL2FXCONST_DBL(0.40306312787… 685 …FL2FXCONST_DBL(0.4051394330330996),FL2FXCONST_DBL(0.4061785849048110),FL2FXCONST_DBL(0.40721840183… 686 …FL2FXCONST_DBL(0.4093000274691739),FL2FXCONST_DBL(0.4103418344839078),FL2FXCONST_DBL(0.41138430317… 687 …FL2FXCONST_DBL(0.4134712222260245),FL2FXCONST_DBL(0.4145156709185620),FL2FXCONST_DBL(0.41556077794… 688 …FL2FXCONST_DBL(0.4176529636979932),FL2FXCONST_DBL(0.4187000407725452),FL2FXCONST_DBL(0.41974777288… 689 …FL2FXCONST_DBL(0.4218451989520345),FL2FXCONST_DBL(0.4228948912788567),FL2FXCONST_DBL(0.42394523538… 690 …FL2FXCONST_DBL(0.4260478757143130),FL2FXCONST_DBL(0.4271001703264124),FL2FXCONST_DBL(0.42815311350… 691 …FL2FXCONST_DBL(0.4302609423571658),FL2FXCONST_DBL(0.4313158264470970),FL2FXCONST_DBL(0.43237135592… 692 …FL2FXCONST_DBL(0.4344843478864161),FL2FXCONST_DBL(0.4355418088031630),FL2FXCONST_DBL(0.43659991196… [all …]
|
D | metadata_compressor.cpp | 98 #define FIXP_ILOG2_DIV2 (FL2FXCONST_DBL(ILOG2/2)) 236 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), 237 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), 238 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), 239 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), 240 FL2FXCONST_DBL( ((1.f/5.f) - 1.f) ), 241 FL2FXCONST_DBL( ((1.f/5.f) - 1.f) ) 244 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), 245 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), 246 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ), [all …]
|
D | intensity.cpp | 99 #define IS_CORR_THRESH FL2FXCONST_DBL(0.95f) 104 #define IS_TOTAL_ERROR_THRESH FL2FXCONST_DBL(0.04f) 105 #define IS_LOCAL_ERROR_THRESH FL2FXCONST_DBL(0.01f) 109 #define IS_DIRECTION_DEVIATION_THRESH FL2FXCONST_DBL(2.0f/(1<<IS_DIRECTION_DEVIATION_THRESH_SF)) 112 #define IS_REGION_MIN_LOUDNESS FL2FXCONST_DBL(0.1f) 121 #define IS_LEFT_RIGHT_RATIO_THRESH FL2FXCONST_DBL(0.7f) 182 maxSpc = FL2FXCONST_DBL(0.0); in calcSfbMaxScale() 187 sfbMaxScale = (maxSpc==FL2FXCONST_DBL(0.0)) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in calcSfbMaxScale() 278 overallLoudness[grpCounter] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision() 284 …realScale[sfb + sfboffs] = fixMin(FL2FXCONST_DBL(60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), fixMax(… in FDKaacEnc_prepareIntensityDecision() [all …]
|
D | adj_thr.cpp | 266 FIXP_DBL bit2PE_m = FL2FXCONST_DBL(1.18f/(1<<(1))); in FDKaacEnc_InitBits2PeFactor() 324 if ( bit2PE >= (FL2FXCONST_DBL(0.35f) >> 2) ) { in FDKaacEnc_InitBits2PeFactor() 335 if(bit2PE_m >= (FL2FXCONST_DBL(0.6f))>>bit2PE_e) in FDKaacEnc_InitBits2PeFactor() 344 bit2PE_m += (FL2FXCONST_DBL(0.4f))>>bit2PE_e; in FDKaacEnc_InitBits2PeFactor() 347 bit2PE_m += (FL2FXCONST_DBL(0.3f))>>bit2PE_e; in FDKaacEnc_InitBits2PeFactor() 350 bit2PE_m += (FL2FXCONST_DBL(0.3f))>>bit2PE_e; in FDKaacEnc_InitBits2PeFactor() 353 bit2PE_m += (FL2FXCONST_DBL(0.0f))>>bit2PE_e; in FDKaacEnc_InitBits2PeFactor() 411 FIXP_DBL minSnrLimitLD64 = FL2FXCONST_DBL(-0.00503012648262f); /* ld64(0.8f) */ in FDKaacEnc_adaptMinSnr() 418 accu = FL2FXCONST_DBL(0.0f); in FDKaacEnc_adaptMinSnr() 427 if ((accu == FL2FXCONST_DBL(0.0f)) || (nSfb == 0)) { in FDKaacEnc_adaptMinSnr() [all …]
|
D | band_nrg.cpp | 136 FIXP_DBL maxNrgLd = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_CheckBandEnergyOptim() 151 if (bandEnergyLdData[i] != FL2FXCONST_DBL(-1.0f)) { in FDKaacEnc_CheckBandEnergyOptim() 152 bandEnergyLdData[i] -= scale*FL2FXCONST_DBL(2.0/64); in FDKaacEnc_CheckBandEnergyOptim() 185 FIXP_DBL maxNrgLd = FL2FXCONST_DBL(0.0f); in FDKaacEnc_CalcBandEnergyOptimLong() 191 FIXP_DBL tmp = FL2FXCONST_DBL(0.0); in FDKaacEnc_CalcBandEnergyOptimLong() 211 FIXP_DBL scaleDiff = (sfbMaxScaleSpec[i]-4)*FL2FXCONST_DBL(2.0/64); in FDKaacEnc_CalcBandEnergyOptimLong() 213 bandEnergyLdData[i] = (bandEnergyLdData[i] >= ((FL2FXCONST_DBL(-1.f)>>1) + (scaleDiff>>1))) in FDKaacEnc_CalcBandEnergyOptimLong() 214 ? bandEnergyLdData[i]-scaleDiff : FL2FXCONST_DBL(-1.f); in FDKaacEnc_CalcBandEnergyOptimLong() 230 while (maxNrgLd>FL2FXCONST_DBL(0.0f)) in FDKaacEnc_CalcBandEnergyOptimLong() 232 maxNrgLd -= FL2FXCONST_DBL(2.0/64); in FDKaacEnc_CalcBandEnergyOptimLong() [all …]
|
D | sf_estim.cpp | 105 static const FIXP_DBL PE_C1 = FL2FXCONST_DBL(3.0f/AS_PE_FAC_FLOAT); /* (log(8.0)/log(2)) >… 106 static const FIXP_DBL PE_C2 = FL2FXCONST_DBL(1.3219281f/AS_PE_FAC_FLOAT); /* (log(2.5)/log(2)) >… 107 static const FIXP_DBL PE_C3 = FL2FXCONST_DBL(0.5593573f); /* 1-C2/C1 */ 130 formFactor = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 139 sfbFormFactorLdData[sfbGrp+sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 180 FIXP_DBL asPeFacLdData = FL2FXCONST_DBL(0.109375); /* AS_PE_FAC_SHIFT*ld64(2) */ in FDKaacEnc_calcSfbRelevantLines() 233 FIXP_DBL specPe = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSingleSpecPe() 239 ldRatio = sfbConstPePart - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSingleSpecPe() 242 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,ldRatio)); in FDKaacEnc_calcSingleSpecPe() 245 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,(PE_C2 + fMult(PE_C3,ldRatio)))); in FDKaacEnc_calcSingleSpecPe() [all …]
|
D | quantize.cpp | 111 FIXP_DBL k = FL2FXCONST_DBL(0.0f); in FDKaacEnc_quantizeLines() 117 k = FL2FXCONST_DBL(0.23f)>>kShift; in FDKaacEnc_quantizeLines() 119 k = FL2FXCONST_DBL(-0.0946f + 0.5f)>>kShift; in FDKaacEnc_quantizeLines() 125 if (accu < FL2FXCONST_DBL(0.0f)) in FDKaacEnc_quantizeLines() 139 else if(accu > FL2FXCONST_DBL(0.0f)) in FDKaacEnc_quantizeLines() 251 mdctSpectrum[line] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_invQuantizeLines() 316 xfsf = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbDist() 327 return FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbDist() 371 FIXP_DBL energy = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist() 372 FIXP_DBL distortion = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist() [all …]
|
D | tonality.cpp | 118 FIXP_DBL alpha_0 = FL2FXCONST_DBL(0.25f); /* used in smooth ChaosMeasure */ in FDKaacEnc_CalculateFullTonality() 119 FIXP_DBL alpha_1 = FL2FXCONST_DBL(1.0f-0.25f); /* used in smooth ChaosMeasure */ in FDKaacEnc_CalculateFullTonality() 175 FIXP_DBL chaosMeasureSfb = FL2FXCONST_DBL(0.0); in FDKaacEnc_CalcSfbTonality() 185 if (chaosMeasureSfb != FL2FXCONST_DBL(0.0)) in FDKaacEnc_CalcSfbTonality() 189 chaosMeasureSfbLD64 += FL2FXCONST_DBL(3.0f/64) - ((FIXP_DBL)(shiftBits)<<(DFRACT_BITS-6)); in FDKaacEnc_CalcSfbTonality() 191 if (chaosMeasureSfbLD64 > FL2FXCONST_DBL(-0.0519051) ) /* > ld(0.05)+ld(2) */ in FDKaacEnc_CalcSfbTonality() 193 if (chaosMeasureSfbLD64 <= FL2FXCONST_DBL(0.0) ) in FDKaacEnc_CalcSfbTonality()
|
D | channel_map.cpp | 297 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.4f)); in FDKaacEnc_InitChannelMapping() 298 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.6f)); in FDKaacEnc_InitChannelMapping() 303 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.3f)); in FDKaacEnc_InitChannelMapping() 304 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.4f)); in FDKaacEnc_InitChannelMapping() 305 FDKaacEnc_initElement(&cm->elInfo[2], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.3f)); in FDKaacEnc_InitChannelMapping() 310 … FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.26f)); in FDKaacEnc_InitChannelMapping() 311 … FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.37f)); in FDKaacEnc_InitChannelMapping() 312 … FDKaacEnc_initElement(&cm->elInfo[2], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.37f)); in FDKaacEnc_InitChannelMapping() 317 … FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.24f)); in FDKaacEnc_InitChannelMapping() 318 … FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.35f)); in FDKaacEnc_InitChannelMapping() [all …]
|
D | noisedet.cpp | 113 if (refVal <= FL2FXCONST_DBL(0.0)) in FDKaacEnc_fuzzyIsSmaller() 174 fhelp1 = fhelp2 = fhelp3 = fhelp4 = FL2FXCONST_DBL(0.0f); in FDKaacEnc_noiseDetect() 204 FL2FXCONST_DBL(0.495), /* 1/2 * loLim (0.99f/2) */ in FDKaacEnc_noiseDetect() 205 FL2FXCONST_DBL(0.505)); /* 1/2 * hiLim (1.01f/2) */ in FDKaacEnc_noiseDetect() 218 FL2FXCONST_DBL(0.45f), /* 1/2 * loLim (0.9f/2) */ in FDKaacEnc_noiseDetect() 219 FL2FXCONST_DBL(0.55f)); /* 1/2 * hiLim (1.1f/2) */ in FDKaacEnc_noiseDetect()
|
D | block_switch.cpp | 120 FL2FXCONST_DBL(-0.5095),FL2FXCONST_DBL(0.7548) 123 static const FIXP_DBL accWindowNrgFac = FL2FXCONST_DBL(0.3f); /* factor for accum… 124 static const FIXP_DBL oneMinusAccWindowNrgFac = FL2FXCONST_DBL(0.7f); 126 static const FIXP_DBL invAttackRatio = FL2FXCONST_DBL(0.1f); /* inverted lower r… 130 static const FIXP_DBL minAttackNrg = (FL2FXCONST_DBL(1e+6f*NORM_PCM_ENERGY)>>BLOCK_SWITCH_ENERGY_SH… 139 static const FIXP_DBL accWindowNrgFac = FL2FXCONST_DBL(0.3f); /* factor for accum… 144 static const FIXP_DBL minAttackNrg = (FL2FXCONST_DBL(1e+6f*NORM_PCM_ENERGY)>>BLOCK_SWITCH_ENERGY_SH… 251 blockSwitchingControl->maxWindowNrg = FL2FXCONST_DBL(0.0); in FDKaacEnc_BlockSwitching() 265 enMax = FL2FXCONST_DBL(0.0f); in FDKaacEnc_BlockSwitching() 340 FIXP_DBL temp_windowNrg = FL2FXCONST_DBL(0.0f); in FDKaacEnc_CalcWindowEnergy() [all …]
|
/external/aac/libFDK/src/ |
D | FDK_trigFcts.cpp | 121 …FL2FXCONST_DBL(7.775862990872099e-001), FL2FXCONST_DBL(7.814919928673978e-001), FL2FXCONST_DBL(7.8… 122 …FL2FXCONST_DBL(7.844216021392089e-001), FL2FXCONST_DBL(7.849098823026687e-001), FL2FXCONST_DBL(7.8… 123 …FL2FXCONST_DBL(7.852760930873737e-001), FL2FXCONST_DBL(7.853371282415015e-001), FL2FXCONST_DBL(7.8… 124 …FL2FXCONST_DBL(7.853829046083906e-001), FL2FXCONST_DBL(7.853905340029177e-001), FL2FXCONST_DBL(7.8… 125 …FL2FXCONST_DBL(7.853962560488155e-001), FL2FXCONST_DBL(7.853972097231319e-001), FL2FXCONST_DBL(7.8… 126 …FL2FXCONST_DBL(7.853979249788692e-001), FL2FXCONST_DBL(7.853980441881587e-001), FL2FXCONST_DBL(7.8… 127 FL2FXCONST_DBL(7.853981335951259e-001) 137 FIXP_DBL ret = FL2FXCONST_DBL(-1.0f); in fixp_atan2() 142 if (y > FL2FXCONST_DBL(0.0f)) in fixp_atan2() 144 if (x > FL2FXCONST_DBL(0.0f)) { in fixp_atan2() [all …]
|
D | fixpoint_math.cpp | 101 FL2FXCONST_DBL(-1.0), 102 FL2FXCONST_DBL(-1.0/2.0), 103 FL2FXCONST_DBL(-1.0/3.0), 104 FL2FXCONST_DBL(-1.0/4.0), 105 FL2FXCONST_DBL(-1.0/5.0), 106 FL2FXCONST_DBL(-1.0/6.0), 107 FL2FXCONST_DBL(-1.0/7.0), 108 FL2FXCONST_DBL(-1.0/8.0), 109 FL2FXCONST_DBL(-1.0/9.0), 110 FL2FXCONST_DBL(-1.0/10.0) [all …]
|
D | FDK_hybrid.cpp | 126 #define FL2FXCONST_HTB FL2FXCONST_DBL 426 FIXP_DBL accu1 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() 427 FIXP_DBL accu2 = FL2FXCONST_DBL(0.f); in FDKhybridSynthesisApply() 505 …FL2FXCONST_DBL( 0.f), FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( … in fourChannelFiltering() 506 …FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( 0.f), FL2FXCONST_DBL( 0.70710678… in fourChannelFiltering() 507 FL2FXCONST_DBL( 1.f), in fourChannelFiltering() 508 …FL2FXCONST_DBL( 0.70710678118655f), FL2FXCONST_DBL( 0.f), FL2FXCONST_DBL(-0.70710678… in fourChannelFiltering() 509 …FL2FXCONST_DBL( -1.f), FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( … in fourChannelFiltering() 512 …FL2FXCONST_DBL( -1.f), FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( … in fourChannelFiltering() 513 …FL2FXCONST_DBL( 0.70710678118655f), FL2FXCONST_DBL( 1.f), FL2FXCONST_DBL( 0.70710678… in fourChannelFiltering() [all …]
|
/external/aac/libSBRdec/src/ |
D | sbr_rom.cpp | 147 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 148 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 149 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 150 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 151 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 152 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 153 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 154 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 155 …{ FL2FXCONST_DBL(0.00f), FL2FXCONST_DBL(0.6f), FL2FXCONST_DBL(0.75f), FL2FXCONST_DBL(0.90f), FL2F… 195 FL2FXCONST_DBL(1.0f / 4.0f), [all …]
|
D | psdec_hybrid.cpp | 304 #define cos0Pi FL2FXCONST_DBL( 1.f) 305 #define sin0Pi FL2FXCONST_DBL( 0.f) 307 #define cos1Pi FL2FXCONST_DBL(-1.f) 308 #define sin1Pi FL2FXCONST_DBL( 0.f) 310 #define cos1Pi_2 FL2FXCONST_DBL( 0.f) 311 #define sin1Pi_2 FL2FXCONST_DBL( 1.f) 313 #define cos1Pi_3 FL2FXCONST_DBL( 0.5f) 314 #define sin1Pi_3 FL2FXCONST_DBL( 0.86602540378444f) 317 #define cos1Pi_4 FL2FXCONST_DBL(0.70710678118655f) 325 #define sin1Pi_4 FL2FXCONST_DBL(0.70710678118655f) [all …]
|
D | lpp_tran.cpp | 180 accu = fMultDiv2(FL2FXCONST_DBL(0.75f),bwTmp) + in inverseFilteringLevelEmphasis() 181 fMultDiv2(FL2FXCONST_DBL(0.25f),hLppTrans->bwVectorOld[i]); in inverseFilteringLevelEmphasis() 184 accu = fMultDiv2(FL2FXCONST_DBL(0.90625f),bwTmp) + in inverseFilteringLevelEmphasis() 185 fMultDiv2(FL2FXCONST_DBL(0.09375f),hLppTrans->bwVectorOld[i]); in inverseFilteringLevelEmphasis() 188 if (accu < FL2FXCONST_DBL(0.015625f)>>1) in inverseFilteringLevelEmphasis() 189 bwVector[i] = FL2FXCONST_DBL(0.0f); in inverseFilteringLevelEmphasis() 191 bwVector[i] = fixMin(accu<<1,FL2FXCONST_DBL(0.99609375f)); in inverseFilteringLevelEmphasis() 405 if (ac.det != FL2FXCONST_DBL(0.0f)) { in lppTransposer() 471 if ( ac.r11r != FL2FXCONST_DBL(0.0f) ) { in lppTransposer() 481 if(ac.r01r>=FL2FXCONST_DBL(0.0f)) in lppTransposer() [all …]
|
D | env_calc.cpp | 314 if ( (degreeAlias[k + 1] != FL2FXCONST_DBL(0.0f)) && useAliasReduction[k] ) { in aliasingReduction() 345 … FIXP_DBL nrgOrig = FL2FXCONST_DBL(0.0f); /* Original signal energy in current group of bands */ in aliasingReduction() 347 …FIXP_DBL nrgAmp = FL2FXCONST_DBL(0.0f); /* Amplified signal energy in group (using current gai… in aliasingReduction() 349 …FIXP_DBL nrgMod = FL2FXCONST_DBL(0.0f); /* Signal energy in group when applying modified gains */ in aliasingReduction() 713 pNrgs->nrgSine[c] = FL2FXCONST_DBL(0.0f); in calculateSbrEnvelope() 737 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); in calculateSbrEnvelope() 750 if (maxGain == FL2FXCONST_DBL(0.0f)) in calculateSbrEnvelope() 759 maxGain = FL2FXCONST_DBL(0.5f); in calculateSbrEnvelope() 794 if(pNrgs->nrgSine[k] != FL2FXCONST_DBL(0.0f)) { in calculateSbrEnvelope() 807 boostGain = FL2FXCONST_DBL(0.6279716f); in calculateSbrEnvelope() [all …]
|
/external/aac/libSBRenc/src/ |
D | mh_det.cpp | 100 FL2FXCONST_DBL(20.0f*RELAXATION_FLOAT), /*!< thresHoldDiff */ 101 FL2FXCONST_DBL(1.26f*RELAXATION_FLOAT), /*!< thresHoldDiffGuide */ 102 FL2FXCONST_DBL(15.0f*RELAXATION_FLOAT), /*!< thresHoldTone */ 103 FL2FXCONST_DBL((1.0f/15.0f)*RELAXATION_FLOAT), /*!< invThresHoldTone */ 104 FL2FXCONST_DBL(1.26f*RELAXATION_FLOAT), /*!< thresHoldToneGuide */ 105 FL2FXCONST_DBL(0.3f)>>SFM_SHIFT, /*!< sfmThresSbr */ 106 FL2FXCONST_DBL(0.1f)>>SFM_SHIFT, /*!< sfmThresOrig */ 107 FL2FXCONST_DBL(0.3f), /*!< decayGuideOrig */ 108 FL2FXCONST_DBL(0.5f), /*!< decayGuideDiff */ 109 FL2FXCONST_DBL(-0.000112993269), /* LD64(FL2FXCONST_DBL(0.995f)) */ /*!< derivThresMaxLD64 */ [all …]
|
D | invf_est.cpp | 220 detectorValues->avgNrg = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 237 origQuota = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 238 sbrQuota = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 250 origQuotaMeanStrongest = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 251 sbrQuotaMeanStrongest = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 283 detectorValues->origQuotaMeanFilt = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 284 detectorValues->sbrQuotaMeanFilt = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 285 detectorValues->origQuotaMeanStrongestFilt = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 286 detectorValues->sbrQuotaMeanStrongestFilt = FL2FXCONST_DBL(0.0f); in calculateDetectorValues() 371 …ilt = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(max(detectorValues->origQuotaMe… in decisionAlgorithm() [all …]
|
D | tran_det.cpp | 130 delta_sum = FL2FXCONST_DBL(0.0f); in spectralChange() 138 pos_weight = FL2FXCONST_DBL(0.5f) - (len1*GetInvInt(len1+len2)); in spectralChange() 177 accu1_init = scaleValue((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY))),-energies_e); in spectralChange() 178 accu2_init = scaleValue((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY))),-energies_e); in spectralChange() 199 #define LN2 FL2FXCONST_DBL(0.6931471806f) /* ln(2) */ in spectralChange() 250 FIXP_DBL accu1 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() 251 FIXP_DBL accu2 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies() 304 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); in addHighbandEnergies() 313 accu = FL2FXCONST_DBL(0.0f); in addHighbandEnergies() 332 nrgTotal = FL2FXCONST_DBL(0.0f); in addHighbandEnergies() [all …]
|
D | nf_est.cpp | 145 accu = FL2FXCONST_DBL(0.0f); in smoothingOfNoiseLevels() 181 FIXP_DBL meanOrig=FL2FXCONST_DBL(0.0f), meanSbr=FL2FXCONST_DBL(0.0f), diff; in qmfBasedNoiseFloorDetection() 194 accu = FL2FXCONST_DBL(0.0f); in qmfBasedNoiseFloorDetection() 201 accu = FL2FXCONST_DBL(0.0f); in qmfBasedNoiseFloorDetection() 212 accu = FL2FXCONST_DBL(0.0f); in qmfBasedNoiseFloorDetection() 219 accu = FL2FXCONST_DBL(0.0f); in qmfBasedNoiseFloorDetection() 228 if( meanOrig <= FL2FXCONST_DBL(0.000976562f*RELAXATION_FLOAT) && in qmfBasedNoiseFloorDetection() 229 meanSbr <= FL2FXCONST_DBL(0.000976562f*RELAXATION_FLOAT) ) in qmfBasedNoiseFloorDetection() 231 meanOrig = FL2FXCONST_DBL(101.5936673f*RELAXATION_FLOAT); in qmfBasedNoiseFloorDetection() 232 meanSbr = FL2FXCONST_DBL(101.5936673f*RELAXATION_FLOAT); in qmfBasedNoiseFloorDetection() [all …]
|
D | resampler.cpp | 143 static const FIXP_DBL g48 = FL2FXCONST_DBL(0.67436532061161992682404480717671 - 0.001); 145 static const FIXP_DBL g48 = FL2FXCONST_DBL(0.002712866530047) - (FIXP_DBL)0x8000; 179 static const FIXP_DBL g45 = FL2FXCONST_DBL(0.60547428891341319051142629706723 - 0.001); 181 static const FIXP_DBL g45 = FL2FXCONST_DBL(0.00242743980909524) - (FIXP_DBL)0x8000; 213 static const FIXP_DBL g41 = FL2FXCONST_DBL(0.44578514476476679750811222123569); 215 static const FIXP_DBL g41 = FL2FXCONST_DBL(0.00155956951169248); 243 static const FIXP_DBL g35 = FL2FXCONST_DBL(0.34290853574973898694521267606792); 245 static const FIXP_DBL g35 = FL2FXCONST_DBL(0.00162580994125131); 271 static const FIXP_DBL g25 = FL2FXCONST_DBL(0.17533917408936346960080259950471); 273 static const FIXP_DBL g25 = FL2FXCONST_DBL(0.000945182835294559); [all …]
|
D | env_est.cpp | 139 …R_MAX_ENERGY_VALUES] = { FL2FXCONST_DBL(0.0f), FL2FXCONST_DBL(0.0f), FL2FXCONST_DBL(0.0f), FL2FXCO… in FDKsbrEnc_GetTonality() 142 …R_MAX_ENERGY_VALUES] = { FL2FXCONST_DBL(0.0f), FL2FXCONST_DBL(0.0f), FL2FXCONST_DBL(0.0f), FL2FXCO… in FDKsbrEnc_GetTonality() 143 FIXP_DBL globalTonality = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_GetTonality() 154 energyBand[b]=FL2FXCONST_DBL(0.0f); in FDKsbrEnc_GetTonality() 204 tonalityBand[e]=FL2FXCONST_DBL(0.0f); in FDKsbrEnc_GetTonality() 235 FIXP_DBL max_val = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_getEnergyFromCplxQmfData() 325 FIXP_DBL max_val = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_getEnergyFromCplxQmfDataFull() 460 if ((FIXP_DBL)NoiseLevels[i] > FL2FXCONST_DBL(0.46875f)) { in sbrNoiseFloorLevelsQuantisation() 507 if (cmpValRight < FL2FXCONST_DBL(0.0f)) { in coupleNoiseFloor() 515 if (cmpValLeft < FL2FXCONST_DBL(0.0f)) { in coupleNoiseFloor() [all …]
|
/external/aac/libPCMutils/src/ |
D | limiter.cpp | 146 attackConst = fPow(FL2FXCONST_DBL(0.1f), 0, exponent, 0, &e_ans); in createLimiter() 151 releaseConst = fPow(FL2FXCONST_DBL(0.1f), 0, exponent, 0, &e_ans); in createLimiter() 181 limiter->cor = FL2FXCONST_DBL(1.0f/(1<<1)); in resetLimiter() 182 limiter->smoothState0 = FL2FXCONST_DBL(1.0f/(1<<1)); in resetLimiter() 183 limiter->minGain = FL2FXCONST_DBL(1.0f/(1<<1)); in resetLimiter() 185 limiter->additionalGainPrev = FL2FXCONST_DBL(1.0f/(1<<TDL_GAIN_SCALING)); in resetLimiter() 186 limiter->additionalGainFilterState = FL2FXCONST_DBL(1.0f/(1<<TDL_GAIN_SCALING)); in resetLimiter() 187 limiter->additionalGainFilterState1 = FL2FXCONST_DBL(1.0f/(1<<TDL_GAIN_SCALING)); in resetLimiter() 227 FIXP_DBL minGain = FL2FXCONST_DBL(1.0f/(1<<1)); in applyLimiter() 320 gain = FL2FXCONST_DBL(1.0f/(1<<1)); in applyLimiter() [all …]
|