Searched refs:resampled_destination (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/common_audio/resampler/ |
D | sinc_resampler_unittest.cc | 69 std::unique_ptr<float[]> resampled_destination(new float[max_chunk_size]); in TEST() local 73 resampler.Resample(resampler.ChunkSize(), resampled_destination.get()); in TEST() 80 resampler.Resample(max_chunk_size, resampled_destination.get()); in TEST() 88 std::unique_ptr<float[]> resampled_destination( in TEST() local 93 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST() 94 ASSERT_NE(resampled_destination[0], 0); in TEST() 100 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST() 102 ASSERT_FLOAT_EQ(resampled_destination[i], 0); in TEST() 286 std::unique_ptr<float[]> resampled_destination(new float[output_samples]); in TEST_P() local 290 resampler.Resample(output_samples, resampled_destination.get()); in TEST_P() [all …]
|
D | push_sinc_resampler_unittest.cc | 74 std::unique_ptr<float[]> resampled_destination(new float[output_samples]); in ResampleBenchmarkTest() local 91 sinc_resampler.Resample(output_samples, resampled_destination.get()); in ResampleBenchmarkTest() 109 resampled_destination.get(), in ResampleBenchmarkTest() 156 std::unique_ptr<float[]> resampled_destination(new float[output_samples]); in ResampleTest() local 183 &resampled_destination[i * output_block_size]); in ResampleTest() 190 &resampled_destination[i * output_block_size], in ResampleTest() 214 double error = fabs(resampled_destination[i] - pure_destination[i]); in ResampleTest()
|