Home
last modified time | relevance | path

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

123

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixSoft_1St_D16C31_WRA.cpp35 LVM_FLOAT Current = (LVM_FLOAT)pInstance->Current; in LVC_Core_MixSoft_1St_D16C31_WRA() local
41 if (Current < Target) { in LVC_Core_MixSoft_1St_D16C31_WRA()
43 Current = LVM_Clamp(Current + Delta); in LVC_Core_MixSoft_1St_D16C31_WRA()
44 if (Current > Target) Current = Target; in LVC_Core_MixSoft_1St_D16C31_WRA()
47 *(dst++) = (((LVM_FLOAT) * (src++) * (LVM_FLOAT)Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
52 Current = LVM_Clamp(Current + Delta); in LVC_Core_MixSoft_1St_D16C31_WRA()
54 if (Current > Target) Current = Target; in LVC_Core_MixSoft_1St_D16C31_WRA()
56 *(dst++) = (((LVM_FLOAT) * (src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
57 *(dst++) = (((LVM_FLOAT) * (src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
58 *(dst++) = (((LVM_FLOAT) * (src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.cpp35 LVM_FLOAT Current = pInstance->Current; in LVC_Core_MixInSoft_D16C31_SAT() local
42 if (Current < Target) { in LVC_Core_MixInSoft_D16C31_SAT()
44 Temp = Current + Delta; in LVC_Core_MixInSoft_D16C31_SAT()
45 Current = Temp; in LVC_Core_MixInSoft_D16C31_SAT()
46 if (Current > Target) Current = Target; in LVC_Core_MixInSoft_D16C31_SAT()
49 Temp = *dst + *src++ * Current; in LVC_Core_MixInSoft_D16C31_SAT()
55 Temp = Current + Delta; in LVC_Core_MixInSoft_D16C31_SAT()
56 Current = Temp; in LVC_Core_MixInSoft_D16C31_SAT()
57 if (Current > Target) Current = Target; in LVC_Core_MixInSoft_D16C31_SAT()
60 Temp = *dst + *src++ * Current; in LVC_Core_MixInSoft_D16C31_SAT()
[all …]
DLVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp33 tempCurrent[ch] = ptrInstance[ch]->Current; in LVC_Core_MixSoft_1St_MC_float_WRA()
39 LVM_FLOAT Current = tempCurrent[ch]; in LVC_Core_MixSoft_1St_MC_float_WRA() local
41 if (Current < Target) { in LVC_Core_MixSoft_1St_MC_float_WRA()
42 Current = ADD2_SAT_FLOAT(Current, Delta); in LVC_Core_MixSoft_1St_MC_float_WRA()
43 if (Current > Target) Current = Target; in LVC_Core_MixSoft_1St_MC_float_WRA()
45 Current -= Delta; in LVC_Core_MixSoft_1St_MC_float_WRA()
46 if (Current < Target) Current = Target; in LVC_Core_MixSoft_1St_MC_float_WRA()
48 *dst++ = *src++ * Current; in LVC_Core_MixSoft_1St_MC_float_WRA()
49 tempCurrent[ch] = Current; in LVC_Core_MixSoft_1St_MC_float_WRA()
53 ptrInstance[ch]->Current = tempCurrent[ch]; in LVC_Core_MixSoft_1St_MC_float_WRA()
DLVC_MixSoft_2St_D16C31_SAT.cpp40 if ((pInstance1->Current == pInstance1->Target) && (pInstance1->Current == 0)) { in LVC_MixSoft_2St_D16C31_SAT()
43 } else if ((pInstance2->Current == pInstance2->Target) && (pInstance2->Current == 0)) { in LVC_MixSoft_2St_D16C31_SAT()
46 } else if ((pInstance1->Current != pInstance1->Target) || in LVC_MixSoft_2St_D16C31_SAT()
47 (pInstance2->Current != pInstance2->Target)) { in LVC_MixSoft_2St_D16C31_SAT()
92 if ((pInstance1->Current == pInstance1->Target) && (pInstance1->Current == 0)) { in LVC_MixSoft_2Mc_D16C31_SAT()
95 } else if ((pInstance2->Current == pInstance2->Target) && (pInstance2->Current == 0)) { in LVC_MixSoft_2Mc_D16C31_SAT()
98 } else if ((pInstance1->Current != pInstance1->Target) || in LVC_MixSoft_2Mc_D16C31_SAT()
99 (pInstance2->Current != pInstance2->Target)) { in LVC_MixSoft_2Mc_D16C31_SAT()
DCore_MixSoft_1St_D32C31_WRA.cpp43 if (pInstance->Target >= pInstance->Current) { in Core_MixSoft_1St_D32C31_WRA()
48 CurrentTimesAlpha = (pInstance->Current * pInstance->Alpha); in Core_MixSoft_1St_D32C31_WRA()
49 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixSoft_1St_D32C31_WRA()
55 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
62 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixSoft_1St_D32C31_WRA()
63 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixSoft_1St_D32C31_WRA()
68 Temp2 = Temp1 * (pInstance->Current); 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()
88 Temp2 = Temp1 * (pInstance->Current); in Core_MixSoft_1St_D32C31_WRA()
DMixInSoft_D32C31_SAT.cpp44 if (pInstance->Current != pInstance->Target) { in MixInSoft_D32C31_SAT()
46 pInstance->Current = pInstance->Target; in MixInSoft_D32C31_SAT()
47 } else if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixInSoft_D32C31_SAT()
48 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)) { in MixInSoft_D32C31_SAT()
49 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixInSoft_D32C31_SAT()
68 pInstance->Current = pInstance->Target; /* In case the core function would \ in MixInSoft_D32C31_SAT()
81 if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixInSoft_D32C31_SAT()
82 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)) { in MixInSoft_D32C31_SAT()
83 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixInSoft_D32C31_SAT()
DMixSoft_1St_D32C31_WRA.cpp45 if (pInstance->Current != pInstance->Target) { in MixSoft_1St_D32C31_WRA()
47 pInstance->Current = pInstance->Target; in MixSoft_1St_D32C31_WRA()
48 } else if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixSoft_1St_D32C31_WRA()
49 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)) { in MixSoft_1St_D32C31_WRA()
50 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixSoft_1St_D32C31_WRA()
69 Mult3s_Float(src, pInstance->Current, dst, n); in MixSoft_1St_D32C31_WRA()
77 if ((pInstance->Current - pInstance->Target < POINT_ZERO_ONE_DB_FLOAT) && in MixSoft_1St_D32C31_WRA()
78 (pInstance->Current - pInstance->Target > -POINT_ZERO_ONE_DB_FLOAT)) { in MixSoft_1St_D32C31_WRA()
79 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in MixSoft_1St_D32C31_WRA()
DLVC_MixInSoft_D16C31_SAT.cpp48 if (pInstance->Current != pInstance->Target) { in LVC_MixInSoft_D16C31_SAT()
50 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
53 } else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixInSoft_D16C31_SAT()
54 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixInSoft_D16C31_SAT()
76 pInstance->Current = pInstance->Target; in LVC_MixInSoft_D16C31_SAT()
86 if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixInSoft_D16C31_SAT()
87 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixInSoft_D16C31_SAT()
131 if (pInstance->Current != pInstance->Target) { in LVC_MixInSoft_Mc_D16C31_SAT()
133 pInstance->Current = pInstance->Target; in LVC_MixInSoft_Mc_D16C31_SAT()
136 } else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixInSoft_Mc_D16C31_SAT()
[all …]
DLVC_MixSoft_1St_D16C31_SAT.cpp49 if (pInstance->Current != pInstance->Target) { in LVC_MixSoft_1St_D16C31_SAT()
51 pInstance->Current = pInstance->Target; in LVC_MixSoft_1St_D16C31_SAT()
54 } else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixSoft_1St_D16C31_SAT()
55 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_D16C31_SAT()
86 if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixSoft_1St_D16C31_SAT()
87 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_D16C31_SAT()
130 if (pInstance->Current != pInstance->Target) { in LVC_MixSoft_Mc_D16C31_SAT()
132 pInstance->Current = pInstance->Target; in LVC_MixSoft_Mc_D16C31_SAT()
135 } else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta) { in LVC_MixSoft_Mc_D16C31_SAT()
136 pInstance->Current = pInstance->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_Mc_D16C31_SAT()
[all …]
DCore_MixInSoft_D32C31_SAT.cpp42 if (pInstance->Target >= pInstance->Current) { in Core_MixInSoft_D32C31_SAT()
47 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixInSoft_D32C31_SAT()
48 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixInSoft_D32C31_SAT()
54 Temp3 = Temp1 * (pInstance->Current); in Core_MixInSoft_D32C31_SAT()
60 CurrentTimesAlpha = pInstance->Current * pInstance->Alpha; in Core_MixInSoft_D32C31_SAT()
61 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha; in Core_MixInSoft_D32C31_SAT()
67 Temp3 = Temp1 * (pInstance->Current); in Core_MixInSoft_D32C31_SAT()
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp94 Target_ctr.Current = 0.0f; in LVC_MixSoft_1St_MC_float_SAT()
115 if ((pInstance1->Current != pInstance1->Target) || in LVC_MixSoft_1St_MC_float_SAT()
116 (pInstance2->Current != pInstance2->Target)) { in LVC_MixSoft_1St_MC_float_SAT()
119 Abs_Float(pInstance1->Current - pInstance1->Target) < pInstance1->Delta) { in LVC_MixSoft_1St_MC_float_SAT()
121 pInstance1->Current = pInstance1->Target; in LVC_MixSoft_1St_MC_float_SAT()
131 Abs_Float(pInstance2->Current - pInstance2->Target) < pInstance2->Delta) { in LVC_MixSoft_1St_MC_float_SAT()
133 pInstance2->Current = pInstance2->Target; in LVC_MixSoft_1St_MC_float_SAT()
166 if (Abs_Float(pInstance1->Current - pInstance1->Target) < pInstance1->Delta) { in LVC_MixSoft_1St_MC_float_SAT()
167 pInstance1->Current = pInstance1->Target; /* Difference is not significant anymore. \ in LVC_MixSoft_1St_MC_float_SAT()
181 if (Abs_Float(pInstance2->Current - pInstance2->Target) < pInstance2->Delta) { in LVC_MixSoft_1St_MC_float_SAT()
[all …]
DLVC_Mixer_VarSlope_SetTimeConstant.cpp66 LVM_FLOAT Current; in LVC_Mixer_VarSlope_SetTimeConstant() local
72 Current = pInstance->Current; in LVC_Mixer_VarSlope_SetTimeConstant()
75 if (Current != Target) { in LVC_Mixer_VarSlope_SetTimeConstant()
76 Tc_millisec_float = (LVM_FLOAT)(Tc_millisec) / (Current - Target); in LVC_Mixer_VarSlope_SetTimeConstant()
DLVC_Core_MixHard_2St_D16C31_SAT.cpp37 Current1 = pInstance1->Current; in LVC_Core_MixHard_2St_D16C31_SAT()
38 Current2 = pInstance2->Current; in LVC_Core_MixHard_2St_D16C31_SAT()
DLVC_Mixer_GetCurrent.cpp36 CurrentGain = pInstance->Current; // CurrentGain in LVC_Mixer_GetCurrent()
DLVC_Mixer_Init.cpp52 pInstance->Current = CurrentGain; // Update fractional gain Current in LVC_Mixer_Init()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.cpp32 Temp = *src++ * pInstance1->Current; in LVC_Core_MixHard_1St_MC_float_SAT()
DLVC_Mixer_Private.h32 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/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.cpp70 LVM_FLOAT Current; in LVCS_BypassMixInit() local
104 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[0]); in LVCS_BypassMixInit()
105 LVC_Mixer_Init(&pConfig->Mixer_Instance.MixerStream[0], (LVM_FLOAT)(Gain), Current); in LVCS_BypassMixInit()
115 Current = LVC_Mixer_GetCurrent(&pConfig->Mixer_Instance.MixerStream[1]); in LVCS_BypassMixInit()
116 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.cpp157 pLVREV_Private->GainMixer.Current = 0.03125f; // 0x03ffffff; in LVREV_GetInstanceHandle()
187 pLVREV_Private->Mixer_SGFeedforward[i].Current = 0; in LVREV_GetInstanceHandle()
195 pLVREV_Private->Mixer_SGFeedback[i].Current = 0; in LVREV_GetInstanceHandle()
203 pLVREV_Private->FeedbackMixer[i].Current = 0; in LVREV_GetInstanceHandle()
/frameworks/av/media/codec2/components/tests/
DC2SoftCodecTest.cpp76 C2FieldSupportedValuesQuery::Current( in TEST_F()
78 C2FieldSupportedValuesQuery::Current( in TEST_F()
/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/native/services/surfaceflinger/
DLayerVector.h37 Current, enumerator
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DMixer.h32 LVM_FLOAT Current; /* Current value. Set by the mixer function. */ member

123