Lines Matching refs:psyOutChan
120 PSY_OUT_CHANNEL *RESTRICT psyOutChan) in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() argument
125 int tmp0 = psyOutChan->sfbCnt; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
126 int tmp1 = psyOutChan->maxSfbPerGroup; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
127 int step = psyOutChan->sfbPerGroup; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
132 for(j=psyOutChan->sfbOffsets[sfbGrp+sfb]; j<psyOutChan->sfbOffsets[sfbGrp+sfb+1]; j++ ) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
133 formFactor += sqrtFixp(fixp_abs(psyOutChan->mdctSpectrum[j]))>>FORM_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
138 for ( ; sfb < psyOutChan->sfbPerGroup; sfb++) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
304 static FIXP_DBL FDKaacEnc_calcSpecPeDiff(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_calcSpecPeDiff() argument
327 …sfbConstPePart[sfb] = ((psyOutChan->sfbEnergyLdData[sfb] - sfbFormFactorLdData[sfb] - FL2FXCONST_D… in FDKaacEnc_calcSpecPeDiff()
458 static void FDKaacEnc_assimilateSingleScf(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_assimilateSingleScf() argument
486 for (i=0; i<psyOutChan->sfbCnt; i++) { in FDKaacEnc_assimilateSingleScf()
502 while ((sfbNext < psyOutChan->sfbCnt) && (scf[sfbNext] == FDK_INT_MIN)) in FDKaacEnc_assimilateSingleScf()
504 if ((sfbLast>=0) && (sfbAct>=0) && (sfbNext<psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
512 else if ((sfbLast==-1) && (sfbAct>=0) && (sfbNext<psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
520 else if ((sfbLast>=0) && (sfbAct>=0) && (sfbNext==psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
532 (sfbLast>=0 || sfbNext<psyOutChan->sfbCnt) && in FDKaacEnc_assimilateSingleScf()
542 sfbWidth = psyOutChan->sfbOffsets[sfbAct+1] - psyOutChan->sfbOffsets[sfbAct]; in FDKaacEnc_assimilateSingleScf()
543 sfbOffs = psyOutChan->sfbOffsets[sfbAct]; in FDKaacEnc_assimilateSingleScf()
628 } while (sfbNext < psyOutChan->sfbCnt); in FDKaacEnc_assimilateSingleScf()
635 static void FDKaacEnc_assimilateMultipleScf(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_assimilateMultipleScf() argument
656 INT sfbCnt = psyOutChan->sfbCnt; in FDKaacEnc_assimilateMultipleScf()
713 … deltaSpecPe = FDKaacEnc_calcSpecPeDiff(psyOutChan, qcOutChannel, scf, scfTmp, sfbConstPePart, in FDKaacEnc_assimilateMultipleScf()
729 sfbWidth = psyOutChan->sfbOffsets[sfb+1] - psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
730 sfbOffs = psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
751 sfbWidth = psyOutChan->sfbOffsets[sfb+1] - in FDKaacEnc_assimilateMultipleScf()
752 psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
753 sfbOffs = psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
776 static void FDKaacEnc_FDKaacEnc_assimilateMultipleScf2(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2() argument
792 INT *sfbOffs = psyOutChan->sfbOffsets; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
799 INT sfbCnt = psyOutChan->sfbCnt; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
880 … deltaSpecPe = FDKaacEnc_calcSpecPeDiff(psyOutChan, qcOutChannel, scf, scfTmp, sfbConstPePart, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
958 … deltaSpecPe = FDKaacEnc_calcSpecPeDiff(psyOutChan, qcOutChannel, scf, scfTmp, sfbConstPePart, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()