Home
last modified time | relevance | path

Searched refs:B2 (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_CalcCoef.c107 LVM_INT32 B2; in LVEQNB_DoublePrecCoefs() local
136 B2 = (B2_Num / (B2_Den >> 16)) << 15; in LVEQNB_DoublePrecCoefs()
158 B1 = (0x40000000 - B2); /* B1 = (0.5 - b2/2) */ in LVEQNB_DoublePrecCoefs()
161 A0 = (0x40000000 + B2) >> 1; /* A0 = (0.5 + b2) */ in LVEQNB_DoublePrecCoefs()
168 pCoefficients->B2 = B2; in LVEQNB_DoublePrecCoefs()
238 LVM_FLOAT B2; in LVEQNB_SinglePrecCoefs() local
256 B2 = -0.5 * (2 * QFactor - D * T0) / (2 * QFactor + D * T0); in LVEQNB_SinglePrecCoefs()
257 B1 = (0.5 - B2) * cos(T0); in LVEQNB_SinglePrecCoefs()
258 A0 = (0.5 + B2) / 2.0; in LVEQNB_SinglePrecCoefs()
266 pCoefficients->B2 = 2 * B2; in LVEQNB_SinglePrecCoefs()
[all …]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.c542 LVM_FLOAT B2; in LVPSA_BPSinglePrecCoefs() local
573 B2 = B2_Num / (2 * B2_Den); in LVPSA_BPSinglePrecCoefs()
593 B1 = ((LVM_FLOAT)0.5 - B2) * (COS_T0); /* B1 = (0.5 - b2) * cos(t0) */ in LVPSA_BPSinglePrecCoefs()
594 A0 = ((LVM_FLOAT)0.5 + B2) / 2; /* A0 = (0.5 + b2) / 2 */ in LVPSA_BPSinglePrecCoefs()
601 pCoefficients->B2 = B2 * 2; in LVPSA_BPSinglePrecCoefs()
622 LVM_INT32 B2; in LVPSA_BPSinglePrecCoefs() local
654 B2 = (B2_Num / (B2_Den >> 16)) << 15; in LVPSA_BPSinglePrecCoefs()
674 B1 = ((0x40000000 - B2) >> 16) * (COS_T0 >> 16); /* B1 = (0.5 - b2) * cos(t0) */ in LVPSA_BPSinglePrecCoefs()
675 A0 = (0x40000000 + B2) >> 1; /* A0 = (0.5 + b2) / 2 */ in LVPSA_BPSinglePrecCoefs()
682 pCoefficients->B2 = (LVM_INT16)(B2>>16); in LVPSA_BPSinglePrecCoefs()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DBIQUAD.h63 LVM_FLOAT B2; /* -b2! */ member
72 LVM_INT16 B2; /* -b2! */ member
81 LVM_INT32 B2; /* -b2! */ member
132 LVM_FLOAT B2; /* -b2! */ member
139 LVM_INT16 B2; /* -b2! */ member
146 LVM_INT32 B2; /* -b2! */ member
156 LVM_FLOAT B2; /* -b2! */ member
164 LVM_INT16 B2; /* -b2! */ member
172 LVM_INT32 B2; /* -b2! */ member
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DFilters.h44 LVM_INT16 B2; member
54 LVM_FLOAT B2;
DBP_1I_D32F32Cll_TRC_WRA_02_Init.c50 pBiquadState->coefs[1] = pCoef->B2; in BP_1I_D32F32Cll_TRC_WRA_02_Init()
64 pBiquadState->coefs[1]=pCoef->B2; in BP_1I_D32F32Cll_TRC_WRA_02_Init()
DBP_1I_D16F32Cll_TRC_WRA_01_Init.c61 pBiquadState->coefs[1] = pCoef->B2; in BP_1I_D16F32Cll_TRC_WRA_01_Init()
73 pBiquadState->coefs[1] = pCoef->B2; in BP_1I_D16F32Cll_TRC_WRA_01_Init()
DBP_1I_D16F16Css_TRC_WRA_01_Init.c50 pBiquadState->coefs[1] = pCoef->B2; in BP_1I_D16F16Css_TRC_WRA_01_Init()
62 pBiquadState->coefs[1]=pCoef->B2; in BP_1I_D16F16Css_TRC_WRA_01_Init()
DPK_2I_D32F32CssGss_TRC_WRA_01_Init.c30 pBiquadState->coefs[1] = pCoef->B2; in PK_2I_D32F32CssGss_TRC_WRA_01_Init()
46 pBiquadState->coefs[1]=pCoef->B2; in PK_2I_D32F32CssGss_TRC_WRA_01_Init()
DBQ_1I_D16F32Css_TRC_WRA_01_init.c56 temp = pCoef->B2; in BQ_1I_D16F32Css_TRC_WRA_01_Init()
76 temp=pCoef->B2; in BQ_1I_D16F32Css_TRC_WRA_01_Init()
DBQ_1I_D16F16Css_TRC_WRA_01_Init.c54 temp = pCoef->B2; in BQ_1I_D16F16Css_TRC_WRA_01_Init()
74 temp=pCoef->B2; in BQ_1I_D16F16Css_TRC_WRA_01_Init()
DBQ_2I_D16F32Css_TRC_WRA_01_init.c54 temp = pCoef->B2; in BQ_2I_D16F32Css_TRC_WRA_01_Init()
74 temp=pCoef->B2; in BQ_2I_D16F32Css_TRC_WRA_01_Init()
DBQ_2I_D32F32Cll_TRC_WRA_01_Init.c54 temp = pCoef->B2; in BQ_2I_D32F32Cll_TRC_WRA_01_Init()
74 temp=pCoef->B2; in BQ_2I_D32F32Cll_TRC_WRA_01_Init()
DBQ_2I_D16F16Css_TRC_WRA_01_Init.c56 temp = pCoef->B2; in BQ_2I_D16F16Css_TRC_WRA_01_Init()
76 temp=pCoef->B2; in BQ_2I_D16F16Css_TRC_WRA_01_Init()
DPK_2I_D32F32CllGss_TRC_WRA_01_Init.c31 pBiquadState->coefs[1]=pCoef->B2; in PK_2I_D32F32CllGss_TRC_WRA_01_Init()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Equaliser.c92 Coeffs.B2 = (LVM_FLOAT)-pEqualiserCoefTable[Offset].B2; in LVCS_EqualiserInit()
152 Coeffs.B2 = (LVM_INT16)-pEqualiserCoefTable[Offset].B2; in LVCS_EqualiserInit()
DLVCS_ReverbGenerator.c112 Coeffs.B2 = (LVM_FLOAT)-pReverbCoefTable[Offset].B2; in LVCS_ReverbGeneratorInit()
196 Coeffs.B2 = (LVM_INT16)-pReverbCoefTable[Offset].B2; in LVCS_ReverbGeneratorInit()
DLVCS_StereoEnhancer.c116 CoeffsSide.B2 = (LVM_FLOAT)-pSESideCoefs[Offset].B2; in LVCS_SEnhancerInit()
204 CoeffsSide.B2 = (LVM_INT16)-pSESideCoefs[Offset].B2; in LVCS_SEnhancerInit()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_vector.java86 Byte2 B2 = s.get_i8_2(); in initializeGlobals() local
87 if (B2.x != 1 || B2.y != 2) { in initializeGlobals()
90 B2.x = 2; in initializeGlobals()
91 B2.y = 3; in initializeGlobals()
92 s.set_i8_2(B2); in initializeGlobals()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_vector.java101 Byte2 B2 = s.get_i8_2(); in initializeGlobals() local
102 if (B2.x != 1 || B2.y != 2) { in initializeGlobals()
105 B2.x = 2; in initializeGlobals()
106 B2.y = 3; in initializeGlobals()
107 s.set_i8_2(B2); in initializeGlobals()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUT_vector.java86 Byte2 B2 = s.get_i8_2(); in initializeGlobals() local
87 if (B2.x != 1 || B2.y != 2) { in initializeGlobals()
90 B2.x = 2; in initializeGlobals()
91 B2.y = 3; in initializeGlobals()
92 s.set_i8_2(B2); in initializeGlobals()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUT_vector.java86 Byte2 B2 = s.get_i8_2(); in initializeGlobals() local
87 if (B2.x != 1 || B2.y != 2) { in initializeGlobals()
90 B2.x = 2; in initializeGlobals()
91 B2.y = 3; in initializeGlobals()
92 s.set_i8_2(B2); in initializeGlobals()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_vector.java103 Byte2 B2 = s.get_i8_2(); in initializeGlobals() local
104 if (B2.x != 1 || B2.y != 2) { in initializeGlobals()
107 B2.x = 2; in initializeGlobals()
108 B2.y = 3; in initializeGlobals()
109 s.set_i8_2(B2); in initializeGlobals()