Home | History | Annotate | Download | only in src

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;
383 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType);
386 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1,
387 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho,
390 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1);
465 PSY_STATIC **RESTRICT psyStatic = psyElement->psyStatic;
522 FDKaacEnc_BlockSwitching (&psyStatic[ch]->blockSwitchingControl,
524 psyStatic[ch]->isLFE,
530 FDKmemcpy(psyStatic[ch]->psyInputBuffer+blockSwitchingOffset,
538 err = FDKaacEnc_SyncBlockSwitching(&psyStatic[0]->blockSwitchingControl,
539 &psyStatic[1]->blockSwitchingControl,
552 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer + blockSwitchingOffset,
560 isShortWindow[ch]=(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == SHORT_WINDOW);
598 if (psyStatic[ch]->isLFE) {
611 FDKaacEnc_Transform_Real( psyStatic[ch]->psyInputBuffer + wOffset,
613 psyStatic[ch]->blockSwitchingControl.lastWindowSequence,
614 psyStatic[ch]->blockSwitchingControl.windowShape,
615 &psyStatic[ch]->blockSwitchingControl.lastWindowShape,
619 ,psyStatic[ch]->overlapAddBuffer
647 FDKmemmove(psyStatic[ch]->psyInputBuffer,
648 psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
653 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
767 if (psyStatic[0]->isLFE) {
804 psyStatic[ch]->blockSwitchingControl.lastWindowSequence
816 psyStatic[1]->blockSwitchingControl.lastWindowSequence,
817 psyStatic[0]->blockSwitchingControl.lastWindowSequence,
869 psyStatic[ch]->blockSwitchingControl.lastWindowSequence);
985 if (!psyStatic[ch]->isLFE)
988 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == STOP_WINDOW) {
992 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL;
995 psyStatic[ch]->mdctScalenm1 = 0;
996 psyStatic[ch]->calcPreEcho = 0;
999 FDKaacEnc_PreEchoControl( psyStatic[ch]->sfbThresholdnm1,
1000 psyStatic[ch]->calcPreEcho,
1006 &psyStatic[ch]->mdctScalenm1);
1008 psyStatic[ch]->calcPreEcho = 1;
1010 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == START_WINDOW)
1015 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL;
1018 psyStatic[ch]->mdctScalenm1 = 0;
1019 psyStatic[ch]->calcPreEcho = 0;
1046 (psyStatic[1]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW),
1059 noSfb = psyStatic[ch]->blockSwitchingControl.noOfGroups * hPsyConfShort->sfbCnt;
1073 psyStatic[ch]->blockSwitchingControl.noOfGroups,
1074 psyStatic[ch]->blockSwitchingControl.groupLen,
1146 if (!psyStatic[ch]->isLFE)
1151 psyStatic[ch]->blockSwitchingControl.lastWindowSequence,
1178 if(psyStatic[0]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW)
1249 psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt,
1264 psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt,
1275 if (psyStatic[ch]->isLFE) {
1305 psyOutChannel[ch]->lastWindowSequence = psyStatic[ch]->blockSwitchingControl.lastWindowSequence;
1306 psyOutChannel[ch]->windowShape = psyStatic[ch]->blockSwitchingControl.windowShape;
1309 INT sfbCnt = psyStatic[ch]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt;
1319 for (grp = 0; grp < psyStatic[ch]->blockSwitchingControl.noOfGroups; grp++)
1322 for (j=1; j<psyStatic[ch]->blockSwitchingControl.groupLen[grp]; j++) {
1329 FDKmemcpy(psyOutChannel[ch]->groupLen,psyStatic[ch]->blockSwitchingControl.groupLen,MAX_NO_OF_GROUPS*sizeof(INT));