Lines Matching refs:psyStatic
228 PSY_STATIC* psyStatic, in FDKaacEnc_psyInitStates() argument
232 FDKmemclear(psyStatic->psyInputBuffer, MAX_INPUT_BUFFER_SIZE*sizeof(INT_PCM)); in FDKaacEnc_psyInitStates()
234 FDKaacEnc_InitBlockSwitching(&psyStatic->blockSwitchingControl, in FDKaacEnc_psyInitStates()
264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc]; in FDKaacEnc_psyInit()
266 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); in FDKaacEnc_psyInit()
268 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0; in FDKaacEnc_psyInit()
271 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[nMaxChannels-1]; in FDKaacEnc_psyInit()
272 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1; in FDKaacEnc_psyInit()
383 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); in FDKaacEnc_psyMainInit()
386 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1, in FDKaacEnc_psyMainInit()
387 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMainInit()
390 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMainInit()
465 PSY_STATIC **RESTRICT psyStatic = psyElement->psyStatic; in FDKaacEnc_psyMain() local
522 FDKaacEnc_BlockSwitching (&psyStatic[ch]->blockSwitchingControl, in FDKaacEnc_psyMain()
524 psyStatic[ch]->isLFE, in FDKaacEnc_psyMain()
530 FDKmemcpy(psyStatic[ch]->psyInputBuffer+blockSwitchingOffset, in FDKaacEnc_psyMain()
538 err = FDKaacEnc_SyncBlockSwitching(&psyStatic[0]->blockSwitchingControl, in FDKaacEnc_psyMain()
539 &psyStatic[1]->blockSwitchingControl, in FDKaacEnc_psyMain()
552 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer + blockSwitchingOffset, in FDKaacEnc_psyMain()
560 isShortWindow[ch]=(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == SHORT_WINDOW); in FDKaacEnc_psyMain()
598 if (psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
611 FDKaacEnc_Transform_Real( psyStatic[ch]->psyInputBuffer + wOffset, in FDKaacEnc_psyMain()
613 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
614 psyStatic[ch]->blockSwitchingControl.windowShape, in FDKaacEnc_psyMain()
615 &psyStatic[ch]->blockSwitchingControl.lastWindowShape, in FDKaacEnc_psyMain()
619 ,psyStatic[ch]->overlapAddBuffer in FDKaacEnc_psyMain()
647 FDKmemmove(psyStatic[ch]->psyInputBuffer, in FDKaacEnc_psyMain()
648 psyStatic[ch]->psyInputBuffer+psyConf->granuleLength, in FDKaacEnc_psyMain()
653 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer+psyConf->granuleLength, in FDKaacEnc_psyMain()
767 if (psyStatic[0]->isLFE) { in FDKaacEnc_psyMain()
804 psyStatic[ch]->blockSwitchingControl.lastWindowSequence in FDKaacEnc_psyMain()
816 psyStatic[1]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
817 psyStatic[0]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
869 psyStatic[ch]->blockSwitchingControl.lastWindowSequence); in FDKaacEnc_psyMain()
985 if (!psyStatic[ch]->isLFE) in FDKaacEnc_psyMain()
988 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == STOP_WINDOW) { in FDKaacEnc_psyMain()
992 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL; in FDKaacEnc_psyMain()
995 psyStatic[ch]->mdctScalenm1 = 0; in FDKaacEnc_psyMain()
996 psyStatic[ch]->calcPreEcho = 0; in FDKaacEnc_psyMain()
999 FDKaacEnc_PreEchoControl( psyStatic[ch]->sfbThresholdnm1, in FDKaacEnc_psyMain()
1000 psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMain()
1006 &psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMain()
1008 psyStatic[ch]->calcPreEcho = 1; in FDKaacEnc_psyMain()
1010 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == START_WINDOW) in FDKaacEnc_psyMain()
1015 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL; in FDKaacEnc_psyMain()
1018 psyStatic[ch]->mdctScalenm1 = 0; in FDKaacEnc_psyMain()
1019 psyStatic[ch]->calcPreEcho = 0; in FDKaacEnc_psyMain()
1046 … (psyStatic[1]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW), in FDKaacEnc_psyMain()
1059 noSfb = psyStatic[ch]->blockSwitchingControl.noOfGroups * hPsyConfShort->sfbCnt; in FDKaacEnc_psyMain()
1073 psyStatic[ch]->blockSwitchingControl.noOfGroups, in FDKaacEnc_psyMain()
1074 psyStatic[ch]->blockSwitchingControl.groupLen, in FDKaacEnc_psyMain()
1146 if (!psyStatic[ch]->isLFE) in FDKaacEnc_psyMain()
1151 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
1178 if(psyStatic[0]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW) in FDKaacEnc_psyMain()
1249 … psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt, in FDKaacEnc_psyMain()
1264 … psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt, in FDKaacEnc_psyMain()
1275 if (psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
1305 … psyOutChannel[ch]->lastWindowSequence = psyStatic[ch]->blockSwitchingControl.lastWindowSequence; in FDKaacEnc_psyMain()
1306 psyOutChannel[ch]->windowShape = psyStatic[ch]->blockSwitchingControl.windowShape; in FDKaacEnc_psyMain()
1309 INT sfbCnt = psyStatic[ch]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt; in FDKaacEnc_psyMain()
1319 for (grp = 0; grp < psyStatic[ch]->blockSwitchingControl.noOfGroups; grp++) in FDKaacEnc_psyMain()
1322 for (j=1; j<psyStatic[ch]->blockSwitchingControl.groupLen[grp]; j++) { in FDKaacEnc_psyMain()
1329 …FDKmemcpy(psyOutChannel[ch]->groupLen,psyStatic[ch]->blockSwitchingControl.groupLen,MAX_NO_OF_GROU… in FDKaacEnc_psyMain()