Home
last modified time | relevance | path

Searched refs:ch_unit (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Datrac3plusdec.c207 static void decode_residual_spectrum(ATRAC3PContext *ctx, Atrac3pChanUnitCtx *ch_unit, in decode_residual_spectrum() argument
218 if (ch_unit->mute_flag) { in decode_residual_spectrum()
224 for (qu = 0, RNG_index = 0; qu < ch_unit->used_quant_units; qu++) in decode_residual_spectrum()
225 RNG_index += ch_unit->channels[0].qu_sf_idx[qu] + in decode_residual_spectrum()
226 ch_unit->channels[1].qu_sf_idx[qu]; in decode_residual_spectrum()
228 for (sb = 0; sb < ch_unit->num_coded_subbands; sb++, RNG_index += 128) in decode_residual_spectrum()
236 for (qu = 0; qu < ch_unit->used_quant_units; qu++) { in decode_residual_spectrum()
237 src = &ch_unit->channels[ch].spectrum[ff_atrac3p_qu_to_spec_pos[qu]]; in decode_residual_spectrum()
242 if (ch_unit->channels[ch].qu_wordlen[qu] > 0) { in decode_residual_spectrum()
243 q = ff_atrac3p_sf_tab[ch_unit->channels[ch].qu_sf_idx[qu]] * in decode_residual_spectrum()
[all …]
Datrac3plusdsp.c186 void ff_atrac3p_generate_tones(Atrac3pChanUnitCtx *ch_unit, AVFloatDSPContext *fdsp, in ff_atrac3p_generate_tones() argument
192 Atrac3pWavesData *tones_now = &ch_unit->channels[ch_num].tones_info_prev[sb]; in ff_atrac3p_generate_tones()
193 Atrac3pWavesData *tones_next = &ch_unit->channels[ch_num].tones_info[sb]; in ff_atrac3p_generate_tones()
227 waves_synth(ch_unit->waves_info_prev, tones_now, &tones_now->curr_env, in ff_atrac3p_generate_tones()
228 fdsp, ch_unit->waves_info_prev->invert_phase[sb] & ch_num, in ff_atrac3p_generate_tones()
232 waves_synth(ch_unit->waves_info, tones_next, &tones_next->curr_env, fdsp, in ff_atrac3p_generate_tones()
233 ch_unit->waves_info->invert_phase[sb] & ch_num, 0, wavreg2); in ff_atrac3p_generate_tones()
Datrac3plus.h197 void ff_atrac3p_generate_tones(Atrac3pChanUnitCtx *ch_unit, AVFloatDSPContext *fdsp,