Searched refs:kKernelSize (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/webrtc/common_audio/resampler/ |
D | sinc_resampler.cc | 158 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 …]
|
D | sinc_resampler_sse.cc | 30 for (int i = 0; i < kKernelSize; i += 4) { in Convolve_SSE() 36 for (int i = 0; i < kKernelSize; i += 4) { in Convolve_SSE()
|
D | sinc_resampler.h | 41 kKernelSize = 32, enumerator 51 kKernelStorageSize = kKernelSize * (kKernelOffsetCount + 1),
|
D | push_sinc_resampler.h | 48 return 1.f / source_rate_hz * SincResampler::kKernelSize / 2; in AlgorithmicDelaySeconds()
|
D | sinc_resampler_neon.cc | 27 const float* upper = input_ptr + kKernelSize; in Convolve_NEON()
|
/external/chromium_org/media/base/ |
D | sinc_resampler.cc | 120 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 …]
|
D | sinc_resampler.h | 24 kKernelSize = 32, enumerator 34 kKernelStorageSize = kKernelSize * (kKernelOffsetCount + 1),
|
D | audio_buffer_converter_unittest.cc | 119 48000, CHANNEL_LAYOUT_STEREO, 2, SincResampler::kKernelSize - 1)); in TEST_F()
|