Home | History | Annotate | Download | only in src

Lines Matching refs:hPsy

134     PSY_INTERNAL *hPsy;
137 hPsy = GetRam_aacEnc_PsyInternal();
138 *phpsy = hPsy;
139 if (hPsy == NULL) {
146 hPsy->psyElement[i] = GetRam_aacEnc_PsyElement(i);
147 if (hPsy->psyElement[i] == NULL) {
155 hPsy->pStaticChannels[i] = GetRam_aacEnc_PsyStatic(i);
156 if (hPsy->pStaticChannels[i]==NULL) {
161 hPsy->pStaticChannels[i]->psyInputBuffer = GetRam_aacEnc_PsyInputBuffer(i);
162 if (hPsy->pStaticChannels[i]->psyInputBuffer==NULL) {
169 hPsy->psyDynamic = GetRam_aacEnc_PsyDynamic(0, dynamic_RAM);
227 AAC_ENCODER_ERROR FDKaacEnc_psyInitStates(PSY_INTERNAL *hPsy,
242 AAC_ENCODER_ERROR FDKaacEnc_psyInit(PSY_INTERNAL *hPsy,
254 FDKaacEnc_psyInitStates(hPsy, hPsy->pStaticChannels[0], audioObjectType);
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;
299 AAC_ENCODER_ERROR FDKaacEnc_psyMainInit(PSY_INTERNAL *hPsy,
333 hPsy->granuleLength = granuleLength;
335 ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WINDOW, hPsy->granuleLength, useIS, &(hPsy->psyConf[0]), filterBank);
344 hPsy->granuleLength,
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);
365 hPsy->granuleLength,
368 &hPsy->psyConf[1].tnsConf,
369 &hPsy->psyConf[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,
388 hPsy->psyConf[0].sfbCnt,
389 hPsy->psyConf[0].sfbPcmQuantThreshold,
390 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1);
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));