/external/webrtc/webrtc/common_audio/ |
D | audio_converter.cc | 28 CopyConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in CopyConverter() argument 30 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in CopyConverter() 37 for (size_t i = 0; i < src_channels(); ++i) in Convert() 45 UpmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in UpmixConverter() argument 47 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in UpmixConverter() 63 DownmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in DownmixConverter() argument 65 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) { in DownmixConverter() 75 for (size_t j = 0; j < src_channels(); ++j) in Convert() 77 dst_mono[i] = sum / src_channels(); in Convert() 84 ResampleConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in ResampleConverter() argument [all …]
|
D | audio_converter_unittest.cc | 89 void RunAudioConverterTest(size_t src_channels, in RunAudioConverterTest() argument 104 if (src_channels == 2) in RunAudioConverterTest() 111 if (src_channels == 1) in RunAudioConverterTest() 118 if (src_channels == 1) in RunAudioConverterTest() 133 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunAudioConverterTest() 136 src_channels, src_frames, dst_channels, dst_frames); in RunAudioConverterTest()
|
D | audio_converter.h | 29 static rtc::scoped_ptr<AudioConverter> Create(size_t src_channels, 42 size_t src_channels() const { return src_channels_; } in src_channels() function 49 AudioConverter(size_t src_channels, size_t src_frames, size_t dst_channels,
|
/external/webrtc/webrtc/voice_engine/ |
D | utility_unittest.cc | 34 void RunResampleTest(int src_channels, 126 void UtilityTest::RunResampleTest(int src_channels, in RunResampleTest() argument 138 if (src_channels == 1) in RunResampleTest() 145 if (src_channels == 1) in RunResampleTest() 151 if (src_channels == 1) in RunResampleTest() 165 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunResampleTest()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 679 unsigned src_channels; in generate_fs_twiddle() local 683 src_channels = dst_channels < 3 ? dst_channels : 4; in generate_fs_twiddle() 684 src_count = num_fs * src_channels; in generate_fs_twiddle() 687 assert(num_fs * src_channels <= ARRAY_SIZE(src)); in generate_fs_twiddle() 693 lp_build_transpose_aos_n(gallivm, type, &fs_src[i][0], src_channels, &src[i * src_channels]); in generate_fs_twiddle() 1756 unsigned src_channels = TGSI_NUM_CHANNELS; in generate_unswizzled_blend() local 1925 0, src_channels); in generate_unswizzled_blend() 1927 src_channels, src_channels); in generate_unswizzled_blend() 1929 src_alpha[i*2 + 0] = lp_build_extract_range(gallivm, alpha, 0, src_channels); in generate_unswizzled_blend() 1931 src_channels, src_channels); in generate_unswizzled_blend() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 1571 auto src_channels = &src[0]; in TEST_F() local 1576 &src_channels, kSamples, sample_rate, LayoutFromChannels(1), in TEST_F() 1589 EXPECT_NOERR(apm_->ProcessReverseStream(&src_channels, input_stream, in TEST_F()
|