Lines Matching refs:FIXP_DBL
288 static FIXP_DBL FDKaacEnc_BarcLineValue(INT noOfLines, INT fftLine, LONG samplingFreq) in FDKaacEnc_BarcLineValue()
291 FIXP_DBL FOURBY3EM4 = (FIXP_DBL)0x45e7b273; /* 4.0/3 * 0.0001 in q43 */ in FDKaacEnc_BarcLineValue()
292 FIXP_DBL PZZZ76 = (FIXP_DBL)0x639d5e4a; /* 0.00076 in q41 */ in FDKaacEnc_BarcLineValue()
293 FIXP_DBL ONE3P3 = (FIXP_DBL)0x35333333; /* 13.3 in q26 */ in FDKaacEnc_BarcLineValue()
294 FIXP_DBL THREEP5 = (FIXP_DBL)0x1c000000; /* 3.5 in q27 */ in FDKaacEnc_BarcLineValue()
295 FIXP_DBL INV480 = (FIXP_DBL)0x44444444; // 1/480 in q39 in FDKaacEnc_BarcLineValue()
297 FIXP_DBL center_freq, x1, x2; in FDKaacEnc_BarcLineValue()
298 FIXP_DBL bvalFFTLine, atan1, atan2; in FDKaacEnc_BarcLineValue()
320 center_freq = (FIXP_DBL)0; in FDKaacEnc_BarcLineValue()
343 FIXP_DBL *sfbPCMquantThreshold) in FDKaacEnc_InitMinPCMResolution()
346 #define PCM_QUANT_NOISE ((FIXP_DBL)0x00547062) in FDKaacEnc_InitMinPCMResolution()
353 static FIXP_DBL getMaskFactor( in getMaskFactor()
354 const FIXP_DBL dbVal_fix, in getMaskFactor()
356 const FIXP_DBL ten_fix, in getMaskFactor()
361 FIXP_DBL mask_factor; in getMaskFactor()
366 if ( (q_msk>0) && (mask_factor>(FIXP_DBL)MAXVAL_DBL>>q_msk) ) { in getMaskFactor()
367 mask_factor = (FIXP_DBL)MAXVAL_DBL; in getMaskFactor()
377 FIXP_DBL *pbBarcValue, in FDKaacEnc_initSpreading()
378 FIXP_DBL *pbMaskLoFactor, in FDKaacEnc_initSpreading()
379 FIXP_DBL *pbMaskHiFactor, in FDKaacEnc_initSpreading()
380 FIXP_DBL *pbMaskLoFactorSprEn, in FDKaacEnc_initSpreading()
381 FIXP_DBL *pbMaskHiFactorSprEn, in FDKaacEnc_initSpreading()
387 FIXP_DBL MASKLOWSPREN, MASKHIGHSPREN; in FDKaacEnc_initSpreading()
389 FIXP_DBL MASKHIGH = (FIXP_DBL)0x30000000; /* 1.5 in q29 */ in FDKaacEnc_initSpreading()
390 FIXP_DBL MASKLOW = (FIXP_DBL)0x60000000; /* 3.0 in q29 */ in FDKaacEnc_initSpreading()
391 FIXP_DBL MASKLOWSPRENLONG = (FIXP_DBL)0x60000000; /* 3.0 in q29 */ in FDKaacEnc_initSpreading()
392 FIXP_DBL MASKHIGHSPRENLONG = (FIXP_DBL)0x40000000; /* 2.0 in q29 */ in FDKaacEnc_initSpreading()
393 FIXP_DBL MASKHIGHSPRENLONGLOWBR = (FIXP_DBL)0x30000000; /* 1.5 in q29 */ in FDKaacEnc_initSpreading()
394 FIXP_DBL MASKLOWSPRENSHORT = (FIXP_DBL)0x40000000; /* 2.0 in q29 */ in FDKaacEnc_initSpreading()
395 FIXP_DBL MASKHIGHSPRENSHORT = (FIXP_DBL)0x30000000; /* 1.5 in q29 */ in FDKaacEnc_initSpreading()
396 FIXP_DBL TEN = (FIXP_DBL)0x50000000; /* 10.0 in q27 */ in FDKaacEnc_initSpreading()
431 pbMaskHiFactor[i] = (FIXP_DBL)0; in FDKaacEnc_initSpreading()
432 pbMaskLoFactor[numPb-1] = (FIXP_DBL)0; in FDKaacEnc_initSpreading()
433 pbMaskHiFactorSprEn[i] = (FIXP_DBL)0; in FDKaacEnc_initSpreading()
434 pbMaskLoFactorSprEn[numPb-1] = (FIXP_DBL)0; in FDKaacEnc_initSpreading()
443 FIXP_DBL *pbBval) in FDKaacEnc_initBarcValues()
446 FIXP_DBL MAX_BARC = (FIXP_DBL)0x30000000; /* 24.0 in q25 */ in FDKaacEnc_initBarcValues()
450 FIXP_DBL v1, v2, cur_bark; in FDKaacEnc_initBarcValues()
464 FIXP_DBL *sfbMinSnrLdData) in FDKaacEnc_initMinSnr()
472 FIXP_DBL MAX_BARC = (FIXP_DBL)0x30000000; /* 24.0 in q25 */ in FDKaacEnc_initMinSnr()
473 FIXP_DBL MAX_BARCP1 = (FIXP_DBL)0x32000000; /* 25.0 in q25 */ in FDKaacEnc_initMinSnr()
474 FIXP_DBL BITS2PEFAC = (FIXP_DBL)0x4b851eb8; /* 1.18 in q30 */ in FDKaacEnc_initMinSnr()
475 FIXP_DBL PERS2P4 = (FIXP_DBL)0x624dd2f2; /* 0.024 in q36 */ in FDKaacEnc_initMinSnr()
476 FIXP_DBL ONEP5 = (FIXP_DBL)0x60000000; /* 1.5 in q30 */ in FDKaacEnc_initMinSnr()
477 FIXP_DBL MAX_SNR = (FIXP_DBL)0x33333333; /* 0.8 in q30 */ in FDKaacEnc_initMinSnr()
478 FIXP_DBL MIN_SNR = (FIXP_DBL)0x003126e9; /* 0.003 in q30 */ in FDKaacEnc_initMinSnr()
480 FIXP_DBL barcFactor, pePerWindow, pePart, barcWidth; in FDKaacEnc_initMinSnr()
481 FIXP_DBL pePart_const, tmp, snr, one_qsnr, one_point5; in FDKaacEnc_initMinSnr()
538 one_point5 = (FIXP_DBL)0; in FDKaacEnc_initMinSnr()
540 one_point5 = (FIXP_DBL)(ONEP5 >> (30+1-qsnr)); in FDKaacEnc_initMinSnr()
546 one_qsnr = (FIXP_DBL)(1 << qsnr); in FDKaacEnc_initMinSnr()
548 one_qsnr = (FIXP_DBL)0; in FDKaacEnc_initMinSnr()
579 FIXP_DBL sfbBarcVal[MAX_SFB]; in FDKaacEnc_InitPsyConfiguration()
620 psyConf->clipEnergy = (FIXP_DBL)0x773593ff; /* FL2FXCONST_DBL(1.0e9*NORM_PCM_ENERGY); */ in FDKaacEnc_InitPsyConfiguration()