/external/aac/libFDK/include/ |
FDK_trigFcts.h | 144 static inline FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, FIXP_DBL *sine, FIXP_DBL *cosine) 163 /* Cosine sign symmetry */ 181 /* Cosine/Sine simetry for angles greater than PI/4 */ 195 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS-FRACT_BITS)); 198 *cosine = (FIXP_DBL)(cl * csign); 206 * \brief Calculate cosine and sine value each of 2 angles different angle values. 215 FIXP_DBL residual, error0, error1, sine, cosine; local 216 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); 218 error1 = fMultDiv2(cosine, residual); 219 *out++ = cosine - (error0<<1) [all...] |
/external/aac/libFDK/src/ |
FDK_trigFcts.cpp | 298 FIXP_DBL residual, error, sine, cosine; local 300 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 303 return cosine - error; 308 FIXP_DBL residual, error, sine, cosine; local 310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 311 error = fMult(cosine, residual); 318 FIXP_DBL residual, error0, error1, sine, cosine; local 320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 322 error1 = fMult(cosine, residual); 323 *cos = cosine - error0 [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrix.java | 122 float cosine = FloatMath.cos(radians); local 127 mArray[6] = mArray[12] = cosine; 133 mArray[0] = mArray[12] = cosine; 139 mArray[0] = mArray[6] = cosine;
|
/external/chromium_org/third_party/skia/src/core/ |
SkCordic.cpp | 209 float cosine = cosf(radian); local 217 error = fabsf(cosine - cosine2); 219 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2);
|
/external/skia/src/core/ |
SkCordic.cpp | 209 float cosine = cosf(radian); local 217 error = fabsf(cosine - cosine2); 219 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2);
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 35 * <li>gesture similarity comparison (e.g., calculating Euclidean or Cosine 418 * Calculates the cosine distance between two instances. 434 * Calculates the "minimum" cosine distance between two instances. 455 final double cosine = Math.cos(angle); local 456 final double sine = cosine * tan; 457 return (float) Math.acos(a * cosine + b * sine);
|
/frameworks/base/services/input/ |
InputReader.cpp | 5131 float cosine = dot \/ (dist1 * dist2); \/\/ denominator always > 0 local [all...] |