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.c52 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_Process() local
66 if(InputBlockSize == 0 || InputBlockSize > pLVPSA_Inst->MaxInputBlockSize) in LVPSA_Process()
71 pScratch = (LVM_INT16*)pLVPSA_Inst->MemoryTable.Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress; in LVPSA_Process()
72 pWrite_Save = pLVPSA_Inst->pSpectralDataBufferWritePointer; in LVPSA_Process()
77 if (pLVPSA_Inst->bControlPending == LVM_TRUE) in LVPSA_Process()
79 pLVPSA_Inst->bControlPending = 0; in LVPSA_Process()
80 LVPSA_ApplyNewSettings( pLVPSA_Inst); in LVPSA_Process()
90 for (ii = 0; ii < pLVPSA_Inst->nRelevantFilters; ii++) in LVPSA_Process()
92 switch(pLVPSA_Inst->pBPFiltersPrecision[ii]) in LVPSA_Process()
95 BP_1I_D16F16C14_TRC_WRA_01 ( &pLVPSA_Inst->pBP_Instances[ii], in LVPSA_Process()
[all …]
DLVPSA_QPD_Process.c37 void LVPSA_QPD_WritePeak( pLVPSA_InstancePr_t pLVPSA_Inst,
66 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_QPD_Process() local
67 QPD_State_t *pQPDState = (QPD_State_t*)&pLVPSA_Inst->pQPD_States[BandIndex]; in LVPSA_QPD_Process()
86 LVM_UINT8 *pWrite = pLVPSA_Inst->pSpectralDataBufferWritePointer; in LVPSA_QPD_Process()
87 LVM_INT32 BufferUpdateSamplesCount = pLVPSA_Inst->BufferUpdateSamplesCount; in LVPSA_QPD_Process()
88 LVM_UINT16 DownSamplingFactor = pLVPSA_Inst->DownSamplingFactor; in LVPSA_QPD_Process()
94 pInSamps += pLVPSA_Inst->DownSamplingCount; in LVPSA_QPD_Process()
96 ii = (LVM_INT16)(ii - (LVM_INT16)pLVPSA_Inst->DownSamplingCount); in LVPSA_QPD_Process()
101 …X0 = ((*pInSamps) * pLVPSA_Inst->pPostGains[BandIndex]) >> (LVPSA_GAINSHIFT-1); /* - 1 to compensa… in LVPSA_QPD_Process()
135 if(((pLVPSA_Inst->nSamplesBufferUpdate - BufferUpdateSamplesCount) < DownSamplingFactor)) in LVPSA_QPD_Process()
[all …]
DLVPSA_Init.c47 LVPSA_InstancePr_t *pLVPSA_Inst; in LVPSA_Init() local
99 pLVPSA_Inst =(LVPSA_InstancePr_t*)*phInstance; in LVPSA_Init()
111 pLVPSA_Inst->MemoryTable.Region[ii] = pMemoryTable->Region[ii]; in LVPSA_Init()
116 pLVPSA_Inst->bControlPending = LVM_FALSE; in LVPSA_Init()
117 pLVPSA_Inst->nBands = pInitParams->nBands; in LVPSA_Init()
118 pLVPSA_Inst->MaxInputBlockSize = pInitParams->MaxInputBlockSize; in LVPSA_Init()
119 pLVPSA_Inst->SpectralDataBufferDuration = pInitParams->SpectralDataBufferDuration; in LVPSA_Init()
120 pLVPSA_Inst->CurrentParams.Fs = LVM_FS_DUMMY; in LVPSA_Init()
121 pLVPSA_Inst->CurrentParams.LevelDetectionSpeed = LVPSA_SPEED_DUMMY; in LVPSA_Init()
124 LVM_INT32 SDBD=(LVM_INT32)pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_Init()
[all …]
DLVPSA_Control.c71 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_Control() local
86 pLVPSA_Inst->NewParams = *pNewParams; in LVPSA_Control()
87 pLVPSA_Inst->bControlPending = LVM_TRUE; in LVPSA_Control()
110 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_GetControlParams() local
117 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs; in LVPSA_GetControlParams()
118 pParams->LevelDetectionSpeed = pLVPSA_Inst->CurrentParams.LevelDetectionSpeed; in LVPSA_GetControlParams()
142 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_GetInitParams() local
149 pParams->SpectralDataBufferDuration = pLVPSA_Inst->SpectralDataBufferDuration; in LVPSA_GetInitParams()
150 pParams->MaxInputBlockSize = pLVPSA_Inst->MaxInputBlockSize; in LVPSA_GetInitParams()
151 pParams->nBands = pLVPSA_Inst->nBands; in LVPSA_GetInitParams()
[all …]
DLVPSA_Memory.c60 LVPSA_InstancePr_t *pLVPSA_Inst = (LVPSA_InstancePr_t*)hInstance; in LVPSA_Memory() local
164 *pMemoryTable = pLVPSA_Inst->MemoryTable; in LVPSA_Memory()