Home
last modified time | relevance | path

Searched refs:pLVPSA_Inst (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Process.cpp63 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_Process() local
78 if(InputBlockSize == 0 || InputBlockSize > pLVPSA_Inst->MaxInputBlockSize) in LVPSA_Process()
83 pScratch = (LVM_FLOAT*)pLVPSA_Inst->MemoryTable.Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress; in LVPSA_Process()
84 pWrite_Save = pLVPSA_Inst->pSpectralDataBufferWritePointer; in LVPSA_Process()
89 if (pLVPSA_Inst->bControlPending == LVM_TRUE) in LVPSA_Process()
91 pLVPSA_Inst->bControlPending = 0; in LVPSA_Process()
92 LVPSA_ApplyNewSettings( pLVPSA_Inst); in LVPSA_Process()
102 for (ii = 0; ii < pLVPSA_Inst->nRelevantFilters; ii++) in LVPSA_Process()
104 switch(pLVPSA_Inst->pBPFiltersPrecision[ii]) in LVPSA_Process()
107 BP_1I_D16F16C14_TRC_WRA_01 ( &pLVPSA_Inst->pBP_Instances[ii], in LVPSA_Process()
[all …]
DLVPSA_QPD_Process.cpp37 void LVPSA_QPD_WritePeak( pLVPSA_InstancePr_t pLVPSA_Inst,
42 void LVPSA_QPD_WritePeak_Float( pLVPSA_InstancePr_t pLVPSA_Inst,
68 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_QPD_Process_Float() local
69 QPD_FLOAT_State_t *pQPDState = (QPD_FLOAT_State_t*)&pLVPSA_Inst->pQPD_States[BandIndex]; in LVPSA_QPD_Process_Float()
88 LVM_UINT8 *pWrite = pLVPSA_Inst->pSpectralDataBufferWritePointer; in LVPSA_QPD_Process_Float()
89 LVM_INT32 BufferUpdateSamplesCount = pLVPSA_Inst->BufferUpdateSamplesCount; in LVPSA_QPD_Process_Float()
90 LVM_UINT16 DownSamplingFactor = pLVPSA_Inst->DownSamplingFactor; in LVPSA_QPD_Process_Float()
96 pInSamps += pLVPSA_Inst->DownSamplingCount; in LVPSA_QPD_Process_Float()
98 ii = (LVM_INT16)(ii - (LVM_INT16)pLVPSA_Inst->DownSamplingCount); in LVPSA_QPD_Process_Float()
104 X0 = (*pInSamps) * pLVPSA_Inst->pPostGains[BandIndex]; in LVPSA_QPD_Process_Float()
[all …]
DLVPSA_Init.cpp47 LVPSA_InstancePr_t *pLVPSA_Inst; in LVPSA_Init() local
97 pLVPSA_Inst =(LVPSA_InstancePr_t*)*phInstance; in LVPSA_Init()
108 pLVPSA_Inst->MemoryTable.Region[ii] = pMemoryTable->Region[ii]; in LVPSA_Init()
113 pLVPSA_Inst->bControlPending = LVM_FALSE; in LVPSA_Init()
114 pLVPSA_Inst->nBands = pInitParams->nBands; in LVPSA_Init()
115 pLVPSA_Inst->MaxInputBlockSize = pInitParams->MaxInputBlockSize; in LVPSA_Init()
116 pLVPSA_Inst->SpectralDataBufferDuration = pInitParams->SpectralDataBufferDuration; in LVPSA_Init()
117 pLVPSA_Inst->CurrentParams.Fs = LVM_FS_DUMMY; in LVPSA_Init()
118 pLVPSA_Inst->CurrentParams.LevelDetectionSpeed = LVPSA_SPEED_DUMMY; in LVPSA_Init()
121 LVM_INT32 SDBD=(LVM_INT32)pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_Init()
[all …]
DLVPSA_Control.cpp63 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_Control() local
78 pLVPSA_Inst->NewParams = *pNewParams; in LVPSA_Control()
79 pLVPSA_Inst->bControlPending = LVM_TRUE; in LVPSA_Control()
102 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_GetControlParams() local
109 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs; in LVPSA_GetControlParams()
110 pParams->LevelDetectionSpeed = pLVPSA_Inst->CurrentParams.LevelDetectionSpeed; in LVPSA_GetControlParams()
133 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_GetInitParams() local
140 pParams->SpectralDataBufferDuration = pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_GetInitParams()
141 pParams->MaxInputBlockSize = pLVPSA_Inst->MaxInputBlockSize; in LVPSA_GetInitParams()
142 pParams->nBands = pLVPSA_Inst->nBands; in LVPSA_GetInitParams()
[all …]
DLVPSA_Memory.cpp60 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_Memory() local
160 *pMemoryTable = pLVPSA_Inst->MemoryTable; in LVPSA_Memory()