Lines Matching refs:t_env
627 ch_data->t_env_num_env_old = ch_data->t_env[bs_num_env_old];
643 ch_data->t_env[0] = 0;
644 ch_data->t_env[ch_data->bs_num_env] = abs_bord_trail;
649 ch_data->t_env[i + 1] = ch_data->t_env[i] + abs_bord_trail;
659 ch_data->t_env[0] = 0;
660 ch_data->t_env[ch_data->bs_num_env] = abs_bord_trail;
663 ch_data->t_env[ch_data->bs_num_env - 1 - i] =
664 ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2;
672 ch_data->t_env[0] = get_bits(gb, 2);
675 ch_data->t_env[ch_data->bs_num_env] = abs_bord_trail;
678 ch_data->t_env[i + 1] = ch_data->t_env[i] + 2 * get_bits(gb, 2) + 2;
685 ch_data->t_env[0] = get_bits(gb, 2);
698 ch_data->t_env[ch_data->bs_num_env] = abs_bord_trail;
701 ch_data->t_env[i + 1] = ch_data->t_env[i] + 2 * get_bits(gb, 2) + 2;
703 ch_data->t_env[ch_data->bs_num_env - 1 - i] =
704 ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2;
720 if (ch_data->t_env[i-1] > ch_data->t_env[i]) {
728 ch_data->t_q[0] = ch_data->t_env[0];
729 ch_data->t_q[ch_data->bs_num_noise] = ch_data->t_env[ch_data->bs_num_env];
744 ch_data->t_q[1] = ch_data->t_env[idx];
760 dst->t_env_num_env_old = dst->t_env[dst->bs_num_env];
765 memcpy(dst->t_env, src->t_env, sizeof(dst->t_env));
1361 const float bw_array[5], const uint8_t *t_env,
1386 for (i = 2 * t_env[0]; i < 2 * t_env[bs_num_env]; i++) {
1465 k = (ch_data->bs_num_noise > 1) && (ch_data->t_env[e] >= ch_data->t_q[1]);
1504 const float recip_env_size = 0.5f / (ch_data->t_env[e + 1] - ch_data->t_env[e]);
1505 int ilb = ch_data->t_env[e] * 2 + ENVELOPE_ADJUSTMENT_OFFSET;
1506 int iub = ch_data->t_env[e + 1] * 2 + ENVELOPE_ADJUSTMENT_OFFSET;
1522 const int env_size = 2 * (ch_data->t_env[e + 1] - ch_data->t_env[e]);
1523 int ilb = ch_data->t_env[e] * 2 + ENVELOPE_ADJUSTMENT_OFFSET;
1524 int iub = ch_data->t_env[e + 1] * 2 + ENVELOPE_ADJUSTMENT_OFFSET;
1632 memcpy(g_temp[i + 2*ch_data->t_env[0]], sbr->gain[0], m_max * sizeof(sbr->gain[0][0]));
1633 memcpy(q_temp[i + 2*ch_data->t_env[0]], sbr->q_m[0], m_max * sizeof(sbr->q_m[0][0]));
1636 memcpy(g_temp[2*ch_data->t_env[0]], g_temp[2*ch_data->t_env_num_env_old], 4*sizeof(g_temp[0]));
1637 memcpy(q_temp[2*ch_data->t_env[0]], q_temp[2*ch_data->t_env_num_env_old], 4*sizeof(q_temp[0]));
1641 for (i = 2 * ch_data->t_env[e]; i < 2 * ch_data->t_env[e + 1]; i++) {
1648 for (i = 2 * ch_data->t_env[e]; i < 2 * ch_data->t_env[e + 1]; i++) {
1734 sbr->data[ch].bw_array, sbr->data[ch].t_env,