/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/ |
H A D | high_pass_filter_unittest.cc | 27 const StreamConfig& stream_config, in ProcessOneFrameAsAudioBuffer() argument 30 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 31 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 32 stream_config.sample_rate_hz(), stream_config.num_channels()); in ProcessOneFrameAsAudioBuffer() 45 const StreamConfig& stream_config, in ProcessOneFrameAsVector() argument 48 stream_config.num_channels(), in ProcessOneFrameAsVector() 49 std::vector<float>(stream_config.num_frames())); in ProcessOneFrameAsVector() 84 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 87 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() 89 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() [all …]
|
H A D | audio_frame_view_unittest.cc | 22 const webrtc::StreamConfig stream_config(kSampleRateHz, kNumChannels, false); in TEST() local 24 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 25 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 26 stream_config.sample_rate_hz(), stream_config.num_channels()); in TEST()
|
H A D | audio_processing_impl_unittest.cc | 267 StreamConfig stream_config(kSampleRateHz, kNumChannels, in TEST() local 277 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 287 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 310 StreamConfig stream_config(kSampleRateHz, kNumChannels, in TEST() local 320 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 328 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 336 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 344 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 378 StreamConfig stream_config(kSampleRateHz, kNumChannels, in TEST() local 389 apm->ProcessReverseStream(frame.data(), stream_config, in TEST() [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_processing/ |
H A D | high_pass_filter_unittest.cc | 27 const StreamConfig& stream_config, in ProcessOneFrameAsAudioBuffer() argument 30 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 31 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 32 stream_config.sample_rate_hz(), stream_config.num_channels()); in ProcessOneFrameAsAudioBuffer() 45 const StreamConfig& stream_config, in ProcessOneFrameAsVector() argument 48 stream_config.num_channels(), in ProcessOneFrameAsVector() 49 std::vector<float>(stream_config.num_frames())); in ProcessOneFrameAsVector() 84 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 87 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() 89 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() [all …]
|
H A D | audio_frame_view_unittest.cc | 22 const webrtc::StreamConfig stream_config(kSampleRateHz, kNumChannels, false); in TEST() local 24 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 25 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 26 stream_config.sample_rate_hz(), stream_config.num_channels()); in TEST()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_processing/ |
H A D | high_pass_filter_unittest.cc | 27 const StreamConfig& stream_config, in ProcessOneFrameAsAudioBuffer() argument 30 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 31 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 32 stream_config.sample_rate_hz(), stream_config.num_channels()); in ProcessOneFrameAsAudioBuffer() 45 const StreamConfig& stream_config, in ProcessOneFrameAsVector() argument 48 stream_config.num_channels(), in ProcessOneFrameAsVector() 49 std::vector<float>(stream_config.num_frames())); in ProcessOneFrameAsVector() 84 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 87 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() 89 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() [all …]
|
H A D | audio_frame_view_unittest.cc | 22 const webrtc::StreamConfig stream_config(kSampleRateHz, kNumChannels, false); in TEST() local 24 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 25 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 26 stream_config.sample_rate_hz(), stream_config.num_channels()); in TEST()
|
H A D | audio_processing_impl_unittest.cc | 282 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 292 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 325 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 333 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 341 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 349 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 400 apm->ProcessStream(frame.data(), stream_config, stream_config, in TEST() 449 ASSERT_EQ(apm->ProcessStream(channel_pointers, stream_config, stream_config, in TEST() 549 EXPECT_EQ(apm->ProcessStream(channel_pointers, stream_config, stream_config, in TEST() 559 EXPECT_EQ(apm->ProcessStream(channel_pointers, stream_config, stream_config, in TEST() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_processing/ |
H A D | high_pass_filter_unittest.cc | 27 const StreamConfig& stream_config, in ProcessOneFrameAsAudioBuffer() argument 30 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 31 stream_config.sample_rate_hz(), stream_config.num_channels(), in ProcessOneFrameAsAudioBuffer() 32 stream_config.sample_rate_hz(), stream_config.num_channels()); in ProcessOneFrameAsAudioBuffer() 45 const StreamConfig& stream_config, in ProcessOneFrameAsVector() argument 48 stream_config.num_channels(), in ProcessOneFrameAsVector() 49 std::vector<float>(stream_config.num_frames())); in ProcessOneFrameAsVector() 84 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 87 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() 89 input.begin() + stream_config.num_frames() * in RunBitexactnessTest() [all …]
|
H A D | audio_frame_view_unittest.cc | 22 const webrtc::StreamConfig stream_config(kSampleRateHz, kNumChannels, false); in TEST() local 24 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 25 stream_config.sample_rate_hz(), stream_config.num_channels(), in TEST() 26 stream_config.sample_rate_hz(), stream_config.num_channels()); in TEST()
|
H A D | audio_processing_impl_unittest.cc | 282 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 292 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 325 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 333 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 341 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 349 apm->ProcessStream(frame.data(), stream_config, stream_config, frame.data()); in TEST() 400 apm->ProcessStream(frame.data(), stream_config, stream_config, in TEST() 449 ASSERT_EQ(apm->ProcessStream(channel_pointers, stream_config, stream_config, in TEST() 549 EXPECT_EQ(apm->ProcessStream(channel_pointers, stream_config, stream_config, in TEST() 559 EXPECT_EQ(apm->ProcessStream(channel_pointers, stream_config, stream_config, in TEST() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/audio_processing/ |
H A D | low_cut_filter_unittest.cc | 24 const StreamConfig& stream_config, in ProcessOneFrame() argument 27 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 28 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 29 stream_config.num_frames()); in ProcessOneFrame() 34 test::ExtractVectorFromAudioBuffer(stream_config, &audio_buffer, in ProcessOneFrame() 51 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 55 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 58 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 69 reference.size() / stream_config.num_channels(); in RunBitexactnessTest() 75 output.begin() + channel_no * stream_config.num_frames(), in RunBitexactnessTest() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/ |
H A D | low_cut_filter_unittest.cc | 24 const StreamConfig& stream_config, in ProcessOneFrame() argument 27 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 28 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 29 stream_config.num_frames()); in ProcessOneFrame() 34 test::ExtractVectorFromAudioBuffer(stream_config, &audio_buffer, in ProcessOneFrame() 51 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 55 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 58 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 69 reference.size() / stream_config.num_channels(); in RunBitexactnessTest() 75 output.begin() + channel_no * stream_config.num_frames(), in RunBitexactnessTest() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/audio_processing/ |
H A D | low_cut_filter_unittest.cc | 24 const StreamConfig& stream_config, in ProcessOneFrame() argument 27 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 28 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 29 stream_config.num_frames()); in ProcessOneFrame() 34 test::ExtractVectorFromAudioBuffer(stream_config, &audio_buffer, in ProcessOneFrame() 51 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 55 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 58 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 69 reference.size() / stream_config.num_channels(); in RunBitexactnessTest() 75 output.begin() + channel_no * stream_config.num_frames(), in RunBitexactnessTest() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/ |
H A D | low_cut_filter_unittest.cc | 24 const StreamConfig& stream_config, in ProcessOneFrame() argument 27 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 28 stream_config.num_frames(), stream_config.num_channels(), in ProcessOneFrame() 29 stream_config.num_frames()); in ProcessOneFrame() 34 test::ExtractVectorFromAudioBuffer(stream_config, &audio_buffer, in ProcessOneFrame() 51 (stream_config.num_frames() * stream_config.num_channels()); in RunBitexactnessTest() 55 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 58 stream_config.num_frames() * stream_config.num_channels() * in RunBitexactnessTest() 69 reference.size() / stream_config.num_channels(); in RunBitexactnessTest() 75 output.begin() + channel_no * stream_config.num_frames(), in RunBitexactnessTest() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_processing/test/ |
H A D | audio_buffer_tools.cc | 18 void SetupFrame(const StreamConfig& stream_config, in SetupFrame() argument 21 frame_samples->resize(stream_config.num_channels() * in SetupFrame() 22 stream_config.num_frames()); in SetupFrame() 23 frame->resize(stream_config.num_channels()); in SetupFrame() 24 for (size_t ch = 0; ch < stream_config.num_channels(); ++ch) { in SetupFrame() 29 void CopyVectorToAudioBuffer(const StreamConfig& stream_config, in CopyVectorToAudioBuffer() argument 35 SetupFrame(stream_config, &input, &input_samples); in CopyVectorToAudioBuffer() 41 destination->CopyFrom(&input[0], stream_config); in CopyVectorToAudioBuffer() 44 void ExtractVectorFromAudioBuffer(const StreamConfig& stream_config, in ExtractVectorFromAudioBuffer() argument 49 SetupFrame(stream_config, &output, destination); in ExtractVectorFromAudioBuffer() [all …]
|
/dports/audio/vban/vban-4f69e5a/src/common/ |
H A D | packet.c | 153 int packet_get_stream_config(char const* buffer, struct stream_config_t* stream_config) 157 memset(stream_config, 0, sizeof(struct stream_config_t)); 159 if ((buffer == 0) || (stream_config == 0)) 167 stream_config->nb_channels = hdr->format_nbc + 1; 168 stream_config->sample_rate = VBanSRList[hdr->format_SR & VBAN_SR_MASK]; 169 stream_config->bit_fmt = hdr->format_bit & VBAN_BIT_RESOLUTION_MASK; 174 int packet_init_header(char* buffer, struct stream_config_t const* stream_config, char const* strea… 178 if ((buffer == 0) || (stream_config == 0)) 185 hdr->format_nbc = stream_config->nb_channels - 1; 186 hdr->format_SR = vban_sr_from_value(stream_config->sample_rate); [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/logging/rtc_event_log/encoder/ |
H A D | rtc_event_log_encoder_unittest.cc | 240 stream_config->local_ssrc = RandomSsrc(); in TEST_P() 241 stream_config->remote_ssrc = RandomSsrc(); in TEST_P() 248 auto original_stream_config = *stream_config; in TEST_P() 251 std::move(stream_config)); in TEST_P() 266 stream_config->local_ssrc = RandomSsrc(); in TEST_P() 271 auto original_stream_config = *stream_config; in TEST_P() 521 stream_config->local_ssrc = RandomSsrc(); in TEST_P() 522 stream_config->remote_ssrc = RandomSsrc(); in TEST_P() 524 stream_config->remb = prng_.Rand<bool>(); in TEST_P() 533 std::move(stream_config)); in TEST_P() [all …]
|