Lines Matching refs:eData
886 SBR_ENV_TEMP_DATA *eData,
929 eData->transient_info,
949 eData->transient_info,
998 SBR_ENV_TEMP_DATA *eData,
1023 if (eData[0].transient_info[1] && eData[1].transient_info[1]) {
1024 eData[0].transient_info[0] = fixMin(eData[1].transient_info[0], eData[0].transient_info[0]);
1025 eData[1].transient_info[0] = eData[0].transient_info[0];
1028 if (eData[0].transient_info[1] && !eData[1].transient_info[1]) {
1029 eData[1].transient_info[0] = eData[0].transient_info[0];
1032 if (!eData[0].transient_info[1] && eData[1].transient_info[1])
1033 eData[0].transient_info[0] = eData[1].transient_info[0];
1035 eData[0].transient_info[0] = fixMax(eData[1].transient_info[0], eData[0].transient_info[0]);
1036 eData[1].transient_info[0] = eData[0].transient_info[0];
1045 eData[0].frame_info = FDKsbrEnc_frameInfoGenerator(&h_envChan[0]->SbrEnvFrame,
1046 eData[0].transient_info,
1054 if (h_envChan[0]->encEnvData.ldGrid && eData[0].transient_info[2]) {
1063 eData[1].frame_info = FDKsbrEnc_frameInfoGenerator(&h_envChan[1]->SbrEnvFrame,
1064 eData[1].transient_info,
1071 if (h_envChan[1]->encEnvData.ldGrid && eData[1].transient_info[2]) {
1077 if (eData[0].frame_info->nEnvelopes != eData[1].frame_info->nEnvelopes) {
1080 for (i = 0; i < eData[0].frame_info->nEnvelopes + 1; i++) {
1081 if (eData[0].frame_info->borders[i] != eData[1].frame_info->borders[i]) {
1086 for (i = 0; i < eData[0].frame_info->nEnvelopes; i++) {
1087 if (eData[0].frame_info->freqRes[i] != eData[1].frame_info->freqRes[i]) {
1092 if (eData[0].frame_info->shortEnv != eData[1].frame_info->shortEnv) {
1098 eData[1].frame_info = eData[0].frame_info;
1113 SBR_ENV_TEMP_DATA *ed = &eData[ch];
1200 for (i = 0; i < eData[ch].nEnvelopes; i++){
1202 (eData[ch].frame_info->freqRes[i] == FREQ_RES_HIGH ? h_con->nSfb[FREQ_RES_HIGH] : h_con->nSfb[FREQ_RES_LOW]);
1213 eData[0].frame_info, eData[0].sfb_nrg, NULL,
1219 eData[0].frame_info, eData[0].sfb_nrg, NULL,
1223 eData[1].frame_info,eData[1].sfb_nrg, NULL,
1229 eData[0].frame_info, eData[0].sfb_nrg, eData[1].sfb_nrg,
1235 eData[0].frame_info, eData[0].sfb_nrg, NULL,
1239 eData[1].frame_info, eData[1].sfb_nrg, NULL,
1243 eData[0].frame_info, eData[0].sfb_nrg_coupling, eData[1].sfb_nrg_coupling,
1256 sbrNoiseFloorLevelsQuantisation(eData[0].noise_level, eData[0].noiseFloor, 0);
1258 FDKsbrEnc_codeEnvelope(eData[0].noise_level, fData->res,
1261 (eData[0].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1266 sbrNoiseFloorLevelsQuantisation(eData[0].noise_level,eData[0].noiseFloor, 0);
1268 FDKsbrEnc_codeEnvelope (eData[0].noise_level, fData->res,
1271 (eData[0].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1274 sbrNoiseFloorLevelsQuantisation(eDataeData[1].noiseFloor, 0);
1276 FDKsbrEnc_codeEnvelope (eData[1].noise_level, fData->res,
1279 (eData[1].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1285 coupleNoiseFloor(eData[0].noiseFloor,eData[1].noiseFloor);
1287 sbrNoiseFloorLevelsQuantisation(eData[0].noise_level,eData[0].noiseFloor, 0);
1289 FDKsbrEnc_codeEnvelope (eData[0].noise_level, fData->res,
1292 (eData[0].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1295 sbrNoiseFloorLevelsQuantisation(eData[1].noise_level,eData[1].noiseFloor, 1);
1297 FDKsbrEnc_codeEnvelope (eData[1].noise_level, fData->res,
1300 (eData[1].frame_info->nEnvelopes > 1 ? 2 : 1), 1,
1305 sbrNoiseFloorLevelsQuantisation(eData[0].noise_level,eData[0].noiseFloor, 0);
1306 sbrNoiseFloorLevelsQuantisation(eData[1].noise_level,eData[1].noiseFloor, 0);
1307 coupleNoiseFloor(eData[0].noiseFloor,eData[1].noiseFloor);
1308 sbrNoiseFloorLevelsQuantisation(eData[0].noise_level_coupling,eData[0].noiseFloor, 0);
1309 sbrNoiseFloorLevelsQuantisation(eData[1].noise_level_coupling,eData[1].noiseFloor, 1);
1322 FDKsbrEnc_codeEnvelope (eData[0].sfb_nrg, eData[0].frame_info->freqRes,
1326 eData[0].frame_info->nEnvelopes, 0,
1336 FDKsbrEnc_codeEnvelope (eData[0].sfb_nrg, eData[0].frame_info->freqRes,
1340 eData[0].frame_info->nEnvelopes, 0,
1342 FDKsbrEnc_codeEnvelope (eData[1].sfb_nrg, eData[1].frame_info->freqRes,
1346 eData[1].frame_info->nEnvelopes, 0,
1354 FDKsbrEnc_codeEnvelope (eData[0].sfb_nrg, eData[0].frame_info->freqRes,
1358 eData[0].frame_info->nEnvelopes, 0,
1360 FDKsbrEnc_codeEnvelope (eData[1].sfb_nrg, eData[1].frame_info->freqRes,
1364 eData[1].frame_info->nEnvelopes, 1,
1410 FDKsbrEnc_codeEnvelope (eData[0].sfb_nrg, eData[0].frame_info->freqRes,
1413 eData[0].frame_info->nEnvelopes, 0,
1415 FDKsbrEnc_codeEnvelope (eData[1].sfb_nrg, eData[1].frame_info->freqRes,
1418 eData[1].frame_info->nEnvelopes, 0,
1422 for (i = 0; i < eData[0].nEnvelopes; i++) {
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];
1433 FDKsbrEnc_codeEnvelope (eData[0].noise_level, fData->res,
1436 (eData[0].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1441 h_envChan[0]->encEnvData.sbr_noise_levels[i] = eData[0].noise_level[i];
1444 FDKsbrEnc_codeEnvelope (eData[1].noise_level, fData->res,
1447 (eData[1].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1451 h_envChan[1]->encEnvData.sbr_noise_levels[i] = eData[1].noise_level[i];
1518 FDKsbrEnc_codeEnvelope (eData[0].sfb_nrg_coupling, eData[0].frame_info->freqRes,
1521 eData[0].frame_info->nEnvelopes, 0,
1524 FDKsbrEnc_codeEnvelope (eData[1].sfb_nrg_coupling, eData[1].frame_info->freqRes,
1527 eData[1].frame_info->nEnvelopes, 1,
1532 for (i = 0; i < eData[0].nEnvelopes; i++) {
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];
1540 FDKsbrEnc_codeEnvelope (eData[0].noise_level_coupling, fData->res,
1543 (eData[0].frame_info->nEnvelopes > 1 ? 2 : 1), 0,
1547 h_envChan[0]->encEnvData.sbr_noise_levels[i] = eData[0].noise_level_coupling[i];
1550 FDKsbrEnc_codeEnvelope (eData[1].noise_level_coupling, fData->res,
1553 (eData[1].frame_info->nEnvelopes > 1 ? 2 : 1), 1,
1557 h_envChan[1]->encEnvData.sbr_noise_levels[i] = eData[1].noise_level_coupling[i];
1586 SBR_ENV_TEMP_DATA *ed = &eData[ch];
1650 SBR_ENV_TEMP_DATA *ed = &eData[ch];