• Home
  • Raw
  • Download

Lines Matching refs:ch_data

369 static void sbr_chirp(SpectralBandReplication *sbr, SBRData *ch_data)  in sbr_chirp()  argument
377 if (ch_data->bs_invf_mode[0][i] + ch_data->bs_invf_mode[1][i] == 1) in sbr_chirp()
380 new_bw = bw_tab[ch_data->bs_invf_mode[0][i]]; in sbr_chirp()
382 if (new_bw < ch_data->bw_array[i]){ in sbr_chirp()
384 accu += (int64_t)ch_data->bw_array[i] * 0x20000000; in sbr_chirp()
388 accu += (int64_t)ch_data->bw_array[i] * 201326592; in sbr_chirp()
391 ch_data->bw_array[i] = new_bw < 0x2000000 ? 0 : new_bw; in sbr_chirp()
400 SBRData *ch_data, const int e_a[2]) in sbr_gain_calc() argument
407 for (e = 0; e < ch_data->bs_num_env; e++) { in sbr_gain_calc()
417 … sbr->s_m[e][m] = av_sqrt_sf(av_mul_sf(temp, av_int2sf(ch_data->s_indexmapped[e + 1][m], 0))); in sbr_gain_calc()
490 SpectralBandReplication *sbr, SBRData *ch_data, in sbr_hf_assemble() argument
504 SoftFloat (*g_temp)[48] = ch_data->g_temp, (*q_temp)[48] = ch_data->q_temp; in sbr_hf_assemble()
505 int indexnoise = ch_data->f_indexnoise; in sbr_hf_assemble()
506 int indexsine = ch_data->f_indexsine; in sbr_hf_assemble()
510 memcpy(g_temp[i + 2*ch_data->t_env[0]], sbr->gain[0], m_max * sizeof(sbr->gain[0][0])); in sbr_hf_assemble()
511 memcpy(q_temp[i + 2*ch_data->t_env[0]], sbr->q_m[0], m_max * sizeof(sbr->q_m[0][0])); in sbr_hf_assemble()
515 memcpy(g_temp[i + 2 * ch_data->t_env[0]], in sbr_hf_assemble()
516 g_temp[i + 2 * ch_data->t_env_num_env_old], in sbr_hf_assemble()
518 memcpy(q_temp[i + 2 * ch_data->t_env[0]], in sbr_hf_assemble()
519 q_temp[i + 2 * ch_data->t_env_num_env_old], in sbr_hf_assemble()
524 for (e = 0; e < ch_data->bs_num_env; e++) { in sbr_hf_assemble()
525 for (i = 2 * ch_data->t_env[e]; i < 2 * ch_data->t_env[e + 1]; i++) { in sbr_hf_assemble()
531 for (e = 0; e < ch_data->bs_num_env; e++) { in sbr_hf_assemble()
532 for (i = 2 * ch_data->t_env[e]; i < 2 * ch_data->t_env[e + 1]; i++) { in sbr_hf_assemble()
608 ch_data->f_indexnoise = indexnoise; in sbr_hf_assemble()
609 ch_data->f_indexsine = indexsine; in sbr_hf_assemble()