Lines Matching refs:hPsy
134 PSY_INTERNAL *hPsy; in FDKaacEnc_PsyNew() local
137 hPsy = GetRam_aacEnc_PsyInternal(); in FDKaacEnc_PsyNew()
138 *phpsy = hPsy; in FDKaacEnc_PsyNew()
139 if (hPsy == NULL) { in FDKaacEnc_PsyNew()
146 hPsy->psyElement[i] = GetRam_aacEnc_PsyElement(i); in FDKaacEnc_PsyNew()
147 if (hPsy->psyElement[i] == NULL) { in FDKaacEnc_PsyNew()
155 hPsy->pStaticChannels[i] = GetRam_aacEnc_PsyStatic(i); in FDKaacEnc_PsyNew()
156 if (hPsy->pStaticChannels[i]==NULL) { in FDKaacEnc_PsyNew()
161 hPsy->pStaticChannels[i]->psyInputBuffer = GetRam_aacEnc_PsyInputBuffer(i); in FDKaacEnc_PsyNew()
162 if (hPsy->pStaticChannels[i]->psyInputBuffer==NULL) { in FDKaacEnc_PsyNew()
169 hPsy->psyDynamic = GetRam_aacEnc_PsyDynamic(0, dynamic_RAM); in FDKaacEnc_PsyNew()
227 AAC_ENCODER_ERROR FDKaacEnc_psyInitStates(PSY_INTERNAL *hPsy, in FDKaacEnc_psyInitStates() argument
242 AAC_ENCODER_ERROR FDKaacEnc_psyInit(PSY_INTERNAL *hPsy, in FDKaacEnc_psyInit() argument
254 FDKaacEnc_psyInitStates(hPsy, hPsy->pStaticChannels[0], audioObjectType); in FDKaacEnc_psyInit()
264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc]; in FDKaacEnc_psyInit()
266 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); in FDKaacEnc_psyInit()
268 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0; in FDKaacEnc_psyInit()
271 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[nMaxChannels-1]; in FDKaacEnc_psyInit()
272 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1; in FDKaacEnc_psyInit()
299 AAC_ENCODER_ERROR FDKaacEnc_psyMainInit(PSY_INTERNAL *hPsy, in FDKaacEnc_psyMainInit() argument
333 hPsy->granuleLength = granuleLength; in FDKaacEnc_psyMainInit()
335 …n(bitRate/channelsEff, sampleRate, bandwidth, LONG_WINDOW, hPsy->granuleLength, useIS, &(hPsy->psy… in FDKaacEnc_psyMainInit()
344 hPsy->granuleLength, in FDKaacEnc_psyMainInit()
347 &(hPsy->psyConf[0].tnsConf), in FDKaacEnc_psyMainInit()
348 &hPsy->psyConf[0], in FDKaacEnc_psyMainInit()
356 …n(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleLength, useIS, &hPsy->psy… in FDKaacEnc_psyMainInit()
365 hPsy->granuleLength, in FDKaacEnc_psyMainInit()
368 &hPsy->psyConf[1].tnsConf, in FDKaacEnc_psyMainInit()
369 &hPsy->psyConf[1], in FDKaacEnc_psyMainInit()
383 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); in FDKaacEnc_psyMainInit()
386 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1, in FDKaacEnc_psyMainInit()
387 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho, in FDKaacEnc_psyMainInit()
388 hPsy->psyConf[0].sfbCnt, in FDKaacEnc_psyMainInit()
389 hPsy->psyConf[0].sfbPcmQuantThreshold, in FDKaacEnc_psyMainInit()
390 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1); in FDKaacEnc_psyMainInit()
394 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[0].pnsConf, in FDKaacEnc_psyMainInit()
398 hPsy->psyConf[0].sfbCnt, in FDKaacEnc_psyMainInit()
399 hPsy->psyConf[0].sfbOffset, in FDKaacEnc_psyMainInit()
401 (hPsy->psyConf[0].filterbank == FB_LC)); in FDKaacEnc_psyMainInit()
405 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[1].pnsConf, in FDKaacEnc_psyMainInit()
409 hPsy->psyConf[1].sfbCnt, in FDKaacEnc_psyMainInit()
410 hPsy->psyConf[1].sfbOffset, in FDKaacEnc_psyMainInit()
412 (hPsy->psyConf[1].filterbank == FB_LC)); in FDKaacEnc_psyMainInit()