Lines Matching defs:samples
771 /* decode a frame of frame_len samples */
772 static int wma_decode_frame(WMACodecContext *s, int16_t *samples)
797 s->fmt_conv.float_to_int16_interleave(samples, output, n, incr);
804 dump_shorts(s, "samples", samples, n * s->nb_channels);
817 int16_t *samples;
849 samples = (int16_t *)s->frame.data[0];
884 if (wma_decode_frame(s, samples) < 0)
886 samples += s->nb_channels * s->frame_len;
901 if (wma_decode_frame(s, samples) < 0)
903 samples += s->nb_channels * s->frame_len;
919 if (wma_decode_frame(s, samples) < 0)
921 samples += s->nb_channels * s->frame_len;
924 //av_log(NULL, AV_LOG_ERROR, "%d %d %d %d outbytes:%d eaten:%d\n", s->frame_len_bits, s->block_len_bits, s->frame_len, s->block_len, (int8_t *)samples - (int8_t *)data, s->block_align);