Lines Matching refs:hSbrDec
261 HANDLE_SBR_DEC hSbrDec, /*!< handle to Decoder channel */ in sbr_dec() argument
285 int ov_len = hSbrDec->LppTrans.pSettings->overlap; in sbr_dec()
300 pLowBandReal[i] = hSbrDec->qmfDomainInCh->hQmfSlotsReal[i]; in sbr_dec()
301 pLowBandImag[i] = hSbrDec->qmfDomainInCh->hQmfSlotsImag[i]; in sbr_dec()
308 pLowBandReal[i + noCols + ov_len] = hSbrDec->hQmfHBESlotsReal[i]; in sbr_dec()
309 pLowBandImag[i + noCols + ov_len] = hSbrDec->hQmfHBESlotsImag[i]; in sbr_dec()
313 hSbrDec->scale_ov = hSbrDec->scale_lb; in sbr_dec()
314 hSbrDec->scale_lb = hSbrDec->scale_hbe; in sbr_dec()
321 FDK_QmfDomain_QmfData2HBE(hSbrDec->qmfDomainInCh, in sbr_dec()
322 hSbrDec->hQmfHBESlotsReal, in sbr_dec()
323 hSbrDec->hQmfHBESlotsImag); in sbr_dec()
327 FDKmemcpy(pLowBandReal[ov_len + i], hSbrDec->hQmfHBESlotsReal[i], in sbr_dec()
329 FDKmemcpy(pLowBandImag[ov_len + i], hSbrDec->hQmfHBESlotsImag[i], in sbr_dec()
341 FDK_QmfDomain_WorkBuffer2ProcChannel(hSbrDec->qmfDomainInCh); in sbr_dec()
344 qmfAnalysisFiltering(&hSbrDec->qmfDomainInCh->fb, pReal, pImag, in sbr_dec()
345 &hSbrDec->qmfDomainInCh->scaling, pTimeInQmf, in sbr_dec()
381 hSbrDec->qmfDomainInCh->fb.no_channels, 0, noCols); in sbr_dec()
385 DFRACT_BITS - 1 - hSbrDec->qmfDomainInCh->scaling.lb_scale); in sbr_dec()
389 hSbrDec->qmfDomainInCh->fb.no_channels, 0, noCols, in sbr_dec()
392 hSbrDec->qmfDomainInCh->scaling.lb_scale += reserve; in sbr_dec()
396 hSbrDec->scale_hbe = hSbrDec->qmfDomainInCh->scaling.lb_scale; in sbr_dec()
398 hSbrDec->qmfDomainInCh->scaling.lb_scale = hSbrDec->scale_lb; in sbr_dec()
403 saveLbScale = hSbrDec->qmfDomainInCh->scaling.lb_scale; in sbr_dec()
413 &hSbrDec->PvcStaticData, &pvcDynamicData, in sbr_dec()
420 pvcDecodeFrame(&hSbrDec->PvcStaticData, &pvcDynamicData, pLowBandReal, in sbr_dec()
422 SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.ov_lb_scale), in sbr_dec()
423 SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.lb_scale)); in sbr_dec()
425 pvcEndFrame(&hSbrDec->PvcStaticData, &pvcDynamicData); in sbr_dec()
454 if ((hSbrDec->savedStates == 0) && (hFrameData->sbrPatchingMode == 1)) { in sbr_dec()
459 hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[i], in sbr_dec()
460 hSbrDec->codecQMFBufferReal[noCols - LPC_ORDER - ov_len + i], in sbr_dec()
461 hSbrDec->hHBE->noChannels * sizeof(FIXP_DBL)); in sbr_dec()
463 hSbrDec->LppTrans.lpcFilterStatesImagLegSBR[i], in sbr_dec()
464 hSbrDec->codecQMFBufferImag[noCols - LPC_ORDER - ov_len + i], in sbr_dec()
465 hSbrDec->hHBE->noChannels * sizeof(FIXP_DBL)); in sbr_dec()
471 for (i = 0; i < hSbrDec->hHBE->noCols; i++) { in sbr_dec()
472 FDKmemcpy(hSbrDec->codecQMFBufferReal[i], pLowBandReal[ov_len + i], in sbr_dec()
473 hSbrDec->hHBE->noChannels * sizeof(FIXP_DBL)); in sbr_dec()
474 FDKmemcpy(hSbrDec->codecQMFBufferImag[i], pLowBandImag[ov_len + i], in sbr_dec()
475 hSbrDec->hHBE->noChannels * sizeof(FIXP_DBL)); in sbr_dec()
479 hSbrDec->hHBE, pReal, pImag, noCols, pLowBandReal, pLowBandImag, in sbr_dec()
480 hSbrDec->LppTrans.lpcFilterStatesRealHBE, in sbr_dec()
481 hSbrDec->LppTrans.lpcFilterStatesImagHBE, in sbr_dec()
482 hFrameData->sbrPitchInBins, hSbrDec->scale_lb, hSbrDec->scale_hbe, in sbr_dec()
483 &hSbrDec->qmfDomainInCh->scaling.hb_scale, hHeaderData->timeStep, in sbr_dec()
487 int *xOverQmf = GetxOverBandQmfTransposer(hSbrDec->hHBE); in sbr_dec()
497 hSbrDec->prev_frame_lSbr = 0; in sbr_dec()
498 hSbrDec->prev_frame_hbeSbr = 1; in sbr_dec()
501 &hSbrDec->LppTrans, hSbrDec->hHBE, &hSbrDec->qmfDomainInCh->scaling, in sbr_dec()
508 for (i = 0; i < LPC_ORDER + hSbrDec->LppTrans.pSettings->overlap; i++) { in sbr_dec()
513 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesRealHBE[i], in sbr_dec()
514 hSbrDec->qmfDomainInCh in sbr_dec()
515 ->hQmfSlotsReal[hSbrDec->hHBE->noCols - LPC_ORDER + i], in sbr_dec()
517 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesImagHBE[i], in sbr_dec()
518 hSbrDec->qmfDomainInCh in sbr_dec()
519 ->hQmfSlotsImag[hSbrDec->hHBE->noCols - LPC_ORDER + i], in sbr_dec()
524 hSbrDec->prev_frame_lSbr = 1; in sbr_dec()
525 hSbrDec->prev_frame_hbeSbr = 0; in sbr_dec()
529 &hSbrDec->LppTrans, &hSbrDec->qmfDomainInCh->scaling, pLowBandReal, in sbr_dec()
543 hSbrDec->SbrCalculateEnvelope.sbrPatchingMode)) { in sbr_dec()
548 hSbrDec->LppTrans.pSettings->patchParam, in sbr_dec()
549 hSbrDec->LppTrans.pSettings->noOfPatches, in sbr_dec()
554 ? GetxOverBandQmfTransposer(hSbrDec->hHBE) in sbr_dec()
556 Get41SbrQmfTransposer(hSbrDec->hHBE)); in sbr_dec()
558 hSbrDec->SbrCalculateEnvelope.sbrPatchingMode = in sbr_dec()
563 &hSbrDec->qmfDomainInCh->scaling, &hSbrDec->SbrCalculateEnvelope, in sbr_dec()
573 if (hSbrDec->highBandFadeCnt < SBRDEC_MAX_HB_FADE_FRAMES) { in sbr_dec()
574 hSbrDec->highBandFadeCnt += 1; in sbr_dec()
577 if (hSbrDec->highBandFadeCnt > in sbr_dec()
579 hSbrDec->qmfDomainInCh->scaling.hb_scale += hSbrDec->highBandFadeCnt; in sbr_dec()
580 hSbrDec->qmfDomainInCh->scaling.hb_scale = in sbr_dec()
581 fMin(hSbrDec->qmfDomainInCh->scaling.hb_scale, DFRACT_BITS - 1); in sbr_dec()
582 hSbrDec->highBandFadeCnt -= 1; in sbr_dec()
610 hSbrDec->qmfDomainInCh->scaling.hb_scale = saveLbScale; in sbr_dec()
612 rescale = hSbrDec->qmfDomainInCh->scaling.hb_scale - in sbr_dec()
613 hSbrDec->qmfDomainInCh->scaling.ov_lb_scale; in sbr_dec()
614 lsb = hSbrDec->qmfDomainOutCh->fb.lsb; in sbr_dec()
615 length = (hSbrDec->qmfDomainInCh->fb.no_channels - lsb); in sbr_dec()
632 int length = hSbrDec->qmfDomainInCh->fb.lsb; in sbr_dec()
634 length = hSbrDec->qmfDomainInCh->fb.no_channels; in sbr_dec()
643 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[i], in sbr_dec()
646 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesImagLegSBR[i], in sbr_dec()
650 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[i], in sbr_dec()
668 sbrDecoder_drcApply(&hSbrDec->sbrDrcChannel, pLowBandReal, in sbr_dec()
670 hSbrDec->qmfDomainOutCh->fb.no_col, &outScalefactor); in sbr_dec()
672 qmfChangeOutScalefactor(&hSbrDec->qmfDomainOutCh->fb, outScalefactor); in sbr_dec()
676 int save_usb = hSbrDec->qmfDomainOutCh->fb.usb; in sbr_dec()
683 if (hSbrDec->qmfDomainOutCh->fb.usb < hFreq->ov_highSubband) { in sbr_dec()
691 hSbrDec->qmfDomainOutCh->fb.usb = in sbr_dec()
693 (UINT)hSbrDec->qmfDomainOutCh->fb.no_channels); in sbr_dec()
697 &hSbrDec->qmfDomainOutCh->fb, pLowBandReal, in sbr_dec()
699 &hSbrDec->qmfDomainInCh->scaling, in sbr_dec()
700 hSbrDec->LppTrans.pSettings->overlap, timeOut, strideOut, in sbr_dec()
704 hSbrDec->qmfDomainOutCh->fb.usb = save_usb; in sbr_dec()
719 HANDLE_QMF_FILTER_BANK synQmf = &hSbrDec->qmfDomainOutCh->fb; in sbr_dec()
723 sdiff = hSbrDec->qmfDomainInCh->scaling.lb_scale - in sbr_dec()
725 scaleFactorHighBand = sdiff - hSbrDec->qmfDomainInCh->scaling.hb_scale; in sbr_dec()
726 scaleFactorLowBand_ov = sdiff - hSbrDec->qmfDomainInCh->scaling.ov_lb_scale; in sbr_dec()
727 scaleFactorLowBand_no_ov = sdiff - hSbrDec->qmfDomainInCh->scaling.lb_scale; in sbr_dec()
746 FDK_ASSERT(hSbrDec->qmfDomainInCh->pGlobalConf->nBandsSynthesis <= in sbr_dec()
750 9 * hSbrDec->qmfDomainInCh->pGlobalConf->nBandsSynthesis * in sbr_dec()
775 if (hSbrDec->sbrDrcChannel.enable != 0) { in sbr_dec()
776 if (hSbrDec->sbrDrcChannel.prevFact_exp > maxShift) { in sbr_dec()
777 maxShift = hSbrDec->sbrDrcChannel.prevFact_exp; in sbr_dec()
779 if (hSbrDec->sbrDrcChannel.currFact_exp > maxShift) { in sbr_dec()
780 maxShift = hSbrDec->sbrDrcChannel.currFact_exp; in sbr_dec()
782 if (hSbrDec->sbrDrcChannel.nextFact_exp > maxShift) { in sbr_dec()
783 maxShift = hSbrDec->sbrDrcChannel.nextFact_exp; in sbr_dec()
789 FDKmemcpy(&hSbrDecRight->sbrDrcChannel, &hSbrDec->sbrDrcChannel, in sbr_dec()
817 (i < hSbrDec->LppTrans.pSettings->overlap) in sbr_dec()
828 &hSbrDec->sbrDrcChannel, *(pLowBandReal + i), in sbr_dec()
859 sbrDecoder_drcUpdateChannel(&hSbrDec->sbrDrcChannel); in sbr_dec()
869 FDK_QmfDomain_SaveOverlap(hSbrDec->qmfDomainInCh, 0); in sbr_dec()
870 FDK_ASSERT(hSbrDec->qmfDomainInCh->scaling.ov_lb_scale == saveLbScale); in sbr_dec()
874 hSbrDec->savedStates = 0; in sbr_dec()
878 hSbrDec->applySbrProc_old = applyProcessing; in sbr_dec()
1026 resetSbrDec(HANDLE_SBR_DEC hSbrDec, HANDLE_SBR_HEADER_DATA hHeaderData, in resetSbrDec() argument
1035 int old_lsb = hSbrDec->qmfDomainInCh->fb.lsb; in resetSbrDec()
1036 int old_usb = hSbrDec->qmfDomainInCh->fb.usb; in resetSbrDec()
1041 FIXP_DBL **OverlapBufferReal = hSbrDec->qmfDomainInCh->hQmfSlotsReal; in resetSbrDec()
1042 FIXP_DBL **OverlapBufferImag = hSbrDec->qmfDomainInCh->hQmfSlotsImag; in resetSbrDec()
1053 int applySbrProc_old = hSbrDec->applySbrProc_old; in resetSbrDec()
1056 new_lsb = (hSbrDec->qmfDomainInCh->fb).no_channels; in resetSbrDec()
1059 old_lsb = (hSbrDec->qmfDomainInCh->fb).no_channels; in resetSbrDec()
1063 resetSbrEnvelopeCalc(&hSbrDec->SbrCalculateEnvelope); in resetSbrDec()
1067 FDK_ASSERT(hSbrDec->qmfDomainOutCh != NULL); in resetSbrDec()
1068 hSbrDec->qmfDomainOutCh->fb.lsb = in resetSbrDec()
1069 fixMin((INT)hSbrDec->qmfDomainOutCh->fb.no_channels, in resetSbrDec()
1071 hSbrDec->qmfDomainOutCh->fb.usb = in resetSbrDec()
1072 fixMin((INT)hSbrDec->qmfDomainOutCh->fb.no_channels, in resetSbrDec()
1075 FDK_ASSERT(hSbrDec->qmfDomainInCh != NULL); in resetSbrDec()
1076 hSbrDec->qmfDomainInCh->fb.lsb = hSbrDec->qmfDomainOutCh->fb.lsb; in resetSbrDec()
1077 hSbrDec->qmfDomainInCh->fb.usb = hSbrDec->qmfDomainOutCh->fb.usb; in resetSbrDec()
1100 for (l = startSlot; l < hSbrDec->LppTrans.pSettings->overlap; l++) { in resetSbrDec()
1105 for (l = startSlot; l < hSbrDec->LppTrans.pSettings->overlap; l++) { in resetSbrDec()
1117 FDKmemclear(&hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[0][startBand], in resetSbrDec()
1119 FDKmemclear(&hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[1][startBand], in resetSbrDec()
1122 FDKmemclear(&hSbrDec->LppTrans.lpcFilterStatesImagLegSBR[0][startBand], in resetSbrDec()
1124 FDKmemclear(&hSbrDec->LppTrans.lpcFilterStatesImagLegSBR[1][startBand], in resetSbrDec()
1160 source_exp = SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.ov_hb_scale); in resetSbrDec()
1161 target_exp = SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.ov_lb_scale); in resetSbrDec()
1177 source_exp = SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.ov_lb_scale); in resetSbrDec()
1178 target_exp = SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.ov_hb_scale); in resetSbrDec()
1217 hSbrDec->qmfDomainInCh->scaling.ov_lb_scale = EXP2SCALE(source_exp); in resetSbrDec()
1220 hSbrDec->qmfDomainInCh->scaling.ov_hb_scale = EXP2SCALE(source_exp); in resetSbrDec()
1244 &hSbrDec->LppTrans, hHeaderData->freqBandData.lowSubband, in resetSbrDec()
1251 hSbrDec->savedStates = 0; in resetSbrDec()
1254 sbrError = QmfTransposerReInit(hSbrDec->hHBE, in resetSbrDec()
1261 for (i = 0; i < LPC_ORDER + hSbrDec->LppTrans.pSettings->overlap; i++) { in resetSbrDec()
1263 hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[i], in resetSbrDec()
1264 hSbrDec->codecQMFBufferReal[hSbrDec->hHBE->noCols - LPC_ORDER - in resetSbrDec()
1265 hSbrDec->LppTrans.pSettings->overlap + i], in resetSbrDec()
1266 hSbrDec->hHBE->noChannels * sizeof(FIXP_DBL)); in resetSbrDec()
1268 hSbrDec->LppTrans.lpcFilterStatesImagLegSBR[i], in resetSbrDec()
1269 hSbrDec->codecQMFBufferImag[hSbrDec->hHBE->noCols - LPC_ORDER - in resetSbrDec()
1270 hSbrDec->LppTrans.pSettings->overlap + i], in resetSbrDec()
1271 hSbrDec->hHBE->noChannels * sizeof(FIXP_DBL)); in resetSbrDec()
1273 hSbrDec->savedStates = 1; in resetSbrDec()
1277 for (i = 0; i < hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER; i++) { in resetSbrDec()
1278 pLowBandReal[i] = hSbrDec->LppTrans.lpcFilterStatesRealHBE[i]; in resetSbrDec()
1279 pLowBandImag[i] = hSbrDec->LppTrans.lpcFilterStatesImagHBE[i]; in resetSbrDec()
1283 for (i = 0; i < hSbrDec->hHBE->noCols; i++) { in resetSbrDec()
1284 pLowBandReal[i + hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER] = in resetSbrDec()
1285 hSbrDec->codecQMFBufferReal[i]; in resetSbrDec()
1286 pLowBandImag[i + hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER] = in resetSbrDec()
1287 hSbrDec->codecQMFBufferImag[i]; in resetSbrDec()
1292 int *xOverQmf = GetxOverBandQmfTransposer(hSbrDec->hHBE); in resetSbrDec()
1296 for (i = 0; i < hSbrDec->hHBE->noCols / 2; i++) { in resetSbrDec()
1297 pLowBandReal[i + hSbrDec->hHBE->noCols + in resetSbrDec()
1298 hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER] = in resetSbrDec()
1299 hSbrDec->hQmfHBESlotsReal[i]; in resetSbrDec()
1300 pLowBandImag[i + hSbrDec->hHBE->noCols + in resetSbrDec()
1301 hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER] = in resetSbrDec()
1302 hSbrDec->hQmfHBESlotsImag[i]; in resetSbrDec()
1306 hSbrDec->hHBE, in resetSbrDec()
1307 pLowBandReal + hSbrDec->LppTrans.pSettings->overlap + in resetSbrDec()
1308 hSbrDec->hHBE->noCols / 2 + LPC_ORDER, in resetSbrDec()
1309 pLowBandImag + hSbrDec->LppTrans.pSettings->overlap + in resetSbrDec()
1310 hSbrDec->hHBE->noCols / 2 + LPC_ORDER, in resetSbrDec()
1311 hSbrDec->hHBE->noCols, pLowBandReal, pLowBandImag, in resetSbrDec()
1312 hSbrDec->LppTrans.lpcFilterStatesRealHBE, in resetSbrDec()
1313 hSbrDec->LppTrans.lpcFilterStatesImagHBE, in resetSbrDec()
1314 hPrevFrameData->prevSbrPitchInBins, hSbrDec->scale_lb, in resetSbrDec()
1315 hSbrDec->scale_hbe, &hSbrDec->qmfDomainInCh->scaling.hb_scale, in resetSbrDec()
1317 hSbrDec->LppTrans.pSettings->overlap, KEEP_STATES_SYNCED_OUTDIFF); in resetSbrDec()
1320 xOverQmf, pLowBandReal, pLowBandImag, hSbrDec->hHBE->noCols, in resetSbrDec()
1321 hSbrDec->LppTrans.pSettings->overlap, KEEP_STATES_SYNCED_OUTDIFF); in resetSbrDec()
1326 for (i = 0; i < hSbrDec->hHBE->noCols; i++) { in resetSbrDec()
1327 pLowBandReal[i + hSbrDec->hHBE->noCols + in resetSbrDec()
1328 hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER] = in resetSbrDec()
1329 hSbrDec->hQmfHBESlotsReal[i]; in resetSbrDec()
1330 pLowBandImag[i + hSbrDec->hHBE->noCols + in resetSbrDec()
1331 hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER] = in resetSbrDec()
1332 hSbrDec->hQmfHBESlotsImag[i]; in resetSbrDec()
1337 hSbrDec->hHBE, in resetSbrDec()
1338 pLowBandReal + hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER, in resetSbrDec()
1339 pLowBandImag + hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER, in resetSbrDec()
1340 hSbrDec->hHBE->noCols, pLowBandReal, pLowBandImag, in resetSbrDec()
1341 hSbrDec->LppTrans.lpcFilterStatesRealHBE, in resetSbrDec()
1342 hSbrDec->LppTrans.lpcFilterStatesImagHBE, in resetSbrDec()
1344 hSbrDec->scale_lb, hSbrDec->scale_lb, in resetSbrDec()
1345 &hSbrDec->qmfDomainInCh->scaling.hb_scale, hHeaderData->timeStep, in resetSbrDec()
1347 hSbrDec->LppTrans.pSettings->overlap, KEEP_STATES_SYNCED_NOOUT); in resetSbrDec()
1351 hSbrDec->hHBE, in resetSbrDec()
1352 pLowBandReal + hSbrDec->LppTrans.pSettings->overlap + in resetSbrDec()
1353 hSbrDec->hHBE->noCols + LPC_ORDER, in resetSbrDec()
1354 pLowBandImag + hSbrDec->LppTrans.pSettings->overlap + in resetSbrDec()
1355 hSbrDec->hHBE->noCols + LPC_ORDER, in resetSbrDec()
1356 hSbrDec->hHBE->noCols, pLowBandReal, pLowBandImag, in resetSbrDec()
1357 hSbrDec->LppTrans.lpcFilterStatesRealHBE, in resetSbrDec()
1358 hSbrDec->LppTrans.lpcFilterStatesImagHBE, in resetSbrDec()
1359 hPrevFrameData->prevSbrPitchInBins, hSbrDec->scale_lb, in resetSbrDec()
1360 hSbrDec->scale_hbe, &hSbrDec->qmfDomainInCh->scaling.hb_scale, in resetSbrDec()
1362 hSbrDec->LppTrans.pSettings->overlap, KEEP_STATES_SYNCED_OUTDIFF); in resetSbrDec()
1366 for (i = startSlot; i < hSbrDec->LppTrans.pSettings->overlap; i++) { in resetSbrDec()
1371 FDKmemcpy(hSbrDec->qmfDomainInCh->hQmfSlotsReal[i], in resetSbrDec()
1372 hSbrDec->LppTrans.lpcFilterStatesRealHBE[i + LPC_ORDER], in resetSbrDec()
1374 FDKmemcpy(hSbrDec->qmfDomainInCh->hQmfSlotsImag[i], in resetSbrDec()
1375 hSbrDec->LppTrans.lpcFilterStatesImagHBE[i + LPC_ORDER], in resetSbrDec()
1379 for (i = startSlot; i < hSbrDec->LppTrans.pSettings->overlap; i++) { in resetSbrDec()
1385 hSbrDec->qmfDomainInCh->hQmfSlotsReal[i], in resetSbrDec()
1386 hSbrDec->codecQMFBufferReal[hSbrDec->hHBE->noCols - in resetSbrDec()
1387 hSbrDec->LppTrans.pSettings->overlap + in resetSbrDec()
1391 hSbrDec->qmfDomainInCh->hQmfSlotsImag[i], in resetSbrDec()
1392 hSbrDec->codecQMFBufferImag[hSbrDec->hHBE->noCols - in resetSbrDec()
1393 hSbrDec->LppTrans.pSettings->overlap + in resetSbrDec()
1403 new_scale = hSbrDec->qmfDomainInCh->scaling.ov_lb_scale; in resetSbrDec()
1405 if ((hSbrDec->qmfDomainInCh->scaling.ov_lb_scale != in resetSbrDec()
1406 hSbrDec->qmfDomainInCh->scaling.lb_scale) && in resetSbrDec()
1410 diff = SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.ov_lb_scale) - in resetSbrDec()
1411 SCALE2EXP(hSbrDec->qmfDomainInCh->scaling.lb_scale); in resetSbrDec()
1416 new_scale = hSbrDec->qmfDomainInCh->scaling.ov_lb_scale; in resetSbrDec()
1424 for (i = 0; i < hSbrDec->LppTrans.pSettings->overlap + LPC_ORDER; i++) { in resetSbrDec()
1425 scaleValues(hSbrDec->LppTrans.lpcFilterStatesRealLegSBR[i], new_lsb, in resetSbrDec()
1428 scaleValues(hSbrDec->LppTrans.lpcFilterStatesImagLegSBR[i], new_lsb, in resetSbrDec()
1437 for (i = startSlot; i < hSbrDec->LppTrans.pSettings->overlap; i++) { in resetSbrDec()
1439 &hSbrDec->LppTrans in resetSbrDec()
1444 &hSbrDec->LppTrans in resetSbrDec()
1456 for (l = startSlot; l < hSbrDec->LppTrans.pSettings->overlap; l++) { in resetSbrDec()
1465 hSbrDec->qmfDomainInCh->scaling.ov_lb_scale = new_scale; in resetSbrDec()
1472 hSbrDec->LppTrans.pSettings->patchParam, in resetSbrDec()
1473 hSbrDec->LppTrans.pSettings->noOfPatches, in resetSbrDec()
1476 GetxOverBandQmfTransposer(hSbrDec->hHBE), in resetSbrDec()
1477 Get41SbrQmfTransposer(hSbrDec->hHBE)); in resetSbrDec()
1479 hSbrDec->SbrCalculateEnvelope.sbrPatchingMode = hFrameData->sbrPatchingMode; in resetSbrDec()