Home
last modified time | relevance | path

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

/external/flac/src/test_streams/
Dmain.c441 double theta1, theta2; in generate_sine8_1() local
447 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_1()
448 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine8_1()
468 double theta1, theta2; in generate_sine8_2() local
474 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_2()
475 double val = (a1*sin(theta1) + a2*sin(theta2))*(double)full_scale; in generate_sine8_2()
479 val = -(a1*sin(theta1*fmult) + a2*sin(theta2*fmult))*(double)full_scale; in generate_sine8_2()
499 double theta1, theta2; in generate_sine16_1() local
505 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_1()
506 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/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()
1635 FT_Angle theta1, phi1, theta2, phi2, rotate, alpha0 = 0; in FT_Stroker_CubicTo() local
1641 theta1 = FT_Angle_Diff( angle_in, angle_mid ) / 2; in FT_Stroker_CubicTo()
1645 length1 = FT_DivFix( stroker->radius, FT_Cos( theta1 ) ); in FT_Stroker_CubicTo()
/external/skia/src/core/
DSkPathBuilder.cpp520 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() local
522 SkScalar thetaArc = theta2 - theta1; in arcTo()
547 SkScalar startTheta = theta1; in arcTo()
DSkPath.cpp1281 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() local
1283 SkScalar thetaArc = theta2 - theta1; in arcTo()
1308 SkScalar startTheta = theta1; in arcTo()