Home | History | Annotate | Download | only in src

Lines Matching refs:psyStatic

233                                           PSY_STATIC* psyStatic,
237 FDKmemclear(psyStatic->psyInputBuffer, MAX_INPUT_BUFFER_SIZE*sizeof(INT_PCM));
239 FDKaacEnc_InitBlockSwitching(&psyStatic->blockSwitchingControl,
269 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc];
271 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType);
273 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0;
276 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[nMaxChannels-1];
277 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1;
386 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType);
389 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1,
390 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho,
393 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1);
468 PSY_STATIC **RESTRICT psyStatic = psyElement->psyStatic;
517 psyStatic[ch]->blockSwitchingControl.timeSignal = timeSignal;
520 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->blockSwitchingControl.timeSignal,
526 FDKaacEnc_BlockSwitching (&psyStatic[ch]->blockSwitchingControl,
528 ,psyStatic[ch]->isLFE
533 FDKmemcpy(psyStatic[ch]->psyInputBuffer+blockSwitchingOffset,
534 psyStatic[ch]->blockSwitchingControl.timeSignal,
541 err = FDKaacEnc_SyncBlockSwitching(&psyStatic[0]->blockSwitchingControl,
542 &psyStatic[1]->blockSwitchingControl,
555 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer + blockSwitchingOffset,
563 isShortWindow[ch]=(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == SHORT_WINDOW);
601 if (psyStatic[ch]->isLFE) {
614 FDKaacEnc_Transform_Real( psyStatic[ch]->psyInputBuffer + wOffset,
616 psyStatic[ch]->blockSwitchingControl.lastWindowSequence,
617 psyStatic[ch]->blockSwitchingControl.windowShape,
618 &psyStatic[ch]->blockSwitchingControl.lastWindowShape,
622 ,psyStatic[ch]->overlapAddBuffer
650 FDKmemmove(psyStatic[ch]->psyInputBuffer,
651 psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
656 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
770 if (psyStatic[0]->isLFE) {
806 psyStatic[ch]->blockSwitchingControl.lastWindowSequence
818 psyStatic[1]->blockSwitchingControl.lastWindowSequence,
819 psyStatic[0]->blockSwitchingControl.lastWindowSequence,
867 psyStatic[ch]->blockSwitchingControl.lastWindowSequence);
983 if (!psyStatic[ch]->isLFE)
986 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == STOP_WINDOW) {
990 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL;
993 psyStatic[ch]->mdctScalenm1 = 0;
994 psyStatic[ch]->calcPreEcho = 0;
997 FDKaacEnc_PreEchoControl( psyStatic[ch]->sfbThresholdnm1,
998 psyStatic[ch]->calcPreEcho,
1004 &psyStatic[ch]->mdctScalenm1);
1006 psyStatic[ch]->calcPreEcho = 1;
1008 if(psyStatic[ch]->blockSwitchingControl.lastWindowSequence == START_WINDOW)
1013 psyStatic[ch]->sfbThresholdnm1[i] = (FIXP_DBL)MAXVAL_DBL;
1016 psyStatic[ch]->mdctScalenm1 = 0;
1017 psyStatic[ch]->calcPreEcho = 0;
1044 (psyStatic[1]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW),
1057 noSfb = psyStatic[ch]->blockSwitchingControl.noOfGroups * hPsyConfShort->sfbCnt;
1071 psyStatic[ch]->blockSwitchingControl.noOfGroups,
1072 psyStatic[ch]->blockSwitchingControl.groupLen,
1144 if (!psyStatic[ch]->isLFE)
1149 psyStatic[ch]->blockSwitchingControl.lastWindowSequence,
1176 if(psyStatic[0]->blockSwitchingControl.lastWindowSequence != SHORT_WINDOW)
1247 psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt,
1262 psyStatic[0]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt,
1273 if (psyStatic[ch]->isLFE) {
1303 psyOutChannel[ch]->lastWindowSequence = psyStatic[ch]->blockSwitchingControl.lastWindowSequence;
1304 psyOutChannel[ch]->windowShape = psyStatic[ch]->blockSwitchingControl.windowShape;
1307 INT sfbCnt = psyStatic[ch]->blockSwitchingControl.noOfGroups*hPsyConfShort->sfbCnt;
1317 for (grp = 0; grp < psyStatic[ch]->blockSwitchingControl.noOfGroups; grp++)
1320 for (j=1; j<psyStatic[ch]->blockSwitchingControl.groupLen[grp]; j++) {
1327 FDKmemcpy(psyOutChannel[ch]->groupLen,psyStatic[ch]->blockSwitchingControl.groupLen,MAX_NO_OF_GROUPS*sizeof(INT));