/external/aac/libSBRdec/src/ |
D | sbr_rom.cpp | 171 FL2FXCONST_SGL(0.5011932025f), /*!< -3 dB. Gain limit when limiterGains in frameData is 0 */ 172 FL2FXCONST_SGL(0.5f), /*!< 0 dB. Gain limit when limiterGains in frameData is 1 */ 173 FL2FXCONST_SGL(0.9976346258f), /*!< +3 dB. Gain limit when limiterGains in frameData is 2 */ 174 FL2FXCONST_SGL(0.6776263578f) /*!< Inf. Gain limit when limiterGains in frameData is 3 */ 186 FL2FXCONST_SGL(1.0f / 4.0f), 187 FL2FXCONST_SGL(1.2f / 4.0f), 188 FL2FXCONST_SGL(2.0f / 4.0f), 189 FL2FXCONST_SGL(3.0f / 4.0f) 194 FL2FXCONST_SGL(0.66666666666666f), 195 FL2FXCONST_SGL(0.36516383427084f), [all …]
|
D | env_dec.cpp | 300 FL2FXCONST_SGL(0.5f), 1, /* 1.0 */ in sbr_envelope_unmapping() 329 FDK_add_MantExp( FL2FXCONST_SGL(0.5f), 1+tempR_e, /* tempR */ in sbr_envelope_unmapping() 330 FL2FXCONST_SGL(0.5f), 1, /* 1.0 */ in sbr_envelope_unmapping() 334 FDK_divide_MantExp( FL2FXCONST_SGL(0.5f), tempL_e+2, /* 2 * tempLeft */ in sbr_envelope_unmapping() 404 target = FL2FXCONST_SGL(0.0f); in leanSbrConcealment() 423 h_sbr_data->sbrNoiseFloorLevel[i] = FL2FXCONST_SGL(0.0f); in leanSbrConcealment() 547 if (iEnvelope[i] < FL2FXCONST_SGL(0.0f)) { in checkEnvelopeData() 557 sfb_nrg_prev[i] = fixMax(sfb_nrg_prev[i], FL2FXCONST_SGL(0.0f)); in checkEnvelopeData() 677 FL2FXCONST_SGL(0.5f * pow(2.0f, pow(0.5f, 1))), /* 0.7071 */ in requantizeEnvelopeData() 678 FL2FXCONST_SGL(0.5f * pow(2.0f, pow(0.5f, 2))), /* 0.5946 */ in requantizeEnvelopeData() [all …]
|
D | lpp_tran.cpp | 244 FIXP_SGL bw = FL2FXCONST_SGL(0.0f); in lppTransposer() 262 alphai[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 263 alphai[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 401 alphar[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 403 alphai[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 467 alphar[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 469 alphai[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 539 alphar[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 540 alphar[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 543 alphai[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() [all …]
|
D | sbrdec_freq_sca.cpp | 295 bpo_div16 = FL2FXCONST_SGL(12.0f/16.0f); in sbrdecUpdateFreqScale() 298 bpo_div16 = FL2FXCONST_SGL(10.0f/16.0f); in sbrdecUpdateFreqScale() 301 bpo_div16 = FL2FXCONST_SGL(8.0f/16.0f); in sbrdecUpdateFreqScale() 506 num_bands_div128 = FX_DBL2FX_SGL(fMult(num_bands_div128, FL2FXCONST_SGL(25200.0/32768.0))); in numberOfBands() 510 num_bands_div128 = num_bands_div128 + FL2FXCONST_SGL( 1.0f/128.0f ); in numberOfBands() 546 temp = exact + FL2FXCONST_SGL(128.0/32768.0); in CalcBands() 779 intTemp = intTemp + (LONG)FL2FXCONST_SGL(0.5f/32.0f); in resetFreqBandTables()
|
D | transcendent.h | 217 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp() 273 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp()
|
D | env_calc.cpp | 995 smooth_ratio = FL2FXCONST_SGL(0.0f); in calculateSbrEnvelope() 1759 #define C1 ((FIXP_SGL)FL2FXCONST_SGL(2.f*0.00815f)) in adjustTimeSlotLC() 1760 #define C1_CLDFB ((FIXP_SGL)FL2FXCONST_SGL(2.f*0.16773f)) in adjustTimeSlotLC() 1986 if (smooth_ratio > FL2FXCONST_SGL(0.0f)) { in adjustTimeSlotHQ()
|
/external/aac/libAACenc/src/ |
D | pnsparam.cpp | 142 /*1*/ { 4000, FL2FXCONST_SGL(0.04), FL2FXCONST_SGL(0.06), 1150, 1200, FL2FXCONST_SGL(0.02), 8, 144 /*2*/ { 4000, FL2FXCONST_SGL(0.04), FL2FXCONST_SGL(0.07), 1130, 1300, FL2FXCONST_SGL(0.05), 8, 146 /*3*/ { 4100, FL2FXCONST_SGL(0.04), FL2FXCONST_SGL(0.07), 1100, 1400, FL2FXCONST_SGL(0.10), 8, 148 /*4*/ { 4100, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.10), 1100, 1400, FL2FXCONST_SGL(0.15), 8, 150 /*5*/ { 4300, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.10), 1100, 1400, FL2FXCONST_SGL(0.15), 8, 152 /*6*/ { 5000, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.10), 1100, 1400, FL2FXCONST_SGL(0.25), 8, 154 /*7*/ { 5500, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.12), 1100, 1400, FL2FXCONST_SGL(0.35), 8, 156 /*8*/ { 6000, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.12), 1080, 1400, FL2FXCONST_SGL(0.40), 8, 158 /*9*/ { 6000, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.14), 1070, 1400, FL2FXCONST_SGL(0.45), 8, 174 /*1*/ { 4100, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.16), 1100, 1400, FL2FXCONST_SGL(0.5), 16, [all …]
|
D | noisedet.cpp | 114 return( FL2FXCONST_SGL(0.0f) ); in FDKaacEnc_fuzzyIsSmaller() 116 return( FL2FXCONST_SGL(0.0f) ); in FDKaacEnc_fuzzyIsSmaller() 165 noiseFuzzyMeasure[sfb] = FL2FXCONST_SGL(0.0f); in FDKaacEnc_noiseDetect() 169 …if ( (np->detectionAlgorithmFlags & USE_POWER_DISTRIBUTION) && (fuzzyTotal > FL2FXCONST_SGL(0.5f))… in FDKaacEnc_noiseDetect() 210 … if ( (np->detectionAlgorithmFlags & USE_PSYCH_TONALITY) && (fuzzyTotal > FL2FXCONST_SGL(0.5f)) ) { in FDKaacEnc_noiseDetect()
|
D | tonality.cpp | 115 FIXP_SGL alpha_0 = FL2FXCONST_SGL(0.25f); /* used in smooth ChaosMeasure */ in FDKaacEnc_CalculateFullTonality() 116 FIXP_SGL alpha_1 = FL2FXCONST_SGL(1.0f-0.25f); /* used in smooth ChaosMeasure */ in FDKaacEnc_CalculateFullTonality() 196 sfbTonality[i] = FL2FXCONST_SGL(0.0); in FDKaacEnc_CalcSfbTonality()
|
D | block_switch.cpp | 136 FL2FXCONST_SGL(-0.5095),FL2FXCONST_SGL(0.7548) 140 static const FIXP_SGL oneMinusAccWindowNrgFac = FL2FXCONST_SGL(0.7f); 142 static const FIXP_SGL invAttackRatio = FL2FXCONST_SGL(0.1f); /* inverted lower r…
|
D | aacenc_pns.cpp | 261 if((pnsData->noiseFuzzyMeasure[sfb] > FL2FXCONST_SGL(0.5)) && in FDKaacEnc_PnsDetect() 279 if((pnsData->noiseFuzzyMeasure[0]>FL2FXCONST_SGL(0.5f)) && (pnsData->pnsFlag[1])) { in FDKaacEnc_PnsDetect()
|
D | psy_main.cpp | 1097 if (psyData[ch]->mdctSpectrum[line] != FL2FXCONST_SGL(0.0f)) break; in FDKaacEnc_psyMain()
|
/external/aac/libFDK/src/ |
D | fixpoint_math.cpp | 115 FL2FXCONST_SGL(-1.0), 116 FL2FXCONST_SGL(-1.0/2.0), 117 FL2FXCONST_SGL(-1.0/3.0), 118 FL2FXCONST_SGL(-1.0/4.0), 119 FL2FXCONST_SGL(-1.0/5.0), 120 FL2FXCONST_SGL(-1.0/6.0), 121 FL2FXCONST_SGL(-1.0/7.0), 122 FL2FXCONST_SGL(-1.0/8.0), 123 FL2FXCONST_SGL(-1.0/9.0), 124 FL2FXCONST_SGL(-1.0/10.0) [all …]
|
D | FDK_hybrid.cpp | 121 #define FL2FXCONST_HTB FL2FXCONST_SGL
|
D | FDK_tools_rom.cpp | 1260 #define QTCFL(x) FL2FXCONST_SGL(x) 1497 #define QTCFLLD(x) FL2FXCONST_SGL(x/(float)(1<<QMF_CLDFB_PFT_SCALE)) 1498 #define QTCFLLDT(x) FL2FXCONST_SGL(x)
|
/external/aac/libPCMutils/src/ |
D | limiter.cpp | 262 static const FIXP_SGL b[] = { FL2FXCONST_SGL(0.015466*2.0), FL2FXCONST_SGL( 0.015466*2.0) }; in applyLimiter() 263 static const FIXP_SGL a[] = { FL2FXCONST_SGL(1.000000), FL2FXCONST_SGL(-0.96907) }; in applyLimiter() 328 …cor = fMin(cor, fMultDiv2((gain - fMultDiv2(FL2FXCONST_SGL(0.1f*(1<<1)),smoothState0)), FL2FXCONST… in applyLimiter()
|
D | pcmutils_lib.cpp | 206 #define FL2FXCONST_DMX(x) FL2FXCONST_SGL(x)
|
/external/aac/libAACdec/src/ |
D | conceal.cpp | 174 FL2FXCONST_SGL(0.500000000f), /* FIXP_SGL(0x4000), 2^-(1-0,00) */ 175 FL2FXCONST_SGL(0.594603558f), /* FIXP_SGL(0x4c1b), 2^-(1-0,25) */ 176 FL2FXCONST_SGL(0.707106781f), /* FIXP_SGL(0x5a82), 2^-(1-0,50) */ 177 FL2FXCONST_SGL(0.840896415f) /* FIXP_SGL(0x6ba2) 2^-(1-0,75) */ 279 pConcealCommonData->fadeOutFactor[0] = FL2FXCONST_SGL( CONCEAL_DFLT_FADE_FACTOR ); in CConcealment_InitCommonData() 283 …ctor[i] = FX_DBL2FX_SGL(fMult(pConcealCommonData->fadeOutFactor[i-1],FL2FXCONST_SGL(CONCEAL_DFLT_F… in CConcealment_InitCommonData()
|
/external/aac/libSBRenc/src/ |
D | resampler.cpp | 104 #define BQC(x) FL2FXCONST_SGL(x/2)
|
/external/aac/libFDK/include/ |
D | common_fix.h | 157 #define FL2FXCONST_SGL(val) … macro
|