Lines Matching refs:psyStatic
233 PSY_STATIC *psyStatic, in FDKaacEnc_psyInitStates() argument
236 FDKmemclear(psyStatic->psyInputBuffer, in FDKaacEnc_psyInitStates()
239 FDKaacEnc_InitBlockSwitching(&psyStatic->blockSwitchingControl, in FDKaacEnc_psyInitStates()
264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc]; in FDKaacEnc_psyInit()
267 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], in FDKaacEnc_psyInit()
270 mdct_init(&(hPsy->psyElement[i]->psyStatic[ch]->mdctPers), NULL, 0); in FDKaacEnc_psyInit()
271 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0; in FDKaacEnc_psyInit()
273 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1; in FDKaacEnc_psyInit()
369 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], in FDKaacEnc_psyMainInit()
374 hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1, in FDKaacEnc_psyMainInit()
375 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMainInit()
377 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMainInit()
426 PSY_STATIC **RESTRICT psyStatic = psyElement->psyStatic; in FDKaacEnc_psyMain() local
486 FDKaacEnc_BlockSwitching(&psyStatic[ch]->blockSwitchingControl, in FDKaacEnc_psyMain()
487 nTimeSamples, psyStatic[ch]->isLFE, pTimeSignal); in FDKaacEnc_psyMain()
490 FDKmemcpy(psyStatic[ch]->psyInputBuffer + blockSwitchingOffset, in FDKaacEnc_psyMain()
499 &psyStatic[0]->blockSwitchingControl, in FDKaacEnc_psyMain()
500 (channels > 1) ? &psyStatic[1]->blockSwitchingControl : NULL, channels, in FDKaacEnc_psyMain()
510 FDKmemcpy(psyStatic[ch]->psyInputBuffer + blockSwitchingOffset, in FDKaacEnc_psyMain()
518 (psyStatic[ch]->blockSwitchingControl.lastWindowSequence == in FDKaacEnc_psyMain()
554 if (psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
564 psyStatic[ch]->psyInputBuffer, psyData[ch]->mdctSpectrum, in FDKaacEnc_psyMain()
565 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
566 psyStatic[ch]->blockSwitchingControl.windowShape, in FDKaacEnc_psyMain()
567 &psyStatic[ch]->blockSwitchingControl.lastWindowShape, in FDKaacEnc_psyMain()
569 psyStatic[ch]->overlapAddBuffer) != 0) { in FDKaacEnc_psyMain()
574 psyStatic[ch]->psyInputBuffer, psyData[ch]->mdctSpectrum, in FDKaacEnc_psyMain()
575 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
576 psyStatic[ch]->blockSwitchingControl.windowShape, in FDKaacEnc_psyMain()
577 &psyStatic[ch]->blockSwitchingControl.lastWindowShape, in FDKaacEnc_psyMain()
578 &psyStatic[ch]->mdctPers, nTimeSamples, &mdctSpectrum_e, in FDKaacEnc_psyMain()
619 FDKmemmove(psyStatic[ch]->psyInputBuffer, in FDKaacEnc_psyMain()
620 psyStatic[ch]->psyInputBuffer + nTimeSamples, in FDKaacEnc_psyMain()
624 FDKmemcpy(psyStatic[ch]->psyInputBuffer + nTimeSamples, in FDKaacEnc_psyMain()
752 if ((channels >= 1) && (psyStatic[0]->isLFE)) { in FDKaacEnc_psyMain()
779 psyStatic[ch]->blockSwitchingControl.lastWindowSequence); in FDKaacEnc_psyMain()
788 psyStatic[1]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
789 psyStatic[0]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
853 w, psyStatic[ch]->blockSwitchingControl.lastWindowSequence); in FDKaacEnc_psyMain()
973 if (!psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
975 if (psyStatic[ch]->blockSwitchingControl.lastWindowSequence == in FDKaacEnc_psyMain()
980 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL; in FDKaacEnc_psyMain()
983 psyStatic[ch]->mdctScalenm1 = 0; in FDKaacEnc_psyMain()
984 psyStatic[ch]->calcPreEcho = 0; in FDKaacEnc_psyMain()
988 psyStatic[ch]->sfbThresholdnm1, psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMain()
992 &psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMain()
994 psyStatic[ch]->calcPreEcho = 1; in FDKaacEnc_psyMain()
996 if (psyStatic[ch]->blockSwitchingControl.lastWindowSequence == in FDKaacEnc_psyMain()
1001 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL; in FDKaacEnc_psyMain()
1004 psyStatic[ch]->mdctScalenm1 = 0; in FDKaacEnc_psyMain()
1005 psyStatic[ch]->calcPreEcho = 0; in FDKaacEnc_psyMain()
1033 (psyStatic[1]->blockSwitchingControl.lastWindowSequence != in FDKaacEnc_psyMain()
1043 int noSfb = psyStatic[ch]->blockSwitchingControl.noOfGroups * in FDKaacEnc_psyMain()
1054 psyStatic[ch]->blockSwitchingControl.noOfGroups, in FDKaacEnc_psyMain()
1055 psyStatic[ch]->blockSwitchingControl.groupLen, in FDKaacEnc_psyMain()
1142 if (!psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
1146 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
1167 if (psyStatic[0]->blockSwitchingControl.lastWindowSequence != in FDKaacEnc_psyMain()
1210 psyStatic[0]->blockSwitchingControl.noOfGroups * in FDKaacEnc_psyMain()
1222 psyStatic[0]->blockSwitchingControl.noOfGroups * in FDKaacEnc_psyMain()
1233 if (psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
1260 psyStatic[ch]->blockSwitchingControl.lastWindowSequence; in FDKaacEnc_psyMain()
1262 psyStatic[ch]->blockSwitchingControl.windowShape; in FDKaacEnc_psyMain()
1264 INT sfbCnt = psyStatic[ch]->blockSwitchingControl.noOfGroups * in FDKaacEnc_psyMain()
1274 for (grp = 0; grp < psyStatic[ch]->blockSwitchingControl.noOfGroups; in FDKaacEnc_psyMain()
1278 for (j = 1; j < psyStatic[ch]->blockSwitchingControl.groupLen[grp]; j++) { in FDKaacEnc_psyMain()
1286 psyStatic[ch]->blockSwitchingControl.groupLen, in FDKaacEnc_psyMain()