Lines Matching refs:qcOutChan
447 QC_OUT_CHANNEL* qcOutChan = qcOutChannel[ch]; in FDKaacEnc_initAvoidHoleFlag() local
452 qcOutChan->sfbSpreadEnergy[sfbGrp+sfb] >>= 1 ; in FDKaacEnc_initAvoidHoleFlag()
457 qcOutChan->sfbSpreadEnergy[sfbGrp+sfb] = in FDKaacEnc_initAvoidHoleFlag()
459 qcOutChan->sfbSpreadEnergy[sfbGrp+sfb]) ; in FDKaacEnc_initAvoidHoleFlag()
466 QC_OUT_CHANNEL* qcOutChan = qcOutChannel[ch]; in FDKaacEnc_initAvoidHoleFlag() local
471 sfbEnm1 = qcOutChan->sfbEnergy[sfbGrp+sfb-1]; in FDKaacEnc_initAvoidHoleFlag()
473 sfbEnm1 = qcOutChan->sfbEnergy[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
476 sfbEnp1 = qcOutChan->sfbEnergy[sfbGrp+sfb+1]; in FDKaacEnc_initAvoidHoleFlag()
478 sfbEnp1 = qcOutChan->sfbEnergy[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
482 sfbEn = qcOutChan->sfbEnergy[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
483 sfbEnLdData = qcOutChan->sfbEnergyLdData[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
492 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = in FDKaacEnc_initAvoidHoleFlag()
493 fixMin(qcOutChan->sfbMinSnrLdData[sfbGrp+sfb], tmpMinSnrLdData); in FDKaacEnc_initAvoidHoleFlag()
497 …_DBL tmpMinSnrLdData = avgEnLdData - sfbEnLdData -(FIXP_DBL)SnrLdMin4 + qcOutChan->sfbMinSnrLdData… in FDKaacEnc_initAvoidHoleFlag()
499 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = fixMin(tmpMinSnrLdData, in FDKaacEnc_initAvoidHoleFlag()
500 (FIXP_DBL)(qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + SnrLdMin2 )); in FDKaacEnc_initAvoidHoleFlag()
558 QC_OUT_CHANNEL *qcOutChan = qcOutChannel[ch]; in FDKaacEnc_initAvoidHoleFlag() local
562 if ((qcOutChan->sfbSpreadEnergy[sfbGrp+sfb] > qcOutChan->sfbEnergy[sfbGrp+sfb]) in FDKaacEnc_initAvoidHoleFlag()
563 || (qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] > FL2FXCONST_DBL(0.0f))) { in FDKaacEnc_initAvoidHoleFlag()
858 QC_OUT_CHANNEL *qcOutChan = qcOutChannel[ch]; in FDKaacEnc_reduceThresholdsCBR() local
861 sfbEnLdData = qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb]; in FDKaacEnc_reduceThresholdsCBR()
862 sfbThrLdData = qcOutChan->sfbThresholdLdData[sfbGrp+sfb]; in FDKaacEnc_reduceThresholdsCBR()
879 if ( ((sfbThrReducedLdData - sfbEnLdData) > qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] ) in FDKaacEnc_reduceThresholdsCBR()
882 if (qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] > (FL2FXCONST_DBL(-1.0f) - sfbEnLdData) ){ in FDKaacEnc_reduceThresholdsCBR()
883 …sfbThrReducedLdData = fixMax((qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + sfbEnLdData), sfbThrLdData); in FDKaacEnc_reduceThresholdsCBR()
894 qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = sfbThrReducedLdData; in FDKaacEnc_reduceThresholdsCBR()
965 QC_OUT_CHANNEL *qcOutChan = NULL; in FDKaacEnc_reduceThresholdsVBR() local
977 qcOutChan = qcOutChannel[ch]; in FDKaacEnc_reduceThresholdsVBR()
1057 qcOutChan = qcOutChannel[ch]; in FDKaacEnc_reduceThresholdsVBR()
1063 sfbEnLdData = (qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb]); in FDKaacEnc_reduceThresholdsVBR()
1064 sfbThrLdData = (qcOutChan->sfbThresholdLdData[sfbGrp+sfb]); in FDKaacEnc_reduceThresholdsVBR()
1106 if ( ((sfbThrReducedLdData - sfbEnLdData) > qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] ) in FDKaacEnc_reduceThresholdsVBR()
1109 if (qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] > (FL2FXCONST_DBL(-1.0f) - sfbEnLdData) ){ in FDKaacEnc_reduceThresholdsVBR()
1110 …sfbThrReducedLdData = fixMax((qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + sfbEnLdData), sfbThrLdData); in FDKaacEnc_reduceThresholdsVBR()
1126 qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = sfbThrReducedLdData; in FDKaacEnc_reduceThresholdsVBR()
1151 QC_OUT_CHANNEL *qcOutChan; in FDKaacEnc_correctThresh() local
1180 qcOutChan = qcElement[elementId]->qcOutChannel[ch]; in FDKaacEnc_correctThresh()
1242 qcOutChan = qcElement[elementId]->qcOutChannel[ch]; in FDKaacEnc_correctThresh()
1267 sfbThrLdData = qcOutChan->sfbThresholdLdData[sfbGrp+sfb]; in FDKaacEnc_correctThresh()
1268 sfbEnLdData = qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb]; in FDKaacEnc_correctThresh()
1283 … if ( (sfbThrReducedLdData - sfbEnLdData > qcOutChan->sfbMinSnrLdData[sfbGrp+sfb]) && in FDKaacEnc_correctThresh()
1287 if ( sfbEnLdData > (sfbThrLdData-qcOutChan->sfbMinSnrLdData[sfbGrp+sfb]) ) { in FDKaacEnc_correctThresh()
1288 sfbThrReducedLdData = qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + sfbEnLdData; in FDKaacEnc_correctThresh()
1296 qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = sfbThrReducedLdData; in FDKaacEnc_correctThresh()
1345 QC_OUT_CHANNEL *qcOutChan = qcElement[elementId]->qcOutChannel[ch]; in FDKaacEnc_reduceMinSnr() local
1356 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] < SnrLdFac) in FDKaacEnc_reduceMinSnr()
1359 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = SnrLdFac; in FDKaacEnc_reduceMinSnr()
1362 …if ( qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb] >= qcOutChan->sfbThresholdLdData[sfbGrp+sfb] -… in FDKaacEnc_reduceMinSnr()
1364 …qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb] + qcOut… in FDKaacEnc_reduceMinSnr()