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,
346 &(hPsy->psyConf[0].tnsConf),
347 &hPsy->psyConf[0],
355 ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WINDOW, hPsy->granuleLength, useIS, &hPsy->psyConf[1], filterBank);
364 hPsy->granuleLength,
366 &hPsy->psyConf[1].tnsConf,
367 &hPsy->psyConf[1],
381 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType);
384 FDKaacEnc_InitPreEchoControl(hPsy->psyElement[i]->psyStatic[ch]->sfbThresholdnm1,
385 &hPsy->psyElement[i]->psyStatic[ch]->calcPreEcho,
386 hPsy->psyConf[0].sfbCnt,
387 hPsy->psyConf[0].sfbPcmQuantThreshold,
388 &hPsy->psyElement[i]->psyStatic[ch]->mdctScalenm1);
392 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[0].pnsConf,
396 hPsy->psyConf[0].sfbCnt,
397 hPsy->psyConf[0].sfbOffset,
399 (hPsy->psyConf[0].filterbank == FB_LC));
403 ErrorStatus = FDKaacEnc_InitPnsConfiguration(&hPsy->psyConf[1].pnsConf,
407 hPsy->psyConf[1].sfbCnt,
408 hPsy->psyConf[1].sfbOffset,
410 (hPsy->psyConf[1].filterbank == FB_LC));