Home
last modified time | relevance | path

Searched refs:FL2FXCONST_DBL (Results 1 – 25 of 59) sorted by relevance

123

/external/aac/libAACenc/src/
DaacEnc_rom.cpp683FL2FXCONST_DBL(0.3968502629920499),FL2FXCONST_DBL(0.3978840634868335),FL2FXCONST_DBL(0.39891853593…
684FL2FXCONST_DBL(0.4009894932098531),FL2FXCONST_DBL(0.4020259763004115),FL2FXCONST_DBL(0.40306312787…
685FL2FXCONST_DBL(0.4051394330330996),FL2FXCONST_DBL(0.4061785849048110),FL2FXCONST_DBL(0.40721840183…
686FL2FXCONST_DBL(0.4093000274691739),FL2FXCONST_DBL(0.4103418344839078),FL2FXCONST_DBL(0.41138430317…
687FL2FXCONST_DBL(0.4134712222260245),FL2FXCONST_DBL(0.4145156709185620),FL2FXCONST_DBL(0.41556077794…
688FL2FXCONST_DBL(0.4176529636979932),FL2FXCONST_DBL(0.4187000407725452),FL2FXCONST_DBL(0.41974777288…
689FL2FXCONST_DBL(0.4218451989520345),FL2FXCONST_DBL(0.4228948912788567),FL2FXCONST_DBL(0.42394523538…
690FL2FXCONST_DBL(0.4260478757143130),FL2FXCONST_DBL(0.4271001703264124),FL2FXCONST_DBL(0.42815311350…
691FL2FXCONST_DBL(0.4302609423571658),FL2FXCONST_DBL(0.4313158264470970),FL2FXCONST_DBL(0.43237135592…
692FL2FXCONST_DBL(0.4344843478864161),FL2FXCONST_DBL(0.4355418088031630),FL2FXCONST_DBL(0.43659991196…
[all …]
Dmetadata_compressor.cpp98 #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 …]
Dintensity.cpp99 #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 …]
Dadj_thr.cpp265 FIXP_DBL bit2PE_m = FL2FXCONST_DBL(1.18f/(1<<(1))); in FDKaacEnc_InitBits2PeFactor()
323 if ( bit2PE >= (FL2FXCONST_DBL(0.35f) >> 2) ) { in FDKaacEnc_InitBits2PeFactor()
385 FIXP_DBL minSnrLimitLD64 = FL2FXCONST_DBL(-0.00503012648262f); /* ld64(0.8f) */ in FDKaacEnc_adaptMinSnr()
392 accu = FL2FXCONST_DBL(0.0f); in FDKaacEnc_adaptMinSnr()
401 if ((accu == FL2FXCONST_DBL(0.0f)) || (nSfb == 0)) { in FDKaacEnc_adaptMinSnr()
402 avgEnLD64 = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_adaptMinSnr()
407 …avgEnLD64 = avgEnLD64 + FL2FXCONST_DBL(0.09375f) - nSfbLD64; /* 0.09375f: compensate shift with 6… in FDKaacEnc_adaptMinSnr()
414 … = fMult((avgEnLD64 - qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]),FL2FXCONST_DBL(0.3010299956f)… in FDKaacEnc_adaptMinSnr()
458 fMult(FL2FXCONST_DBL(0.63f), in FDKaacEnc_initAvoidHoleFlag()
496 … ( ((sfbEnLdData+(FIXP_DBL)SnrLdMin4) < (FIXP_DBL)avgEnLdData) && (sfbEn > FL2FXCONST_DBL(0.0)) ) { in FDKaacEnc_initAvoidHoleFlag()
[all …]
Dband_nrg.cpp136 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 …]
Dsf_estim.cpp105 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 …]
Dtonality.cpp118 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()
Dquantize.cpp110 FIXP_DBL k = FL2FXCONST_DBL(-0.0946f + 0.5f)>>16; in FDKaacEnc_quantizeLines()
119 if (accu < FL2FXCONST_DBL(0.0f)) in FDKaacEnc_quantizeLines()
133 else if(accu > FL2FXCONST_DBL(0.0f)) in FDKaacEnc_quantizeLines()
245 mdctSpectrum[line] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_invQuantizeLines()
307 xfsf = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbDist()
317 return FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbDist()
361 FIXP_DBL energy = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist()
362 FIXP_DBL distortion = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist()
367 *en = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist()
368 *dist = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist()
[all …]
Dchannel_map.cpp297 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 …]
Dnoisedet.cpp113 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()
Dblock_switch.cpp120 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 …]
Daacenc_pns.cpp100 static const FIXP_DBL minCorrelationEnergy = FL2FXCONST_DBL(0.0); /* FL2FXCONST_DBL((float)FDKpow(2…
102 static const FIXP_DBL noiseCorrelationThresh = FL2FXCONST_DBL(0.36);
262 …( (sfbThresholdLdData[sfb] + FL2FXCONST_DBL(0.5849625f/64.0f)) /* thr * 1.5 = thrLd +ld(1.5)/64 */ in FDKaacEnc_PnsDetect()
404 INT nrg = (-sfbEnergyLdData[sfb]+FL2FXCONST_DBL(0.5f/64.0f))>>(DFRACT_BITS-1-7); in FDKaacEnc_CalcNoiseNrgs()
450 sfbThresholdLdData[sfb] = sfbEnergyLdData[sfb] + FL2FXCONST_DBL(1.0f/LD_DATA_SCALING); in FDKaacEnc_CodePnsChannel()
511 if(quot < FL2FXCONST_DBL(-32.0f/(float)LD_DATA_SCALING)) in FDKaacEnc_PreProcessPnsChannelPair()
512 ccf = FL2FXCONST_DBL(0.0f); in FDKaacEnc_PreProcessPnsChannelPair()
515 INT sign = (accu < FL2FXCONST_DBL(0.0f)) ? 1 : 0 ; in FDKaacEnc_PreProcessPnsChannelPair()
518 …ccf = CalcLdData(accu) + FL2FXCONST_DBL((float)1.0f/(float)LD_DATA_SCALING) - quot; /* ld(accu*2… in FDKaacEnc_PreProcessPnsChannelPair()
519 …ccf = (ccf>=FL2FXCONST_DBL(0.0)) ? ((FIXP_DBL)MAXVAL_DBL) : (sign) ? -CalcInvLdData(ccf) : CalcInv… in FDKaacEnc_PreProcessPnsChannelPair()
/external/aac/libFDK/src/
DFDK_trigFcts.cpp121FL2FXCONST_DBL(7.775862990872099e-001), FL2FXCONST_DBL(7.814919928673978e-001), FL2FXCONST_DBL(7.8…
122FL2FXCONST_DBL(7.844216021392089e-001), FL2FXCONST_DBL(7.849098823026687e-001), FL2FXCONST_DBL(7.8…
123FL2FXCONST_DBL(7.852760930873737e-001), FL2FXCONST_DBL(7.853371282415015e-001), FL2FXCONST_DBL(7.8…
124FL2FXCONST_DBL(7.853829046083906e-001), FL2FXCONST_DBL(7.853905340029177e-001), FL2FXCONST_DBL(7.8…
125FL2FXCONST_DBL(7.853962560488155e-001), FL2FXCONST_DBL(7.853972097231319e-001), FL2FXCONST_DBL(7.8…
126FL2FXCONST_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 …]
Dfixpoint_math.cpp101 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 …]
DFDK_hybrid.cpp126 #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()
505FL2FXCONST_DBL( 0.f), FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( … in fourChannelFiltering()
506FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( 0.f), FL2FXCONST_DBL( 0.70710678… in fourChannelFiltering()
507 FL2FXCONST_DBL( 1.f), in fourChannelFiltering()
508FL2FXCONST_DBL( 0.70710678118655f), FL2FXCONST_DBL( 0.f), FL2FXCONST_DBL(-0.70710678… in fourChannelFiltering()
509FL2FXCONST_DBL( -1.f), FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( … in fourChannelFiltering()
512FL2FXCONST_DBL( -1.f), FL2FXCONST_DBL(-0.70710678118655f), FL2FXCONST_DBL( … in fourChannelFiltering()
513FL2FXCONST_DBL( 0.70710678118655f), FL2FXCONST_DBL( 1.f), FL2FXCONST_DBL( 0.70710678… in fourChannelFiltering()
[all …]
/external/aac/libSBRdec/src/
Dsbr_rom.cpp147 …{ 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…
1132FL2FXCONST_DBL(1.000000), FL2FXCONST_DBL(1.000000), FL2FXCONST_DBL(1.000000), FL2FXCONST_DBL(1.000…
[all …]
Dpsdec_hybrid.cpp304 #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 …]
Dlpp_tran.cpp180 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 …]
/external/aac/libSBRenc/src/
Dmh_det.cpp100 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 …]
Dtran_det.cpp130 pos_weight = FL2FXCONST_DBL(0.5f) - (len1*GetInvInt(len1+len2)); in spectralChange()
133 delta_sum = FL2FXCONST_DBL(0.0f); in spectralChange()
140 …accu1 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCA… in spectralChange()
141 …accu2 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCA… in spectralChange()
157 delta = fixp_abs(fMult(tmp2, FL2FXCONST_DBL(0.6931471806f))); in spectralChange()
160 result = (EnergyTotal == FL2FXCONST_DBL(0.0f)) in spectralChange()
161 ? FL2FXCONST_DBL(0.f) in spectralChange()
191 FIXP_DBL accu1 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies()
192 FIXP_DBL accu2 = FL2FXCONST_DBL(0.0f); in addLowbandEnergies()
242 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); in addHighbandEnergies()
[all …]
Dinvf_est.cpp220 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 …]
Dnf_est.cpp145 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 …]
Dresampler.cpp143 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 …]
Dsbr_def.h117 #define RELAXATION (FL2FXCONST_DBL(RELAXATION_FLOAT))
118 #define RELAXATION_FRACT (FL2FXCONST_DBL(0.524288f)) /* 0.524288f is fra…
120 #define RELAXATION_LD64 (FL2FXCONST_DBL(0.31143075889f))/* (ld64(RELAXATION…
149 #define NOISE_FLOOR_OFFSET_64 (FL2FXCONST_DBL(0.09375f))
/external/aac/libAACdec/src/
Daacdec_drc.cpp107 #define DRC_PARAM_QUANT_STEP ( FL2FXCONST_DBL(1.0f/(float)DRC_MAX_QUANT_FACTOR) )
138 pParams->cut = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
139 pParams->usrCut = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
140 pParams->boost = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
141 pParams->usrBoost = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
247 self->params.boost = FL2FXCONST_DBL(1.0f/(float)(1<<DRC_PARAM_SCALE)); in aacDecoder_drcSetParam()
248 self->params.cut = FL2FXCONST_DBL(1.0f/(float)(1<<DRC_PARAM_SCALE)); in aacDecoder_drcSetParam()
829 FIXP_DBL norm_mantissa = FL2FXCONST_DBL(0.0f); in aacDecoder_drcApply()
871 FL2FXCONST_DBL(-1.0), /* log2(0.5) */ in aacDecoder_drcApply()
873 …(FIXP_DBL)((INT)(FL2FXCONST_DBL(1.0f/24.0)>>3) * (INT)(pParams->targetRefLevel-self->progRefLevel)… in aacDecoder_drcApply()
[all …]

123