Home
last modified time | relevance | path

Searched refs:output_samples (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/transient/
Ddyadic_decimator.h59 size_t output_samples = 0; in DyadicDecimate() local
61 for (output_samples = 0; output_samples < half_length; ++output_samples) { in DyadicDecimate()
62 out[output_samples] = in[output_samples * 2 + index_adjustment]; in DyadicDecimate()
65 return output_samples; in DyadicDecimate()
Dwpd_node.cc49 size_t output_samples = DyadicDecimate( in Update() local
51 if (output_samples != length_) { in Update()
/external/webrtc/webrtc/common_audio/resampler/
Dpush_sinc_resampler_unittest.cc68 const size_t output_samples = static_cast<size_t>(output_rate_ / 100); in ResampleBenchmarkTest() local
74 rtc::scoped_ptr<float[]> resampled_destination(new float[output_samples]); in ResampleBenchmarkTest()
77 rtc::scoped_ptr<int16_t[]> destination_int(new int16_t[output_samples]); in ResampleBenchmarkTest()
91 sinc_resampler.Resample(output_samples, resampled_destination.get()); in ResampleBenchmarkTest()
97 PushSincResampler resampler(input_samples, output_samples); in ResampleBenchmarkTest()
101 EXPECT_EQ(output_samples, in ResampleBenchmarkTest()
105 output_samples)); in ResampleBenchmarkTest()
109 EXPECT_EQ(output_samples, in ResampleBenchmarkTest()
113 output_samples)); in ResampleBenchmarkTest()
142 const size_t output_samples = in ResampleTest() local
[all …]
Dsinc_resampler_unittest.cc256 const size_t output_samples = in TEST_P() local
284 rtc::scoped_ptr<float[]> resampled_destination(new float[output_samples]); in TEST_P()
285 rtc::scoped_ptr<float[]> pure_destination(new float[output_samples]); in TEST_P()
288 resampler.Resample(output_samples, resampled_destination.get()); in TEST_P()
292 output_rate_, output_samples, input_nyquist_freq, 0); in TEST_P()
293 pure_source.Run(output_samples, pure_destination.get()); in TEST_P()
307 for (size_t i = 0; i < output_samples; ++i) { in TEST_P()
322 double rms_error = sqrt(sum_of_squares / output_samples); in TEST_P()
/external/libopus/src/
Dopus_demo.c767 int output_samples; in main() local
770 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
772 output_samples = max_frame_size; in main()
778 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
779output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 1); in main()
782 output_samples = max_frame_size; in main()
783output_samples = opus_decode(dec, data[1-toggle], len[1-toggle], out, output_samples, 0); in main()
786output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 0); in main()
788 if (output_samples>0) in main()
790 if (!decode_only && tot_out + output_samples > tot_in) in main()
[all …]