Home
last modified time | relevance | path

Searched refs:output_samples (Results 1 – 14 of 14) 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/tensorflow/tensorflow/contrib/ffmpeg/default/
Dffmpeg_lib_test.cc66 std::vector<float> output_samples; in TEST() local
67 Status status = ReadAudioFile(filename, "mp3", 5000, 1, &output_samples); in TEST()
81 std::vector<float> output_samples; in TEST() local
82 Status status = ReadAudioFile(filename, "mp3", 5000, 1, &output_samples); in TEST()
124 std::vector<float> output_samples; in TEST() local
125 ASSERT_TRUE(ReadAudioFile(filename, "wav", 10000, 1, &output_samples).ok()); in TEST()
131 CreateAudioFile("wav", 0, 10000, 1, output_samples, &written_audio).ok()); in TEST()
Dffmpeg_lib.cc317 const string& stream, std::vector<float>* output_samples) { in ReadAudioFile() argument
346 *output_samples = ReadPcmFile(output_filename); in ReadAudioFile()
/external/libopus/src/
Dopus_demo.c764 opus_int32 output_samples; in main() local
767 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
769 output_samples = max_frame_size; in main()
775 opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); in main()
776output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 1); in main()
779 output_samples = max_frame_size; in main()
780output_samples = opus_decode(dec, data[1-toggle], len[1-toggle], out, output_samples, 0); in main()
783output_samples = opus_decode(dec, lost ? NULL : data[toggle], len[toggle], out, output_samples, 0); in main()
785 if (output_samples>0) in main()
787 if (!decode_only && tot_out + output_samples > tot_in) in main()
[all …]
/external/tensorflow/tensorflow/contrib/ffmpeg/
Ddecode_audio_op.cc54 std::vector<float> output_samples; in Decode() local
57 channel_count, stream, &output_samples); in Decode()
73 OP_REQUIRES(context, !output_samples.empty(), in Decode()
76 context, output_samples.size() % channel_count == 0, in Decode()
81 const int64 frame_count = output_samples.size() / channel_count; in Decode()
88 matrix(frame, channel) = output_samples[frame * channel_count + channel]; in Decode()
Dffmpeg_lib.h45 const string& stream, std::vector<float>* output_samples);
/external/libxaac/decoder/
Dixheaacd_init_config.c111 WORD32 *output_samples, WORD32 *sample_rate_layer, in ixheaacd_sbr_params() argument
122 *output_samples = *block_size; in ixheaacd_sbr_params()
128 *output_samples = *block_size; in ixheaacd_sbr_params()
134 *output_samples = (*block_size * 8) / 3; in ixheaacd_sbr_params()
141 *output_samples = *block_size * 2; in ixheaacd_sbr_params()
148 *output_samples = *block_size * 4; in ixheaacd_sbr_params()
Dixheaacd_create.c391 &usac_data->ccfl, &usac_data->output_samples, in ixheaacd_dec_data_init()
685 pstr_dec_data->str_usac_data.output_samples, &harmonic_Sbr_flag, in ixheaacd_decode_create()
Dixheaacd_main.h78 WORD32 output_samples; member
Dixheaacd_decode_main.c387 num_samples_out = pstr_dec_data->str_usac_data.output_samples; in ixheaacd_dec_main()
Dixheaacd_config.h629 WORD32 *output_samples, WORD32 *sampling_freq,