Lines Matching refs:bnds
380 WORD32 group, band, bnds;
386 bnds = 16 * group + band;
387 if ((ptr_aac_dec_channel_info->ptr_code_book[bnds] == INTENSITY_HCB) ||
388 (ptr_aac_dec_channel_info->ptr_code_book[bnds] == INTENSITY_HCB2)) {
530 WORD32 bnds = 0;
559 bnds = 16 * group + band;
561 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
563 ptr_scf_fwd[bnds] = 0;
572 ptr_rvlc->conceal_max = bnds;
579 ptr_rvlc->conceal_max = bnds;
589 ptr_rvlc->conceal_max_esc = bnds;
594 ptr_scf_fwd[bnds] = position;
601 ptr_rvlc->first_noise_band = bnds;
603 ptr_scf_fwd[bnds] = noise_energy;
608 ptr_rvlc->conceal_max = bnds;
614 ptr_rvlc->conceal_max = bnds;
624 ptr_rvlc->conceal_max_esc = bnds;
629 ptr_scf_fwd[bnds] = noise_energy;
632 ptr_aac_dec_channel_info->str_pns_info.pns_used[bnds] = 1;
642 ptr_rvlc->conceal_max = bnds;
649 ptr_rvlc->conceal_max = bnds;
659 ptr_rvlc->conceal_max_esc = bnds;
664 ptr_scf_fwd[bnds] = factor;
674 ptr_rvlc->conceal_max = bnds;
680 ptr_rvlc->conceal_max = bnds;
690 ptr_rvlc->conceal_max_esc = bnds;
703 WORD16 bnds = ptr_rvlc->max_sfb_transmitted - 1;
729 ptr_rvlc->conceal_min = bnds;
735 ptr_rvlc->conceal_min = bnds;
745 ptr_rvlc->conceal_min_esc = bnds;
754 bnds = 16 * group + band;
760 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
762 ptr_scf_bwd[bnds] = 0;
770 ptr_scf_bwd[bnds] = position;
777 ptr_scf_bwd[bnds] = position;
791 ptr_scf_bwd[bnds] = position;
797 if (bnds == ptr_rvlc->first_noise_band) {
798 ptr_scf_bwd[bnds] = ptr_rvlc->dpcm_noise_nrg +
801 ptr_rvlc->first_nrg = ptr_scf_bwd[bnds];
805 ptr_scf_bwd[bnds] = noise_energy;
811 ptr_scf_bwd[bnds] = noise_energy;
824 ptr_scf_bwd[bnds] = noise_energy;
833 ptr_scf_bwd[bnds] = factor;
840 ptr_scf_bwd[bnds] = factor;
854 ptr_scf_bwd[bnds] = factor;
966 WORD32 bnds;
983 for (bnds = 0; bnds < RVLC_MAX_SFB; bnds++) {
984 ptr_scf_fwd[bnds] = 0;
985 ptr_scf_bwd[bnds] = 0;
986 ptr_scf_esc[bnds] = 0;
987 ptr_scale_factor[bnds] = 0;
1019 WORD32 band, bnds, start_band, end_band, group;
1056 bnds = 16 * group + band;
1057 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1059 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = 0;
1064 if ((ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] ==
1066 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] ==
1069 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1070 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1071 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1073 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds]);
1075 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1076 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1077 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1082 if (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] ==
1085 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1086 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1087 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1089 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds]);
1091 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1092 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1093 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1098 if ((ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1100 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1102 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1104 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1107 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1108 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1109 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1111 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds]);
1113 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1114 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1115 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1130 bnds = 16 * group + band;
1131 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1132 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1140 bnds = 16 * group + band;
1141 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1142 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1152 WORD32 band, bnds, group, start_band;
1174 bnds = 16 * group + band;
1175 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1181 *ref_fwd = ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1187 *ref_nrg_fwd = ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1193 *ref_scf_fwd = ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1207 WORD32 band, bnds, group, start_band;
1232 bnds = 16 * group + band;
1233 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1239 *ref_bwd = ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1245 *ref_nrg_bwd = ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1251 *ref_scf_bwd = ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1264 WORD32 band, bnds, start_band, end_band, group;
1291 bnds = ptr_rvlc->conceal_min;
1297 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1303 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ref_fwd;
1305 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ref_bwd;
1309 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ref_nrg_fwd;
1311 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ref_nrg_bwd;
1315 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ref_scf_fwd;
1317 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ref_scf_bwd;
1334 bnds = 16 * group + band;
1335 if (ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds] <
1336 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds])
1337 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1338 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1340 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1341 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1354 bnds = 16 * group + band;
1355 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1356 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1364 bnds = 16 * group + band;
1365 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1366 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1375 WORD32 band, bnds, group;
1393 bnds = 16 * group + band;
1394 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1400 sum_fwd += ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1401 sum_bwd += ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1405 sum_nrg_fwd += ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1406 sum_nrg_bwd += ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1410 sum_scf_fwd += ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1411 sum_scf_bwd += ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1425 bnds = 16 * group + band;
1426 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1433 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1434 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1436 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1437 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1442 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1443 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1445 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1446 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1451 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1452 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1454 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1455 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds];
1466 WORD32 band, bnds, group;
1478 bnds = 16 * group + band;
1479 switch (ptr_aac_dec_channel_info->ptr_code_book[bnds]) {
1481 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = 0;
1486 if ((ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] ==
1488 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] ==
1491 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1492 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1493 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1495 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds]);
1497 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = -110;
1502 if (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] ==
1505 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1506 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1507 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1509 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds]);
1511 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = -110;
1516 if ((ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1518 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1520 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1522 (ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] !=
1525 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds],
1526 ptr_aac_dec_channel_info->rvlc_scf_bwd_arr[bnds]);
1527 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = ixheaacd_min32(
1529 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds]);
1531 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] = 0;
1660 WORD32 bnds;
1667 bnds = 16 * group + band;
1668 ptr_aac_dec_channel_info->ptr_scale_factor[bnds] =
1669 ptr_aac_dec_static_channel_info->rvlc_prev_sf[bnds] =
1670 ptr_aac_dec_channel_info->rvlc_scf_fwd_arr[bnds];
1676 bnds = 16 * group + band;
1677 ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] =
1678 ptr_aac_dec_channel_info->ptr_code_book[bnds];
1681 bnds = 16 * group + band;
1682 ptr_aac_dec_static_channel_info->rvlc_prev_cb[bnds] = ZERO_HCB;