/external/aac/libSBRdec/src/ |
D | sbr_rom.cpp | 210 FL2FXCONST_SGL(0.5011932025f), /*!< -3 dB. Gain limit when limiterGains in 212 FL2FXCONST_SGL( 214 FL2FXCONST_SGL(0.9976346258f), /*!< +3 dB. Gain limit when limiterGains in 216 FL2FXCONST_SGL(0.6776263578f) /*!< Inf. Gain limit when limiterGains in 225 FL2FXCONST_SGL(1.0f / 4.0f), FL2FXCONST_SGL(1.2f / 4.0f), 226 FL2FXCONST_SGL(2.0f / 4.0f), FL2FXCONST_SGL(3.0f / 4.0f)}; 236 FL2FXCONST_SGL(0.66666666666666f), FL2FXCONST_SGL(0.36516383427084f), 237 FL2FXCONST_SGL(0.14699433520835f), FL2FXCONST_SGL(0.03183050093751f)}; 244 {FL2FXCONST_SGL(-0.99948153278296f), FL2FXCONST_SGL(-0.59483417516607f)}, 245 {FL2FXCONST_SGL(0.97113454393991f), FL2FXCONST_SGL(-0.67528515225647f)}, [all …]
|
D | env_dec.cpp | 315 FDK_add_MantExp(tempR_m, tempR_e, FL2FXCONST_SGL(0.5f), 1, /* 1.0 */ in sbr_envelope_unmapping() 347 FDK_add_MantExp(FL2FXCONST_SGL(0.5f), 1 + tempR_e, /* tempR */ in sbr_envelope_unmapping() 348 FL2FXCONST_SGL(0.5f), 1, /* 1.0 */ in sbr_envelope_unmapping() 352 FDK_divide_MantExp(FL2FXCONST_SGL(0.5f), tempL_e + 2, /* 2 * tempLeft */ in sbr_envelope_unmapping() 420 target = FL2FXCONST_SGL(0.0f); in leanSbrConcealment() 570 if (iEnvelope[i] < FL2FXCONST_SGL(0.0f)) { in checkEnvelopeData() 580 sfb_nrg_prev[i] = fixMax(sfb_nrg_prev[i], FL2FXCONST_SGL(0.0f)); in checkEnvelopeData() 702 FL2FXCONST_SGL(0.5f * pow(2.0f, pow(0.5f, 1))), /* 0.7071 */ in requantizeEnvelopeData() 703 FL2FXCONST_SGL(0.5f * pow(2.0f, pow(0.5f, 2))), /* 0.5946 */ in requantizeEnvelopeData() 704 FL2FXCONST_SGL(0.5f * pow(2.0f, pow(0.5f, 3))), in requantizeEnvelopeData() [all …]
|
D | lpp_tran.cpp | 287 FIXP_SGL bw = FL2FXCONST_SGL(0.0f); in lppTransposer() 303 alphai[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 304 alphai[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 503 alphar[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 504 if (!useLP) alphai[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 569 alphar[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 570 if (!useLP) alphai[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 637 alphar[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() 638 alphar[1] = FL2FXCONST_SGL(0.0f); in lppTransposer() 640 alphai[0] = FL2FXCONST_SGL(0.0f); in lppTransposer() [all …]
|
D | sbrdec_freq_sca.cpp | 342 bpo_div16 = FL2FXCONST_SGL(12.0f / 16.0f); in sbrdecUpdateFreqScale() 344 bpo_div16 = FL2FXCONST_SGL(10.0f / 16.0f); in sbrdecUpdateFreqScale() 346 bpo_div16 = FL2FXCONST_SGL(8.0f / 16.0f); in sbrdecUpdateFreqScale() 557 fMult(num_bands_div128, FL2FXCONST_SGL(25200.0 / 32768.0))); in numberOfBands() 561 num_bands_div128 = num_bands_div128 + FL2FXCONST_SGL(1.0f / 128.0f); in numberOfBands() 597 temp = exact + FL2FXCONST_SGL(128.0 / 32768.0); in CalcBands() 807 intTemp = intTemp + (LONG)FL2FXCONST_SGL(0.5f / 32.0f); in resetFreqBandTables()
|
D | transcendent.h | 237 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp() 293 FIXP_SGL bInv_m = FL2FXCONST_SGL(0.0f); in FDK_divide_MantExp()
|
D | pvc_dec.cpp | 546 nrg = fMult(nrg, FL2FXCONST_SGL(LOG10FAC)); in pvcDecodeTimeSlot() 618 accu = fMult(accu, FL2FXCONST_SGL(LOG10FAC_INV)); in pvcDecodeTimeSlot()
|
/external/aac/libDRCdec/src/ |
D | drcDec_rom.cpp | 122 const FIXP_SGL slopeSteepness[] = {FL2FXCONST_SGL(-3.0518f / (float)(1 << 2)), 123 FL2FXCONST_SGL(-1.2207f / (float)(1 << 2)), 124 FL2FXCONST_SGL(-0.4883f / (float)(1 << 2)), 125 FL2FXCONST_SGL(-0.1953f / (float)(1 << 2)), 126 FL2FXCONST_SGL(-0.0781f / (float)(1 << 2)), 127 FL2FXCONST_SGL(-0.0312f / (float)(1 << 2)), 128 FL2FXCONST_SGL(-0.005f / (float)(1 << 2)), 129 FL2FXCONST_SGL(0.0f / (float)(1 << 2)), 130 FL2FXCONST_SGL(0.005f / (float)(1 << 2)), 131 FL2FXCONST_SGL(0.0312f / (float)(1 << 2)), [all …]
|
D | drcDecoder.h | 140 #define DRC_INPUT_LOUDNESS_TARGET_SGL FL2FXCONST_SGL(-31.0f / (float)(1 << 7))
|
D | drcDec_gainDecoder.cpp | 316 FX_DBL2FX_SGL(fMult(FL2FXCONST_SGL(0.9f), lastGainDb)); in drcDec_GainDecoder_Conceal() 319 FX_DBL2FX_SGL(fMult(FL2FXCONST_SGL(0.98f), lastGainDb)); in drcDec_GainDecoder_Conceal()
|
/external/aac/libAACenc/src/ |
D | pnsparam.cpp | 308 /*1*/ {4000, FL2FXCONST_SGL(0.04), FL2FXCONST_SGL(0.06), 1150, 1200, 309 FL2FXCONST_SGL(0.02), 8, 313 {4000, FL2FXCONST_SGL(0.04), FL2FXCONST_SGL(0.07), 1130, 1300, 314 FL2FXCONST_SGL(0.05), 8, 318 {4100, FL2FXCONST_SGL(0.04), FL2FXCONST_SGL(0.07), 1100, 1400, 319 FL2FXCONST_SGL(0.10), 8, 323 {4100, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.10), 1100, 1400, 324 FL2FXCONST_SGL(0.15), 8, 328 {4300, FL2FXCONST_SGL(0.03), FL2FXCONST_SGL(0.10), 1100, 1400, 329 FL2FXCONST_SGL(0.15), 8, [all …]
|
D | noisedet.cpp | 122 return (FL2FXCONST_SGL(0.0f)); in FDKaacEnc_fuzzyIsSmaller() 124 return (FL2FXCONST_SGL(0.0f)); in FDKaacEnc_fuzzyIsSmaller() 169 noiseFuzzyMeasure[sfb] = FL2FXCONST_SGL(0.0f); in FDKaacEnc_noiseDetect() 174 (fuzzyTotal > FL2FXCONST_SGL(0.5f))) { in FDKaacEnc_noiseDetect() 219 (fuzzyTotal > FL2FXCONST_SGL(0.5f))) { in FDKaacEnc_noiseDetect()
|
D | block_switch.cpp | 150 FL2FXCONST_SGL(-0.5095), FL2FXCONST_SGL(0.7548)}; 154 static const FIXP_SGL oneMinusAccWindowNrgFac = FL2FXCONST_SGL(0.7f); 157 FL2FXCONST_SGL(0.1f); /* inverted lower ratio limit for attacks */
|
D | aacenc_pns.cpp | 233 if ((pnsData->noiseFuzzyMeasure[sfb] > FL2FXCONST_SGL(0.5)) && in FDKaacEnc_PnsDetect() 251 if ((pnsData->noiseFuzzyMeasure[0] > FL2FXCONST_SGL(0.5f)) && in FDKaacEnc_PnsDetect()
|
D | tonality.cpp | 213 sfbTonality[i] = FL2FXCONST_SGL(0.0); in FDKaacEnc_CalcSfbTonality()
|
/external/aac/libAACdec/src/ |
D | usacdec_lpc.cpp | 553 factor = FL2FXCONST_SGL(2.0f * 60.0f / FREQ_DIV); in lsf_weight_2st() 556 factor = FL2FXCONST_SGL(2.0f * 65.0f / FREQ_DIV); in lsf_weight_2st() 559 factor = FL2FXCONST_SGL(2.0f * 64.0f / FREQ_DIV); in lsf_weight_2st() 562 factor = FL2FXCONST_SGL(2.0f * 63.0f / FREQ_DIV); in lsf_weight_2st() 915 fMult(lsp[k][i], FL2FXCONST_SGL(1.0f - LSF_INIT_TILT)) + in CLpc_Read() 916 fMult(fdk_dec_lsf_init[i], FL2FXCONST_SGL(LSF_INIT_TILT))); in CLpc_Read() 989 pStability[k] = FL2FXCONST_SGL(1.0f / 2.0f); in CLpc_Read() 991 pStability[k] = FL2FXCONST_SGL(0.0f); in CLpc_Read() 1011 FL2FXCONST_SGL((1 << LSPARG_SCALE) * M_PI / 6400.0)), in CLpc_Read() 1026 #define BETA (FL2FXCONST_SGL(0.25f)) in CLpc_Conceal() [all …]
|
D | usacdec_acelp.cpp | 114 FL2FXCONST_SGL(0.3f * 2.0f) /* ACELP code pre-emphasis factor ( *2 ) */ 116 FL2FXCONST_SGL(0.85f) /* pitch sharpening factor */ 118 FL2FXCONST_SGL(0.68f) /* ACELP synth pre-emphasis factor */ 243 if (tgpit > FL2FXCONST_SGL(0.95f / (1 << SF_GAIN_P))) { in D_gain2_plus() 244 tgpit = FL2FXCONST_SGL(0.95f / (1 << SF_GAIN_P)); in D_gain2_plus() 245 } else if (tgpit < FL2FXCONST_SGL(0.5f / (1 << SF_GAIN_P))) { in D_gain2_plus() 246 tgpit = FL2FXCONST_SGL(0.5f / (1 << SF_GAIN_P)); in D_gain2_plus() 252 tgpit = FL2FXCONST_SGL(1.4f / (1 << SF_GAIN_P)) - tgpit; in D_gain2_plus() 413 FL2FXCONST_SGL(2.0 * 0.19f)); /* +1.5dB => *(1.0+0.19) */ in noise_enhancer() 419 FL2FXCONST_SGL(1.0f / 1.19f)); /* -1.5dB => *10^(-1.5/20) */ in noise_enhancer() [all …]
|
D | conceal.cpp | 189 FL2FXCONST_SGL(0.500000000f), /* FIXP_SGL(0x4000), 2^-(1-0,00) */ 190 FL2FXCONST_SGL(0.594603558f), /* FIXP_SGL(0x4c1b), 2^-(1-0,25) */ 191 FL2FXCONST_SGL(0.707106781f), /* FIXP_SGL(0x5a82), 2^-(1-0,50) */ 192 FL2FXCONST_SGL(0.840896415f) /* FIXP_SGL(0x6ba2) 2^-(1-0,75) */ 279 FL2FXCONST_SGL(CONCEAL_DFLT_FADE_FACTOR); in CConcealment_InitCommonData() 285 FL2FXCONST_SGL(CONCEAL_DFLT_FADE_FACTOR))); in CConcealment_InitCommonData() 325 pConcealChannelInfo->TDNoiseCoef[0] = FL2FXCONST_SGL(0.05f); in CConcealment_InitChannelData() 326 pConcealChannelInfo->TDNoiseCoef[1] = FL2FXCONST_SGL(0.5f); in CConcealment_InitChannelData() 327 pConcealChannelInfo->TDNoiseCoef[2] = FL2FXCONST_SGL(0.45f); in CConcealment_InitChannelData()
|
D | aac_rom.h | 224 #define FILT(a) ((FL2FXCONST_SGL(a)) >> SF_FNA_COEFFS)
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 132 FL2FXCONST_SGL(-1.0), FL2FXCONST_SGL(-1.0 / 2.0), 133 FL2FXCONST_SGL(-1.0 / 3.0), FL2FXCONST_SGL(-1.0 / 4.0), 134 FL2FXCONST_SGL(-1.0 / 5.0), FL2FXCONST_SGL(-1.0 / 6.0), 135 FL2FXCONST_SGL(-1.0 / 7.0), FL2FXCONST_SGL(-1.0 / 8.0), 136 FL2FXCONST_SGL(-1.0 / 9.0), FL2FXCONST_SGL(-1.0 / 10.0)};
|
D | FDK_lpc.h | 132 #define FL2FXCONST_LPC(val) FL2FXCONST_SGL(val)
|
D | FDK_decorrelate.h | 117 #define FL2FXCONST_DECORR FL2FXCONST_SGL
|
/external/aac/libFDK/src/ |
D | fixpoint_math.cpp | 156 FL2FXCONST_SGL(0.693147180559945309417232121458177), /* ln(2)^1 /1! */ 157 FL2FXCONST_SGL(0.240226506959100712333551263163332), /* ln(2)^2 /2! */ 158 FL2FXCONST_SGL(0.0555041086648215799531422637686218), /* ln(2)^3 /3! */ 159 FL2FXCONST_SGL(0.00961812910762847716197907157365887), /* ln(2)^4 /4! */ 160 FL2FXCONST_SGL(0.00133335581464284434234122219879962), /* ln(2)^5 /5! */ 161 FL2FXCONST_SGL(1.54035303933816099544370973327423e-4), /* ln(2)^6 /6! */ 162 FL2FXCONST_SGL(1.52527338040598402800254390120096e-5), /* ln(2)^7 /7! */ 163 FL2FXCONST_SGL(1.32154867901443094884037582282884e-6) /* ln(2)^8 /8! */
|
/external/aac/libPCMutils/src/ |
D | limiter.cpp | 220 static const FIXP_SGL b[] = {FL2FXCONST_SGL(0.015466 * 2.0), in pcmLimiter_Apply() 221 FL2FXCONST_SGL(0.015466 * 2.0)}; in pcmLimiter_Apply() 223 FL2FXCONST_SGL(-0.96907)}; in pcmLimiter_Apply() 288 fMultDiv2((gain - fMultDiv2(FL2FXCONST_SGL(0.1f * (1 << 1)), in pcmLimiter_Apply() 290 FL2FXCONST_SGL(1.11111111f / (1 << 1))) in pcmLimiter_Apply()
|
/external/aac/libSACdec/src/ |
D | sac_calcM1andM2.cpp | 394 FL2FXCONST_SGL(0.0f), 395 FL2FXCONST_SGL(0.349329357483736f), 396 FL2FXCONST_SGL(0.540755219669676f), 397 FL2FXCONST_SGL(0.799309172723546f), 398 FL2FXCONST_SGL(0.929968187843004f), 400 FL2FXCONST_SGL(0.80813303360276f), 401 FL2FXCONST_SGL(0.141067359796659f),
|
D | sac_rom.h | 119 #define FL2FXCONST_CFG FL2FXCONST_SGL
|