Lines Matching refs:nChannels
320 const INT nChannels, const INT sampleRate, const INT advancedBitsToPe, in FDKaacEnc_InitBits2PeFactor() argument
327 if (advancedBitsToPe && nChannels <= (2)) { in FDKaacEnc_InitBits2PeFactor()
364 startPF = peTab[size - 1].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
365 stopPF = peTab[size - 1].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
372 startPF = peTab[i].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
373 stopPF = peTab[i + 1].bits2PeFactor[qualityIdx][nChannels - 1]; in FDKaacEnc_InitBits2PeFactor()
413 if ((bitRate / nChannels > 32000) && (bitRate / nChannels <= 40000)) { in FDKaacEnc_InitBits2PeFactor()
415 } else if (bitRate / nChannels > 20000) { in FDKaacEnc_InitBits2PeFactor()
417 } else if (bitRate / nChannels >= 16000) { in FDKaacEnc_InitBits2PeFactor()
446 const PSY_OUT_CHANNEL *const psyOutChannel[(2)], const INT nChannels) { in FDKaacEnc_calcThreshExp() argument
450 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_calcThreshExp()
469 const MINSNR_ADAPT_PARAM *const msaParam, const INT nChannels) { in FDKaacEnc_adaptMinSnr() argument
483 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_adaptMinSnr()
543 const INT nChannels, const AH_PARAM *const ahParam) { in FDKaacEnc_initAvoidHoleFlag() argument
551 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_initAvoidHoleFlag()
570 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_initAvoidHoleFlag()
622 if (nChannels == 2) { in FDKaacEnc_initAvoidHoleFlag()
685 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_initAvoidHoleFlag()
722 const INT nChannels, const INT peOffset) { in FDKaacEnc_preparePe() argument
725 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_preparePe()
760 ATS_ELEMENT *const adjThrStateElement, const INT nChannels, in FDKaacEnc_calcWeighting() argument
765 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_calcWeighting()
777 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_calcWeighting()
887 PE_DATA *const peData, const INT nChannels) { in FDKaacEnc_calcPe() argument
893 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_calcPe()
913 const INT nChannels) { in FDKaacEnc_peCalculation() argument
915 FDKaacEnc_preparePe(peData, psyOutChannel, qcOutChannel, nChannels, in FDKaacEnc_peCalculation()
920 adjThrStateElement, nChannels, 1); in FDKaacEnc_peCalculation()
925 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_peCalculation()
943 FDKaacEnc_calcPe(psyOutChannel, qcOutChannel, peData, nChannels); in FDKaacEnc_peCalculation()
954 const PSY_OUT_CHANNEL *const psyOutChannel[(2)], const INT nChannels) { in FDKaacEnc_FDKaacEnc_calcPeNoAH() argument
960 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_FDKaacEnc_calcPeNoAH()
992 const FIXP_DBL thrExp[(2)][MAX_GROUPED_SFB], const INT nChannels, in FDKaacEnc_reduceThresholdsCBR() argument
998 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_reduceThresholdsCBR()
1112 const FIXP_DBL thrExp[(2)][MAX_GROUPED_SFB], const INT nChannels, in FDKaacEnc_reduceThresholdsVBR() argument
1135 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_reduceThresholdsVBR()
1202 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_reduceThresholdsVBR()
1234 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_reduceThresholdsVBR()
1634 const INT nChannels = cm->elInfo[elementId].nChannelsInEl; in FDKaacEnc_allowMoreHoles() local
1639 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_allowMoreHoles()
1654 if (nChannels == 2 && psyOutChannel[0]->lastWindowSequence == in FDKaacEnc_allowMoreHoles()
1863 UCHAR ahFlag[(2)][MAX_GROUPED_SFB], const INT nChannels, in FDKaacEnc_resetAHFlags() argument
1867 for (ch = 0; ch < nChannels; ch++) { in FDKaacEnc_resetAHFlags()
1936 INT nChannels = cm->elInfo[elementId].nChannelsInEl; in FDKaacEnc_adaptThresholdsToPe() local
1942 psyOutElement[elementId]->psyOutChannel, nChannels); in FDKaacEnc_adaptThresholdsToPe()
1949 nChannels); in FDKaacEnc_adaptThresholdsToPe()
1955 &psyOutElement[elementId]->toolsInfo, nChannels, in FDKaacEnc_adaptThresholdsToPe()
1992 INT nChannels = cm->elInfo[elementId].nChannelsInEl; in FDKaacEnc_adaptThresholdsToPe() local
1999 pThrExp[elementId], nChannels, reductionValue_m, reductionValue_e); in FDKaacEnc_adaptThresholdsToPe()
2003 qcElement[elementId]->qcOutChannel, peData, nChannels); in FDKaacEnc_adaptThresholdsToPe()
2024 INT nChannels = cm->elInfo[elementId].nChannelsInEl; in FDKaacEnc_adaptThresholdsToPe() local
2031 nChannels); in FDKaacEnc_adaptThresholdsToPe()
2093 INT nChannels = cm->elInfo[elementId].nChannelsInEl; in FDKaacEnc_adaptThresholdsToPe() local
2100 pThrExp[elementId], nChannels, reductionValue_m, reductionValue_e); in FDKaacEnc_adaptThresholdsToPe()
2104 qcElement[elementId]->qcOutChannel, peData, nChannels); in FDKaacEnc_adaptThresholdsToPe()
2141 INT nChannels = cm->elInfo[elementId].nChannelsInEl; in FDKaacEnc_adaptThresholdsToPe() local
2146 qcElement[elementId]->qcOutChannel, peData, nChannels); in FDKaacEnc_adaptThresholdsToPe()
2172 const struct TOOLSINFO *const toolsInfo, const INT nChannels) { in FDKaacEnc_AdaptThresholdsVBR() argument
2183 FDKaacEnc_calcThreshExp(pThrExp, qcOutChannel, psyOutChannel, nChannels); in FDKaacEnc_AdaptThresholdsVBR()
2188 &AdjThrStateElement->minSnrAdaptParam, nChannels); in FDKaacEnc_AdaptThresholdsVBR()
2192 nChannels, &AdjThrStateElement->ahParam); in FDKaacEnc_AdaptThresholdsVBR()
2196 nChannels, AdjThrStateElement->vbrQualFactor, in FDKaacEnc_AdaptThresholdsVBR()
2675 const INT nChannels, const FIXP_DBL bits2PeFactor_m, in FDKaacEnc_calcPeCorrectionLowBitRes() argument
2688 int headroom = (bitresLevel >= 50 * nChannels) ? 0 : (100 * nChannels); in FDKaacEnc_calcPeCorrectionLowBitRes()
2734 INT *grantedPeCorr, const INT nChannels, const INT commonWindow, in FDKaacEnc_DistributeBits() argument
2743 if (nChannels == 2) { in FDKaacEnc_DistributeBits()
2782 AdjThrStateElement->dynBitsLast, bitresBits, nChannels, in FDKaacEnc_DistributeBits()