Home
last modified time | relevance | path

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

123

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixSoft_1St_D16C31_WRA.c40 LVM_FLOAT Current = (LVM_FLOAT)pInstance->Current; in LVC_Core_MixSoft_1St_D16C31_WRA() local
47 if(Current<Target){ in LVC_Core_MixSoft_1St_D16C31_WRA()
50 Temp = Current + Delta; in LVC_Core_MixSoft_1St_D16C31_WRA()
56 Current=Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
57 if (Current > Target) in LVC_Core_MixSoft_1St_D16C31_WRA()
58 Current = Target; in LVC_Core_MixSoft_1St_D16C31_WRA()
61 *(dst++) = (((LVM_FLOAT)*(src++) * (LVM_FLOAT)Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
67 Temp = Current + Delta; in LVC_Core_MixSoft_1St_D16C31_WRA()
74 Current=Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
75 if (Current > Target) in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.c40 LVM_FLOAT Current = pInstance->Current; in LVC_Core_MixInSoft_D16C31_SAT() local
47 if(Current < Target){ in LVC_Core_MixInSoft_D16C31_SAT()
49 Temp = Current + Delta; in LVC_Core_MixInSoft_D16C31_SAT()
50 Current = Temp; in LVC_Core_MixInSoft_D16C31_SAT()
51 if (Current > Target) in LVC_Core_MixInSoft_D16C31_SAT()
52 Current = Target; in LVC_Core_MixInSoft_D16C31_SAT()
55 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
66 Temp = Current + Delta; in LVC_Core_MixInSoft_D16C31_SAT()
67 Current = Temp; in LVC_Core_MixInSoft_D16C31_SAT()
68 if (Current > Target) in LVC_Core_MixInSoft_D16C31_SAT()
[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_FLOAT) && in MixInSoft_D32C31_SAT()
53 (pInstance->Current-pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixInSoft_D32C31_SAT()
54 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixInSoft_D32C31_SAT()
73 pInstance->Current = pInstance->Target; /* In case the core function would \ in MixInSoft_D32C31_SAT()
86 if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixInSoft_D32C31_SAT()
87 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixInSoft_D32C31_SAT()
88 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixInSoft_D32C31_SAT()
112 if (pInstance->Current != pInstance->Target) in MixInSoft_D32C31_SAT()
[all …]
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_FLOAT) && in MixSoft_1St_D32C31_WRA()
55 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixSoft_1St_D32C31_WRA()
56 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixSoft_1St_D32C31_WRA()
77 Mult3s_Float(src, pInstance->Current, dst, n); in MixSoft_1St_D32C31_WRA()
85 if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixSoft_1St_D32C31_WRA()
86 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixSoft_1St_D32C31_WRA()
87 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixSoft_1St_D32C31_WRA()
111 if (pInstance->Current != pInstance->Target) in MixSoft_1St_D32C31_WRA()
[all …]
DCore_MixSoft_1St_D32C31_WRA.c46 if (pInstance->Target >= pInstance->Current) in Core_MixSoft_1St_D32C31_WRA()
53 CurrentTimesAlpha = (pInstance->Current * pInstance->Alpha); in Core_MixSoft_1St_D32C31_WRA()
54 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixSoft_1St_D32C31_WRA()
61 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
69 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixSoft_1St_D32C31_WRA()
70 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixSoft_1St_D32C31_WRA()
75 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
82 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
89 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
95 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
[all …]
DLVC_MixSoft_2St_D16C31_SAT.c45 if ((pInstance1->Current == pInstance1->Target) && (pInstance1->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
49 else if ((pInstance2->Current == pInstance2->Target) && (pInstance2->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
53 else if ((pInstance1->Current != pInstance1->Target) || \ in LVC_MixSoft_2St_D16C31_SAT()
54 (pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_2St_D16C31_SAT()
107 if ((pInstance1->Current == pInstance1->Target) && (pInstance1->Current == 0)) { in LVC_MixSoft_2Mc_D16C31_SAT()
111 else if ((pInstance2->Current == pInstance2->Target) && (pInstance2->Current == 0)) { in LVC_MixSoft_2Mc_D16C31_SAT()
115 else if ((pInstance1->Current != pInstance1->Target) || \ in LVC_MixSoft_2Mc_D16C31_SAT()
116 (pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_2Mc_D16C31_SAT()
149 if ((pInstance1->Current == pInstance1->Target)&&(pInstance1->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
152 else if ((pInstance2->Current == pInstance2->Target)&&(pInstance2->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
[all …]
DLVC_MixSoft_1St_2i_D16C31_SAT.c107 Target_ctr.Current = 0.0f; in LVC_MixSoft_1St_MC_float_SAT()
132 if ((pInstance1->Current != pInstance1->Target) || in LVC_MixSoft_1St_MC_float_SAT()
133 (pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_1St_MC_float_SAT()
137 || Abs_Float(pInstance1->Current - pInstance1->Target) < pInstance1->Delta) in LVC_MixSoft_1St_MC_float_SAT()
140 pInstance1->Current = pInstance1->Target; in LVC_MixSoft_1St_MC_float_SAT()
153 || Abs_Float(pInstance2->Current - pInstance2->Target) < pInstance2->Delta) in LVC_MixSoft_1St_MC_float_SAT()
156 pInstance2->Current = pInstance2->Target; in LVC_MixSoft_1St_MC_float_SAT()
200 if (Abs_Float(pInstance1->Current - pInstance1->Target) < pInstance1->Delta) in LVC_MixSoft_1St_MC_float_SAT()
202 pInstance1->Current = pInstance1->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_MC_float_SAT()
218 if (Abs_Float(pInstance2->Current - pInstance2->Target) < pInstance2->Delta) in LVC_MixSoft_1St_MC_float_SAT()
[all …]
DCore_MixInSoft_D32C31_SAT.c47 if (pInstance->Target >= pInstance->Current){ in Core_MixInSoft_D32C31_SAT()
53 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixInSoft_D32C31_SAT()
54 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixInSoft_D32C31_SAT()
60 Temp3 = Temp1 * (pInstance->Current); in Core_MixInSoft_D32C31_SAT()
74 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixInSoft_D32C31_SAT()
75 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixInSoft_D32C31_SAT()
81 Temp3 = Temp1 * (pInstance->Current); in Core_MixInSoft_D32C31_SAT()
110 if (pInstance->Target >= pInstance->Current){ in Core_MixInSoft_D32C31_SAT()
115 …MUL32x32INTO32(pInstance->Current,pInstance->Alpha,CurrentTimesAlpha,31); /* Q0 * Q31 in Q0 … in Core_MixInSoft_D32C31_SAT()
116 …pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; /* Q0 + Q0 into Q0… in Core_MixInSoft_D32C31_SAT()
[all …]
DLVC_MixInSoft_D16C31_SAT.c52 if (pInstance->Current != pInstance->Target) in LVC_MixInSoft_D16C31_SAT()
55 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
58 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixInSoft_D16C31_SAT()
59 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixInSoft_D16C31_SAT()
82 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
93 if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixInSoft_D16C31_SAT()
94 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixInSoft_D16C31_SAT()
146 if (pInstance->Current != pInstance->Target) in LVC_MixInSoft_Mc_D16C31_SAT()
149 pInstance->Current = pInstance->Target; in LVC_MixInSoft_Mc_D16C31_SAT()
152 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixInSoft_Mc_D16C31_SAT()
[all …]
DLVC_Mixer_VarSlope_SetTimeConstant.c83 LVM_FLOAT Current; in LVC_Mixer_VarSlope_SetTimeConstant() local
89 Current = pInstance->Current; in LVC_Mixer_VarSlope_SetTimeConstant()
92 if (Current != Target) in LVC_Mixer_VarSlope_SetTimeConstant()
94 Tc_millisec_float = (LVM_FLOAT)(Tc_millisec) / (Current - Target); in LVC_Mixer_VarSlope_SetTimeConstant()
133 LVM_INT32 Current; in LVC_Mixer_VarSlope_SetTimeConstant() local
139 Current = LVC_Mixer_GetCurrent( pStream ); in LVC_Mixer_VarSlope_SetTimeConstant()
142 if (Current != Target) in LVC_Mixer_VarSlope_SetTimeConstant()
144 Tc_millisec = Tc_millisec * 32767 / (Current - Target); in LVC_Mixer_VarSlope_SetTimeConstant()
DLVC_MixSoft_1St_D16C31_SAT.c52 if (pInstance->Current != pInstance->Target) in LVC_MixSoft_1St_D16C31_SAT()
55 pInstance->Current = pInstance->Target; in LVC_MixSoft_1St_D16C31_SAT()
58 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixSoft_1St_D16C31_SAT()
59 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_D16C31_SAT()
91 if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixSoft_1St_D16C31_SAT()
92 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_D16C31_SAT()
140 if (pInstance->Current != pInstance->Target) in LVC_MixSoft_Mc_D16C31_SAT()
143 pInstance->Current = pInstance->Target; in LVC_MixSoft_Mc_D16C31_SAT()
146 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixSoft_Mc_D16C31_SAT()
147 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_Mc_D16C31_SAT()
[all …]
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.c57 LVM_FLOAT CurrentL = pInstanceL->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
61 LVM_FLOAT CurrentR = pInstanceR->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
145 pInstanceL->Current = CurrentL; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
146 pInstanceR->Current = CurrentR; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
161 tempCurrent[ch] = ptrInstance[ch]->Current; in LVC_Core_MixSoft_1St_MC_float_WRA()
169 LVM_FLOAT Current = tempCurrent[ch]; in LVC_Core_MixSoft_1St_MC_float_WRA() local
171 if (Current < Target) in LVC_Core_MixSoft_1St_MC_float_WRA()
173 ADD2_SAT_FLOAT(Current, Delta, Temp); in LVC_Core_MixSoft_1St_MC_float_WRA()
174 Current = Temp; in LVC_Core_MixSoft_1St_MC_float_WRA()
175 if (Current > Target) in LVC_Core_MixSoft_1St_MC_float_WRA()
[all …]
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c43 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance1->Current); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
51 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance2->Current); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
76 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance1->Current); in LVC_Core_MixHard_1St_MC_float_SAT()
102 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
103 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
DLVC_Core_MixHard_2St_D16C31_SAT.c43 Current1 = (pInstance1->Current); in LVC_Core_MixHard_2St_D16C31_SAT()
44 Current2 = (pInstance2->Current); in LVC_Core_MixHard_2St_D16C31_SAT()
73 Current1Short = (LVM_INT16)(pInstance1->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
74 Current2Short = (LVM_INT16)(pInstance2->Current >> 16); in LVC_Core_MixHard_2St_D16C31_SAT()
DLVC_Mixer_GetCurrent.c39 CurrentGain = pInstance->Current; // CurrentGain in LVC_Mixer_GetCurrent()
47 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_GetCurrent()
DLVC_Mixer_SetTarget.c61 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_SetTarget()
71 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_SetTarget()
DLVC_Mixer_Init.c57 pInstance->Current = CurrentGain; // Update fractional gain Current in LVC_Mixer_Init()
76 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_Init()
DLVC_Mixer_Private.h34 LVM_FLOAT Current; /*number specifying value of Current Gain */ member
42 …LVM_INT32 Current; /* 32 bit number specifying fractional val… member
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.c75 LVM_INT32 Current; in LVCS_BypassMixInit() local
78 LVM_FLOAT Current; in LVCS_BypassMixInit() local
127 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[0]); in LVCS_BypassMixInit()
128 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
131 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[0]); in LVCS_BypassMixInit()
132 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
143 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
144 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1],(LVM_INT32)(Gain >> 15),Current); in LVCS_BypassMixInit()
150 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
151 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp42 (mStateSet == StateSet::Current) ? l->getCurrentState() : l->getDrawingState(); in do_compare()
44 (mStateSet == StateSet::Current) ? r->getCurrentState() : r->getDrawingState(); in do_compare()
65 auto& state = (stateSet == StateSet::Current) ? layer->getCurrentState() in traverseInZOrder()
77 auto& state = (stateSet == StateSet::Current) ? layer->getCurrentState() in traverseInReverseZOrder()
DLayerVector.h37 Current, enumerator
/frameworks/compile/slang/
Dslang_rs_reflection_state.cpp243 auto &file = mFiles.Current(); in beginForEaches()
276 auto &file = mFiles.Current(); in beginForEach()
397 auto &ins = mFiles.Current().mForEaches[EF->getOrdinal()].mIns; in addForEachIn()
406 if (ins.Current().size() && TypeName.size()) { in addForEachIn()
413 << ins.Current().str() in addForEachIn()
423 << (ins.Current().str() + TypeName) in addForEachIn()
439 auto &params = mFiles.Current().mForEaches[EF->getOrdinal()].mParams; in addForEachParam()
454 << params.Current().str() in addForEachParam()
480 auto &mSignatureMetadata = mFiles.Current().mForEaches[EF->getOrdinal()].mSignatureMetadata; in addForEachSignatureMetadata()
504 slangAssert(mFiles.Current().mForEaches[mForEachOpen].mIns.isFinished()); in endForEach()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDiagLayouts.inc37 "There is no space left to place stubs. Current stub group size: %0\n"
39 "There is no space left to place stubs. Current stub group size: %0\n"
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DMixer.h40 LVM_FLOAT Current; /* Current value. Set by the mixer function. */ member
74 LVM_INT32 Current; /* Current value. Set by the mixer function. */
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetInstanceHandle.c343 pLVREV_Private->GainMixer.Current = 0x03ffffff; in LVREV_GetInstanceHandle()
346 pLVREV_Private->GainMixer.Current = 0.03125f;//0x03ffffff; in LVREV_GetInstanceHandle()
382 pLVREV_Private->Mixer_SGFeedforward[i].Current = 0; in LVREV_GetInstanceHandle()
390 pLVREV_Private->Mixer_SGFeedback[i].Current = 0; in LVREV_GetInstanceHandle()
398 pLVREV_Private->FeedbackMixer[i].Current = 0; in LVREV_GetInstanceHandle()

123