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()
381 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); in FDKaacEnc_psyMainInit()
384 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1, in FDKaacEnc_psyMainInit()
385 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMainInit()
388 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMainInit()
463 PSY_STATIC **RESTRICT psyStatic = psyElement->psyStatic; in FDKaacEnc_psyMain() local
520 FDKaacEnc_BlockSwitching (&psyStatic[ch]->blockSwitchingControl, in FDKaacEnc_psyMain()
522 psyStatic[ch]->isLFE, in FDKaacEnc_psyMain()
528 FDKmemcpy(psyStatic[ch]->psyInputBuffer+blockSwitchingOffset, in FDKaacEnc_psyMain()
536 err = FDKaacEnc_SyncBlockSwitching(&psyStatic[0]->blockSwitchingControl, in FDKaacEnc_psyMain()
537 &psyStatic[1]->blockSwitchingControl, in FDKaacEnc_psyMain()
550 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer + blockSwitchingOffset, in FDKaacEnc_psyMain()
558 isShortWindow[ch]=(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == SHORT_WINDOW); in FDKaacEnc_psyMain()
596 if (psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
609 FDKaacEnc_Transform_Real( psyStatic[ch]->psyInputBuffer + wOffset, in FDKaacEnc_psyMain()
611 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
612 psyStatic[ch]->blockSwitchingControl.windowShape, in FDKaacEnc_psyMain()
613 &psyStatic[ch]->blockSwitchingControl.lastWindowShape, in FDKaacEnc_psyMain()
617 ,psyStatic[ch]->overlapAddBuffer in FDKaacEnc_psyMain()
645 FDKmemmove(psyStatic[ch]->psyInputBuffer, in FDKaacEnc_psyMain()
646 psyStatic[ch]->psyInputBuffer+psyConf->granuleLength, in FDKaacEnc_psyMain()
651 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer+psyConf->granuleLength, in FDKaacEnc_psyMain()
765 if (psyStatic[0]->isLFE) { in FDKaacEnc_psyMain()
801 psyStatic[ch]->blockSwitchingControl.lastWindowSequence in FDKaacEnc_psyMain()
813 psyStatic[1]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
814 psyStatic[0]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
862 psyStatic[ch]->blockSwitchingControl.lastWindowSequence); in FDKaacEnc_psyMain()
978 if (!psyStatic[ch]->isLFE) in FDKaacEnc_psyMain()
981 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == STOP_WINDOW) { in FDKaacEnc_psyMain()
985 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL; in FDKaacEnc_psyMain()
988 psyStatic[ch]->mdctScalenm1 = 0; in FDKaacEnc_psyMain()
989 psyStatic[ch]->calcPreEcho = 0; in FDKaacEnc_psyMain()
992 FDKaacEnc_PreEchoControl( psyStatic[ch]->sfbThresholdnm1, in FDKaacEnc_psyMain()
993 psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMain()
999 &psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMain()
1001 psyStatic[ch]->calcPreEcho = 1; in FDKaacEnc_psyMain()
1003 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == START_WINDOW) in FDKaacEnc_psyMain()
1008 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL; in FDKaacEnc_psyMain()
1011 psyStatic[ch]->mdctScalenm1 = 0; in FDKaacEnc_psyMain()
1012 psyStatic[ch]->calcPreEcho = 0; in FDKaacEnc_psyMain()
1039 … (psyStatic[1]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW), in FDKaacEnc_psyMain()
1052 noSfb = psyStatic[ch]->blockSwitchingControl.noOfGroups * hPsyConfShort->sfbCnt; in FDKaacEnc_psyMain()
1066 psyStatic[ch]->blockSwitchingControl.noOfGroups, in FDKaacEnc_psyMain()
1067 psyStatic[ch]->blockSwitchingControl.groupLen, in FDKaacEnc_psyMain()
1139 if (!psyStatic[ch]->isLFE) in FDKaacEnc_psyMain()
1144 psyStatic[ch]->blockSwitchingControl.lastWindowSequence, in FDKaacEnc_psyMain()
1171 if(psyStatic[0]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW) in FDKaacEnc_psyMain()
1242 … psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt, in FDKaacEnc_psyMain()
1257 … psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt, in FDKaacEnc_psyMain()
1268 if (psyStatic[ch]->isLFE) { in FDKaacEnc_psyMain()
1298 … psyOutChannel[ch]->lastWindowSequence = psyStatic[ch]->blockSwitchingControl.lastWindowSequence; in FDKaacEnc_psyMain()
1299 psyOutChannel[ch]->windowShape = psyStatic[ch]->blockSwitchingControl.windowShape; in FDKaacEnc_psyMain()
1302 INT sfbCnt = psyStatic[ch]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt; in FDKaacEnc_psyMain()
1312 for (grp = 0; grp < psyStatic[ch]->blockSwitchingControl.noOfGroups; grp++) in FDKaacEnc_psyMain()
1315 for (j=1; j<psyStatic[ch]->blockSwitchingControl.groupLen[grp]; j++) { in FDKaacEnc_psyMain()
1322 …FDKmemcpy(psyOutChannel[ch]->groupLen,psyStatic[ch]->blockSwitchingControl.groupLen,MAX_NO_OF_GROU… in FDKaacEnc_psyMain()