Home | History | Annotate | Download | only in src

Lines Matching refs:hPsy

139     PSY_INTERNAL *hPsy;
142 hPsy = GetRam_aacEnc_PsyInternal();
143 *phpsy = hPsy;
144 if (hPsy == NULL) {
151 hPsy->psyElement[i] = GetRam_aacEnc_PsyElement(i);
152 if (hPsy->psyElement[i] == NULL) {
160 hPsy->pStaticChannels[i] = GetRam_aacEnc_PsyStatic(i);
161 if (hPsy->pStaticChannels[i]==NULL) {
166 hPsy->pStaticChannels[i]->psyInputBuffer = GetRam_aacEnc_PsyInputBuffer(i);
167 if (hPsy->pStaticChannels[i]->psyInputBuffer==NULL) {
174 hPsy->psyDynamic = GetRam_aacEnc_PsyDynamic(0, dynamic_RAM);
232 AAC_ENCODER_ERROR FDKaacEnc_psyInitStates(PSY_INTERNAL *hPsy,
247 AAC_ENCODER_ERROR FDKaacEnc_psyInit(PSY_INTERNAL *hPsy,
259 FDKaacEnc_psyInitStates(hPsy, hPsy->pStaticChannels[0], audioObjectType);
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;
304 AAC_ENCODER_ERROR FDKaacEnc_psyMainInit(PSY_INTERNAL *hPsy,
338 hPsy->granuleLength = granuleLength;
340 ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WINDOW, hPsy->granuleLength, useIS, &(hPsy->psyConf[0]), filterBank);
349 hPsy->granuleLength,
351 &(hPsy->psyConf[0].tnsConf),
352 &hPsy->psyConf[0],
360 ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleLength, useIS, &hPsy->psyConf[1], filterBank);
369 hPsy->granuleLength,
371 &hPsy->psyConf[1].tnsConf,
372 &hPsy->psyConf[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,
391 hPsy->psyConf[0].sfbCnt,
392 hPsy->psyConf[0].sfbPcmQuantThreshold,
393 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1);
397 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[0].pnsConf,
401 hPsy->psyConf[0].sfbCnt,
402 hPsy->psyConf[0].sfbOffset,
404 (hPsy->psyConf[0].filterbank == FB_LC));
408 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[1].pnsConf,
412 hPsy->psyConf[1].sfbCnt,
413 hPsy->psyConf[1].sfbOffset,
415 (hPsy->psyConf[1].filterbank == FB_LC));