Home
last modified time | relevance | path

Searched refs:FL2FXCONST_SGL (Results 1 – 25 of 40) sorted by relevance

12

/external/aac/libSBRdec/src/
Dsbr_rom.cpp210 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 …]
Denv_dec.cpp315 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 …]
Dlpp_tran.cpp287 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 …]
Dsbrdec_freq_sca.cpp342 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()
Dtranscendent.h237 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()
Dpvc_dec.cpp546 nrg = fMult(nrg, FL2FXCONST_SGL(LOG10FAC)); in pvcDecodeTimeSlot()
618 accu = fMult(accu, FL2FXCONST_SGL(LOG10FAC_INV)); in pvcDecodeTimeSlot()
/external/aac/libDRCdec/src/
DdrcDec_rom.cpp122 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 …]
DdrcDecoder.h140 #define DRC_INPUT_LOUDNESS_TARGET_SGL FL2FXCONST_SGL(-31.0f / (float)(1 << 7))
DdrcDec_gainDecoder.cpp316 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/
Dpnsparam.cpp308 /*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 …]
Dnoisedet.cpp122 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()
Dblock_switch.cpp150 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 */
Daacenc_pns.cpp233 if ((pnsData->noiseFuzzyMeasure[sfb] > FL2FXCONST_SGL(0.5)) && in FDKaacEnc_PnsDetect()
251 if ((pnsData->noiseFuzzyMeasure[0] > FL2FXCONST_SGL(0.5f)) && in FDKaacEnc_PnsDetect()
Dtonality.cpp213 sfbTonality[i] = FL2FXCONST_SGL(0.0); in FDKaacEnc_CalcSfbTonality()
/external/aac/libAACdec/src/
Dusacdec_lpc.cpp553 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 …]
Dusacdec_acelp.cpp114 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 …]
Dconceal.cpp189 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()
Daac_rom.h224 #define FILT(a) ((FL2FXCONST_SGL(a)) >> SF_FNA_COEFFS)
/external/aac/libFDK/include/
Dfixpoint_math.h132 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)};
DFDK_lpc.h132 #define FL2FXCONST_LPC(val) FL2FXCONST_SGL(val)
DFDK_decorrelate.h117 #define FL2FXCONST_DECORR FL2FXCONST_SGL
/external/aac/libFDK/src/
Dfixpoint_math.cpp156 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/
Dlimiter.cpp220 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/
Dsac_calcM1andM2.cpp394 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),
Dsac_rom.h119 #define FL2FXCONST_CFG FL2FXCONST_SGL

12