Lines Matching refs:channels
80 switch (avctx->channels) {
134 "Unsupported channel count: %d!\n", avctx->channels);
178 ctx->ch_units[i].channels[ch].ch_num = ch;
179 ctx->ch_units[i].channels[ch].wnd_shape = &ctx->ch_units[i].channels[ch].wnd_shape_hist[0][0];
180 ctx->ch_units[i].channels[ch].wnd_shape_prev = &ctx->ch_units[i].channels[ch].wnd_shape_hist[1][0];
181 ctx->ch_units[i].channels[ch].gain_data = &ctx->ch_units[i].channels[ch].gain_data_hist[0][0];
182 ctx->ch_units[i].channels[ch].gain_data_prev = &ctx->ch_units[i].channels[ch].gain_data_hist[1][0];
183 ctx->ch_units[i].channels[ch].tones_info = &ctx->ch_units[i].channels[ch].tones_info_hist[0][0];
184 ctx->ch_units[i].channels[ch].tones_info_prev = &ctx->ch_units[i].channels[ch].tones_info_hist[1][0];
214 RNG_index += ctx->channels[0].qu_sf_idx[qu] +
215 ctx->channels[1].qu_sf_idx[qu];
226 src = &ctx->channels[ch].spectrum[ff_atrac3p_qu_to_spec_pos[qu]];
231 if (ctx->channels[ch].qu_wordlen[qu] > 0) {
232 q = ff_atrac3p_sf_tab[ctx->channels[ch].qu_sf_idx[qu]] *
233 ff_atrac3p_mant_tab[ctx->channels[ch].qu_wordlen[qu]];
271 (ch_unit->channels[ch].wnd_shape_prev[sb] << 1) +
272 ch_unit->channels[ch].wnd_shape[sb], sb);
278 &ch_unit->channels[ch].gain_data_prev[sb],
279 &ch_unit->channels[ch].gain_data[sb],
300 if (ch_unit->channels[ch].tones_info[sb].num_wavs ||
301 ch_unit->channels[ch].tones_info_prev[sb].num_wavs) {
314 FFSWAP(uint8_t *, ch_unit->channels[ch].wnd_shape,
315 ch_unit->channels[ch].wnd_shape_prev);
316 FFSWAP(AtracGainInfo *, ch_unit->channels[ch].gain_data,
317 ch_unit->channels[ch].gain_data_prev);
318 FFSWAP(Atrac3pWavesData *, ch_unit->channels[ch].tones_info,
319 ch_unit->channels[ch].tones_info_prev);