Lines Matching defs:sample
129 /* each 16 bits sample gives one nibble
144 /* each 16 bits sample gives one nibble
207 /* each 16 bits sample gives one nibble */
231 int16_t sample)
233 int delta = sample - c->prev_sample;
243 static inline uint8_t adpcm_ima_alp_compress_sample(ADPCMChannelStatus *c, int16_t sample)
245 const int delta = sample - c->prev_sample;
263 int16_t sample)
265 int delta = sample - c->prev_sample;
300 int16_t sample)
307 nibble = sample - predictor;
329 int16_t sample)
338 delta = sample - c->predictor;
394 int sample = samples[i * stride];
399 // to yield a suboptimal next sample too
406 const int div = (sample - predictor) / step;
419 d = sample - dec_sample;\
427 /* Collapse any two states with the same previous sample value. \
429 * sample, but the effects of that are negligible.
433 * node with the same sample value is better in most cases
436 * ssd of the earlier node with the same sample gives
485 const int div = (sample - predictor) * 4 / STEP_TABLE;\
587 int16_t sample = ff_adpcm_argo_expand_nibble(cs, nibble, shift, flag);
589 error += abs(samples[n] - sample);