Lines Matching refs:olen
677 spx_uint32_t olen = old_length; in update_filter() local
683 olen = old_length + 2*st->magic_samples[i]; in update_filter()
690 if (st->filt_len > olen) in update_filter()
694 for (j=0;j<olen-1;j++) in update_filter()
695 … st->mem[i*st->mem_alloc_size+(st->filt_len-2-j)] = st->mem[i*st->mem_alloc_size+(olen-2-j)]; in update_filter()
700 st->last_sample[i] += (st->filt_len - olen)/2; in update_filter()
703 st->magic_samples[i] = (olen - st->filt_len)/2; in update_filter()
856 spx_uint32_t olen = *out_len; in speex_resampler_process_int() local
863 olen -= speex_resampler_magic(st, channel_index, &out, olen); in speex_resampler_process_int()
865 while (ilen && olen) { in speex_resampler_process_int()
867 spx_uint32_t ochunk = olen; in speex_resampler_process_int()
878 olen -= ochunk; in speex_resampler_process_int()
885 *out_len -= olen; in speex_resampler_process_int()
899 spx_uint32_t olen = *out_len; in speex_resampler_process_float() local
903 const unsigned int ylen = (olen < FIXED_STACK_ALLOC) ? olen : FIXED_STACK_ALLOC; in speex_resampler_process_float()
913 while (ilen && olen) { in speex_resampler_process_float()
916 spx_uint32_t ochunk = (olen > ylen) ? ylen : olen; in speex_resampler_process_float()
922 olen -= omagic; in speex_resampler_process_float()
951 olen -= ochunk; in speex_resampler_process_float()
958 *out_len -= olen; in speex_resampler_process_float()