Lines Matching refs:qcOutChan
473 QC_OUT_CHANNEL* qcOutChan = qcOutChannel[ch]; in FDKaacEnc_initAvoidHoleFlag() local
478 qcOutChan->sfbSpreadEnergy[sfbGrp+sfb] >>= 1 ; in FDKaacEnc_initAvoidHoleFlag()
483 qcOutChan->sfbSpreadEnergy[sfbGrp+sfb] = in FDKaacEnc_initAvoidHoleFlag()
485 qcOutChan->sfbSpreadEnergy[sfbGrp+sfb]) ; in FDKaacEnc_initAvoidHoleFlag()
492 QC_OUT_CHANNEL* qcOutChan = qcOutChannel[ch]; in FDKaacEnc_initAvoidHoleFlag() local
497 sfbEnm1 = qcOutChan->sfbEnergy[sfbGrp+sfb-1]; in FDKaacEnc_initAvoidHoleFlag()
499 sfbEnm1 = qcOutChan->sfbEnergy[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
502 sfbEnp1 = qcOutChan->sfbEnergy[sfbGrp+sfb+1]; in FDKaacEnc_initAvoidHoleFlag()
504 sfbEnp1 = qcOutChan->sfbEnergy[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
508 sfbEn = qcOutChan->sfbEnergy[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
509 sfbEnLdData = qcOutChan->sfbEnergyLdData[sfbGrp+sfb]; in FDKaacEnc_initAvoidHoleFlag()
518 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = in FDKaacEnc_initAvoidHoleFlag()
519 fixMin(qcOutChan->sfbMinSnrLdData[sfbGrp+sfb], tmpMinSnrLdData); in FDKaacEnc_initAvoidHoleFlag()
523 …_DBL tmpMinSnrLdData = avgEnLdData - sfbEnLdData -(FIXP_DBL)SnrLdMin4 + qcOutChan->sfbMinSnrLdData… in FDKaacEnc_initAvoidHoleFlag()
525 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = fixMin(tmpMinSnrLdData, in FDKaacEnc_initAvoidHoleFlag()
526 (FIXP_DBL)(qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + SnrLdMin2 )); in FDKaacEnc_initAvoidHoleFlag()
584 QC_OUT_CHANNEL *qcOutChan = qcOutChannel[ch]; in FDKaacEnc_initAvoidHoleFlag() local
588 if ((qcOutChan->sfbSpreadEnergy[sfbGrp+sfb] > qcOutChan->sfbEnergy[sfbGrp+sfb]) in FDKaacEnc_initAvoidHoleFlag()
589 || (qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] > FL2FXCONST_DBL(0.0f))) { in FDKaacEnc_initAvoidHoleFlag()
884 QC_OUT_CHANNEL *qcOutChan = qcOutChannel[ch]; in FDKaacEnc_reduceThresholdsCBR() local
887 sfbEnLdData = qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb]; in FDKaacEnc_reduceThresholdsCBR()
888 sfbThrLdData = qcOutChan->sfbThresholdLdData[sfbGrp+sfb]; in FDKaacEnc_reduceThresholdsCBR()
905 if ( ((sfbThrReducedLdData - sfbEnLdData) > qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] ) in FDKaacEnc_reduceThresholdsCBR()
908 if (qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] > (FL2FXCONST_DBL(-1.0f) - sfbEnLdData) ){ in FDKaacEnc_reduceThresholdsCBR()
909 …sfbThrReducedLdData = fixMax((qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + sfbEnLdData), sfbThrLdData); in FDKaacEnc_reduceThresholdsCBR()
920 qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = sfbThrReducedLdData; in FDKaacEnc_reduceThresholdsCBR()
991 QC_OUT_CHANNEL *qcOutChan = NULL; in FDKaacEnc_reduceThresholdsVBR() local
1003 qcOutChan = qcOutChannel[ch]; in FDKaacEnc_reduceThresholdsVBR()
1083 qcOutChan = qcOutChannel[ch]; in FDKaacEnc_reduceThresholdsVBR()
1089 sfbEnLdData = (qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb]); in FDKaacEnc_reduceThresholdsVBR()
1090 sfbThrLdData = (qcOutChan->sfbThresholdLdData[sfbGrp+sfb]); in FDKaacEnc_reduceThresholdsVBR()
1132 if ( ((sfbThrReducedLdData - sfbEnLdData) > qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] ) in FDKaacEnc_reduceThresholdsVBR()
1135 if (qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] > (FL2FXCONST_DBL(-1.0f) - sfbEnLdData) ){ in FDKaacEnc_reduceThresholdsVBR()
1136 …sfbThrReducedLdData = fixMax((qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + sfbEnLdData), sfbThrLdData); in FDKaacEnc_reduceThresholdsVBR()
1152 qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = sfbThrReducedLdData; in FDKaacEnc_reduceThresholdsVBR()
1177 QC_OUT_CHANNEL *qcOutChan; in FDKaacEnc_correctThresh() local
1206 qcOutChan = qcElement[elementId]->qcOutChannel[ch]; in FDKaacEnc_correctThresh()
1268 qcOutChan = qcElement[elementId]->qcOutChannel[ch]; in FDKaacEnc_correctThresh()
1293 sfbThrLdData = qcOutChan->sfbThresholdLdData[sfbGrp+sfb]; in FDKaacEnc_correctThresh()
1294 sfbEnLdData = qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb]; in FDKaacEnc_correctThresh()
1309 … if ( (sfbThrReducedLdData - sfbEnLdData > qcOutChan->sfbMinSnrLdData[sfbGrp+sfb]) && in FDKaacEnc_correctThresh()
1313 if ( sfbEnLdData > (sfbThrLdData-qcOutChan->sfbMinSnrLdData[sfbGrp+sfb]) ) { in FDKaacEnc_correctThresh()
1314 sfbThrReducedLdData = qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] + sfbEnLdData; in FDKaacEnc_correctThresh()
1322 qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = sfbThrReducedLdData; in FDKaacEnc_correctThresh()
1371 QC_OUT_CHANNEL *qcOutChan = qcElement[elementId]->qcOutChannel[ch]; in FDKaacEnc_reduceMinSnr() local
1382 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] < SnrLdFac) in FDKaacEnc_reduceMinSnr()
1385 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = SnrLdFac; in FDKaacEnc_reduceMinSnr()
1388 …if ( qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb] >= qcOutChan->sfbThresholdLdData[sfbGrp+sfb] -… in FDKaacEnc_reduceMinSnr()
1390 …qcOutChan->sfbThresholdLdData[sfbGrp+sfb] = qcOutChan->sfbWeightedEnergyLdData[sfbGrp+sfb] + qcOut… in FDKaacEnc_reduceMinSnr()