Searched refs:nBands (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Init.c | 68 (pInitParams->nBands < LVPSA_NBANDSMIN) || in LVPSA_Init() 69 (pInitParams->nBands > LVPSA_NBANDSMAX) || in LVPSA_Init() 74 for(ii = 0; ii < pInitParams->nBands; ii++) in LVPSA_Init() 117 pLVPSA_Inst->nBands = pInitParams->nBands; in LVPSA_Init() 145 …pLVPSA_Inst->pPostGains = InstAlloc_AddMember( &Instance, pInitParams->nBands * si… in LVPSA_Init() 146 …pLVPSA_Inst->pFiltersParams = InstAlloc_AddMember( &Instance, pInitParams->nBands * si… in LVPSA_Init() 147 …pLVPSA_Inst->pSpectralDataBufferStart = InstAlloc_AddMember( &Instance, pInitParams->nBands * pL… in LVPSA_Init() 148 …pLVPSA_Inst->pPreviousPeaks = InstAlloc_AddMember( &Instance, pInitParams->nBands * si… in LVPSA_Init() 149 …pLVPSA_Inst->pBPFiltersPrecision = InstAlloc_AddMember( &Instance, pInitParams->nBands * si… in LVPSA_Init() 151 …pLVPSA_Inst->pBP_Instances = InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(Biq… in LVPSA_Init() [all …]
|
D | LVPSA_Memory.c | 86 (pInitParams->nBands < LVPSA_NBANDSMIN) || in LVPSA_Memory() 87 (pInitParams->nBands > LVPSA_NBANDSMAX) || in LVPSA_Memory() 92 for(ii = 0; ii < pInitParams->nBands; ii++) in LVPSA_Memory() 109 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) ); in LVPSA_Memory() 110 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) ); in LVPSA_Memory() 127 InstAlloc_AddMember( &Instance, pInitParams->nBands * BufferLength * sizeof(LVM_UINT8) ); in LVPSA_Memory() 128 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT8) ); in LVPSA_Memory() 129 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_BPFilterPrecision_en) ); in LVPSA_Memory() 145 InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(Biquad_Instance_t) ); in LVPSA_Memory() 146 InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(QPD_State_t) ); in LVPSA_Memory() [all …]
|
D | LVPSA_Control.c | 151 pParams->nBands = pLVPSA_Inst->nBands; in LVPSA_GetInitParams() 200 … Freq = (LVM_UINT16) ((LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1) / (pInst->nBands + 1)); in LVPSA_ApplyNewSettings() 201 for(ii = pInst->nBands; ii > 0; ii--) in LVPSA_ApplyNewSettings() 209 for(ii = pInst->nBands; ii > 0; ii--) in LVPSA_ApplyNewSettings() 225 for(ii = 0; ii < (pInst->nBands * pInst->SpectralDataBufferLength); ii++) in LVPSA_ApplyNewSettings() 229 for(ii = 0; ii < pInst->nBands; ii++) in LVPSA_ApplyNewSettings() 693 for(i = 0; i < pInst->nBands * sizeof(Biquad_1I_Order2_Taps_t); i++) in LVPSA_ClearFilterHistory() 700 for(i = 0; i < pInst->nBands * sizeof(QPD_Taps_t); i++) in LVPSA_ClearFilterHistory()
|
D | LVPSA_Process.c | 205 for(ii = 0; ii < pLVPSA_Inst->nBands; ii++) in LVPSA_GetSpectrum() 213 …if((LVM_INT32)(StatusDelta * pLVPSA_Inst->nBands) > (pLVPSA_Inst->pSpectralDataBufferWritePointer … in LVPSA_GetSpectrum() 215 …ePointer + (pLVPSA_Inst->SpectralDataBufferLength - (LVM_UINT32)StatusDelta) * pLVPSA_Inst->nBands; in LVPSA_GetSpectrum() 219 pRead = pLVPSA_Inst->pSpectralDataBufferWritePointer - StatusDelta * pLVPSA_Inst->nBands; in LVPSA_GetSpectrum() 224 for(ii = 0; ii < pLVPSA_Inst->nBands; ii++) in LVPSA_GetSpectrum()
|
D | LVPSA_QPD_Process.c | 203 pWrite += pLVPSA_Inst->nBands; in LVPSA_QPD_WritePeak() 204 …if (pWrite == (pLVPSA_Inst->pSpectralDataBufferStart + pLVPSA_Inst->nBands * pLVPSA_Inst->Spectral… in LVPSA_QPD_WritePeak()
|
D | LVPSA_Private.h | 88 …LVM_UINT16 nBands; /* Number of bands of the spectrum… member
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioEqualizer.cpp | 31 size_t AudioEqualizer::GetInstanceSize(int nBands) { in GetInstanceSize() argument 32 assert(nBands >= 2); in GetInstanceSize() 35 sizeof(AudioPeakingFilter) * (nBands - 2); in GetInstanceSize() 38 AudioEqualizer * AudioEqualizer::CreateInstance(void * pMem, int nBands, in CreateInstance() argument 44 pMem, nBands, nChannels, sampleRate, nPresets); in CreateInstance() 45 assert(nBands >= 2); in CreateInstance() 48 pMem = malloc(GetInstanceSize(nBands)); in CreateInstance() 54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate, in CreateInstance() 287 AudioEqualizer::AudioEqualizer(void * pMem, int nBands, int nChannels, in AudioEqualizer() argument 304 mNumPeaking = nBands - 2; in AudioEqualizer()
|
D | AudioEqualizer.h | 59 static size_t GetInstanceSize(int nBands); 79 static AudioEqualizer * CreateInstance(void * pMem, int nBands, 240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/ |
D | LVPSA.h | 76 …LVM_UINT16 nBands; /* Number of bands of the SA … member
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Init.c | 314 PSA_InitParams.nBands = (LVM_UINT16) 9; in LVM_GetMemoryTable() 317 for(i = 0; i < PSA_InitParams.nBands; i++) in LVM_GetMemoryTable() 837 pInstance->PSA_InitParams.nBands = (LVM_UINT16) 9; in LVM_GetInstanceHandle() 839 for(i = 0; i < pInstance->PSA_InitParams.nBands; i++) in LVM_GetInstanceHandle()
|