Home
last modified time | relevance | path

Searched refs:kKernelSize (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/webrtc/common_audio/resampler/
Dsinc_resampler.cc158 input_buffer_size_(request_frames_ + kKernelSize), in SincResampler()
172 r2_(input_buffer_.get() + kKernelSize / 2) { in SincResampler()
179 assert(block_size_ > kKernelSize); in SincResampler()
196 r0_ = input_buffer_.get() + (second_load ? kKernelSize : kKernelSize / 2); in UpdateRegions()
197 r3_ = r0_ + request_frames_ - kKernelSize; in UpdateRegions()
198 r4_ = r0_ + request_frames_ - kKernelSize / 2; in UpdateRegions()
223 for (int i = 0; i < kKernelSize; ++i) { in InitializeKernel()
224 const int idx = i + offset_idx * kKernelSize; in InitializeKernel()
226 static_cast<float>(M_PI * (i - kKernelSize / 2 - subsample_offset)); in InitializeKernel()
230 const float x = (i - subsample_offset) / kKernelSize; in InitializeKernel()
[all …]
Dsinc_resampler_sse.cc30 for (int i = 0; i < kKernelSize; i += 4) { in Convolve_SSE()
36 for (int i = 0; i < kKernelSize; i += 4) { in Convolve_SSE()
Dsinc_resampler.h41 kKernelSize = 32, enumerator
51 kKernelStorageSize = kKernelSize * (kKernelOffsetCount + 1),
Dpush_sinc_resampler.h48 return 1.f / source_rate_hz * SincResampler::kKernelSize / 2; in AlgorithmicDelaySeconds()
Dsinc_resampler_neon.cc27 const float* upper = input_ptr + kKernelSize; in Convolve_NEON()
/external/chromium_org/media/base/
Dsinc_resampler.cc120 input_buffer_size_(request_frames_ + kKernelSize), in SincResampler()
131 r2_(input_buffer_.get() + kKernelSize / 2) { in SincResampler()
134 CHECK_GT(block_size_, kKernelSize) in SincResampler()
152 r0_ = input_buffer_.get() + (second_load ? kKernelSize : kKernelSize / 2); in UpdateRegions()
153 r3_ = r0_ + request_frames_ - kKernelSize; in UpdateRegions()
154 r4_ = r0_ + request_frames_ - kKernelSize / 2; in UpdateRegions()
179 for (int i = 0; i < kKernelSize; ++i) { in InitializeKernel()
180 const int idx = i + offset_idx * kKernelSize; in InitializeKernel()
181 const float pre_sinc = M_PI * (i - kKernelSize / 2 - subsample_offset); in InitializeKernel()
185 const float x = (i - subsample_offset) / kKernelSize; in InitializeKernel()
[all …]
Dsinc_resampler.h24 kKernelSize = 32, enumerator
34 kKernelStorageSize = kKernelSize * (kKernelOffsetCount + 1),
Daudio_buffer_converter_unittest.cc119 48000, CHANNEL_LAYOUT_STEREO, 2, SincResampler::kKernelSize - 1)); in TEST_F()