Lines Matching refs:psyConf
335 ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WINDOW, hPsy->granuleLength, useIS, &(hPsy->psyConf[0]), filterBank);
347 &(hPsy->psyConf[0].tnsConf),
348 &hPsy->psyConf[0],
356 ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleLength, useIS, &hPsy->psyConf[1], filterBank);
368 &hPsy->psyConf[1].tnsConf,
369 &hPsy->psyConf[1],
388 hPsy->psyConf[0].sfbCnt,
389 hPsy->psyConf[0].sfbPcmQuantThreshold,
394 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[0].pnsConf,
398 hPsy->psyConf[0].sfbCnt,
399 hPsy->psyConf[0].sfbOffset,
401 (hPsy->psyConf[0].filterbank == FB_LC));
405 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[1].pnsConf,
409 hPsy->psyConf[1].sfbCnt,
410 hPsy->psyConf[1].sfbOffset,
412 (hPsy->psyConf[1].filterbank == FB_LC));
445 PSY_CONFIGURATION *psyConf,
460 PSY_CONFIGURATION *RESTRICT hPsyConfLong = &psyConf[0];
461 PSY_CONFIGURATION *RESTRICT hPsyConfShort = &psyConf[1];
492 blockSwitchingOffset = psyConf->granuleLength + (9*psyConf->granuleLength/(2*TRANS_FAC));
494 blockSwitchingOffset = psyConf->granuleLength;
518 psyConf->granuleLength,
523 psyConf->granuleLength,
532 (2*psyConf->granuleLength-blockSwitchingOffset)*sizeof(INT_PCM));
554 psyConf->granuleLength,
567 windowLength[ch] = psyConf->granuleLength/TRANS_FAC;
581 windowLength[ch] = psyConf->granuleLength;
616 psyConf->granuleLength,
648 psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
649 psyConf->granuleLength*sizeof(INT_PCM));
653 FDKaacEnc_deinterleaveInputBuffer( psyStatic[ch]->psyInputBuffer+psyConf->granuleLength,
654 &pInput[ (2*psyConf->granuleLength-blockSwitchingOffset)*totalChannels + chIdx[ch] ],
655 blockSwitchingOffset-psyConf->granuleLength,
1075 psyConf[1].granuleLength);
1149 FDKaacEnc_PnsDetect( &(psyConf[0].pnsConf),
1155 psyConf[win].sfbOffset,
1188 &(psyConf[0].pnsConf),
1206 psyConf[0].sfbCnt,
1207 psyConf[0].sfbCnt,
1209 psyConf[0].sfbOffset,
1210 psyConf[0].allowIS && commonWindow,
1228 &(psyConf[0].pnsConf),
1250 psyConf[1].sfbCnt,
1253 psyConf[0].allowIS && commonWindow,
1283 &(psyConf[ch].pnsConf),