Searched refs:ch_data (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | aacsbr_template.c | 627 GetBitContext *gb, SBRData *ch_data) argument 634 unsigned bs_num_env_old = ch_data->bs_num_env; 637 ch_data->bs_freq_res[0] = ch_data->bs_freq_res[ch_data->bs_num_env]; 638 ch_data->bs_amp_res = sbr->bs_amp_res_header; 639 ch_data->t_env_num_env_old = ch_data->t_env[bs_num_env_old]; 650 ch_data->bs_num_env = bs_num_env; 651 num_rel_lead = ch_data->bs_num_env - 1; 652 if (ch_data->bs_num_env == 1) 653 ch_data->bs_amp_res = 0; 656 ch_data->t_env[0] = 0; [all …]
|
D | aacsbr.c | 195 static void sbr_chirp(SpectralBandReplication *sbr, SBRData *ch_data) in sbr_chirp() argument 202 if (ch_data->bs_invf_mode[0][i] + ch_data->bs_invf_mode[1][i] == 1) { in sbr_chirp() 205 new_bw = bw_tab[ch_data->bs_invf_mode[0][i]]; in sbr_chirp() 207 if (new_bw < ch_data->bw_array[i]) { in sbr_chirp() 208 new_bw = 0.75f * new_bw + 0.25f * ch_data->bw_array[i]; in sbr_chirp() 210 new_bw = 0.90625f * new_bw + 0.09375f * ch_data->bw_array[i]; in sbr_chirp() 211 ch_data->bw_array[i] = new_bw < 0.015625f ? 0.0f : new_bw; in sbr_chirp() 220 SBRData *ch_data, const int e_a[2]) in sbr_gain_calc() argument 226 for (e = 0; e < ch_data->bs_num_env; e++) { in sbr_gain_calc() 234 sbr->s_m[e][m] = sqrtf(temp * ch_data->s_indexmapped[e + 1][m]); in sbr_gain_calc() [all …]
|
D | aacsbr_fixed.c | 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() [all …]
|
D | wmaprodec.c | 1109 float** ch_data = s->chgroup[i].channel_data; in inverse_channel_transform() local 1110 float** ch_end = ch_data + num_channels; in inverse_channel_transform() 1126 for (ch = ch_data; ch < ch_end; ch++) in inverse_channel_transform() 1129 for (ch = ch_data; ch < ch_end; ch++) { in inverse_channel_transform() 1140 s->fdsp->vector_fmul_scalar(ch_data[0] + sfb[0], in inverse_channel_transform() 1141 ch_data[0] + sfb[0], in inverse_channel_transform() 1143 s->fdsp->vector_fmul_scalar(ch_data[1] + sfb[0], in inverse_channel_transform() 1144 ch_data[1] + sfb[0], in inverse_channel_transform()
|
D | sbr.h | 129 SpectralBandReplication *sbr, SBRData *ch_data,
|
/third_party/ffmpeg/libavcodec/mips/ |
D | aacsbr_mips.c | 318 SpectralBandReplication *sbr, SBRData *ch_data, in sbr_hf_assemble_mips() argument 333 float (*g_temp)[48] = ch_data->g_temp, (*q_temp)[48] = ch_data->q_temp; in sbr_hf_assemble_mips() 334 int indexnoise = ch_data->f_indexnoise; in sbr_hf_assemble_mips() 335 int indexsine = ch_data->f_indexsine; in sbr_hf_assemble_mips() 342 memcpy(g_temp[i + 2*ch_data->t_env[0]], sbr->gain[0], m_max * sizeof(sbr->gain[0][0])); in sbr_hf_assemble_mips() 343 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_mips() 346 … memcpy(g_temp[2*ch_data->t_env[0]], g_temp[2*ch_data->t_env_num_env_old], 4*sizeof(g_temp[0])); in sbr_hf_assemble_mips() 347 … memcpy(q_temp[2*ch_data->t_env[0]], q_temp[2*ch_data->t_env_num_env_old], 4*sizeof(q_temp[0])); in sbr_hf_assemble_mips() 350 for (e = 0; e < ch_data->bs_num_env; e++) { in sbr_hf_assemble_mips() 351 for (i = 2 * ch_data->t_env[e]; i < 2 * ch_data->t_env[e + 1]; i++) { in sbr_hf_assemble_mips() [all …]
|