Searched refs:resampled_destination (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/common_audio/resampler/ |
D | sinc_resampler_unittest.cc | 65 rtc::scoped_ptr<float[]> resampled_destination(new float[max_chunk_size]); in TEST() local 70 resampler.Resample(resampler.ChunkSize(), resampled_destination.get()); in TEST() 76 resampler.Resample(max_chunk_size, resampled_destination.get()); in TEST() 84 rtc::scoped_ptr<float[]> resampled_destination( in TEST() local 90 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST() 91 ASSERT_NE(resampled_destination[0], 0); in TEST() 98 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST() 100 ASSERT_FLOAT_EQ(resampled_destination[i], 0); in TEST() 284 rtc::scoped_ptr<float[]> resampled_destination(new float[output_samples]); in TEST_P() local 288 resampler.Resample(output_samples, resampled_destination.get()); in TEST_P() [all …]
|
D | push_sinc_resampler_unittest.cc | 74 rtc::scoped_ptr<float[]> resampled_destination(new float[output_samples]); in ResampleBenchmarkTest() local 91 sinc_resampler.Resample(output_samples, resampled_destination.get()); in ResampleBenchmarkTest() 112 resampled_destination.get(), in ResampleBenchmarkTest() 156 rtc::scoped_ptr<float[]> resampled_destination(new float[output_samples]); in ResampleTest() local 185 &resampled_destination[i * output_block_size]); in ResampleTest() 193 &resampled_destination[i * output_block_size], in ResampleTest() 217 double error = fabs(resampled_destination[i] - pure_destination[i]); in ResampleTest()
|