Home
last modified time | relevance | path

Searched refs:oversample (Results 1 – 6 of 6) sorted by relevance

/external/speex/libspeexdsp/
Dresample.c130 spx_uint32_t oversample; member
196 int oversample; member
212 int oversample; member
247 y = x*func->oversample; in compute_func()
456 const int offset = samp_frac_num*st->oversample/st->den_rate; in resampler_basic_interpolate_single()
458 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_single()
460 … const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; in resampler_basic_interpolate_single()
471 accum[0] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset-2]); in resampler_basic_interpolate_single()
472 accum[1] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset-1]); in resampler_basic_interpolate_single()
473 accum[2] += MULT16_16(curr_in,st->sinc_table[4+(j+1)*st->oversample-offset]); in resampler_basic_interpolate_single()
[all …]
Dresample_sse.h57 …gle(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { in interpolate_product_single() argument
64 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_load1_ps(a+i), _mm_loadu_ps(b+i*oversample))); in interpolate_product_single()
65 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_load1_ps(a+i+1), _mm_loadu_ps(b+(i+1)*oversample))); in interpolate_product_single()
100 …ble(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { in interpolate_product_double() argument
112 t = _mm_mul_ps(_mm_load1_ps(a+i), _mm_loadu_ps(b+i*oversample)); in interpolate_product_double()
116 t = _mm_mul_ps(_mm_load1_ps(a+i+1), _mm_loadu_ps(b+(i+1)*oversample)); in interpolate_product_double()
/external/perfetto/protos/perfetto/common/
Dperf_events.proto38 // Prefer |frequency| by default, as it's easier to oversample with a
/external/mesa3d/src/imgui/
Dimstb_truetype.h3976 static float stbtt__oversample_shift(int oversample) in stbtt__oversample_shift() argument
3978 if (!oversample) in stbtt__oversample_shift()
3985 return (float)-(oversample - 1) / (2.0f * (float)oversample); in stbtt__oversample_shift()
/external/perfetto/protos/perfetto/config/
Dperfetto_config.proto824 // Prefer |frequency| by default, as it's easier to oversample with a
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto824 // Prefer |frequency| by default, as it's easier to oversample with a