Home
last modified time | relevance | path

Searched refs:theta1 (Results 1 – 8 of 8) sorted by relevance

/external/flac/src/test_streams/
Dmain.c411 double theta1, theta2; in generate_sine8_1() local
417 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_1()
418 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine8_1()
438 double theta1, theta2; in generate_sine8_2() local
444 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_2()
445 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine8_2()
449 val = -(a1*sin(theta1*fmult) + a2*sin(theta2*fmult))*(double)full_scale; in generate_sine8_2()
469 double theta1, theta2; in generate_sine16_1() local
475 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_1()
476 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine16_1()
[all …]
/external/fonttools/Lib/fontTools/svgLib/path/
Darc.py37 self.center_point = self.theta1 = self.theta2 = self.theta_arc = None
93 theta1 = atan2(point1.imag, point1.real)
96 theta_arc = theta2 - theta1
102 self.theta1 = theta1
103 self.theta2 = theta1 + theta_arc
120 start_theta = self.theta1 + i * self.theta_arc / num_segments
121 end_theta = self.theta1 + (i + 1) * self.theta_arc / num_segments
/external/skia/gm/
Dmandoline.cpp189 float theta1 = 2*SK_ScalarPI/nquads * (i + .5f); in onDraw() local
191 mandoline.sliceQuadratic({cosf(theta1)*2, sinf(theta1)*2}, in onDraw()
/external/skqp/gm/
Dmandoline.cpp183 float theta1 = 2*SK_ScalarPI/nquads * (i + .5f); in onDraw() local
185 mandoline.sliceQuadratic({cosf(theta1)*2, sinf(theta1)*2}, in onDraw()
/external/skia/src/core/
DSkPathBuilder.cpp498 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() local
500 SkScalar thetaArc = theta2 - theta1; in arcTo()
525 SkScalar startTheta = theta1; in arcTo()
DSkPath.cpp1216 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() local
1218 SkScalar thetaArc = theta2 - theta1; in arcTo()
1243 SkScalar startTheta = theta1; in arcTo()
/external/freetype/src/base/
Dftstroke.c204 FT_Angle theta1, theta2; in ft_cubic_is_small_enough() local
285 theta1 = ft_pos_abs( FT_Angle_Diff( *angle_in, *angle_mid ) ); in ft_cubic_is_small_enough()
288 return FT_BOOL( theta1 < FT_SMALL_CUBIC_THRESHOLD && in ft_cubic_is_small_enough()
1633 FT_Angle theta1, phi1, theta2, phi2, rotate, alpha0 = 0; in FT_Stroker_CubicTo() local
1639 theta1 = FT_Angle_Diff( angle_in, angle_mid ) / 2; in FT_Stroker_CubicTo()
1643 length1 = FT_DivFix( stroker->radius, FT_Cos( theta1 ) ); in FT_Stroker_CubicTo()
/external/skqp/src/core/
DSkPath.cpp1467 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() local
1469 SkScalar thetaArc = theta2 - theta1; in arcTo()
1485 SkScalar startTheta = theta1; in arcTo()