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()
453 static void FDKaacEnc_assimilateSingleScf(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_assimilateSingleScf() argument
480 for (i=0; i<psyOutChan->sfbCnt; i++) { in FDKaacEnc_assimilateSingleScf()
496 while ((sfbNext < psyOutChan->sfbCnt) && (scf[sfbNext] == FDK_INT_MIN)) in FDKaacEnc_assimilateSingleScf()
498 if ((sfbLast>=0) && (sfbAct>=0) && (sfbNext<psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
506 else if ((sfbLast==-1) && (sfbAct>=0) && (sfbNext<psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
514 else if ((sfbLast>=0) && (sfbAct>=0) && (sfbNext==psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
526 (sfbLast>=0 || sfbNext<psyOutChan->sfbCnt) && in FDKaacEnc_assimilateSingleScf()
536 sfbWidth = psyOutChan->sfbOffsets[sfbAct+1] - psyOutChan->sfbOffsets[sfbAct]; in FDKaacEnc_assimilateSingleScf()
537 sfbOffs = psyOutChan->sfbOffsets[sfbAct]; in FDKaacEnc_assimilateSingleScf()
621 } while (sfbNext < psyOutChan->sfbCnt); in FDKaacEnc_assimilateSingleScf()
628 static void FDKaacEnc_assimilateMultipleScf(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_assimilateMultipleScf() argument
648 INT sfbCnt = psyOutChan->sfbCnt; in FDKaacEnc_assimilateMultipleScf()
705 … deltaSpecPe = FDKaacEnc_calcSpecPeDiff(psyOutChan, qcOutChannel, scf, scfTmp, sfbConstPePart, in FDKaacEnc_assimilateMultipleScf()
721 sfbWidth = psyOutChan->sfbOffsets[sfb+1] - psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
722 sfbOffs = psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
742 sfbWidth = psyOutChan->sfbOffsets[sfb+1] - in FDKaacEnc_assimilateMultipleScf()
743 psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
744 sfbOffs = psyOutChan->sfbOffsets[sfb]; in FDKaacEnc_assimilateMultipleScf()
767 static void FDKaacEnc_FDKaacEnc_assimilateMultipleScf2(PSY_OUT_CHANNEL *psyOutChan, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2() argument
782 INT *sfbOffs = psyOutChan->sfbOffsets; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
789 INT sfbCnt = psyOutChan->sfbCnt; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
870 … deltaSpecPe = FDKaacEnc_calcSpecPeDiff(psyOutChan, qcOutChannel, scf, scfTmp, sfbConstPePart, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
947 … deltaSpecPe = FDKaacEnc_calcSpecPeDiff(psyOutChan, qcOutChannel, scf, scfTmp, sfbConstPePart, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()