Lines Matching refs:encEnvData
585 INT ca = 2 - h_sbr->encEnvData.init_sbr_amp_res; in calculateSbrEnvelope()
661 if(h_sbr->encEnvData.addHarmonicFlag){ in calculateSbrEnvelope()
664 if(h_sbr->encEnvData.addHarmonic[j]){ /*A missing sine in the current band*/ in calculateSbrEnvelope()
679 if(h_sbr->encEnvData.addHarmonic[i]){ in calculateSbrEnvelope()
838 sfb_nrgRight[m] = mapPanorama (nrgRight,h_sbr->encEnvData.init_sbr_amp_res,&quantError); in calculateSbrEnvelope()
1048 h_envChan[0]->encEnvData.ldGrid, in FDKsbrEnc_extractSbrEnvelope2()
1051 h_envChan[0]->encEnvData.hSbrBSGrid = &h_envChan[0]->SbrEnvFrame.SbrGrid; in FDKsbrEnc_extractSbrEnvelope2()
1054 if (h_envChan[0]->encEnvData.ldGrid && eData[0].transient_info[2]) { in FDKsbrEnc_extractSbrEnvelope2()
1066 h_envChan[1]->encEnvData.ldGrid, in FDKsbrEnc_extractSbrEnvelope2()
1069 h_envChan[1]->encEnvData.hSbrBSGrid = &h_envChan[1]->SbrEnvFrame.SbrGrid; in FDKsbrEnc_extractSbrEnvelope2()
1071 if (h_envChan[1]->encEnvData.ldGrid && eData[1].transient_info[2]) { in FDKsbrEnc_extractSbrEnvelope2()
1099 h_envChan[1]->encEnvData.hSbrBSGrid = &h_envChan[0]->SbrEnvFrame.SbrGrid; in FDKsbrEnc_extractSbrEnvelope2()
1121 …hEnvChan->encEnvData.noOfEnvelopes = ed->nEnvelopes = ed->frame_info->nEnvelopes; /* number of… in FDKsbrEnc_extractSbrEnvelope2()
1127 if( ( hEnvChan->encEnvData.hSbrBSGrid->frameClass == FIXFIX ) in FDKsbrEnc_extractSbrEnvelope2()
1131 if (hEnvChan->encEnvData.ldGrid) in FDKsbrEnc_extractSbrEnvelope2()
1132 hEnvChan->encEnvData.currentAmpResFF = (AMP_RES)h_con->initAmpResFF; in FDKsbrEnc_extractSbrEnvelope2()
1134 hEnvChan->encEnvData.currentAmpResFF = SBR_AMP_RES_1_5; in FDKsbrEnc_extractSbrEnvelope2()
1136 if ( hEnvChan->encEnvData.currentAmpResFF != hEnvChan->encEnvData.init_sbr_amp_res) { in FDKsbrEnc_extractSbrEnvelope2()
1138 FDKsbrEnc_InitSbrHuffmanTables(&hEnvChan->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1141 hEnvChan->encEnvData.currentAmpResFF); in FDKsbrEnc_extractSbrEnvelope2()
1145 if(sbrHeaderData->sbr_amp_res != hEnvChan->encEnvData.init_sbr_amp_res ) { in FDKsbrEnc_extractSbrEnvelope2()
1147 FDKsbrEnc_InitSbrHuffmanTables(&hEnvChan->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1160 hEnvChan->encEnvData.sbr_invf_mode_vec, in FDKsbrEnc_extractSbrEnvelope2()
1162 &hEnvChan->encEnvData.addHarmonicFlag, in FDKsbrEnc_extractSbrEnvelope2()
1163 hEnvChan->encEnvData.addHarmonic, in FDKsbrEnc_extractSbrEnvelope2()
1169 hEnvChan->encEnvData.sbr_xpos_mode, in FDKsbrEnc_extractSbrEnvelope2()
1182 hEnvChan->encEnvData.sbr_invf_mode_vec[i] = INVF_HIGH_LEVEL; in FDKsbrEnc_extractSbrEnvelope2()
1187 hEnvChan->encEnvData.sbr_invf_mode = hEnvChan->encEnvData.sbr_invf_mode_vec[0]; in FDKsbrEnc_extractSbrEnvelope2()
1189 hEnvChan->encEnvData.noOfnoisebands = hEnvChan->TonCorr.sbrNoiseFloorEstimate.noNoiseBands; in FDKsbrEnc_extractSbrEnvelope2()
1201 h_envChan[ch]->encEnvData.noScfBands[i] = in FDKsbrEnc_extractSbrEnvelope2()
1260 h_envChan[0]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1270 h_envChan[0]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1278 h_envChan[1]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1291 h_envChan[0]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1299 h_envChan[1]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1321 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1324 h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1332 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1333 h_envChan[1]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1338 h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1344 h_envChan[1]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1351 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1352 h_envChan[1]->encEnvData.balance = 1; in FDKsbrEnc_extractSbrEnvelope2()
1356 h_envChan[0]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1362 h_envChan[1]->encEnvData.domain_vec, in FDKsbrEnc_extractSbrEnvelope2()
1412 h_envChan[0]->encEnvData.domain_vec, 0, in FDKsbrEnc_extractSbrEnvelope2()
1417 h_envChan[1]->encEnvData.domain_vec, 0, in FDKsbrEnc_extractSbrEnvelope2()
1423 for (j = 0; j < h_envChan[0]->encEnvData.noScfBands[i]; j++) in FDKsbrEnc_extractSbrEnvelope2()
1425 h_envChan[0]->encEnvData.ienvelope[i][j] = eData[0].sfb_nrg[c]; in FDKsbrEnc_extractSbrEnvelope2()
1426 h_envChan[1]->encEnvData.ienvelope[i][j] = eData[1].sfb_nrg[c]; in FDKsbrEnc_extractSbrEnvelope2()
1435 h_envChan[0]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1441 h_envChan[0]->encEnvData.sbr_noise_levels[i] = eData[0].noise_level[i]; in FDKsbrEnc_extractSbrEnvelope2()
1446 h_envChan[1]->encEnvData.domain_vec_noise, 0, in FDKsbrEnc_extractSbrEnvelope2()
1451 h_envChan[1]->encEnvData.sbr_noise_levels[i] = eData[1].noise_level[i]; in FDKsbrEnc_extractSbrEnvelope2()
1455 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1456 h_envChan[1]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1461 &h_envChan[0]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1462 &h_envChan[1]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1499 FDKmemcpy(domainVecTemp[ch],h_envChan[ch]->encEnvData.domain_vec,sizeof(INT)*MAX_ENVELOPES); in FDKsbrEnc_extractSbrEnvelope2()
1500 …FDKmemcpy(domainVecNoiseTemp[ch],h_envChan[ch]->encEnvData.domain_vec_noise,sizeof(INT)*MAX_ENVELO… in FDKsbrEnc_extractSbrEnvelope2()
1520 h_envChan[0]->encEnvData.domain_vec, 1, in FDKsbrEnc_extractSbrEnvelope2()
1526 h_envChan[1]->encEnvData.domain_vec, 1, in FDKsbrEnc_extractSbrEnvelope2()
1533 for (j = 0; j < h_envChan[0]->encEnvData.noScfBands[i]; j++) { in FDKsbrEnc_extractSbrEnvelope2()
1534 h_envChan[0]->encEnvData.ienvelope[i][j] = eData[0].sfb_nrg_coupling[c]; in FDKsbrEnc_extractSbrEnvelope2()
1535 h_envChan[1]->encEnvData.ienvelope[i][j] = eData[1].sfb_nrg_coupling[c]; in FDKsbrEnc_extractSbrEnvelope2()
1542 h_envChan[0]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1547 h_envChan[0]->encEnvData.sbr_noise_levels[i] = eData[0].noise_level_coupling[i]; in FDKsbrEnc_extractSbrEnvelope2()
1552 h_envChan[1]->encEnvData.domain_vec_noise, 1, in FDKsbrEnc_extractSbrEnvelope2()
1557 h_envChan[1]->encEnvData.sbr_noise_levels[i] = eData[1].noise_level_coupling[i]; in FDKsbrEnc_extractSbrEnvelope2()
1561 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1562 h_envChan[1]->encEnvData.balance = 1; in FDKsbrEnc_extractSbrEnvelope2()
1564 tempFlagLeft = h_envChan[0]->encEnvData.addHarmonicFlag; in FDKsbrEnc_extractSbrEnvelope2()
1565 tempFlagRight = h_envChan[1]->encEnvData.addHarmonicFlag; in FDKsbrEnc_extractSbrEnvelope2()
1571 &h_envChan[0]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1572 &h_envChan[1]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1577 h_envChan[0]->encEnvData.addHarmonicFlag = tempFlagLeft; in FDKsbrEnc_extractSbrEnvelope2()
1578 h_envChan[1]->encEnvData.addHarmonicFlag = tempFlagRight; in FDKsbrEnc_extractSbrEnvelope2()
1594 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1595 h_envChan[1]->encEnvData.balance = 1; in FDKsbrEnc_extractSbrEnvelope2()
1611 … FDKmemcpy (h_envChan[ch]->encEnvData.domain_vec,domainVecTemp[ch],sizeof(INT)*MAX_ENVELOPES); in FDKsbrEnc_extractSbrEnvelope2()
1612 …FDKmemcpy (h_envChan[ch]->encEnvData.domain_vec_noise,domainVecNoiseTemp[ch],sizeof(INT)*MAX_ENVEL… in FDKsbrEnc_extractSbrEnvelope2()
1618 h_envChan[0]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1619 h_envChan[1]->encEnvData.balance = 0; in FDKsbrEnc_extractSbrEnvelope2()
1629 if (h_envChan[0]->encEnvData.domain_vec[0] == TIME) in FDKsbrEnc_extractSbrEnvelope2()
1635 if (h_envChan[0]->encEnvData.domain_vec[0] == TIME || in FDKsbrEnc_extractSbrEnvelope2()
1636 h_envChan[1]->encEnvData.domain_vec[0] == TIME) { in FDKsbrEnc_extractSbrEnvelope2()
1653 for (j = 0; j < h_envChan[ch]->encEnvData.noScfBands[i]; j++) { in FDKsbrEnc_extractSbrEnvelope2()
1654 h_envChan[ch]->encEnvData.ienvelope[i][j] = ed->sfb_nrg[c]; in FDKsbrEnc_extractSbrEnvelope2()
1660 h_envChan[ch]->encEnvData.sbr_noise_levels[i] = ed->noise_level[i]; in FDKsbrEnc_extractSbrEnvelope2()
1672 &h_envChan[0]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1673 &h_envChan[1]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()
1681 &h_envChan[0]->encEnvData, in FDKsbrEnc_extractSbrEnvelope2()