Lines Matching defs:snd
568 * @param snd the channel unit to be used
574 ChannelUnit *snd, float *output,
578 GainBlock *gain1 = &snd->gain_block[ snd->gc_blk_switch];
579 GainBlock *gain2 = &snd->gain_block[1 - snd->gc_blk_switch];
594 snd->bands_coded = get_bits(gb, 2);
596 ret = decode_gain_control(gb, gain2, snd->bands_coded);
600 snd->num_components = decode_tonal_components(gb, snd->components,
601 snd->bands_coded);
602 if (snd->num_components < 0)
603 return snd->num_components;
605 num_subbands = decode_spectrum(gb, snd->spectrum);
608 last_tonal = add_tonal_components(snd->spectrum, snd->num_components,
609 snd->components);
623 imlt(q, &snd->spectrum[band * 256], snd->imdct_buf, band & 1);
625 memset(snd->imdct_buf, 0, 512 * sizeof(*snd->imdct_buf));
628 ff_atrac_gain_compensation(&q->gainc_ctx, snd->imdct_buf,
629 &snd->prev_frame[band * 256],
635 snd->gc_blk_switch ^= 1;