Lines Matching defs:samples
127 put_bits32(&s->pbctx, s->avctx->frame_size); // No. of samples in the frame
256 int32_t *samples = s->sample_buf[ch];
259 // generate warm-up samples
260 residual[0] = samples[0];
262 residual[i] = samples[i] - samples[i-1];
264 // perform lpc on remaining samples
269 sum += (samples[lpc.lpc_order-j] - samples[0]) *
274 sum += samples[0];
275 residual[i] = sign_extend(samples[lpc.lpc_order+1] - sum,
284 int val = samples[0] - samples[lpc.lpc_order - index];
297 samples++;
306 int32_t *samples = s->predictor_buf;
313 x = -2*(*samples)-1;
316 samples++;
333 while (*samples == 0 && i < s->avctx->frame_size) {
334 samples++;
373 // apply lpc and entropy coding to audio samples
399 av_log(avctx, AV_LOG_ERROR, "only pcm_s16 input samples are supported\n");
510 const int16_t *samples = data;
513 put_sbits(pb, 16, *samples++);