Home
last modified time | relevance | path

Searched refs:DotProduct (Results 1 – 25 of 32) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util_unittest.cc40 TEST(ArrayUtilTest, DotProduct) { in TEST() argument
41 EXPECT_FLOAT_EQ(0.f, DotProduct(Point(0.f, 0.f, 0.f), Point(1.f, 2.f, 3.f))); in TEST()
42 EXPECT_FLOAT_EQ(0.f, DotProduct(Point(1.f, 0.f, 2.f), Point(0.f, 3.f, 0.f))); in TEST()
43 EXPECT_FLOAT_EQ(0.f, DotProduct(Point(1.f, 1.f, 0.f), Point(1.f, -1.f, 0.f))); in TEST()
44 EXPECT_FLOAT_EQ(2.f, DotProduct(Point(1.f, 0.f, 0.f), Point(2.f, 0.f, 0.f))); in TEST()
46 DotProduct(Point(-2.f, 0.f, 0.f), Point(3.f, 0.f, 0.f))); in TEST()
48 DotProduct(Point(1.f, -2.f, 3.f), Point(-3.f, 2.f, -1.f))); in TEST()
Darray_util.cc41 float DotProduct(const Point& a, const Point& b) { in DotProduct() function
52 return DotProduct(cross_product, cross_product) < kMaxDotProduct; in AreParallel()
56 return std::abs(DotProduct(a, b)) < kMaxDotProduct; in ArePerpendicular()
Dnonlinear_beamformer.cc270 DotProduct(*array_normal_, target_direction) * in InitInterfAngles()
271 DotProduct(*array_normal_, clockwise_interf_direction) >= in InitInterfAngles()
285 DotProduct(*array_normal_, target_direction) * in InitInterfAngles()
286 DotProduct(*array_normal_, counterclock_interf_direction) >= in InitInterfAngles()
Darray_util.h50 float DotProduct(const Point& a, const Point& b);
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer.cc202 DotProduct(gains_eq_.get(), filtered_clear_var_.get(), bank_size_); in AnalyzeClearBlock()
205 DotProduct(gains_eq_.get(), filtered_clear_var_.get(), bank_size_); in AnalyzeClearBlock()
228 DotProduct(gains_eq_.get(), filtered_clear_var_.get(), bank_size_); in SolveForLambda()
362 result[i] = DotProduct(&filter_bank_[i][0], var, freqs_); in FilterVariance()
366 float IntelligibilityEnhancer::DotProduct(const float* a, in DotProduct() function in webrtc::IntelligibilityEnhancer
Dintelligibility_enhancer.h139 static float DotProduct(const float* a, const float* b, size_t length);
/external/skia/include/core/
DSkPoint3.h130 static SkScalar DotProduct(const SkPoint3& a, const SkPoint3& b) { in DotProduct() function
135 return DotProduct(*this, vec); in dot()
DSkPoint.h520 static SkScalar DotProduct(const SkVector& a, const SkVector& b) { in DotProduct() function
557 return DotProduct(*this, vec); in dot()
/external/skqp/include/core/
DSkPoint3.h130 static SkScalar DotProduct(const SkPoint3& a, const SkPoint3& b) { in DotProduct() function
135 return DotProduct(*this, vec); in dot()
DSkPoint.h520 static SkScalar DotProduct(const SkVector& a, const SkVector& b) { in DotProduct() function
557 return DotProduct(*this, vec); in dot()
/external/libchrome/ui/gfx/geometry/
Dvector2d_f.cc49 double DotProduct(const Vector2dF& lhs, const Vector2dF& rhs) { in DotProduct() function
Dvector2d_f.h98 GFX_EXPORT double DotProduct(const Vector2dF& lhs, const Vector2dF& rhs);
/external/skqp/src/core/
DSkStrokerPriv.cpp103 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in RoundJoiner()
142 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in MiterJoiner()
DSkPoint.cpp200 SkScalar uDotV = SkPoint::DotProduct(u, v); in DistanceToLineSegmentBetweenSqd()
DSkPointPriv.h68 return SkPoint::DotProduct(pt, pt); in LengthSqd()
DSkGeometry.cpp1405 SkScalar x = SkPoint::DotProduct(uStart, uStop); in BuildUnitArc()
1457 const SkScalar dot = SkVector::DotProduct(lastQ, finalP); in BuildUnitArc()
/external/skia/src/core/
DSkStrokerPriv.cpp103 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in RoundJoiner()
142 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in MiterJoiner()
DSkPoint.cpp144 SkScalar uDotV = SkPoint::DotProduct(u, v); in DistanceToLineSegmentBetweenSqd()
DSkPointPriv.h64 return SkPoint::DotProduct(pt, pt); in LengthSqd()
/external/skia/docs/
DSkPoint_Reference.bmh938 #Method static SkScalar DotProduct(const SkVector& a, const SkVector& b)
954 str.printf("dot = %g", SkPoint::DotProduct(vectors[i][0], vectors[i][1]));
990 #SeeAlso cross DotProduct
1048 #SeeAlso DotProduct cross
/external/skqp/docs/
DSkPoint_Reference.bmh938 #Method static SkScalar DotProduct(const SkVector& a, const SkVector& b)
954 str.printf("dot = %g", SkPoint::DotProduct(vectors[i][0], vectors[i][1]));
990 #SeeAlso cross DotProduct
1048 #SeeAlso DotProduct cross
/external/skqp/src/gpu/
DGrQuad.cpp24 static constexpr auto dot = SkPoint::DotProduct; in dot_nearly_zero()
DGrPathUtils.cpp521 if (SkVector::DotProduct(da, dc) < 0 || SkVector::DotProduct(ab, da) > 0) { in convert_noninflect_cubic_to_quads_with_constraint()
/external/skia/src/gpu/
DGrQuad.cpp24 static constexpr auto dot = SkPoint::DotProduct; in dot_nearly_zero()
DGrPathUtils.cpp521 if (SkVector::DotProduct(da, dc) < 0 || SkVector::DotProduct(ab, da) > 0) { in convert_noninflect_cubic_to_quads_with_constraint()

12