Lines Matching refs:encEnvData

742   INT ca = 2 - h_sbr->encEnvData.init_sbr_amp_res;  in calculateSbrEnvelope()
819 if (h_sbr->encEnvData.addHarmonicFlag) { in calculateSbrEnvelope()
821 if (h_sbr->encEnvData in calculateSbrEnvelope()
838 if (h_sbr->encEnvData.addHarmonic[i]) { in calculateSbrEnvelope()
983 nrgRight, h_sbr->encEnvData.init_sbr_amp_res, &quantError); in calculateSbrEnvelope()
1069 hEnvChan->encEnvData.ton_HF[1] = hEnvChan->encEnvData.ton_HF[0]; in FDKsbrEnc_extractSbrEnvelope1()
1070 hEnvChan->encEnvData.ton_HF[0] = tonality; in FDKsbrEnc_extractSbrEnvelope1()
1073 hEnvChan->encEnvData.global_tonality = in FDKsbrEnc_extractSbrEnvelope1()
1074 (hEnvChan->encEnvData.ton_HF[0] >> 1) + in FDKsbrEnc_extractSbrEnvelope1()
1075 (hEnvChan->encEnvData.ton_HF[1] >> 1); in FDKsbrEnc_extractSbrEnvelope1()
1109 sbrExtrEnv->no_cols, &hEnvChan->encEnvData.global_tonality); in FDKsbrEnc_extractSbrEnvelope1()
1194 h_envChan[0]->encEnvData.ldGrid, v_tuning); in FDKsbrEnc_extractSbrEnvelope2()
1196 h_envChan[0]->encEnvData.hSbrBSGrid = &h_envChan[0]->SbrEnvFrame.SbrGrid; in FDKsbrEnc_extractSbrEnvelope2()
1199 if (h_envChan[0]->encEnvData.ldGrid && eData[0].transient_info[2]) { in FDKsbrEnc_extractSbrEnvelope2()
1213 h_envChan[1]->encEnvData.ldGrid, v_tuning); in FDKsbrEnc_extractSbrEnvelope2()
1215 h_envChan[1]->encEnvData.hSbrBSGrid = &h_envChan[1]->SbrEnvFrame.SbrGrid; in FDKsbrEnc_extractSbrEnvelope2()
1217 if (h_envChan[1]->encEnvData.ldGrid && eData[1].transient_info[2]) { in FDKsbrEnc_extractSbrEnvelope2()
1249 h_envChan[1]->encEnvData.hSbrBSGrid = &h_envChan[0]->SbrEnvFrame.SbrGrid; in FDKsbrEnc_extractSbrEnvelope2()
1268 hEnvChan->encEnvData.noOfEnvelopes = ed->nEnvelopes = in FDKsbrEnc_extractSbrEnvelope2()
1275 if ((hEnvChan->encEnvData.hSbrBSGrid->frameClass == FIXFIX) && in FDKsbrEnc_extractSbrEnvelope2()
1286 hEnvChan->encEnvData.global_tonality, in FDKsbrEnc_extractSbrEnvelope2()
1288 hEnvChan->encEnvData.currentAmpResFF = SBR_AMP_RES_1_5; in FDKsbrEnc_extractSbrEnvelope2()
1290 hEnvChan->encEnvData.currentAmpResFF = SBR_AMP_RES_3_0; in FDKsbrEnc_extractSbrEnvelope2()
1293 hEnvChan->encEnvData.currentAmpResFF = SBR_AMP_RES_1_5; in FDKsbrEnc_extractSbrEnvelope2()
1295 if (hEnvChan->encEnvData.currentAmpResFF != in FDKsbrEnc_extractSbrEnvelope2()
1296 hEnvChan->encEnvData.init_sbr_amp_res) { in FDKsbrEnc_extractSbrEnvelope2()
1298 &hEnvChan->encEnvData, &hEnvChan->sbrCodeEnvelope, in FDKsbrEnc_extractSbrEnvelope2()
1299 &hEnvChan->sbrCodeNoiseFloor, hEnvChan->encEnvData.currentAmpResFF); in FDKsbrEnc_extractSbrEnvelope2()
1302 if (sbrHeaderData->sbr_amp_res != hEnvChan->encEnvData.init_sbr_amp_res) { in FDKsbrEnc_extractSbrEnvelope2()
1304 &hEnvChan->encEnvData, &hEnvChan->sbrCodeEnvelope, in FDKsbrEnc_extractSbrEnvelope2()
1315 &hEnvChan->TonCorr, hEnvChan->encEnvData.sbr_invf_mode_vec, in FDKsbrEnc_extractSbrEnvelope2()
1316 ed->noiseFloor, &hEnvChan->encEnvData.addHarmonicFlag, in FDKsbrEnc_extractSbrEnvelope2()
1317 hEnvChan->encEnvData.addHarmonic, sbrExtrEnv->envelopeCompensation, in FDKsbrEnc_extractSbrEnvelope2()
1319 h_con->nSfb[HI], hEnvChan->encEnvData.sbr_xpos_mode, in FDKsbrEnc_extractSbrEnvelope2()
1333 hEnvChan->encEnvData.sbr_invf_mode_vec[i] = INVF_HIGH_LEVEL; in FDKsbrEnc_extractSbrEnvelope2()
1338 hEnvChan->encEnvData.sbr_invf_mode = in FDKsbrEnc_extractSbrEnvelope2()
1339 hEnvChan->encEnvData.sbr_invf_mode_vec[0]; in FDKsbrEnc_extractSbrEnvelope2()
1341 hEnvChan->encEnvData.noOfnoisebands = in FDKsbrEnc_extractSbrEnvelope2()
1351 h_envChan[ch]->encEnvData.noScfBands[i] = in FDKsbrEnc_extractSbrEnvelope2()
1417 h_envChan[0]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1428 h_envChan[0]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1437 h_envChan[1]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1451 h_envChan[0]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1460 h_envChan[1]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1484 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1487 &h_envChan[0]->sbrCodeEnvelope, h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1494 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1495 h_envChan[1]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1499 &h_envChan[0]->sbrCodeEnvelope, h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1504 &h_envChan[1]->sbrCodeEnvelope, h_envChan[1]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1510 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1511 h_envChan[1]->encEnvData.balance = 1; in FDKsbrEnc_extractSbrEnvelope2()
1515 &h_envChan[0]->sbrCodeEnvelope, h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1520 &h_envChan[1]->sbrCodeEnvelope, h_envChan[1]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1570 h_envChan[0]->encEnvData.domain_vec, 0, in FDKsbrEnc_extractSbrEnvelope2()
1575 h_envChan[1]->encEnvData.domain_vec, 0, in FDKsbrEnc_extractSbrEnvelope2()
1581 for (j = 0; j < h_envChan[0]->encEnvData.noScfBands[i]; j++) { in FDKsbrEnc_extractSbrEnvelope2()
1582 h_envChan[0]->encEnvData.ienvelope[i][j] = eData[0].sfb_nrg[c]; in FDKsbrEnc_extractSbrEnvelope2()
1583 h_envChan[1]->encEnvData.ienvelope[i][j] = eData[1].sfb_nrg[c]; in FDKsbrEnc_extractSbrEnvelope2()
1590 h_envChan[0]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1595 h_envChan[0]->encEnvData.sbr_noise_levels[i] = eData[0].noise_level[i]; in FDKsbrEnc_extractSbrEnvelope2()
1599 h_envChan[1]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1604 h_envChan[1]->encEnvData.sbr_noise_levels[i] = eData[1].noise_level[i]; in FDKsbrEnc_extractSbrEnvelope2()
1607 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1608 h_envChan[1]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1612 &h_envChan[0]->encEnvData, &h_envChan[1]->encEnvData, hCmonData, in FDKsbrEnc_extractSbrEnvelope2()
1650 FDKmemcpy(domainVecTemp[ch], h_envChan[ch]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1653 h_envChan[ch]->encEnvData.domain_vec_noise, in FDKsbrEnc_extractSbrEnvelope2()
1673 &h_envChan[0]->sbrCodeEnvelope, h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1679 &h_envChan[1]->sbrCodeEnvelope, h_envChan[1]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1685 for (j = 0; j < h_envChan[0]->encEnvData.noScfBands[i]; j++) { in FDKsbrEnc_extractSbrEnvelope2()
1686 h_envChan[0]->encEnvData.ienvelope[i][j] = in FDKsbrEnc_extractSbrEnvelope2()
1688 h_envChan[1]->encEnvData.ienvelope[i][j] = in FDKsbrEnc_extractSbrEnvelope2()
1696 h_envChan[0]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1701 h_envChan[0]->encEnvData.sbr_noise_levels[i] = in FDKsbrEnc_extractSbrEnvelope2()
1706 h_envChan[1]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1711 h_envChan[1]->encEnvData.sbr_noise_levels[i] = in FDKsbrEnc_extractSbrEnvelope2()
1716 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1717 h_envChan[1]->encEnvData.balance = 1; in FDKsbrEnc_extractSbrEnvelope2()
1719 tempFlagLeft = h_envChan[0]->encEnvData.addHarmonicFlag; in FDKsbrEnc_extractSbrEnvelope2()
1720 tempFlagRight = h_envChan[1]->encEnvData.addHarmonicFlag; in FDKsbrEnc_extractSbrEnvelope2()
1724 &h_envChan[0]->encEnvData, &h_envChan[1]->encEnvData, hCmonData, in FDKsbrEnc_extractSbrEnvelope2()
1727 h_envChan[0]->encEnvData.addHarmonicFlag = tempFlagLeft; in FDKsbrEnc_extractSbrEnvelope2()
1728 h_envChan[1]->encEnvData.addHarmonicFlag = tempFlagRight; in FDKsbrEnc_extractSbrEnvelope2()
1743 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1744 h_envChan[1]->encEnvData.balance = 1; in FDKsbrEnc_extractSbrEnvelope2()
1758 FDKmemcpy(h_envChan[ch]->encEnvData.domain_vec, domainVecTemp[ch], in FDKsbrEnc_extractSbrEnvelope2()
1760 FDKmemcpy(h_envChan[ch]->encEnvData.domain_vec_noise, in FDKsbrEnc_extractSbrEnvelope2()
1767 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1768 h_envChan[1]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1776 if (h_envChan[0]->encEnvData.domain_vec[0] == TIME) in FDKsbrEnc_extractSbrEnvelope2()
1781 if (h_envChan[0]->encEnvData.domain_vec[0] == TIME || in FDKsbrEnc_extractSbrEnvelope2()
1782 h_envChan[1]->encEnvData.domain_vec[0] == TIME) { in FDKsbrEnc_extractSbrEnvelope2()
1798 for (j = 0; j < h_envChan[ch]->encEnvData.noScfBands[i]; j++) { in FDKsbrEnc_extractSbrEnvelope2()
1799 h_envChan[ch]->encEnvData.ienvelope[i][j] = ed->sfb_nrg[c]; in FDKsbrEnc_extractSbrEnvelope2()
1805 h_envChan[ch]->encEnvData.sbr_noise_levels[i] = ed->noise_level[i]; in FDKsbrEnc_extractSbrEnvelope2()
1815 &h_envChan[0]->encEnvData, &h_envChan[1]->encEnvData, hCmonData, in FDKsbrEnc_extractSbrEnvelope2()
1820 &h_envChan[0]->encEnvData, hCmonData, h_con->sbrSyntaxFlags); in FDKsbrEnc_extractSbrEnvelope2()