/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | array_util.cc | 25 float GetMinimumSpacing(const std::vector<Point>& array_geometry) { in GetMinimumSpacing() argument 26 RTC_CHECK_GT(array_geometry.size(), 1u); in GetMinimumSpacing() 28 for (size_t i = 0; i < (array_geometry.size() - 1); ++i) { in GetMinimumSpacing() 29 for (size_t j = i + 1; j < array_geometry.size(); ++j) { in GetMinimumSpacing() 31 std::min(mic_spacing, Distance(array_geometry[i], array_geometry[j])); in GetMinimumSpacing() 60 const std::vector<Point>& array_geometry) { in GetDirectionIfLinear() argument 61 RTC_DCHECK_GT(array_geometry.size(), 1u); in GetDirectionIfLinear() 63 PairDirection(array_geometry[0], array_geometry[1]); in GetDirectionIfLinear() 64 for (size_t i = 2u; i < array_geometry.size(); ++i) { in GetDirectionIfLinear() 66 PairDirection(array_geometry[i - 1], array_geometry[i]); in GetDirectionIfLinear() [all …]
|
D | nonlinear_beamformer_unittest.cc | 54 std::vector<Point> array_geometry; in TEST() local 55 array_geometry.push_back(Point(-0.025f, 0.f, 0.f)); in TEST() 56 array_geometry.push_back(Point(0.025f, 0.f, 0.f)); in TEST() 57 NonlinearBeamformer bf(array_geometry); in TEST() 70 std::vector<Point> array_geometry; in TEST() local 71 array_geometry.push_back(Point(-0.1f, 0.f, 0.f)); in TEST() 72 array_geometry.push_back(Point(0.f, 0.f, 0.f)); in TEST() 73 array_geometry.push_back(Point(0.2f, 0.f, 0.f)); in TEST() 74 NonlinearBeamformer bf(array_geometry); in TEST() 89 std::vector<Point> array_geometry; in TEST() local [all …]
|
D | nonlinear_beamformer.cc | 165 std::vector<Point> GetCenteredArray(std::vector<Point> array_geometry) { in GetCenteredArray() argument 168 for (size_t i = 0; i < array_geometry.size(); ++i) { in GetCenteredArray() 169 center += array_geometry[i].c[dim]; in GetCenteredArray() 171 center /= array_geometry.size(); in GetCenteredArray() 172 for (size_t i = 0; i < array_geometry.size(); ++i) { in GetCenteredArray() 173 array_geometry[i].c[dim] -= center; in GetCenteredArray() 176 return array_geometry; in GetCenteredArray() 187 const std::vector<Point>& array_geometry, in NonlinearBeamformer() argument 189 : num_input_channels_(array_geometry.size()), in NonlinearBeamformer() 190 array_geometry_(GetCenteredArray(array_geometry)), in NonlinearBeamformer() [all …]
|
D | array_util.h | 58 float GetMinimumSpacing(const std::vector<Point>& array_geometry); 63 const std::vector<Point>& array_geometry); 68 const std::vector<Point>& array_geometry); 72 const std::vector<Point>& array_geometry);
|
D | nonlinear_beamformer_test.cc | 49 const std::vector<Point> array_geometry = in main() local 51 RTC_CHECK_EQ(array_geometry.size(), num_mics); in main() 53 NonlinearBeamformer bf(array_geometry); in main()
|
D | mock_nonlinear_beamformer.h | 23 explicit MockNonlinearBeamformer(const std::vector<Point>& array_geometry) in MockNonlinearBeamformer() argument 24 : NonlinearBeamformer(array_geometry) {} in MockNonlinearBeamformer()
|
D | nonlinear_beamformer.h | 41 const std::vector<Point>& array_geometry,
|
/external/webrtc/webrtc/modules/audio_processing/include/ |
D | audio_processing.h | 120 array_geometry(), in Beamforming() 123 Beamforming(bool enabled, const std::vector<Point>& array_geometry) in Beamforming() 125 array_geometry, in Beamforming() 129 const std::vector<Point>& array_geometry, in Beamforming() 132 array_geometry(array_geometry), in Beamforming() 136 const std::vector<Point> array_geometry; member
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl.h | 284 const std::vector<Point>& array_geometry, in ApmCaptureState() 295 array_geometry(array_geometry), in ApmCaptureState() 308 std::vector<Point> array_geometry; member
|
D | audio_processing_impl.cc | 229 config.Get<Beamforming>().array_geometry, in AudioProcessingImpl() 429 num_in_channels != capture_.array_geometry.size()) { in InitializeLocked() 502 if (config.Get<Beamforming>().array_geometry.size() > 1) { in SetExtraOptions() 503 capture_.array_geometry = config.Get<Beamforming>().array_geometry; in SetExtraOptions() 1308 capture_.array_geometry, capture_.target_direction)); in InitializeBeamformer()
|
D | audio_processing_performance_unittest.cc | 564 const std::vector<Point> array_geometry = in SetUp() local 566 RTC_CHECK_EQ(array_geometry.size(), num_mics); in SetUp() 569 new Beamforming(true, array_geometry, in SetUp()
|