HomeSort by relevance Sort by last modified time
    Searched defs:pInstance (Results 1 - 25 of 43) sorted by null

1 2

  /frameworks/av/media/libeffects/lvm/lib/Common/src/
LVC_Mixer_GetCurrent.c 38 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams;
39 CurrentGain = pInstance->Current; // CurrentGain
46 Mix_Private_st *pInstance=(Mix_Private_st *)pStream->PrivateParams;
47 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format
LVC_Mixer_GetTarget.c 37 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams;
39 TargetGain = pInstance->Target; // TargetGain
46 Mix_Private_st *pInstance=(Mix_Private_st *)pStream->PrivateParams;
48 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
LVC_Mixer_Init.c 53 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams;
56 pInstance->Target = TargetGain; // Update fractional gain Target
57 pInstance->Current = CurrentGain; // Update fractional gain Current
66 Mix_Private_st *pInstance=(Mix_Private_st *)pStream->PrivateParams;
75 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target
76 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current
77 pInstance->Shift=Shift; // Update Shift
LVC_Mixer_SetTimeConstant.c 77 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams;
89 pInstance->Delta = Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec)
106 Mix_Private_st *pInstance=(Mix_Private_st *)pStream->PrivateParams;
118 pInstance->Delta=Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) in Q 0.31 format
LVC_Mixer_SetTarget.c 50 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams;
51 pInstance->Target = TargetGain; // Update gain Target
60 Mix_Private_st *pInstance=(Mix_Private_st *)pStream->PrivateParams;
61 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format
70 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target
71 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current
72 pInstance->Shift=Shift; // Update Shift
LVC_MixInSoft_D16C31_SAT.c 44 Mix_Private_FLOAT_st *pInstance = \
52 if (pInstance->Current != pInstance->Target)
54 if(pInstance->Delta == 1.0f){
55 pInstance->Current = pInstance->Target;
56 TargetGain = pInstance->Target;
58 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta)
    [all...]
LVC_MixSoft_1St_D16C31_SAT.c 44 Mix_Private_FLOAT_st *pInstance = \
52 if (pInstance->Current != pInstance->Target)
54 if(pInstance->Delta == 1.0f){
55 pInstance->Current = pInstance->Target;
56 TargetGain = pInstance->Target;
58 }else if (Abs_Float(pInstance->Current - pInstance->Target) < pInstance->Delta)
    [all...]
LVC_Mixer_VarSlope_SetTimeConstant.c 78 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams;
87 Current = pInstance->Current;
88 Target = pInstance->Target;
111 pInstance->Delta = Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec)
128 Mix_Private_st *pInstance=(Mix_Private_st *)pStream->PrivateParams;
159 pInstance->Delta=Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) in Q 0.31 format
LVC_Core_MixSoft_1St_D16C31_WRA.c 38 Mix_Private_FLOAT_st *pInstance=(Mix_Private_FLOAT_st *)(ptrInstance->PrivateParams);
39 LVM_FLOAT Delta= (LVM_FLOAT)pInstance->Delta;
40 LVM_FLOAT Current = (LVM_FLOAT)pInstance->Current;
41 LVM_FLOAT Target= (LVM_FLOAT)pInstance->Target;
106 pInstance->Current=Current;
118 Mix_Private_st *pInstance=(Mix_Private_st *)(ptrInstance->PrivateParams);
119 LVM_INT32 Delta=pInstance->Delta;
120 LVM_INT32 Current=pInstance->Current;
121 LVM_INT32 Target=pInstance->Target;
181 pInstance->Current=Current
    [all...]
LVC_Core_MixInSoft_D16C31_SAT.c 38 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)(ptrInstance->PrivateParams);
39 LVM_FLOAT Delta = pInstance->Delta;
40 LVM_FLOAT Current = pInstance->Current;
41 LVM_FLOAT Target = pInstance->Target;
115 pInstance->Current = Current;
128 Mix_Private_st *pInstance=(Mix_Private_st *)(ptrInstance->PrivateParams);
129 LVM_INT32 Delta=pInstance->Delta;
130 LVM_INT32 Current=pInstance->Current;
131 LVM_INT32 Target=pInstance->Target;
213 pInstance->Current=Current
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
LVCS_Init.c 69 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
115 *pMemoryTable = pInstance->MemoryTable;
160 LVCS_Instance_t *pInstance;
171 pInstance =(LVCS_Instance_t *)*phInstance;
177 pInstance->Capabilities = *pCapabilities;
182 pInstance->MemoryTable = *pMemoryTable;
188 pInstance->Params.OperatingMode = LVCS_OFF;
189 pInstance->Params.SpeakerType = LVCS_SPEAKERTYPE_MAX;
190 pInstance->OutputDevice = LVCS_HEADPHONE;
191 pInstance->Params.SourceFormat = LVCS_SOURCEMAX
    [all...]
LVCS_Control.c 52 LVCS_Instance_t *pInstance =(LVCS_Instance_t *)hInstance;
54 *pParams = pInstance->Params;
83 LVCS_Instance_t *pInstance =(LVCS_Instance_t *)hInstance;
85 LVCS_Modes_en OperatingModeSave = pInstance->Params.OperatingMode;
87 if (pParams->SampleRate != pInstance->Params.SampleRate)
89 pInstance->TimerParams.SamplingRate = LVCS_SampleRateTable[pParams->SampleRate];
95 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel)
103 if ((pInstance->Params.SampleRate != pParams->SampleRate) ||
104 (pInstance->Params.SpeakerType != pParams->SpeakerType))
111 pInstance->OutputDevice = LVCS_HEADPHONE
    [all...]
LVCS_Equaliser.c 62 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
63 LVCS_Equaliser_t *pConfig = (LVCS_Equaliser_t *)&pInstance->Equaliser;
70 pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
73 pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress;
77 if ((pInstance->Params.SampleRate != pParams->SampleRate) ||
78 (pInstance->Params.SpeakerType != pParams->SpeakerType))
127 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
128 LVCS_Equaliser_t *pConfig = (LVCS_Equaliser_t *)&pInstance->Equaliser;
129 LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
130 LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress
    [all...]
LVCS_BypassMix.c 80 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
81 LVCS_BypassMix_t *pConfig = (LVCS_BypassMix_t *)&pInstance->BypassMix;
90 (pInstance->bTimerDone == LVM_TRUE)
91 && (pInstance->MSTarget1 != 0x7FFF) /* this indicates an off->on transtion */
95 pInstance->TransitionGain = pParams->EffectLevel;
97 pInstance->TransitionGain = ((LVM_FLOAT)pParams->EffectLevel / 32767);
103 pInstance->TransitionGain = 0;
116 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain);
118 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain);
141 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain))
    [all...]
LVCS_Process.c 76 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
81 pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORARY_FAST].pBaseAddress;
146 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
147 LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORARY_FAST].pBaseAddress;
240 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
246 if (NumSamples > pInstance->Capabilities.MaxBlockSize)
254 if (pInstance->Params.OperatingMode != LVCS_OFF)
269 if ((pInstance->Params.OperatingMode == LVCS_ON)&& \
270 (pInstance->Params.CompressorMode == LVM_MODE_ON))
272 LVM_FLOAT Gain = pInstance->VolCorrect.CompMin
    [all...]
LVCS_ReverbGenerator.c 67 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
68 LVCS_ReverbGenerator_t *pConfig = (LVCS_ReverbGenerator_t *)&pInstance->Reverberation;
76 pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
79 pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress;
86 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */
143 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel)
158 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
159 LVCS_ReverbGenerator_t *pConfig = (LVCS_ReverbGenerator_t *)&pInstance->Reverberation;
160 LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
161 LVCS_Coefficient_t *pCoefficients = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress
    [all...]
LVCS_StereoEnhancer.c 58 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
59 LVCS_StereoEnhancer_t *pConfig = (LVCS_StereoEnhancer_t *)&pInstance->StereoEnhancer;
68 pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
71 pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress;
76 if ((pInstance->Params.SampleRate != pParams->SampleRate) ||
77 (pInstance->Params.SpeakerType != pParams->SpeakerType))
154 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
155 LVCS_StereoEnhancer_t *pConfig = (LVCS_StereoEnhancer_t *)&pInstance->StereoEnhancer;
156 LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress;
157 LVCS_Coefficient_t *pCoefficient = (LVCS_Coefficient_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Bundle/src/
LVM_API_Specials.c 58 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance;
64 if(pInstance == LVM_NULL)
70 if(pInstance->InstParams.PSA_Included!=LVM_PSA_ON)
75 hPSAInstance = pInstance->hPSAInstance;
87 if (pInstance->ControlPending == LVM_TRUE)
93 if(pInstance->Params.PSA_Enable==LVM_PSA_OFF)
142 LVM_Instance_t *pInstance =(LVM_Instance_t *)hInstance;
147 pInstance->NoSmoothVolume = LVM_TRUE;
LVM_Process.c 62 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance;
89 if(pInstance->InstParams.BufferMode == LVM_UNMANAGED_BUFFERS)
94 if((NumSamples % pInstance->BlickSizeMultiple) != 0)
112 if (pInstance->ControlPending == LVM_TRUE)
126 if (pInstance->Params.SourceFormat == LVM_MONO)
160 if (pInstance->CS_Active == LVM_TRUE)
162 (void)LVCS_Process(pInstance->hCSInstance, /* Concert Sound instance handle */
172 if (pInstance->VC_Active!=0)
174 LVC_MixSoft_1St_D16C31_SAT(&pInstance->VC_Volume,
184 if (pInstance->EQNB_Active == LVM_TRUE
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Eq/src/
LVEQNB_Init.c 68 LVEQNB_Instance_t *pInstance = (LVEQNB_Instance_t *)hInstance;
178 *pMemoryTable = pInstance->MemoryTable;
224 LVEQNB_Instance_t *pInstance;
261 pInstance =(LVEQNB_Instance_t *)*phInstance;
268 pInstance->Capabilities = *pCapabilities;
275 pInstance->MemoryTable = *pMemoryTable;
285 pInstance->pEQNB_FilterState_Float = InstAlloc_AddMember(&AllocMem,
289 pInstance->pEQNB_FilterState = InstAlloc_AddMember(&AllocMem,
303 pInstance->pEQNB_Taps_Float = (Biquad_2I_Order2_FLOAT_Taps_t *)InstAlloc_AddMember(&AllocMem,
307 pInstance->pEQNB_Taps = (Biquad_2I_Order2_Taps_t *)InstAlloc_AddMember(&AllocMem
    [all...]
LVEQNB_Process.c 69 LVEQNB_Instance_t *pInstance = (LVEQNB_Instance_t *)hInstance;
85 pScratch = (LVM_FLOAT *)pInstance->pFastTemporary;
90 if (NumSamples > pInstance->Capabilities.MaxBlockSize)
95 if (pInstance->Params.OperatingMode == LVEQNB_ON)
107 if (pInstance->NBands != 0)
109 for (i = 0; i < pInstance->NBands; i++)
114 if (pInstance->pBandDefinitions[i].Gain != 0)
119 pBiquad = &pInstance->pEQNB_FilterState_Float[i];
125 switch (pInstance->pBiquadType[i])
143 if(pInstance->bInOperatingModeTransition == LVM_TRUE)
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Bass/src/
LVDBE_Init.c 64 LVDBE_Instance_t *pInstance = (LVDBE_Instance_t *)hInstance;
121 *pMemoryTable = pInstance->MemoryTable;
166 LVDBE_Instance_t *pInstance;
186 pInstance =(LVDBE_Instance_t *)*phInstance;
210 pInstance->Capabilities = *pCapabilities;
216 pInstance->MemoryTable = *pMemoryTable;
222 pInstance->Params.CentreFrequency = LVDBE_CENTRE_55HZ;
223 pInstance->Params.EffectLevel = 0;
224 pInstance->Params.HeadroomdB = 0;
225 pInstance->Params.HPFSelect = LVDBE_HPF_OFF
    [all...]
LVDBE_Process.c 78 LVDBE_Instance_t *pInstance = (LVDBE_Instance_t *) hInstance;
80 (LVM_INT32 *) pInstance->MemoryTable.Region[LVDBE_MEMREGION_SCRATCH].pBaseAddress;
93 if (NumSamples > pInstance->Capabilities.MaxBlockSize) {
101 if ((pInstance->Params.OperatingMode == LVDBE_ON)
103 &pInstance->pData->BypassMixer.MixerStream[0])
105 &pInstance->pData->BypassMixer.MixerStream[0]))) {
119 if (pInstance->Params.HPFSelect == LVDBE_HPF_ON) {
120 BQ_2I_D32F32C30_TRC_WRA_01(&pInstance->pCoef->HPFInstance,/* Filter instance */
136 BP_1I_D32F32C30_TRC_WRA_02(&pInstance->pCoef->BPFInstance, /* Filter instance */
144 AGC_MIX_VOL_2St1Mon_D32_WRA(&pInstance->pData->AGCInstance, /* Instance pointer *
    [all...]
LVDBE_Control.c 54 LVDBE_Instance_t *pInstance =(LVDBE_Instance_t *)hInstance;
56 *pParams = pInstance->Params;
85 LVDBE_Instance_t *pInstance =(LVDBE_Instance_t *)hInstance;
87 *pCapabilities = pInstance->Capabilities;
101 /* pInstance Pointer to the instance */
106 void LVDBE_SetFilters(LVDBE_Instance_t *pInstance,
129 (void *)&pInstance->pData->HPFTaps, /* Destination Cast to void: \
131 sizeof(pInstance->pData->HPFTaps)/sizeof(LVM_INT16)); /* Number of words */
134 (void *)&pInstance->pData->HPFTaps, /* Destination Cast to void: \
136 sizeof(pInstance->pData->HPFTaps) / sizeof(LVM_FLOAT)); /* Number of words *
    [all...]
  /hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
IPACM_ConntrackClient.h 66 static IPACM_ConntrackClient *pInstance;

Completed in 271 milliseconds

1 2