/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
DownSampler.cpp | 69 // Compute the sinc() with offset. 71 double sinc = !s ? 1.0 : sin(s) / s; local 72 sinc *= sincScaleFactor; 74 // Compute Blackman window, matching the offset of the sinc(). 78 // Window the sinc() function. 81 m_reducedKernel[(i - 1) / 2] = sinc * window;
|
UpSampler.cpp | 64 // Compute the sinc() with offset. 66 double sinc = !s ? 1.0 : sin(s) / s; local 68 // Compute Blackman window, matching the offset of the sinc(). 72 // Window the sinc() function. 73 m_kernel[i] = sinc * window;
|
SincResampler.cpp | 100 // The sinc function is an idealized brick-wall filter, but since we're windowing it the 109 // Generates a set of windowed sinc() kernels. 115 // Compute the sinc() with offset. 117 double sinc = !s ? 1.0 : sin(s) / s; local 118 sinc *= sincScaleFactor; 120 // Compute Blackman window, matching the offset of the sinc(). 124 // Window the sinc() function and store at the correct offset. 125 m_kernelStorage[i + offsetIndex * m_kernelSize] = sinc * window;
|
/frameworks/av/tools/resampler_tools/ |
fir.cpp | 23 static double sinc(double x) { function 228 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr; 254 double y = kaiser(i+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;;
|
/external/speex/libspeex/ |
resample.c | 275 /* The slow way of computing a sinc for the table. Should improve that some day */ 276 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) function 288 /* The slow way of computing a sinc for the table. Should improve that some day */ 289 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) function 306 but I know it's MMSE-optimal on a sinc */ 322 but I know it's MMSE-optimal on a sinc */ 348 const spx_word16_t *sinc = & sinc_table[samp_frac_num*N]; local 355 accum[0] += sinc[j]*iptr[j]; 356 accum[1] += sinc[j+1]*iptr[j+1]; 357 accum[2] += sinc[j+2]*iptr[j+2] 400 const spx_word16_t *sinc = & sinc_table[samp_frac_num*N]; local [all...] |
/external/pixman/pixman/ |
pixman-filter.c | 71 sinc (double x) function 82 return sinc (x) * sinc (x * (1.0 / n));
|
/external/chromium_org/skia/ext/ |
image_operations_unittest.cc | 653 static double sinc(double x) { function 661 return sinc(offset) * sinc(offset / 3.0);
|
/frameworks/av/services/audioflinger/ |
AudioResamplerSinc.cpp | 829 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0); local [all...] |