Lines Matching refs:nSfb
230 const UCHAR *pFreqBandTable, INT nSfb) { in calculateFlatnessMeasure() argument
237 for (i = 0; i < nSfb; i++) { in calculateFlatnessMeasure()
319 const UCHAR *freqBandTable, INT nSfb, INT noEstPerFrame, INT move) { in calculateDetectorInput() argument
327 nSfb, indexVector); in calculateDetectorInput()
331 freqBandTable, nSfb); in calculateDetectorInput()
349 INT start, INT stop, INT nSfb, in removeLowPassDetection() argument
356 INT maxDerivPos = pFreqBandTable[nSfb]; in removeLowPassDetection()
357 INT numBands = pFreqBandTable[nSfb]; in removeLowPassDetection()
431 for (i = 0; i < nSfb; i++) { in removeLowPassDetection()
527 static void transientCleanUp(FIXP_DBL **quotaBuffer, INT nSfb, in transientCleanUp() argument
536 for (i = 0; i < nSfb; i++) { in transientCleanUp()
546 for (i = 0; i < nSfb - 1; i++) { in transientCleanUp()
632 removeLowPassDetection(pAddHarmSfb, detectionVectors, start, stop, nSfb, in transientCleanUp()
639 for (i = 0; i < nSfb; i++) { in transientCleanUp()
671 static void detection(FIXP_DBL *quotaBuffer, FIXP_DBL *pDiffVecScfb, INT nSfb, in detection() argument
683 for (i = 0; i < nSfb; i++) { in detection()
711 for (i = 0; i < nSfb; i++) { in detection()
736 for (i = 0; i < nSfb; i++) { in detection()
751 if (i < nSfb - 1) { in detection()
784 FIXP_DBL **quotaBuffer, FIXP_DBL **pDiffVecScfb, INT **signBuffer, INT nSfb, in detectionWithPrediction() argument
794 FDKmemclear(pAddHarmSfb, nSfb * sizeof(UCHAR)); in detectionWithPrediction()
805 guideVectors[0].guideVectorDiff, nSfb * sizeof(FIXP_DBL)); in detectionWithPrediction()
807 guideVectors[0].guideVectorOrig, nSfb * sizeof(FIXP_DBL)); in detectionWithPrediction()
809 nSfb * sizeof(UCHAR)); in detectionWithPrediction()
825 detectionVectors[est - 1], nSfb * sizeof(UCHAR)); in detectionWithPrediction()
828 FDKmemclear(detectionVectors[est], nSfb * sizeof(UCHAR)); in detectionWithPrediction()
832 nSfb * sizeof(FIXP_DBL)); in detectionWithPrediction()
834 nSfb * sizeof(FIXP_DBL)); in detectionWithPrediction()
836 nSfb * sizeof(UCHAR)); in detectionWithPrediction()
838 detection(quotaBuffer[est], pDiffVecScfb[est], nSfb, in detectionWithPrediction()
843 FDKmemclear(guideVectors[est].guideVectorDiff, nSfb * sizeof(FIXP_DBL)); in detectionWithPrediction()
844 FDKmemclear(guideVectors[est].guideVectorOrig, nSfb * sizeof(FIXP_DBL)); in detectionWithPrediction()
845 FDKmemclear(guideVectors[est].guideVectorDetected, nSfb * sizeof(UCHAR)); in detectionWithPrediction()
847 detection(quotaBuffer[est], pDiffVecScfb[est], nSfb, in detectionWithPrediction()
855 transientCleanUp(quotaBuffer, nSfb, detectionVectors, pAddHarmSfb, in detectionWithPrediction()
861 for (i = 0; i < nSfb; i++) { in detectionWithPrediction()
868 FDKmemcpy(pPrevAddHarmSfb, pAddHarmSfb, nSfb * sizeof(UCHAR)); in detectionWithPrediction()
870 nSfb * sizeof(INT)); in detectionWithPrediction()
872 for (i = 0; i < nSfb; i++) { in detectionWithPrediction()
910 INT **pSignMatrix, UCHAR *pEnvComp, INT nSfb, in calculateCompVector() argument
919 FDKmemclear(pEnvComp, nSfb * sizeof(UCHAR)); in calculateCompVector()
921 for (scfBand = 0; scfBand < nSfb; scfBand++) { in calculateCompVector()
974 if (maxPosF == lu - 1 && scfBand + 1 < nSfb) { /* Upper border*/ in calculateCompVector()
995 for (scfBand = 0; scfBand < nSfb; scfBand++) { in calculateCompVector()
1002 FDKmemcpy(pPrevEnvComp, pEnvComp, nSfb * sizeof(UCHAR)); in calculateCompVector()
1019 UCHAR *pAddHarmonicsScaleFactorBands, const UCHAR *freqBandTable, INT nSfb, in FDKsbrEnc_SbrMissingHarmonicsDetectorQmf() argument
1080 sfmSbr, freqBandTable, nSfb, noEstPerFrame, move); in FDKsbrEnc_SbrMissingHarmonicsDetectorQmf()
1083 detectionWithPrediction(pQuotaBuffer, tonalityDiff, pSignBuffer, nSfb, in FDKsbrEnc_SbrMissingHarmonicsDetectorQmf()
1093 envelopeCompensation, nSfb, freqBandTable, totNoEst, in FDKsbrEnc_SbrMissingHarmonicsDetectorQmf()
1172 INT frameSize, INT nSfb, INT qmfNoChannels, INT totNoEst, INT move, in FDKsbrEnc_InitSbrMissingHarmonicsDetector() argument
1218 hs->nSfb = nSfb; in FDKsbrEnc_InitSbrMissingHarmonicsDetector()
1285 INT nSfb) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector() argument
1291 nSfbPrev = hSbrMissingHarmonicsDetector->nSfb; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1292 hSbrMissingHarmonicsDetector->nSfb = nSfb; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1297 if (nSfb > nSfbPrev) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1298 for (i = 0; i < (nSfb - nSfbPrev); i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1303 hSbrMissingHarmonicsDetector->guideScfb[i + (nSfb - nSfbPrev)] = in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1307 for (i = 0; i < nSfb; i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1309 tempGuideInt[i + (nSfbPrev - nSfb)]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1317 if (nSfb > nSfbPrev) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1318 for (i = 0; i < (nSfb - nSfbPrev); i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1325 .guideVectorDiff[i + (nSfb - nSfbPrev)] = tempGuide[i]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1328 for (i = 0; i < nSfb; i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1330 tempGuide[i + (nSfbPrev - nSfb)]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1338 if (nSfb > nSfbPrev) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1339 for (i = 0; i < (nSfb - nSfbPrev); i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1346 .guideVectorOrig[i + (nSfb - nSfbPrev)] = tempGuide[i]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1349 for (i = 0; i < nSfb; i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1351 tempGuide[i + (nSfbPrev - nSfb)]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1359 if (nSfb > nSfbPrev) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1360 for (i = 0; i < (nSfb - nSfbPrev); i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1366 .guideVectorDetected[i + (nSfb - nSfbPrev)] = tempGuideInt[i]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1369 for (i = 0; i < nSfb; i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1371 tempGuideInt[i + (nSfbPrev - nSfb)]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1379 if (nSfb > nSfbPrev) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1380 for (i = 0; i < (nSfb - nSfbPrev); i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1386 ->prevEnvelopeCompensation[i + (nSfb - nSfbPrev)] = tempGuideInt[i]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1389 for (i = 0; i < nSfb; i++) { in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()
1391 tempGuideInt[i + (nSfbPrev - nSfb)]; in FDKsbrEnc_ResetSbrMissingHarmonicsDetector()