Lines Matching refs:psyStatic
228 PSY_STATIC* psyStatic,
232 FDKmemclear(psyStatic->psyInputBuffer, MAX_INPUT_BUFFER_SIZE*sizeof(INT_PCM));
234 FDKaacEnc_InitBlockSwitching(&psyStatic->blockSwitchingControl,
264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc];
266 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType);
268 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0;
271 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[nMaxChannels-1];
272 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1;
381 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType);
384 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1,
385 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho,
388 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1);
463 PSY_STATIC **RESTRICT psyStatic = psyElement->psyStatic;
520 FDKaacEnc_BlockSwitching (&psyStatic[ch]->blockSwitchingControl,
522 psyStatic[ch]->isLFE,
528 FDKmemcpy(psyStatic[ch]->psyInputBuffer+blockSwitchingOffset,
536 err = FDKaacEnc_SyncBlockSwitching(&psyStatic[0]->blockSwitchingControl,
537 &psyStatic[1]->blockSwitchingControl,
550 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer + blockSwitchingOffset,
558 isShortWindow[ch]=(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == SHORT_WINDOW);
596 if (psyStatic[ch]->isLFE) {
609 FDKaacEnc_Transform_Real( psyStatic[ch]->psyInputBuffer + wOffset,
611 psyStatic[ch]->blockSwitchingControl.lastWindowSequence,
612 psyStatic[ch]->blockSwitchingControl.windowShape,
613 &psyStatic[ch]->blockSwitchingControl.lastWindowShape,
617 ,psyStatic[ch]->overlapAddBuffer
645 FDKmemmove(psyStatic[ch]->psyInputBuffer,
646 psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
651 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
765 if (psyStatic[0]->isLFE) {
801 psyStatic[ch]->blockSwitchingControl.lastWindowSequence
813 psyStatic[1]->blockSwitchingControl.lastWindowSequence,
814 psyStatic[0]->blockSwitchingControl.lastWindowSequence,
862 psyStatic[ch]->blockSwitchingControl.lastWindowSequence);
978 if (!psyStatic[ch]->isLFE)
981 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == STOP_WINDOW) {
985 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL;
988 psyStatic[ch]->mdctScalenm1 = 0;
989 psyStatic[ch]->calcPreEcho = 0;
992 FDKaacEnc_PreEchoControl( psyStatic[ch]->sfbThresholdnm1,
993 psyStatic[ch]->calcPreEcho,
999 &psyStatic[ch]->mdctScalenm1);
1001 psyStatic[ch]->calcPreEcho = 1;
1003 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == START_WINDOW)
1008 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL;
1011 psyStatic[ch]->mdctScalenm1 = 0;
1012 psyStatic[ch]->calcPreEcho = 0;
1039 (psyStatic[1]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW),
1052 noSfb = psyStatic[ch]->blockSwitchingControl.noOfGroups * hPsyConfShort->sfbCnt;
1066 psyStatic[ch]->blockSwitchingControl.noOfGroups,
1067 psyStatic[ch]->blockSwitchingControl.groupLen,
1139 if (!psyStatic[ch]->isLFE)
1144 psyStatic[ch]->blockSwitchingControl.lastWindowSequence,
1171 if(psyStatic[0]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW)
1242 psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt,
1257 psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt,
1268 if (psyStatic[ch]->isLFE) {
1298 psyOutChannel[ch]->lastWindowSequence = psyStatic[ch]->blockSwitchingControl.lastWindowSequence;
1299 psyOutChannel[ch]->windowShape = psyStatic[ch]->blockSwitchingControl.windowShape;
1302 INT sfbCnt = psyStatic[ch]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt;
1312 for (grp = 0; grp < psyStatic[ch]->blockSwitchingControl.noOfGroups; grp++)
1315 for (j=1; j<psyStatic[ch]->blockSwitchingControl.groupLen[grp]; j++) {
1322 FDKmemcpy(psyOutChannel[ch]->groupLen,psyStatic[ch]->blockSwitchingControl.groupLen,MAX_NO_OF_GROUPS*sizeof(INT));