Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp39 LVM_FLOAT Current = (LVM_FLOAT)pInstance->Current; in LVC_Core_MixSoft_1St_D16C31_WRA() local
46 if(Current<Target){ in LVC_Core_MixSoft_1St_D16C31_WRA()
49 Temp = Current + Delta; in LVC_Core_MixSoft_1St_D16C31_WRA()
55 Current=Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
56 if (Current > Target) in LVC_Core_MixSoft_1St_D16C31_WRA()
57 Current = Target; in LVC_Core_MixSoft_1St_D16C31_WRA()
60 *(dst++) = (((LVM_FLOAT)*(src++) * (LVM_FLOAT)Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
66 Temp = Current + Delta; in LVC_Core_MixSoft_1St_D16C31_WRA()
73 Current=Temp; in LVC_Core_MixSoft_1St_D16C31_WRA()
74 if (Current > Target) in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.cpp39 LVM_FLOAT Current = pInstance->Current; in LVC_Core_MixInSoft_D16C31_SAT() local
46 if(Current < Target){ in LVC_Core_MixInSoft_D16C31_SAT()
48 Temp = Current + Delta; in LVC_Core_MixInSoft_D16C31_SAT()
49 Current = Temp; in LVC_Core_MixInSoft_D16C31_SAT()
50 if (Current > Target) in LVC_Core_MixInSoft_D16C31_SAT()
51 Current = Target; in LVC_Core_MixInSoft_D16C31_SAT()
54 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
65 Temp = Current + Delta; in LVC_Core_MixInSoft_D16C31_SAT()
66 Current = Temp; in LVC_Core_MixInSoft_D16C31_SAT()
67 if (Current > Target) in LVC_Core_MixInSoft_D16C31_SAT()
[all …]
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp106 Target_ctr.Current = 0.0f; in LVC_MixSoft_1St_MC_float_SAT()
131 if ((pInstance1->Current != pInstance1->Target) || in LVC_MixSoft_1St_MC_float_SAT()
132 (pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_1St_MC_float_SAT()
136 || Abs_Float(pInstance1->Current - pInstance1->Target) < pInstance1->Delta) in LVC_MixSoft_1St_MC_float_SAT()
139 pInstance1->Current = pInstance1->Target; in LVC_MixSoft_1St_MC_float_SAT()
152 || Abs_Float(pInstance2->Current - pInstance2->Target) < pInstance2->Delta) in LVC_MixSoft_1St_MC_float_SAT()
155 pInstance2->Current = pInstance2->Target; in LVC_MixSoft_1St_MC_float_SAT()
199 if (Abs_Float(pInstance1->Current - pInstance1->Target) < pInstance1->Delta) in LVC_MixSoft_1St_MC_float_SAT()
201 pInstance1->Current = pInstance1->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_MC_float_SAT()
217 if (Abs_Float(pInstance2->Current - pInstance2->Target) < pInstance2->Delta) in LVC_MixSoft_1St_MC_float_SAT()
[all …]
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp56 LVM_FLOAT CurrentL = pInstanceL->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
60 LVM_FLOAT CurrentR = pInstanceR->Current; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
144 pInstanceL->Current = CurrentL; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
145 pInstanceR->Current = CurrentR; in LVC_Core_MixSoft_1St_2i_D16C31_WRA()
160 tempCurrent[ch] = ptrInstance[ch]->Current; in LVC_Core_MixSoft_1St_MC_float_WRA()
168 LVM_FLOAT Current = tempCurrent[ch]; in LVC_Core_MixSoft_1St_MC_float_WRA() local
170 if (Current < Target) in LVC_Core_MixSoft_1St_MC_float_WRA()
172 ADD2_SAT_FLOAT(Current, Delta, Temp); in LVC_Core_MixSoft_1St_MC_float_WRA()
173 Current = Temp; in LVC_Core_MixSoft_1St_MC_float_WRA()
174 if (Current > Target) in LVC_Core_MixSoft_1St_MC_float_WRA()
[all …]
DLVC_MixSoft_2St_D16C31_SAT.cpp44 if ((pInstance1->Current == pInstance1->Target) && (pInstance1->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
48 else if ((pInstance2->Current == pInstance2->Target) && (pInstance2->Current == 0)){ in LVC_MixSoft_2St_D16C31_SAT()
52 else if ((pInstance1->Current != pInstance1->Target) || \ in LVC_MixSoft_2St_D16C31_SAT()
53 (pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_2St_D16C31_SAT()
106 if ((pInstance1->Current == pInstance1->Target) && (pInstance1->Current == 0)) { in LVC_MixSoft_2Mc_D16C31_SAT()
110 else if ((pInstance2->Current == pInstance2->Target) && (pInstance2->Current == 0)) { in LVC_MixSoft_2Mc_D16C31_SAT()
114 else if ((pInstance1->Current != pInstance1->Target) || \ in LVC_MixSoft_2Mc_D16C31_SAT()
115 (pInstance2->Current != pInstance2->Target)) in LVC_MixSoft_2Mc_D16C31_SAT()
DCore_MixSoft_1St_D32C31_WRA.cpp45 if (pInstance->Target >= pInstance->Current) in Core_MixSoft_1St_D32C31_WRA()
52 CurrentTimesAlpha = (pInstance->Current * pInstance->Alpha); in Core_MixSoft_1St_D32C31_WRA()
53 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixSoft_1St_D32C31_WRA()
60 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
68 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixSoft_1St_D32C31_WRA()
69 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixSoft_1St_D32C31_WRA()
74 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
81 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
88 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
94 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
DLVC_MixInSoft_D16C31_SAT.cpp51 if (pInstance->Current != pInstance->Target) in LVC_MixInSoft_D16C31_SAT()
54 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
57 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixInSoft_D16C31_SAT()
58 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixInSoft_D16C31_SAT()
81 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
91 if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixInSoft_D16C31_SAT()
92 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixInSoft_D16C31_SAT()
142 if (pInstance->Current != pInstance->Target) in LVC_MixInSoft_Mc_D16C31_SAT()
145 pInstance->Current = pInstance->Target; in LVC_MixInSoft_Mc_D16C31_SAT()
148 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixInSoft_Mc_D16C31_SAT()
[all …]
DMixInSoft_D32C31_SAT.cpp47 if (pInstance->Current != pInstance->Target) in MixInSoft_D32C31_SAT()
50 pInstance->Current = pInstance->Target; in MixInSoft_D32C31_SAT()
51 }else if ((pInstance->Current-pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixInSoft_D32C31_SAT()
52 (pInstance->Current-pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixInSoft_D32C31_SAT()
53 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixInSoft_D32C31_SAT()
72 pInstance->Current = pInstance->Target; /* In case the core function would \ in MixInSoft_D32C31_SAT()
85 if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixInSoft_D32C31_SAT()
86 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixInSoft_D32C31_SAT()
87 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixInSoft_D32C31_SAT()
DMixSoft_1St_D32C31_WRA.cpp47 if (pInstance->Current != pInstance->Target) in MixSoft_1St_D32C31_WRA()
50 pInstance->Current = pInstance->Target; in MixSoft_1St_D32C31_WRA()
51 }else if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixSoft_1St_D32C31_WRA()
52 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixSoft_1St_D32C31_WRA()
53 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixSoft_1St_D32C31_WRA()
74 Mult3s_Float(src, pInstance->Current, dst, n); in MixSoft_1St_D32C31_WRA()
82 if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixSoft_1St_D32C31_WRA()
83 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)){ in MixSoft_1St_D32C31_WRA()
84 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixSoft_1St_D32C31_WRA()
DLVC_MixSoft_1St_D16C31_SAT.cpp51 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_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixSoft_1St_D16C31_SAT()
58 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_D16C31_SAT()
90 if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta){ in LVC_MixSoft_1St_D16C31_SAT()
91 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_D16C31_SAT()
139 if (pInstance->Current != pInstance->Target) in LVC_MixSoft_Mc_D16C31_SAT()
142 pInstance->Current = pInstance->Target; in LVC_MixSoft_Mc_D16C31_SAT()
145 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixSoft_Mc_D16C31_SAT()
146 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_Mc_D16C31_SAT()
[all …]
DCore_MixInSoft_D32C31_SAT.cpp45 if (pInstance->Target >= pInstance->Current){ in Core_MixInSoft_D32C31_SAT()
51 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixInSoft_D32C31_SAT()
52 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixInSoft_D32C31_SAT()
58 Temp3 = Temp1 * (pInstance->Current); in Core_MixInSoft_D32C31_SAT()
72 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixInSoft_D32C31_SAT()
73 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixInSoft_D32C31_SAT()
79 Temp3 = Temp1 * (pInstance->Current); in Core_MixInSoft_D32C31_SAT()
DLVC_Mixer_VarSlope_SetTimeConstant.cpp69 LVM_FLOAT Current; in LVC_Mixer_VarSlope_SetTimeConstant() local
75 Current = pInstance->Current; in LVC_Mixer_VarSlope_SetTimeConstant()
78 if (Current != Target) in LVC_Mixer_VarSlope_SetTimeConstant()
80 Tc_millisec_float = (LVM_FLOAT)(Tc_millisec) / (Current - Target); in LVC_Mixer_VarSlope_SetTimeConstant()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.cpp41 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance1->Current); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
49 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance2->Current); in LVC_Core_MixHard_1St_2i_D16C31_SAT()
73 Temp = ((LVM_FLOAT)*(src++) * (LVM_FLOAT)pInstance1->Current); in LVC_Core_MixHard_1St_MC_float_SAT()
DLVC_Core_MixHard_2St_D16C31_SAT.cpp41 Current1 = (pInstance1->Current); in LVC_Core_MixHard_2St_D16C31_SAT()
42 Current2 = (pInstance2->Current); in LVC_Core_MixHard_2St_D16C31_SAT()
DLVC_Mixer_GetCurrent.cpp37 CurrentGain = pInstance->Current; // CurrentGain in LVC_Mixer_GetCurrent()
DLVC_Mixer_Init.cpp56 pInstance->Current = CurrentGain; // Update fractional gain Current in LVC_Mixer_Init()
DLVC_Mixer_Private.h33 LVM_FLOAT Current; /*number specifying value of Current Gain */ member
/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 …]
Dslang_rs_reflection_state.h549 Member &Current() { in Current() function
553 const Member &Current() const { in Current() function
723 auto &file = mFiles.Current(); in begin()
/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/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.cpp74 LVM_FLOAT 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_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
122 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
123 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[1], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_GetInstanceHandle.cpp288 pLVREV_Private->GainMixer.Current = 0.03125f;//0x03ffffff; in LVREV_GetInstanceHandle()
319 pLVREV_Private->Mixer_SGFeedforward[i].Current = 0; in LVREV_GetInstanceHandle()
327 pLVREV_Private->Mixer_SGFeedback[i].Current = 0; in LVREV_GetInstanceHandle()
335 pLVREV_Private->FeedbackMixer[i].Current = 0; in LVREV_GetInstanceHandle()
/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.h33 LVM_FLOAT Current; /* Current value. Set by the mixer function. */ member

12