Home | History | Annotate | Download | only in src

Lines Matching refs:encEnvData

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