Lines Matching defs:sblock
407 int sblock)
415 psv->en[chn].s[sb][sblock] = enn[sb];
416 psv->thm[chn].s[sb][sblock] = thm[sb];
438 int sb, sblock;
444 for (sblock = 0; sblock < 3; ++sblock) {
445 psv->en[chn].s[sb][sblock] = tmp_enn;
446 psv->thm[chn].s[sb][sblock] = tmp_thm;
487 unsigned int sb, sblock;
491 for (sblock = 0; sblock < 3; sblock++) {
492 FLOAT const thm = mr->thm.s[sb][sblock];
496 FLOAT const en = mr->en.s[sb][sblock];
719 int sblock, FLOAT(*fftenergy_s)[HBLKSIZE_s], FLOAT(*wsamp_s)[3][BLKSIZE_s])
723 if (sblock == 0 && chn < 2) {
730 FLOAT const l = wsamp_s[0][sblock][j];
731 FLOAT const r = wsamp_s[1][sblock][j];
732 wsamp_s[0][sblock][j] = (l + r) * sqrt2_half;
733 wsamp_s[1][sblock][j] = (l - r) * sqrt2_half;
740 fftenergy_s[sblock][0] = (*wsamp_s)[sblock][0];
741 fftenergy_s[sblock][0] *= fftenergy_s[sblock][0];
743 FLOAT const re = (*wsamp_s)[sblock][BLKSIZE_s / 2 - j];
744 FLOAT const im = (*wsamp_s)[sblock][BLKSIZE_s / 2 + j];
745 fftenergy_s[sblock][BLKSIZE_s / 2 - j] = (re * re + im * im) * 0.5f;
954 vbrpsy_skip_masking_s(lame_internal_flags * gfc, int chn, int sblock)
956 if (sblock == 0) {
1043 FLOAT * eb, FLOAT * thr, int chn, int sblock)
1058 FLOAT const el = fftenergy_s[sblock][j];
1446 int chn, sb, sblock;
1483 for (sblock = 0; sblock < 3; sblock++) {
1487 vbrpsy_skip_masking_s(gfc, chn, sblock);
1492 vbrpsy_compute_fft_s(gfc, buffer, chn, sblock, fftenergy_s, wsamp_s);
1494 sblock);
1507 convert_partition2scalefac_s(gfc, eb[chn], thr[chn], chn, sblock);
1516 for (sblock = 0; sblock < 3; sblock++) {
1517 thmm = psv->thm[chn].s[sb][sblock];
1522 if (sblock > 0) {
1523 prev_thm = new_thmm[sblock - 1];
1528 if (ns_attacks[chn][sblock] >= 2 || ns_attacks[chn][sblock + 1] == 1) {
1532 if (ns_attacks[chn][sblock] == 1) {
1535 else if ((sblock == 0 && psv->last_attacks[chn] == 3)
1536 || (sblock > 0 && ns_attacks[chn][sblock - 1] == 3)) { /* 2nd preceeding block */
1537 switch (sblock) {
1555 thmm *= sub_short_factor[chn][sblock];
1557 new_thmm[sblock] = thmm;
1559 for (sblock = 0; sblock < 3; sblock++) {
1560 psv->thm[chn].s[sb][sblock] = new_thmm[sblock];