• Home
  • Raw
  • Download

Lines Matching refs:last_sample

134    spx_int32_t  *last_sample;  member
336 int last_sample = st->last_sample[channel_index]; in resampler_basic_direct_single() local
346 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_single()
349 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_direct_single()
367 last_sample += int_advance; in resampler_basic_direct_single()
372 last_sample++; in resampler_basic_direct_single()
376 st->last_sample[channel_index] = last_sample; in resampler_basic_direct_single()
388 int last_sample = st->last_sample[channel_index]; in resampler_basic_direct_double() local
398 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_double()
401 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_direct_double()
418 last_sample += int_advance; in resampler_basic_direct_double()
423 last_sample++; in resampler_basic_direct_double()
427 st->last_sample[channel_index] = last_sample; in resampler_basic_direct_double()
437 int last_sample = st->last_sample[channel_index]; in resampler_basic_interpolate_single() local
446 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_single()
448 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_interpolate_single()
479 last_sample += int_advance; in resampler_basic_interpolate_single()
484 last_sample++; in resampler_basic_interpolate_single()
488 st->last_sample[channel_index] = last_sample; in resampler_basic_interpolate_single()
500 int last_sample = st->last_sample[channel_index]; in resampler_basic_interpolate_double() local
509 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_double()
511 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_interpolate_double()
541 last_sample += int_advance; in resampler_basic_interpolate_double()
546 last_sample++; in resampler_basic_interpolate_double()
550 st->last_sample[channel_index] = last_sample; in resampler_basic_interpolate_double()
700 st->last_sample[i] += (st->filt_len - olen)/2; in update_filter()
769 st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(int)); in speex_resampler_init_frac()
774 st->last_sample[i] = 0; in speex_resampler_init_frac()
796 speex_free(st->last_sample); in speex_resampler_destroy()
815 if (st->last_sample[channel_index] < (spx_int32_t)*in_len) in speex_resampler_process_native()
816 *in_len = st->last_sample[channel_index]; in speex_resampler_process_native()
818 st->last_sample[channel_index] -= *in_len; in speex_resampler_process_native()
1112 st->last_sample[i] = st->filt_len/2; in speex_resampler_skip_zeros()