Home
last modified time | relevance | path

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

/frameworks/base/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixInSoft_D16C31_SAT.c41 LVM_INT32 Current=pInstance->Current; in LVC_Core_MixInSoft_D16C31_SAT() local
48 if(Current<Target){ in LVC_Core_MixInSoft_D16C31_SAT()
50 … ADD2_SAT_32x32(Current,Delta,Temp); /* Q31 + Q31 into Q31*/ in LVC_Core_MixInSoft_D16C31_SAT()
51 Current=Temp; in LVC_Core_MixInSoft_D16C31_SAT()
52 if (Current > Target) in LVC_Core_MixInSoft_D16C31_SAT()
53 Current = Target; in LVC_Core_MixInSoft_D16C31_SAT()
55 … CurrentShort = (LVM_INT16)(Current>>16); /* From Q31 to Q15*/ in LVC_Core_MixInSoft_D16C31_SAT()
69 … ADD2_SAT_32x32(Current,Delta,Temp); /* Q31 + Q31 into Q31*/ in LVC_Core_MixInSoft_D16C31_SAT()
70 Current=Temp; in LVC_Core_MixInSoft_D16C31_SAT()
71 if (Current > Target) in LVC_Core_MixInSoft_D16C31_SAT()
[all …]
DLVC_Core_MixSoft_1St_D16C31_WRA.c41 LVM_INT32 Current=pInstance->Current; in LVC_Core_MixSoft_1St_D16C31_WRA() local
48 if(Current<Target){ in LVC_Core_MixSoft_1St_D16C31_WRA()
50 … ADD2_SAT_32x32(Current,Delta,Temp); /* Q31 + Q31 into Q31*/ in LVC_Core_MixSoft_1St_D16C31_WRA()
51 Current=Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
52 if (Current > Target) in LVC_Core_MixSoft_1St_D16C31_WRA()
53 Current = Target; in LVC_Core_MixSoft_1St_D16C31_WRA()
55 … CurrentShort = (LVM_INT16)(Current>>16); /* From Q31 to Q15*/ in LVC_Core_MixSoft_1St_D16C31_WRA()
63 … ADD2_SAT_32x32(Current,Delta,Temp); /* Q31 + Q31 into Q31*/ in LVC_Core_MixSoft_1St_D16C31_WRA()
64 Current=Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
65 if (Current > Target) in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DMixInSoft_D32C31_SAT.c48 if (pInstance->Current != pInstance->Target) in MixInSoft_D32C31_SAT()
51 pInstance->Current = pInstance->Target; in MixInSoft_D32C31_SAT()
52 }else if ((pInstance->Current-pInstance->Target <POINT_ZERO_ONE_DB)&& in MixInSoft_D32C31_SAT()
53 (pInstance->Current-pInstance->Target > -POINT_ZERO_ONE_DB)){ in MixInSoft_D32C31_SAT()
54 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in MixInSoft_D32C31_SAT()
72 …pInstance->Current = pInstance->Target; /* In case the core function would have changed the Curren… in MixInSoft_D32C31_SAT()
84 if ((pInstance->Current-pInstance->Target <POINT_ZERO_ONE_DB)&& in MixInSoft_D32C31_SAT()
85 (pInstance->Current-pInstance->Target > -POINT_ZERO_ONE_DB)){ in MixInSoft_D32C31_SAT()
86 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in MixInSoft_D32C31_SAT()
DMixSoft_1St_D32C31_WRA.c50 if (pInstance->Current != pInstance->Target) in MixSoft_1St_D32C31_WRA()
53 pInstance->Current = pInstance->Target; in MixSoft_1St_D32C31_WRA()
54 }else if ((pInstance->Current-pInstance->Target <POINT_ZERO_ONE_DB)&& in MixSoft_1St_D32C31_WRA()
55 (pInstance->Current-pInstance->Target > -POINT_ZERO_ONE_DB)){ in MixSoft_1St_D32C31_WRA()
56 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in MixSoft_1St_D32C31_WRA()
76 Mult3s_32x16( src, (LVM_INT16)(pInstance->Current>>16), dst, n ); in MixSoft_1St_D32C31_WRA()
84 if ((pInstance->Current-pInstance->Target <POINT_ZERO_ONE_DB)&& in MixSoft_1St_D32C31_WRA()
85 (pInstance->Current-pInstance->Target > -POINT_ZERO_ONE_DB)){ in MixSoft_1St_D32C31_WRA()
86 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in MixSoft_1St_D32C31_WRA()
DLVC_MixSoft_1St_2i_D16C31_SAT.c52 if ((pInstance1->Current != pInstance1->Target)||(pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_1St_2i_D16C31_SAT()
56 pInstance1->Current = pInstance1->Target; in LVC_MixSoft_1St_2i_D16C31_SAT()
60 else if (Abs_32(pInstance1->Current-pInstance1->Target) < pInstance1->Delta) in LVC_MixSoft_1St_2i_D16C31_SAT()
62 …pInstance1->Current = pInstance1->Target; /* Difference is not significant anymore. Make them equ… in LVC_MixSoft_1St_2i_D16C31_SAT()
76 pInstance2->Current = pInstance2->Target; in LVC_MixSoft_1St_2i_D16C31_SAT()
80 else if (Abs_32(pInstance2->Current-pInstance2->Target) < pInstance2->Delta) in LVC_MixSoft_1St_2i_D16C31_SAT()
82 …pInstance2->Current = pInstance2->Target; /* Difference is not significant anymore. Make them equ… in LVC_MixSoft_1St_2i_D16C31_SAT()
124 if (Abs_32(pInstance1->Current-pInstance1->Target) < pInstance1->Delta) in LVC_MixSoft_1St_2i_D16C31_SAT()
126 …pInstance1->Current = pInstance1->Target; /* Difference is not significant anymore. Make them equ… in LVC_MixSoft_1St_2i_D16C31_SAT()
138 if (Abs_32(pInstance2->Current-pInstance2->Target) < pInstance2->Delta) in LVC_MixSoft_1St_2i_D16C31_SAT()
[all …]
DCore_MixInSoft_D32C31_SAT.c46 if (pInstance->Target >= pInstance->Current){ in Core_MixInSoft_D32C31_SAT()
51 …MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31); /* Q0 * Q31 in Q0 … in Core_MixInSoft_D32C31_SAT()
52 …pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; /* Q0 + Q0 into Q0… in Core_MixInSoft_D32C31_SAT()
53 …CurrentShort = (LVM_INT16)(pInstance->Current>>16); /* From Q31 to Q15… in Core_MixInSoft_D32C31_SAT()
72 …MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31); /* Q0 * Q31 in Q0 … in Core_MixInSoft_D32C31_SAT()
73 …pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; /* Q0 + Q0 into Q0… in Core_MixInSoft_D32C31_SAT()
74 …CurrentShort = (LVM_INT16)(pInstance->Current>>16); /* From Q31 to Q15… in Core_MixInSoft_D32C31_SAT()
DCore_MixSoft_1St_D32C31_WRA.c46 if (pInstance->Target >= pInstance->Current) in Core_MixSoft_1St_D32C31_WRA()
53 … MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31) /* Q31 * Q31 in Q31 */ in Core_MixSoft_1St_D32C31_WRA()
54 … pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; /* Q31 + Q31 into Q31*/ in Core_MixSoft_1St_D32C31_WRA()
55 … CurrentShort = (LVM_INT16)(pInstance->Current>>16); /* From Q31 to Q15*/ in Core_MixSoft_1St_D32C31_WRA()
70 … MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31) /* Q31 * Q31 in Q31 */ in Core_MixSoft_1St_D32C31_WRA()
71 … pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; /* Q31 + Q31 into Q31*/ in Core_MixSoft_1St_D32C31_WRA()
72 … CurrentShort = (LVM_INT16)(pInstance->Current>>16); /* From Q31 to Q15*/ in Core_MixSoft_1St_D32C31_WRA()
DLVC_MixSoft_2St_D16C31_SAT.c43 if ((pInstance1->Current == pInstance1->Target)&&(pInstance1->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
46 else if ((pInstance2->Current == pInstance2->Target)&&(pInstance2->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
49 …else if ((pInstance1->Current != pInstance1->Target) || (pInstance2->Current != pInstance2->Target… in LVC_MixSoft_2St_D16C31_SAT()
DLVC_MixInSoft_D16C31_SAT.c51 if (pInstance->Current != pInstance->Target) in LVC_MixInSoft_D16C31_SAT()
54 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
57 }else if (Abs_32(pInstance->Current-pInstance->Target) < pInstance->Delta){ in LVC_MixInSoft_D16C31_SAT()
58 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in LVC_MixInSoft_D16C31_SAT()
88 …pInstance->Current = pInstance->Target; /* In case the LVCore function would have changed the Curr… in LVC_MixInSoft_D16C31_SAT()
99 if (Abs_32(pInstance->Current-pInstance->Target) < pInstance->Delta){ in LVC_MixInSoft_D16C31_SAT()
100 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in LVC_MixInSoft_D16C31_SAT()
DLVC_MixSoft_1St_D16C31_SAT.c51 if (pInstance->Current != pInstance->Target) in LVC_MixSoft_1St_D16C31_SAT()
54 pInstance->Current = pInstance->Target; in LVC_MixSoft_1St_D16C31_SAT()
57 }else if (Abs_32(pInstance->Current-pInstance->Target) < pInstance->Delta){ in LVC_MixSoft_1St_D16C31_SAT()
58 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in LVC_MixSoft_1St_D16C31_SAT()
99 if (Abs_32(pInstance->Current-pInstance->Target) < pInstance->Delta){ in LVC_MixSoft_1St_D16C31_SAT()
100 …pInstance->Current = pInstance->Target; /* Difference is not significant anymore. Make them equal… in LVC_MixSoft_1St_D16C31_SAT()
DLVC_Mixer_VarSlope_SetTimeConstant.c66 LVM_INT32 Current; in LVC_Mixer_VarSlope_SetTimeConstant() local
72 Current = LVC_Mixer_GetCurrent( pStream ); in LVC_Mixer_VarSlope_SetTimeConstant()
75 if (Current != Target) in LVC_Mixer_VarSlope_SetTimeConstant()
77 Tc_millisec = Tc_millisec * 32767 / (Current - Target); in LVC_Mixer_VarSlope_SetTimeConstant()
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.c45 LVM_INT32 CurrentL=pInstanceL->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
49 LVM_INT32 CurrentR=pInstanceR->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
139 pInstanceL->Current=CurrentL; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
140 pInstanceR->Current=CurrentR; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
DLVC_Mixer_SetTarget.c54 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_SetTarget()
64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_SetTarget()
DLVC_Core_MixHard_2St_D16C31_SAT.c43 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
44 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c45 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
46 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
DLVC_Mixer_GetCurrent.c39 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_GetCurrent()
DLVC_Mixer_Init.c64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_Init()
DLVC_Mixer_Private.h33 …LVM_INT32 Current; /* 32 bit number specifying fractional val… member
/frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.c77 LVM_INT32 Current; in LVCS_BypassMixInit() local
111 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[0]); in LVCS_BypassMixInit()
112 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
119 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
120 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetInstanceHandle.c255 pLVREV_Private->GainMixer.Current = 0x03ffffff; in LVREV_GetInstanceHandle()
287 pLVREV_Private->Mixer_SGFeedforward[i].Current = 0; in LVREV_GetInstanceHandle()
295 pLVREV_Private->Mixer_SGFeedback[i].Current = 0; in LVREV_GetInstanceHandle()
303 pLVREV_Private->FeedbackMixer[i].Current = 0; in LVREV_GetInstanceHandle()
/frameworks/base/media/libeffects/lvm/lib/Common/lib/
DMixer.h37 LVM_INT32 Current; /* Current value. Set by the mixer function. */ member
/frameworks/base/docs/html/resources/dashboard/
Dplatform-versions.jd47 <h3 id="Current">Current Distribution</h3>
/frameworks/base/docs/html/sdk/1.0_r1/
Dupgrading.jd5 <p>For the current SDK release, see the links under <strong>Current SDK Release</strong> in the sid…
/frameworks/base/docs/html/sdk/1.0_r2/
Dupgrading.jd5 <p>For the current SDK release, see the links under <strong>Current SDK Release</strong> in the sid…
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd835 <p>Cancel Current -