Lines Matching refs:nb_channels
54 int nb_channels; member
295 avctx->channels = s->nb_channels = bytestream2_get_be32u(&b); in qdmc_decode_init()
296 if (s->nb_channels <= 0 || s->nb_channels > 2) { in qdmc_decode_init()
410 for (ch = 0; ch < s->nb_channels; ch++) { in read_noise_data()
499 if (s->nb_channels > 1) in read_wave_data()
598 if (s->nb_channels == 1) in add_wave()
630 if (s->nb_channels == 1) in add_wave0()
675 s->buffer_ptr = &s->buffer[s->nb_channels * s->buffer_offset]; in decode_frame()
688 for (ch = 0; ch < s->nb_channels; ch++) in decode_frame()
693 for (ch = 0; ch < s->nb_channels; ch++) { in decode_frame()
702 for (ch = 0; ch < s->nb_channels; ch++) { in decode_frame()
707 r = &s->buffer_ptr[s->nb_channels * n * s->subframe_size]; in decode_frame()
709 for (ch = 0; ch < s->nb_channels; ch++) { in decode_frame()
714 r = &s->buffer_ptr[n * s->subframe_size * s->nb_channels]; in decode_frame()
715 for (i = 0; i < s->nb_channels * s->subframe_size; i++) { in decode_frame()
718 out += s->subframe_size * s->nb_channels; in decode_frame()
720 for (ch = 0; ch < s->nb_channels; ch++) { in decode_frame()
724 …mset(s->buffer + s->nb_channels * (n * s->subframe_size + s->frame_size + s->buffer_offset), 0, 4 … in decode_frame()
729 …memcpy(s->buffer, &s->buffer[s->nb_channels * s->buffer_offset], 4 * s->frame_size * s->nb_channel… in decode_frame()