/external/libopus/src/ |
H A D | analysis.c | 199 float * OPUS_RESTRICT A = tonal->angle; 270 float angle, d_angle, d2_angle; local 278 angle = (float)(.5f/M_PI)*fast_atan2f(X1i, X1r); 279 d_angle = angle - A[i]; 283 d_angle2 = angle2 - angle;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
H A D | d3d11u.h | 399 mat_t<T, n, n> mat_push_rotate(const mat_t<T, n, n>& m, unsigned axis, T angle) argument 401 T s = (T)sin(angle); 402 T c = (T)cos(angle);
|
/external/mesa3d/src/mesa/main/ |
H A D | es1_conversion.c | 725 _es_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) argument 727 _mesa_Rotatef((GLfloat) (angle / 65536.0f),
|
/external/opencv/cv/src/ |
H A D | cvgeometry.cpp | 93 double angle = box.angle*CV_PI/180.; local 94 float a = (float)cos(angle)*0.5f; 95 float b = (float)sin(angle)*0.5f; 496 // calculate the euler angle
|
/external/opencv/cvaux/src/ |
H A D | cvmorphcontours.cpp | 106 double angle( CvPoint2D32f A, CvPoint2D32f B ); 323 // Calculate angle 325 d_angle = angle(Q0,Q2); 340 d_nm_angle = angle(Q0,Q1_nm); 349 d_nm_angle = angle(Q0,Q2_nm); 358 d_nm_angle = angle(Q0,Q1_nm); 362 d_nm_angle = d_nm_angle + angle(Q0, Q2_nm); 366 d_nm_angle = d_nm_angle + angle(Q2,Q2_nm); 525 double angle(CvPoint2D32f A, CvPoint2D32f B) function
|
H A D | cvscanlines.cpp | 1740 float angle; local 1775 angle = l_angle[0] + i * delta; 1777 l_point[0] = l_epipole[0] + l_radius * (float) cos( angle ); 1778 l_point[1] = l_epipole[1] + l_radius * (float) sin( angle ); 1828 float angle; local 1862 angle = r_angle[0] + i * delta; 1864 r_point[0] = r_epipole[0] + r_radius * (float) cos( angle ); 1865 r_point[1] = r_epipole[1] + r_radius * (float) sin( angle );
|
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
H A D | GdiPlusBrush.h | 391 Status RotateTransform(IN REAL angle,
argument 395 angle, order));
530 IN REAL angle,
538 angle,
549 IN REAL angle,
557 angle,
819 Status RotateTransform(IN REAL angle,
argument 823 angle, order));
527 LinearGradientBrush(IN const RectF& rect, IN const Color& color1, IN const Color& color2, IN REAL angle, IN BOOL isAngleScalable = FALSE) argument 546 LinearGradientBrush(IN const Rect& rect, IN const Color& color1, IN const Color& color2, IN REAL angle, IN BOOL isAngleScalable = FALSE) argument
|
H A D | GdiPlusPen.h | 283 Status RotateTransform(IN REAL angle,
argument 287 angle, order));
|
/external/pixman/test/ |
H A D | stress-test.c | 700 pixman_fixed_t angle; local 704 angle = prng_rand(); 711 result = pixman_image_create_conical_gradient (&c, angle, stops, n_stops);
|
/external/qemu/android/ |
H A D | hw-sensors.c | 642 const double angle = 20.0; local 643 const double cos_angle = cos(angle/M_PI); 644 const double sin_angle = sin(angle/M_PI);
|
/external/skia/tests/ |
H A D | PathOpsAngleIdeas.cpp | 106 double angle = (atan2(pt.fY, pt.fX) + SK_ScalarPI) * 8 / (SK_ScalarPI * 2); local 107 REPORTER_ASSERT(reporter, angle >= 0 && angle <= 8); 108 return angle; 135 // straight angle when : v2.x * (dq1.y - q1[0].y) == v2.y * (dq1.x - q1[0].x) 397 double angle = fabs(lowerRange.a2 - lowerRange.a1); local 398 REPORTER_ASSERT(reporter, angle > 3.998 || ccw == upperRange.ccw); 740 // how close is the angle from inflecting in the opposite direction? 748 // straight angle when : v2.x * (dq1.y - q1[0].y) == v2.y * (dq1.x - q1[0].x)
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSGradientValue.cpp | 596 // Compute the endpoints so that a gradient of the given angle covers a box of the given size. 631 // angleDeg is a "bearing angle" (0deg = N, 90deg = E), 671 float angle = m_angle->getFloatValue(CSSPrimitiveValue::CSS_DEG); local 672 endPointsFromAngle(angle, size, firstPoint, secondPoint, m_gradientType); 702 // Compute angle, and flip it back to "bearing angle" degrees. 703 float angle = 90 - rad2deg(atan2(rise, run)); local 704 endPointsFromAngle(angle, size, firstPoint, secondPoint, m_gradientType);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
H A D | d3d11gears.cpp | 113 float angle = da * i; local 114 ds[i] = sin(angle); 115 dc[i] = cos(angle); 282 void draw_one(ID3D11DeviceContext* ctx, cbuf_t& cbd, const float4x4& modelview, float angle) argument 288 m2 = mat_push_rotate(m2, 2, angle * gears[i].wmul + gears[i].t0);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.c | 139 /* Convert rotation angle from degrees to radians */ 170 /* Convert rotation angle from degrees to radians */ 230 double angle; local 276 angle = vector_angles(vec0, vec1); 279 angle = 2*M_PI - vector_angles(vec0, vec1); 283 if (isnan(angle)) 284 angle = M_PI; 289 lambda2 = lambda1 - angle; 291 lambda2 = lambda1 + angle; 294 debug_printf("Angle is %f and (%f, %f)\n", angle, lambda [all...] |
H A D | matrix.h | 210 VGfloat angle) 217 if (floatsEqual(angle, 90) || floatsEqual(angle, -270)) 219 else if (floatsEqual(angle, 270) || floatsEqual(angle, -90)) 221 else if (floatsEqual(angle, 180)) 224 float radians = DEGREES_TO_RADIANS(angle); 209 matrix_rotate(struct matrix *dst, VGfloat angle) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
H A D | m_matrix.c | 67 /** angle preserving matrix flags mask */ 547 * If the matrix is not an angle preserving matrix then calls 795 GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) 801 s = (GLfloat) sin( angle * DEG2RAD ); 802 c = (GLfloat) cos( angle * DEG2RAD ); 894 * X-axis to the same orientation, with theta being the angle about 895 * Z and phi the angle about Y (in the order described above) 794 _math_matrix_rotate( GLmatrix *mat, GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) argument
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkOpAngle.cpp | 17 /* Angles are sorted counterclockwise. The smallest angle has a positive x and the smallest 18 positive y. The largest angle has a positive x and a zero y. */ 31 /* quarter angle values for sector 35 1 x > 0, y > 0, x > y nearer horizontal angle 37 3 x > 0, y > 0, x == y 45 angle 39 5 x > 0, y > 0, x < y nearer vertical angle 147 // FIXME : once this is verified to work, remove one opposite angle call 284 // the original angle is too short to get meaningful sector information 533 const SkOpAngle* angle = this; 534 while ((angle 639 insert(SkOpAngle* angle) argument 749 SkOpAngle* angle = this; local 763 merge(SkOpAngle* angle) argument [all...] |
H A D | SkPathOpsCommon.cpp | 164 // find first angle, initialize winding to computed fWindSum 165 const SkOpAngle* angle = segment->spanToAngle(*tIndex, *endIndex); local 167 SkDEBUGCODE(firstAngle = angle); 171 angle = angle->next(); 172 SkASSERT(angle != firstAngle || !loop); 173 SkDEBUGCODE(loop |= angle == firstAngle); 174 segment = angle->segment(); 175 winding = segment->windSum(angle); 177 int spanWinding = segment->spanSign(angle [all...] |
/external/chromium_org/ui/gfx/ |
H A D | skbitmap_operations.cc | 764 SkScalar angle = SkFloatToScalar(0.0f); local 768 angle = SkFloatToScalar(90.0f); 772 angle = SkFloatToScalar(180.0f); 776 angle = SkFloatToScalar(270.0f); 786 canvas.rotate(angle);
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureMipmapTests.cpp | 225 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); local 226 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureMipmapTests.cpp | 229 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); local 230 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle);
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureMipmapTests.cpp | 217 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); local 218 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
H A D | d3d11gears.cpp | 113 float angle = da * i; local 114 ds[i] = sin(angle); 115 dc[i] = cos(angle); 282 void draw_one(ID3D11DeviceContext* ctx, cbuf_t& cbd, const float4x4& modelview, float angle) argument 288 m2 = mat_push_rotate(m2, 2, angle * gears[i].wmul + gears[i].t0);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | arc.c | 139 /* Convert rotation angle from degrees to radians */ 170 /* Convert rotation angle from degrees to radians */ 230 double angle; local 276 angle = vector_angles(vec0, vec1); 279 angle = 2*M_PI - vector_angles(vec0, vec1); 283 if (isnan(angle)) 284 angle = M_PI; 289 lambda2 = lambda1 - angle; 291 lambda2 = lambda1 + angle; 294 debug_printf("Angle is %f and (%f, %f)\n", angle, lambda [all...] |
H A D | matrix.h | 210 VGfloat angle) 217 if (floatsEqual(angle, 90) || floatsEqual(angle, -270)) 219 else if (floatsEqual(angle, 270) || floatsEqual(angle, -90)) 221 else if (floatsEqual(angle, 180)) 224 float radians = DEGREES_TO_RADIANS(angle); 209 matrix_rotate(struct matrix *dst, VGfloat angle) argument
|