Lines Matching refs:olen
677 spx_uint32_t olen = old_length;
683 olen = old_length + 2*st->magic_samples[i];
691 if (st->filt_len > olen)
695 for (j=0;j<olen-1;j++)
696 st->mem[i*st->mem_alloc_size+(st->filt_len-2-j)] = st->mem[i*st->mem_alloc_size+(olen-2-j)];
701 st->last_sample[i] += (st->filt_len - olen)/2;
704 st->magic_samples[i] = (olen - st->filt_len)/2;
857 spx_uint32_t olen = *out_len;
864 olen -= speex_resampler_magic(st, channel_index, &out, olen);
866 while (ilen && olen) {
868 spx_uint32_t ochunk = olen;
879 olen -= ochunk;
886 *out_len -= olen;
900 spx_uint32_t olen = *out_len;
904 const unsigned int ylen = (olen < FIXED_STACK_ALLOC) ? olen : FIXED_STACK_ALLOC;
914 while (ilen && olen) {
917 spx_uint32_t ochunk = (olen > ylen) ? ylen : olen;
923 olen -= omagic;
952 olen -= ochunk;
959 *out_len -= olen;