Home
last modified time | relevance | path

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

/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.h112 static SkScalar DotProduct(const SkPoint3& a, const SkPoint3& b) { in DotProduct() function
117 return DotProduct(*this, vec); in dot()
DSkPoint.h145 static int32_t DotProduct(const SkIPoint& a, const SkIPoint& b) { in DotProduct() function
454 static SkScalar DotProduct(const SkPoint& a, const SkPoint& b) { in DotProduct() function
469 return DotProduct(*this, vec); in dot()
473 return DotProduct(*this, *this); in lengthSqd()
/external/ceres-solver/include/ceres/
Drotation.h192 T DotProduct(const T x[3], const T y[3]);
397 const T theta2 = DotProduct(angle_axis, angle_axis); in AngleAxisToRotationMatrix()
577 T DotProduct(const T x[3], const T y[3]) { in DotProduct() function
583 const T theta2 = DotProduct(angle_axis, angle_axis); in AngleAxisRotatePoint()
/external/skia/src/core/
DSkStrokerPriv.cpp115 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in RoundJoiner()
155 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in MiterJoiner()
DSkPoint.cpp253 SkScalar uDotV = SkPoint::DotProduct(u, v); in distanceToLineSegmentBetweenSqd()
DSkGeometry.cpp1266 SkScalar x = SkPoint::DotProduct(uStart, uStop); in BuildUnitArc()
1318 const SkScalar dot = SkVector::DotProduct(lastQ, finalP); in BuildUnitArc()
DSkScan_Hairline.cpp277 return SkVector::DotProduct(p0 - pivot, p2 - pivot) >= 0; in lt_90()
DSkPath.cpp1452 SkScalar cosh = SkPoint::DotProduct(before, after); in arcTo()
/external/pdfium/core/include/fxcrt/
Dfx_coordinates.h138 baseType DotProduct(baseType otherx, baseType othery) const { in DotProduct() function
141 baseType DotProduct(const FXT_VECTOR& v) const { in DotProduct() function
150 baseType t = DotProduct(otherx, othery); in IsPerpendicular()
170 FX_FLOAT dotProduct = v1.DotProduct(v2); in Cosine()
/external/skia/src/gpu/
DGrPathUtils.cpp459 if (SkVector::DotProduct(da, dc) < 0 || SkVector::DotProduct(ab,da) > 0) { in convert_noninflect_cubic_to_quads()
/external/opencv/cxcore/src/
Dcxmatmul.cpp3268 CV_DEF_INIT_FUNC_TAB_2D( DotProduct, C1R ) in CV_DEF_INIT_FUNC_TAB_2D() argument