Lines Matching refs:FL2FXCONST_DBL
98 #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) ),
247 FL2FXCONST_DBL( ((1.f/1.f) - 1.f) ),
248 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) ),
249 FL2FXCONST_DBL( ((1.f/2.f) - 1.f) )
252 FL2FXCONST_DBL( ((1.f/20.f) - 1.f) ),
253 FL2FXCONST_DBL( ((1.f/20.f) - 1.f) ),
254 FL2FXCONST_DBL( ((1.f/20.f) - 1.f) ),
255 FL2FXCONST_DBL( ((1.f/ 2.f) - 1.f) ),
256 FL2FXCONST_DBL( ((1.f/20.f) - 1.f) ),
257 FL2FXCONST_DBL( ((1.f/20.f) - 1.f) )
276 FL2FXCONST_DBL((10.f/1000.f)/METADATA_INT_SCALE),
277 FL2FXCONST_DBL((10.f/1000.f)/METADATA_INT_SCALE),
278 FL2FXCONST_DBL((10.f/1000.f)/METADATA_INT_SCALE),
279 FL2FXCONST_DBL((10.f/1000.f)/METADATA_INT_SCALE),
280 FL2FXCONST_DBL((10.f/1000.f)/METADATA_INT_SCALE),
281 FL2FXCONST_DBL( (0.f/1000.f)/METADATA_INT_SCALE)
284 FL2FXCONST_DBL((1000.f/1000.f)/METADATA_INT_SCALE),
285 FL2FXCONST_DBL((1000.f/1000.f)/METADATA_INT_SCALE),
286 FL2FXCONST_DBL((1000.f/1000.f)/METADATA_INT_SCALE),
287 FL2FXCONST_DBL((1000.f/1000.f)/METADATA_INT_SCALE),
288 FL2FXCONST_DBL( (200.f/1000.f)/METADATA_INT_SCALE),
289 FL2FXCONST_DBL( (0.f/1000.f)/METADATA_INT_SCALE)
292 FL2FXCONST_DBL((100.f/1000.f)/METADATA_INT_SCALE),
293 FL2FXCONST_DBL((100.f/1000.f)/METADATA_INT_SCALE),
294 FL2FXCONST_DBL((100.f/1000.f)/METADATA_INT_SCALE),
295 FL2FXCONST_DBL((100.f/1000.f)/METADATA_INT_SCALE),
296 FL2FXCONST_DBL((100.f/1000.f)/METADATA_INT_SCALE),
297 FL2FXCONST_DBL( (0.f/1000.f)/METADATA_INT_SCALE)
300 FL2FXCONST_DBL( (3000.f/1000.f)/METADATA_INT_SCALE),
301 FL2FXCONST_DBL( (3000.f/1000.f)/METADATA_INT_SCALE),
302 FL2FXCONST_DBL((10000.f/1000.f)/METADATA_INT_SCALE),
303 FL2FXCONST_DBL( (3000.f/1000.f)/METADATA_INT_SCALE),
304 FL2FXCONST_DBL( (1000.f/1000.f)/METADATA_INT_SCALE),
305 FL2FXCONST_DBL( (0.f/1000.f)/METADATA_INT_SCALE)
330 static const FIXP_DBL b0 = FL2FXCONST_DBL(0.53050662f); /* b1 …
331 static const FIXP_DBL a1 = FL2FXCONST_DBL(-0.95237983f), a2 = FL2FXCONST_DBL(-0.02248836f); /* a0 …
374 if ( (value1!=FL2FXCONST_DBL(0.f)) && (*pValue2!=FL2FXCONST_DBL(0.f)) ) { in fixpAdd()
488 drcComp->limDecay = FL2FXCONST_DBL( ((0.006f / 256) * blockLength) / METADATA_INT_SCALE ); in FDK_DRC_Generator_Initialize()
641 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_setDrcProfile()
668 FIXP_DBL level_b = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
699 FIXP_DBL accu = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
742 FIXP_DBL accu = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
764 ldLevel = FDKmax(ldLevel, FL2FXCONST_DBL(-0.51905126482615036685473741085772f)); in FDK_DRC_Generator_Calc()
777 …CT_BITS+LD_DATA_SHIFT)), fMult( FL2FXCONST_DBL(0.30102999566398119521373889472449f), ldLevel) + (F… in FDK_DRC_Generator_Calc()
785 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
801 gain = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
867 drcComp->smoothGain[0] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
868 drcComp->smoothGain[1] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
876 peak[0] = peak[1] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
891 tmp = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
893 …if (drcComp->channelIdx[LS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
894 …if (drcComp->channelIdx[LS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
895 …if (drcComp->channelIdx[RS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
896 …if (drcComp->channelIdx[RS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
897 …channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(0.707f), tmp);… in FDK_DRC_Generator_Calc()
898 …if (drcComp->channelIdx[S] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
899 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
905 tmp = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
906 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
907 …if (drcComp->channelIdx[LS2] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
908 …if (drcComp->channelIdx[RS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
909 …if (drcComp->channelIdx[RS2] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
910 …channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(0.707f), tmp);… in FDK_DRC_Generator_Calc()
911 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
912 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
921 tmp = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
924 …channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(0.707f), tmp);… in FDK_DRC_Generator_Calc()
925 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(slev, fMult(FL2FXCONST_DBL(0.7f), (FIXP_PCM)pSam… in FDK_DRC_Generator_Calc()
932 tmp = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
935 …channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(0.707f), tmp);… in FDK_DRC_Generator_Calc()
936 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(slev, fMult(FL2FXCONST_DBL(0.7f), (FIXP_PCM)pSam… in FDK_DRC_Generator_Calc()
947 tmp = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
952 …channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(0.707f), tmp);… in FDK_DRC_Generator_Calc()
954 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(slev, fMult(FL2FXCONST_DBL(0.7f), (FIXP_PCM)pSam… in FDK_DRC_Generator_Calc()
975 ld_peak = FDKmax(ld_peak, FL2FXCONST_DBL(-0.31143075889569022011284244651463f)); in FDK_DRC_Generator_Calc()
1012 if (drcComp->limGain[0] < FL2FXCONST_DBL(0.f)) { in FDK_DRC_Generator_Calc()
1018 if (drcComp->limGain[1] < FL2FXCONST_DBL(0.f)) { in FDK_DRC_Generator_Calc()