Home | History | Annotate | Download | only in src

Lines Matching refs:psyOutChannel

153                           PSY_OUT_CHANNEL*  psyOutChannel[(2)],
160 for(sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup) {
161 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
162 thrExpLdData = psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb]>>2 ;
175 PSY_OUT_CHANNEL *psyOutChannel[(2)],
190 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) {
191 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
192 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp+sfb]>>6;
207 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) {
208 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
227 PSY_OUT_CHANNEL *psyOutChannel[(2)],
245 if (psyOutChannel[ch]->lastWindowSequence != SHORT_WINDOW) {
246 for (sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup)
247 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++)
251 for (sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup)
252 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++)
263 for(sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup){
264 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
271 if (sfb < psyOutChannel[ch]->maxSfbPerGroup-1)
283 if (psyOutChannel[ch]->lastWindowSequence==LONG_WINDOW)
308 PSY_OUT_CHANNEL* psyOutChanM = psyOutChannel[0];
355 PSY_OUT_CHANNEL *psyOutChan = psyOutChannel[ch];
376 * \param psyOutChannel Pointer to PSY_OUT_CHANNEL struct holding nChannels elements.
385 PSY_OUT_CHANNEL* psyOutChannel[(2)],
393 PSY_OUT_CHANNEL *psyOutChan = psyOutChannel[ch];
412 * \param psyOutChannel Pointer to PSY_OUT_CHANNEL struct holding nChannels elements.
423 PSY_OUT_CHANNEL* psyOutChannel[(2)],
434 if (psyOutChannel[ch]->lastWindowSequence == SHORT_WINDOW) {
446 PSY_OUT_CHANNEL *psyOutChan = psyOutChannel[ch];
531 void FDKaacEnc_calcPe(PSY_OUT_CHANNEL* psyOutChannel[(2)],
546 psyOutChannel[ch]->sfbCnt,
547 psyOutChannel[ch]->sfbPerGroup,
548 psyOutChannel[ch]->maxSfbPerGroup,
549 psyOutChannel[ch]->isBook,
550 psyOutChannel[ch]->isScale);
559 PSY_OUT_CHANNEL* psyOutChannel[(2)],
566 FDKaacEnc_preparePe(peData, psyOutChannel, qcOutChannel, nChannels, adjThrStateElement->peOffset);
569 FDKaacEnc_calcWeighting(peData, psyOutChannel, qcOutChannel, toolsInfo, adjThrStateElement, nChannels, 1);
579 for (sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) {
580 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
589 FDKaacEnc_calcPe(psyOutChannel, qcOutChannel, peData, nChannels);
603 PSY_OUT_CHANNEL* psyOutChannel[(2)],
613 for(sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup){
614 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
638 PSY_OUT_CHANNEL* psyOutChannel[(2)],
651 for(sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+= psyOutChannel[ch]->sfbPerGroup){
652 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
694 static FIXP_DBL FDKaacEnc_calcChaosMeasure(PSY_OUT_CHANNEL *psyOutChannel,
709 for (sfbGrp=0; sfbGrp<psyOutChannel->sfbCnt; sfbGrp+=psyOutChannel->sfbPerGroup) {
710 for (sfb=0; sfb<psyOutChannel->maxSfbPerGroup; sfb++){
711 if (psyOutChannel->sfbEnergyLdData[sfbGrp+sfb] > psyOutChannel->sfbThresholdLdData[sfbGrp+sfb]) {
713 frameNLines += (psyOutChannel->sfbOffsets[sfbGrp+sfb+1] - psyOutChannel->sfbOffsets[sfbGrp+sfb]);
714 frameEnergy += (psyOutChannel->sfbEnergy[sfbGrp+sfb]>>SCALE_NRGS);
741 PSY_OUT_CHANNEL* psyOutChannel[(2)],
771 psyOutChan = psyOutChannel[ch];
787 if (psyOutChannel[0]->lastWindowSequence == SHORT_WINDOW) {
790 chChaosMeasure[ch] = FDKaacEnc_calcChaosMeasure(psyOutChannel[ch], qcOutChannel[ch]->sfbFormFactorLdData);
818 if (psyOutChannel[0]->lastWindowSequence == SHORT_WINDOW){ /* short-blocks */
831 FDK_ASSERT(psyOutChannel[0]->groupLen[groupCnt]<=INV_INT_TAB_SIZE);
832 groupEnergy = fMult(groupEnergy,invInt[psyOutChannel[0]->groupLen[groupCnt]]); /* correction of group energy */
851 psyOutChan = psyOutChannel[ch];
863 if (psyOutChannel[ch]->lastWindowSequence == SHORT_WINDOW) {
975 psyOutChan = psyOutElement[elementId]->psyOutChannel[ch];
1037 psyOutChan = psyOutElement[elementId]->psyOutChannel[ch];
1127 maxSfbPerGroup[ch] = psyOutElement[elementId]->psyOutChannel[ch]->maxSfbPerGroup-1;
1128 sfbCnt[ch] = psyOutElement[elementId]->psyOutChannel[ch]->sfbCnt;
1129 sfbPerGroup[ch] = psyOutElement[elementId]->psyOutChannel[ch]->sfbPerGroup;
1233 PSY_OUT_CHANNEL* psyOutChannel[(2)] = {NULL};
1239 psyOutChannel[ch] = psyOutElement[elementId]->psyOutChannel[ch];
1241 for(sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+= psyOutChannel[ch]->sfbPerGroup) {
1242 for (sfb=psyOutChannel[ch]->maxSfbPerGroup; sfb<psyOutChannel[ch]->sfbPerGroup; sfb++) {
1249 if ( nChannels==2 && psyOutChannel[0]->lastWindowSequence==psyOutChannel[1]->lastWindowSequence ) {
1251 for (sfb=0; sfb<psyOutChannel[0]->maxSfbPerGroup; sfb++) {
1252 for(sfbGrp=0; sfbGrp < psyOutChannel[0]->sfbCnt; sfbGrp+=psyOutChannel[0]->sfbPerGroup) {
1295 if (psyOutChannel[ch]->lastWindowSequence != SHORT_WINDOW)
1312 for (; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
1321 sfbGrp += psyOutChannel[ch]->sfbPerGroup;
1324 } while (sfbGrp < psyOutChannel[ch]->sfbCnt);
1352 maxSfbPerGroup[ch] = psyOutElement[elementId]->psyOutChannel[ch]->maxSfbPerGroup-1;
1353 sfbCnt[ch] = psyOutElement[elementId]->psyOutChannel[ch]->sfbCnt;
1354 sfbPerGroup[ch] = psyOutElement[elementId]->psyOutChannel[ch]->sfbPerGroup;
1402 PSY_OUT_CHANNEL *psyOutChannel[(2)])
1407 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) {
1408 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) {
1475 FDKaacEnc_calcThreshExp(pThrExp[elementId], qcElement[elementId]->qcOutChannel, psyOutElement[elementId]->psyOutChannel, nChannels);
1479 FDKaacEnc_adaptMinSnr(qcElement[elementId]->qcOutChannel, psyOutElement[elementId]->psyOutChannel, &AdjThrStateElement[elementId]->minSnrAdaptParam, nChannels);
1482 FDKaacEnc_initAvoidHoleFlag(qcElement[elementId]->qcOutChannel, psyOutElement[elementId]->psyOutChannel, pAhFlag[elementId], &psyOutElement[elementId]->toolsInfo, nChannels, peData, &AdjThrStateElement[elementId]->ahParam);
1517 FDKaacEnc_reduceThresholdsCBR(qcElement[elementId]->qcOutChannel, psyOutElement[elementId]->psyOutChannel, pAhFlag[elementId], pThrExp[elementId], nChannels, redValue[elementId], redValScaling[elementId]);
1520 FDKaacEnc_calcPe(psyOutElement[elementId]->psyOutChannel, qcElement[elementId]->qcOutChannel, peData, nChannels);
1546 peData, pAhFlag[elementId], psyOutElement[elementId]->psyOutChannel, nChannels);
1608 FDKaacEnc_resetAHFlags(pAhFlag[elementId], cm->elInfo[elementId].nChannelsInEl, psyOutElement[elementId]->psyOutChannel);
1622 FDKaacEnc_reduceThresholdsCBR(qcElement[elementId]->qcOutChannel, psyOutElement[elementId]->psyOutChannel, pAhFlag[elementId], pThrExp[elementId], nChannels, redValue[elementId], redValScaling[elementId]);
1625 FDKaacEnc_calcPe(psyOutElement[elementId]->psyOutChannel, qcElement[elementId]->qcOutChannel, peData, nChannels);
1666 FDKaacEnc_calcPe(psyOutElement[elementId]->psyOutChannel, qcElement[elementId]->qcOutChannel, peData, nChannels);
1689 PSY_OUT_CHANNEL* psyOutChannel[(2)],
1699 FDKaacEnc_calcThreshExp(pThrExp, qcOutChannel, psyOutChannel, nChannels);
1703 FDKaacEnc_adaptMinSnr(qcOutChannel, psyOutChannel, &AdjThrStateElement->minSnrAdaptParam, nChannels);
1706 FDKaacEnc_initAvoidHoleFlag(qcOutChannel, psyOutChannel, pAhFlag, toolsInfo,
1710 FDKaacEnc_reduceThresholdsVBR(qcOutChannel, psyOutChannel, pAhFlag, pThrExp, nChannels,
2159 PSY_OUT_CHANNEL *psyOutChannel[(2)],
2177 if ((psyOutChannel[0]->lastWindowSequence == SHORT_WINDOW) ||
2178 (psyOutChannel[1]->lastWindowSequence == SHORT_WINDOW)) {
2183 curWindowSequence = psyOutChannel[0]->lastWindowSequence;
2284 psyOutElement[i]->psyOutChannel,
2300 for (sfbGrp = 0;sfbGrp < psyOutElement[i]->psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutElement[i]->psyOutChannel[ch]->sfbPerGroup) {
2301 for (sfb=0; sfb<psyOutElement[i]->psyOutChannel[ch]->maxSfbPerGroup; sfb++) {