Searched refs:oversample (Results 1 – 3 of 3) sorted by relevance
/external/speex/libspeexdsp/ |
D | resample.c | 130 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 …]
|
D | resample_sse.h | 57 …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/u-boot/drivers/video/ |
D | stb_truetype.h | 2834 static float stbtt__oversample_shift(int oversample) in stbtt__oversample_shift() argument 2836 if (!oversample) in stbtt__oversample_shift() 2843 return (float)-(oversample - 1) / (2.0f * (float)oversample); in stbtt__oversample_shift()
|