Lines Matching refs:peData

719 static void FDKaacEnc_preparePe(PE_DATA *const peData,  in FDKaacEnc_preparePe()  argument
728 &peData->peChannelData[ch], psyOutChan->sfbEnergyLdData, in FDKaacEnc_preparePe()
733 peData->offset = peOffset; in FDKaacEnc_preparePe()
756 const PE_DATA *const peData, in FDKaacEnc_calcWeighting() argument
801 nLinesSum += peData->peChannelData[ch] in FDKaacEnc_calcWeighting()
887 PE_DATA *const peData, const INT nChannels) { in FDKaacEnc_calcPe() argument
890 peData->pe = peData->offset; in FDKaacEnc_calcPe()
891 peData->constPart = 0; in FDKaacEnc_calcPe()
892 peData->nActiveLines = 0; in FDKaacEnc_calcPe()
894 PE_CHANNEL_DATA *peChanData = &peData->peChannelData[ch]; in FDKaacEnc_calcPe()
902 peData->pe += peChanData->pe; in FDKaacEnc_calcPe()
903 peData->constPart += peChanData->constPart; in FDKaacEnc_calcPe()
904 peData->nActiveLines += peChanData->nActiveLines; in FDKaacEnc_calcPe()
908 void FDKaacEnc_peCalculation(PE_DATA *const peData, in FDKaacEnc_peCalculation() argument
915 FDKaacEnc_preparePe(peData, psyOutChannel, qcOutChannel, nChannels, in FDKaacEnc_peCalculation()
919 FDKaacEnc_calcWeighting(peData, psyOutChannel, qcOutChannel, toolsInfo, in FDKaacEnc_peCalculation()
943 FDKaacEnc_calcPe(psyOutChannel, qcOutChannel, peData, nChannels); in FDKaacEnc_peCalculation()
953 const PE_DATA *const peData, const UCHAR ahFlag[(2)][MAX_GROUPED_SFB], in FDKaacEnc_FDKaacEnc_calcPeNoAH() argument
957 INT pe_tmp = peData->offset; in FDKaacEnc_FDKaacEnc_calcPeNoAH()
961 const PE_CHANNEL_DATA *const peChanData = &peData->peChannelData[ch]; in FDKaacEnc_FDKaacEnc_calcPeNoAH()
1374 peChanData = &qcElement[elementId]->peData.peChannelData[ch]; in FDKaacEnc_correctThresh()
1453 peChanData = &qcElement[elementId]->peData.peChannelData[ch]; in FDKaacEnc_correctThresh()
1553 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_reduceMinSnr() local
1577 deltaPe -= peData->peChannelData[ch].sfbPe[sfb]; in FDKaacEnc_reduceMinSnr()
1580 peData->peChannelData[ch].sfbPe[sfb] = in FDKaacEnc_reduceMinSnr()
1581 (3 * peData->peChannelData[ch].sfbNLines[sfb]) in FDKaacEnc_reduceMinSnr()
1583 deltaPe += peData->peChannelData[ch].sfbPe[sfb]; in FDKaacEnc_reduceMinSnr()
1589 peData->pe += deltaPe; in FDKaacEnc_reduceMinSnr()
1590 peData->peChannelData[ch].pe += deltaPe; in FDKaacEnc_reduceMinSnr()
1633 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_allowMoreHoles() local
1648 peData->peChannelData[ch].sfbPe[sfbGrp + sfb] = 0; in FDKaacEnc_allowMoreHoles()
1673 actPe -= peData->peChannelData[1].sfbPe[sfbGrp + sfb] >> in FDKaacEnc_allowMoreHoles()
1684 actPe -= peData->peChannelData[0].sfbPe[sfbGrp + sfb] >> in FDKaacEnc_allowMoreHoles()
1819 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_allowMoreHoles() local
1836 actPe -= peData->peChannelData[ch].sfbPe[sfbGrp + sfb] >> in FDKaacEnc_allowMoreHoles()
1937 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_adaptThresholdsToPe() local
1959 constPartGlobal += peData->constPart; in FDKaacEnc_adaptThresholdsToPe()
1960 noRedPeGlobal += peData->pe; in FDKaacEnc_adaptThresholdsToPe()
1961 nActiveLinesGlobal += fixMax((INT)peData->nActiveLines, 1); in FDKaacEnc_adaptThresholdsToPe()
1993 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_adaptThresholdsToPe() local
2003 qcElement[elementId]->qcOutChannel, peData, nChannels); in FDKaacEnc_adaptThresholdsToPe()
2005 redPeGlobal += peData->pe; in FDKaacEnc_adaptThresholdsToPe()
2025 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_adaptThresholdsToPe() local
2029 &redPeNoAH, &constPartNoAH, &nActiveLinesNoAH, peData, in FDKaacEnc_adaptThresholdsToPe()
2094 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_adaptThresholdsToPe() local
2104 qcElement[elementId]->qcOutChannel, peData, nChannels); in FDKaacEnc_adaptThresholdsToPe()
2105 redPeGlobal += peData->pe; in FDKaacEnc_adaptThresholdsToPe()
2142 PE_DATA *peData = &qcElement[elementId]->peData; in FDKaacEnc_adaptThresholdsToPe() local
2146 qcElement[elementId]->qcOutChannel, peData, nChannels); in FDKaacEnc_adaptThresholdsToPe()
2147 redPeGlobal += peData->pe; in FDKaacEnc_adaptThresholdsToPe()
2733 PSY_OUT_CHANNEL *psyOutChannel[(2)], PE_DATA *peData, INT *grantedPe, in FDKaacEnc_DistributeBits() argument
2739 INT noRedPe = peData->pe; in FDKaacEnc_DistributeBits()
2831 if (qcElement[i]->grantedPeCorr < qcElement[i]->peData.pe) { in FDKaacEnc_AdjustThresholds()
2868 if (maxElementPe < qcElement[i]->peData.pe) { in FDKaacEnc_AdjustThresholds()