Searched defs:pInstance (Results 51 - 72 of 72) sorted by relevance

123

/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DCore_MixSoft_1St_D32C31_WRA.c29 void Core_MixSoft_1St_D32C31_WRA( Mix_1St_Cll_FLOAT_t *pInstance, argument
45 TargetTimesOneMinAlpha = (1.0f - pInstance->Alpha) * pInstance->Target; /* float * float in float */
46 if (pInstance->Target >= pInstance->Current)
53 CurrentTimesAlpha = (pInstance->Current * pInstance->Alpha);
54 pInstance->Current = TargetTimesOneMinAlpha + CurrentTimesAlpha;
61 Temp2 = Temp1 * (pInstance->Current);
69 CurrentTimesAlpha = pInstance
101 Core_MixSoft_1St_D32C31_WRA( Mix_1St_Cll_t *pInstance, const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
[all...]
H A DFO_2I_D16F32C15_LShx_TRC_WRA_01.c36 void FO_2I_D16F32C15_LShx_TRC_WRA_01(Biquad_FLOAT_Instance_t *pInstance, argument
46 PFilter_Float_State pBiquadState = (PFilter_Float_State) pInstance;
121 void FO_2I_D16F32C15_LShx_TRC_WRA_01(Biquad_Instance_t *pInstance, argument
131 PFilter_State pBiquadState = (PFilter_State) pInstance;
H A DLVC_Core_MixInSoft_D16C31_SAT.c38 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)(ptrInstance->PrivateParams); local
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); local
129 LVM_INT32 Delta=pInstance->Delta;
130 LVM_INT32 Current=pInstance->Current;
131 LVM_INT32 Target=pInstance->Target;
213 pInstance
[all...]
H A DLVC_Core_MixSoft_1St_D16C31_WRA.c38 Mix_Private_FLOAT_st *pInstance=(Mix_Private_FLOAT_st *)(ptrInstance->PrivateParams); local
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); local
119 LVM_INT32 Delta=pInstance->Delta;
120 LVM_INT32 Current=pInstance->Current;
121 LVM_INT32 Target=pInstance->Target;
181 pInstance
[all...]
H A DLVC_Mixer_VarSlope_SetTimeConstant.c78 Mix_Private_FLOAT_st *pInstance = (Mix_Private_FLOAT_st *)pStream->PrivateParams; local
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; local
159 pInstance->Delta=Delta; // Delta=(2147483647*4*1000)/(NumChannels*SampleRate*Tc_millisec) in Q 0.31 format
H A DPK_2I_D32F32C14G11_TRC_WRA_01.c42 void PK_2I_D32F32C14G11_TRC_WRA_01 ( Biquad_FLOAT_Instance_t *pInstance, argument
49 PFilter_State_Float pBiquadState = (PFilter_State_Float) pInstance;
123 void PK_2I_D32F32C14G11_TRC_WRA_01 ( Biquad_Instance_t *pInstance, argument
130 PFilter_State pBiquadState = (PFilter_State) pInstance;
H A DPK_2I_D32F32C30G11_TRC_WRA_01.c42 void PK_2I_D32F32C30G11_TRC_WRA_01 ( Biquad_Instance_t *pInstance, argument
49 PFilter_State pBiquadState = (PFilter_State) pInstance;
H A DAGC_MIX_VOL_2St1Mon_D32_WRA.c64 /* pInstance Instance pointer */
76 void AGC_MIX_VOL_2St1Mon_D32_WRA(AGC_MIX_VOL_2St1Mon_D32_t *pInstance, /* Instance pointer */ argument
100 LVM_INT32 AGC_Gain = pInstance->AGC_Gain; /* Get the current AGC gain */
101 LVM_INT32 AGC_MaxGain = pInstance->AGC_MaxGain; /* Get maximum AGC gain */
102 LVM_INT16 AGC_GainShift = pInstance->AGC_GainShift; /* Get the AGC shift */
103 LVM_INT16 AGC_Attack = pInstance->AGC_Attack; /* Attack scaler */
104 LVM_INT16 AGC_Decay = pInstance->AGC_Decay; /* Decay scaler */
105 LVM_INT32 AGC_Target = pInstance->AGC_Target; /* Get the target level */
106 LVM_INT32 Vol_Current = pInstance->Volume; /* Actual volume setting */
107 LVM_INT32 Vol_Target = pInstance
200 AGC_MIX_VOL_2St1Mon_D32_WRA(AGC_MIX_VOL_2St1Mon_FLOAT_t *pInstance, const LVM_FLOAT *pStSrc, const LVM_FLOAT *pMonoSrc, LVM_FLOAT *pDst, LVM_UINT16 NumSamples) argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
H A DLVCS_Control.c52 LVCS_Instance_t *pInstance =(LVCS_Instance_t *)hInstance; local
54 *pParams = pInstance->Params;
83 LVCS_Instance_t *pInstance =(LVCS_Instance_t *)hInstance; local
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
264 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
[all...]
H A DLVCS_Equaliser.c62 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
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; local
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
206 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
236 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
[all...]
H A DLVCS_Process.c76 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
81 pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORARY_FAST].pBaseAddress;
146 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
147 LVM_INT16 *pScratch = (LVM_INT16 *)pInstance->MemoryTable.Region[LVCS_MEMREGION_TEMPORARY_FAST].pBaseAddress;
240 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
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
403 LVCS_Instance_t *pInstance =(LVCS_Instance_t *)hInstance; local
[all...]
H A DLVCS_StereoEnhancer.c58 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
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; local
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
283 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
366 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
[all...]
H A DLVCS_BypassMix.c80 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
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
291 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
345 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
[all...]
H A DLVCS_ReverbGenerator.c67 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
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; local
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
280 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
364 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance; local
[all...]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
H A DLVM_Buffers.c62 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
71 pBuffer = pInstance->pBufferManagement;
79 if (pInstance->SamplesToProcess == 0)
84 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples);
85 pInstance->pInputSamples = (LVM_FLOAT *)pInData;
88 pStart = pInstance->pInputSamples; /* Pointer to the input samples */
96 if (pInstance->SamplesToProcess > pInstance->InternalBlockSize)
101 SampleCount = pInstance->InternalBlockSize;
102 NumSamples = pInstance
207 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
368 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
408 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
474 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
668 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
698 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
747 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
896 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
1065 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
1114 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
1218 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
1242 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
[all...]
H A DLVM_Init.c69 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; local
92 *pMemoryTable = pInstance->MemoryTable;
437 LVM_Instance_t *pInstance; local
512 pInstance =(LVM_Instance_t *)*phInstance;
518 pInstance->MemoryTable = *pMemoryTable;
519 pInstance->InstParams = *pInstParams;
536 pInstance->InternalBlockSize = (LVM_INT16)InternalBlockSize;
542 pInstance->SamplesToProcess = 0; /* No samples left to process */
548 pInstance->pBufferManagement = InstAlloc_AddMember(&AllocMem[LVM_MEMREGION_PERSISTENT_SLOW_DATA],
551 pInstance
1010 LVM_Instance_t *pInstance = (LVM_Instance_t *)hInstance; /* Pointer to Instance */ local
[all...]
H A DLVM_Control.c55 LVM_Instance_t *pInstance =(LVM_Instance_t *)hInstance; local
63 pInstance->NewParams = *pParams;
110 if(pParams->EQNB_NBands > pInstance->InstParams.EQNB_NumBands)
132 pInstance->pEQNB_BandDefs[i] = pParams->pEQNB_BandDefinition[i];
134 pInstance->NewParams.pEQNB_BandDefinition = pInstance->pEQNB_BandDefs;
139 (pParams->EQNB_NBands > pInstance->InstParams.EQNB_NumBands))
202 pInstance->ControlPending = LVM_TRUE;
232 LVM_Instance_t *pInstance =(LVM_Instance_t *)hInstance; local
242 *pParams = pInstance
275 LVM_SetTrebleBoost(LVM_Instance_t *pInstance, LVM_ControlParams_t *pParams) argument
365 LVM_SetVolume(LVM_Instance_t *pInstance, LVM_ControlParams_t *pParams) argument
495 LVM_SetHeadroom(LVM_Instance_t *pInstance, LVM_ControlParams_t *pParams) argument
555 LVM_Instance_t *pInstance =(LVM_Instance_t *)hInstance; local
958 LVM_Instance_t *pInstance =(LVM_Instance_t *)hInstance; local
1018 LVM_Instance_t *pInstance =(LVM_Instance_t *)hInstance; local
1062 LVM_Instance_t *pInstance =(LVM_Instance_t *)pBundleHandle; local
1114 LVM_Instance_t *pInstance =(LVM_Instance_t *)pBundleHandle; local
[all...]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_Control.c64 LVEQNB_Instance_t *pInstance =(LVEQNB_Instance_t *)hInstance; local
74 *pParams = pInstance->Params;
105 LVEQNB_Instance_t *pInstance =(LVEQNB_Instance_t *)hInstance; local
112 *pCapabilities = pInstance->Capabilities;
126 /* pInstance Pointer to the instance */
140 void LVEQNB_SetFilters(LVEQNB_Instance_t *pInstance, argument
155 pInstance->NBands = pParams->NBands;
166 pInstance->pBiquadType[i] = LVEQNB_SinglePrecision_Float; /* Default to single precision */
171 pInstance->pBiquadType[i] = LVEQNB_SinglePrecision; /* Default to single precision */
179 pInstance
222 LVEQNB_SetCoefficients(LVEQNB_Instance_t *pInstance) argument
320 LVEQNB_ClearFilterHistory(LVEQNB_Instance_t *pInstance) argument
337 LVEQNB_ClearFilterHistory(LVEQNB_Instance_t *pInstance) argument
380 LVEQNB_Instance_t *pInstance = (LVEQNB_Instance_t *)hInstance; local
516 LVEQNB_Instance_t *pInstance =(LVEQNB_Instance_t *)hInstance; local
[all...]
/frameworks/av/drm/drmserver/
H A DPlugInManager.h54 Type* pInstance; member in struct:android::TPlugInManager::_PlugInContainer
61 ,pInstance(NULL)
122 return *(m_plugInMap.valueFor(rsPlugInId)->pInstance);
155 pPlugInContainer->pInstance = (Type*)pPlugInContainer->fpCreate();
178 pPlugInContainer->fpDestory(pPlugInContainer->pInstance);
/frameworks/native/vulkan/libvulkan/
H A Dapi.cpp1157 VkInstance* pInstance) {
1161 return LayerChain::CreateInstance(pCreateInfo, pAllocator, pInstance);
1155 CreateInstance(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance) argument
H A Ddriver.cpp879 VkInstance* pInstance) {
940 *pInstance = instance;
877 CreateInstance(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance) argument
H A Dapi_gen.cpp1231 VKAPI_ATTR VkResult vkCreateInstance(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance) { argument
1232 return vulkan::api::CreateInstance(pCreateInfo, pAllocator, pInstance);

Completed in 341 milliseconds

123