Lines Matching defs:samples
102 have to buffer the samples :-( */
267 const int16_t *samples, uint8_t *dst,
309 int sample = samples[i * stride];
336 /* Check for wraparound, skip such samples completely. \
350 * in all cases. Only skipping samples where ssd >=
475 const int16_t *samples;
481 samples = (const int16_t *)frame->data[0];
510 /* stereo: 4 bytes (8 samples) for left, 4 bytes for right */
585 put_sbits(&pb, 16, samples[i]);
587 c->status[i].prev_sample = samples[i];
592 adpcm_compress_trellis(avctx, samples + avctx->channels, buf,
595 adpcm_compress_trellis(avctx, samples + avctx->channels + 1,
607 samples[avctx->channels * i]));
610 samples[2 * i + 1]));
629 c->status[i].sample2= *samples++;
631 c->status[i].sample1 = *samples++;
641 adpcm_compress_trellis(avctx, samples, buf, &c->status[0], n,
646 adpcm_compress_trellis(avctx, samples, buf,
648 adpcm_compress_trellis(avctx, samples + 1, buf + n,
657 nibble = adpcm_ms_compress_sample(&c->status[ 0], *samples++) << 4;
658 nibble |= adpcm_ms_compress_sample(&c->status[st], *samples++);
669 adpcm_compress_trellis(avctx, samples, buf, &c->status[0], n,
674 adpcm_compress_trellis(avctx, samples, buf,
676 adpcm_compress_trellis(avctx, samples + 1, buf + n,
685 nibble = adpcm_yamaha_compress_sample(&c->status[ 0], *samples++);
686 nibble |= adpcm_yamaha_compress_sample(&c->status[st], *samples++) << 4;