Home
last modified time | relevance | path

Searched refs:array_geometry (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util.cc25 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 …]
Dnonlinear_beamformer_unittest.cc54 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 …]
Dnonlinear_beamformer.cc165 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 …]
Darray_util.h58 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);
Dnonlinear_beamformer_test.cc49 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()
Dmock_nonlinear_beamformer.h23 explicit MockNonlinearBeamformer(const std::vector<Point>& array_geometry) in MockNonlinearBeamformer() argument
24 : NonlinearBeamformer(array_geometry) {} in MockNonlinearBeamformer()
Dnonlinear_beamformer.h41 const std::vector<Point>& array_geometry,
/external/webrtc/webrtc/modules/audio_processing/include/
Daudio_processing.h120 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/
Daudio_processing_impl.h284 const std::vector<Point>& array_geometry, in ApmCaptureState()
295 array_geometry(array_geometry), in ApmCaptureState()
308 std::vector<Point> array_geometry; member
Daudio_processing_impl.cc229 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()
Daudio_processing_performance_unittest.cc564 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()