HomeSort by relevance Sort by last modified time
    Searched refs:nBands (Results 1 - 10 of 10) sorted by null

  /frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
LVPSA_Init.c 68 (pInitParams->nBands < LVPSA_NBANDSMIN) ||
69 (pInitParams->nBands > LVPSA_NBANDSMAX) ||
74 for(ii = 0; ii < pInitParams->nBands; ii++)
117 pLVPSA_Inst->nBands = pInitParams->nBands;
145 pLVPSA_Inst->pPostGains = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) );
146 pLVPSA_Inst->pFiltersParams = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) );
147 pLVPSA_Inst->pSpectralDataBufferStart = InstAlloc_AddMember( &Instance, pInitParams->nBands * pLVPSA_Inst->SpectralDataBufferLength * sizeof(LVM_UINT8) );
148 pLVPSA_Inst->pPreviousPeaks = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT8) );
149 pLVPSA_Inst->pBPFiltersPrecision = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_BPFilterPrecision_en) )
    [all...]
LVPSA_Memory.c 86 (pInitParams->nBands < LVPSA_NBANDSMIN) ||
87 (pInitParams->nBands > LVPSA_NBANDSMAX) ||
92 for(ii = 0; ii < pInitParams->nBands; ii++)
109 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) );
110 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) );
127 InstAlloc_AddMember( &Instance, pInitParams->nBands * BufferLength * sizeof(LVM_UINT8) );
128 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT8) );
129 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_BPFilterPrecision_en) );
145 InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(Biquad_Instance_t) );
146 InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(QPD_State_t) )
    [all...]
LVPSA_Process.c 205 for(ii = 0; ii < pLVPSA_Inst->nBands; ii++)
213 if((LVM_INT32)(StatusDelta * pLVPSA_Inst->nBands) > (pLVPSA_Inst->pSpectralDataBufferWritePointer - pLVPSA_Inst->pSpectralDataBufferStart))
215 pRead = pLVPSA_Inst->pSpectralDataBufferWritePointer + (pLVPSA_Inst->SpectralDataBufferLength - (LVM_UINT32)StatusDelta) * pLVPSA_Inst->nBands;
219 pRead = pLVPSA_Inst->pSpectralDataBufferWritePointer - StatusDelta * pLVPSA_Inst->nBands;
224 for(ii = 0; ii < pLVPSA_Inst->nBands; ii++)
LVPSA_Control.c 151 pParams->nBands = pLVPSA_Inst->nBands;
200 Freq = (LVM_UINT16) ((LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1) / (pInst->nBands + 1));
201 for(ii = pInst->nBands; ii > 0; ii--)
209 for(ii = pInst->nBands; ii > 0; ii--)
225 for(ii = 0; ii < (pInst->nBands * pInst->SpectralDataBufferLength); ii++)
229 for(ii = 0; ii < pInst->nBands; ii++)
    [all...]
LVPSA_QPD_Process.c 203 pWrite += pLVPSA_Inst->nBands;
204 if (pWrite == (pLVPSA_Inst->pSpectralDataBufferStart + pLVPSA_Inst->nBands * pLVPSA_Inst->SpectralDataBufferLength))
LVPSA_Private.h 88 LVM_UINT16 nBands; /* Number of bands of the spectrum analyzer */
95 LVPSA_BPFilterPrecision_en *pBPFiltersPrecision; /* Points a nBands elements array that contains the filter precision for each band */
96 Biquad_Instance_t *pBP_Instances; /* Points a nBands elements array that contains the band pass filter instance for each band */
97 Biquad_1I_Order2_Taps_t *pBP_Taps; /* Points a nBands elements array that contains the band pass filter taps for each band */
98 QPD_State_t *pQPD_States; /* Points a nBands elements array that contains the QPD filter instance for each band */
99 QPD_Taps_t *pQPD_Taps; /* Points a nBands elements array that contains the QPD filter taps for each band */
100 LVM_UINT16 *pPostGains; /* Points a nBands elements array that contains the post-filter gains for each band */
120 LVM_UINT8 *pPreviousPeaks; /* Points to a nBands elements array that contains the previous peak value of the level
  /frameworks/base/media/libeffects/testlibs/
AudioEqualizer.h 48 // An array of size nBands where each element is a configuration for the
58 // nBands Number of bands required in the instance.
59 static size_t GetInstanceSize(int nBands);
68 // nBands Number of bands. Must be >= 2.
79 static AudioEqualizer * CreateInstance(void * pMem, int nBands,
240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
AudioEqualizer.cpp 31 size_t AudioEqualizer::GetInstanceSize(int nBands) {
32 assert(nBands >= 2);
35 sizeof(AudioPeakingFilter) * (nBands - 2);
38 AudioEqualizer * AudioEqualizer::CreateInstance(void * pMem, int nBands,
42 LOGV("AudioEqualizer::CreateInstance(pMem=%p, nBands=%d, nChannels=%d, "
44 pMem, nBands, nChannels, sampleRate, nPresets);
45 assert(nBands >= 2);
48 pMem = malloc(GetInstanceSize(nBands));
54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate,
287 AudioEqualizer::AudioEqualizer(void * pMem, int nBands, int nChannels
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/
LVPSA.h 76 LVM_UINT16 nBands; /* Number of bands of the SA */
77 LVPSA_FilterParam_t *pFiltersParams; /* Points to nBands filter param structures for filters settings */
  /frameworks/base/media/libeffects/lvm/lib/Bundle/src/
LVM_Init.c 314 PSA_InitParams.nBands = (LVM_UINT16) 9;
317 for(i = 0; i < PSA_InitParams.nBands; i++)
    [all...]

Completed in 2504 milliseconds