Lines Matching refs:thr

361 convert_partition2scalefac(PsyConst_CB2SB_t const *const gd, FLOAT const *eb, FLOAT const *thr,
373 assert(thr[b] >= 0);
375 thmm += thr[b];
385 assert(thr[b] >= 0);
391 thmm += w_curr * thr[b];
395 thmm = w_next * thr[b];
406 convert_partition2scalefac_s(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn,
413 convert_partition2scalefac(gds, eb, thr, enn, thm);
422 convert_partition2scalefac_l(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn)
428 convert_partition2scalefac(gdl, eb, thr, enn, thm);
432 convert_partition2scalefac_l_to_s(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr,
439 convert_partition2scalefac(gds, eb, thr, enn, thm);
1043 FLOAT * eb, FLOAT * thr, int chn, int sblock)
1101 thr[b] = (t1 > 0) ? NS_INTERP(Min(tm, t1), ecb, 0.6) : ecb;
1106 thr[b] = (t1 > 0) ? NS_INTERP(Min(ecb, t1), ecb, 0.6) : ecb;
1109 thr[b] = ecb;
1121 if (thr[b] > x) {
1122 thr[b] = x;
1126 thr[b] *= masking_lower;
1128 if (thr[b] > eb[b]) {
1129 thr[b] = eb[b];
1132 thr[b] *= masking_lower;
1135 assert(thr[b] >= 0);
1139 thr[b] = 0;
1146 FLOAT eb_l[CBANDS], FLOAT thr[CBANDS], int chn)
1211 thr[b] = Min(ecb, ecb_limit);
1222 thr[b] = Min(ecb, eb_l[b] * NS_PREECHO_ATT2);
1241 thr[b] = Min(ecb, ecb_limit);
1253 if (thr[b] > x) {
1254 thr[b] = x;
1258 thr[b] *= masking_lower;
1260 if (thr[b] > eb_l[b]) {
1261 thr[b] = eb_l[b];
1264 thr[b] *= masking_lower;
1266 assert(thr[b] >= 0);
1270 thr[b] = 0;
1337 vbrpsy_compute_MS_thresholds(const FLOAT eb[4][CBANDS], FLOAT thr[4][CBANDS],
1347 FLOAT const thmL = thr[0][b];
1348 FLOAT const thmR = thr[1][b];
1349 FLOAT thmM = thr[2][b];
1350 FLOAT thmS = thr[3][b];
1395 thr[2][b] = rmid;
1396 thr[3][b] = rside;
1430 FLOAT eb[4][CBANDS], thr[4][CBANDS];
1466 vbrpsy_compute_masking_l(gfc, fftenergy, eb[chn], thr[chn], chn);
1470 vbrpsy_compute_MS_thresholds(const_eb, thr, gdl->mld_cb, gfc->ATH->cb_l,
1476 convert_partition2scalefac_l(gfc, eb[chn], thr[chn], chn);
1477 convert_partition2scalefac_l_to_s(gfc, eb[chn], thr[chn], chn);
1493 vbrpsy_compute_masking_s(gfc, const_fftenergy_s, eb[chn], thr[chn], chn,
1499 vbrpsy_compute_MS_thresholds(const_eb, thr, gds->mld_cb, gfc->ATH->cb_s,
1507 convert_partition2scalefac_s(gfc, eb[chn], thr[chn], chn, sblock);