/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 | 147 float cosine = (float) Math.cos(radians); local 152 mArray[6] = mArray[12] = cosine; 158 mArray[0] = mArray[12] = cosine; 164 mArray[0] = mArray[6] = cosine;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
HarmonicCoefficientsGuesser.java | 268 double cosine = FastMath.cos(omegaX); local 270 fcMean += omega * currentY * cosine - currentYPrime * sine; 271 fsMean += omega * currentY * sine + currentYPrime * cosine;
|
/external/skia/include/effects/ |
SkColorMatrix.h | 48 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
|
/external/opencv3/samples/cpp/ |
squares.cpp | 35 // finds a cosine of angle between vectors 112 // find the maximum cosine of the angle between joint edges 113 double cosine = fabs(angle(approx[j%4], approx[j-2], approx[j-1])); local 114 maxCosine = MAX(maxCosine, cosine);
|
/external/opencv3/samples/tapi/ |
squares.cpp | 21 // finds a cosine of angle between vectors 99 // find the maximum cosine of the angle between joint edges 100 double cosine = fabs(angle(approx[j%4], approx[j-2], approx[j-1])); local 101 maxCosine = MAX(maxCosine, cosine);
|
/external/crcalc/tests/src/com/hp/creals/ |
CRTest.java | 121 UnaryCRFunction cosine = UnaryCRFunction.sinFunction local 123 check_eq(cosine.execute(one), one.cos(), "monotoneDerivative failed"); 124 check_eq(cosine.execute(three), three.cos(),
|
/external/skia/src/effects/ |
SkColorMatrix.cpp | 103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 114 fMat[index[0]] = cosine; 117 fMat[index[3]] = cosine;
|
/frameworks/av/services/audioflinger/ |
AudioResamplerFirGen.h | 27 * As most of our functions use sine or cosine at equal steps, 32 * to calculate sine(wstart + n * wstep) or cosine(wstart + n * wstep) 37 * or looking at just the imaginary sine term, as the cosine follows identically: 44 * cosine generation due to the complex * complex multiply (full rotation). 52 SineGen(double wstart, double wstep, bool cosine = false) { 53 if (cosine) { 83 double mCurrent; // current value of sine/cosine 84 double mPrevious; // previous value of sine/cosine 101 SineGenGen(double outerStart, double outerStep, double innerStep, bool cosine = false) 102 : mSineInnerCur(outerStart, outerStep, cosine), [all...] |
/frameworks/rs/api/ |
rs_math.spec | 173 summary: Inverse cosine 175 Returns the inverse cosine, in radians. 196 summary: Inverse hyperbolic cosine 198 Returns the inverse hyperbolic cosine, in radians. 219 summary: Inverse cosine divided by pi 221 Returns the inverse cosine in radians, divided by pi. 223 To get an inverse cosine measured in degrees, use <code>acospi(a) * 180.f</code>. 602 summary: Cosine 604 Returns the cosine of an angle measured in radians. 625 summary: Hypebolic cosine [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
gim_linear_math.h | 512 #define ROTX_CS(m,cosine,sine) \ 522 m[1][1] = (cosine); \ 528 m[2][2] = (cosine); \ 538 #define ROTY_CS(m,cosine,sine) \ 542 m[0][0] = (cosine); \ 554 m[2][2] = (cosine); \ 564 #define ROTZ_CS(m,cosine,sine) \ 568 m[0][0] = (cosine); \ 574 m[1][1] = (cosine); \ [all...] |
/external/ImageMagick/MagickCore/ |
paint.c | 549 cosine, 556 cosine=cos((double) DegreesToRadians(gradient->angle-90.0)); 557 distance=fabs((double) image->columns*cosine)+ 559 gradient->gradient_vector.x1=0.5*(image->columns-distance*cosine); 561 gradient->gradient_vector.x2=0.5*(image->columns+distance*cosine); 546 cosine, local [all...] |
resize.c | 157 Blackman: 2nd order cosine windowing function: 163 const double cosine=cos((double) (MagickPI*x)); 165 return(0.34+cosine*(0.5+cosine*0.16)); 172 Bohman: 2rd Order cosine windowing function: 179 const double cosine=cos((double) (MagickPI*x)); 180 const double sine=sqrt(1.0-cosine*cosine); 182 return((1.0-x)*cosine+(1.0/MagickPI)*sine); 199 static double Cosine(const double x 159 const double cosine=cos((double) (MagickPI*x)); local 175 const double cosine=cos((double) (MagickPI*x)); local 289 const double cosine=cos((double) (MagickPI*x)); local 301 const double cosine=cos((double) (MagickPI*x)); local [all...] |
draw.c | 5132 cosine, local [all...] |
accelerate-kernels-private.h | [all...] |
distort.c | 670 cosine, sine, 738 a=DegreesToRadians(a); cosine=cos(a); sine=sin(a); 741 coeff[0]=cosine/sx; 745 coeff[4]=cosine/sy; 666 cosine, sine, local [all...] |
fx.c | 5232 cosine, local [all...] |
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
vec3.js | 690 var cosine = vec3.dot(tempA, tempB); 692 if(cosine > 1.0){ 695 return Math.acos(cosine);
|
/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);
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathMatrix.h | 2975 S cosine = Math<T>::cos (angle); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/ |
vp9_iht4x4_add_neon.asm | 89 ; Generate cosine constants in d6 - d8 for the IDCT
|
/external/v8/test/mjsunit/ |
sin-cos.js | 61 // By accident, the slow case for sine and cosine were both sine at
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/ |
gl-matrix.js | [all...] |
/frameworks/native/services/inputflinger/ |
InputReader.cpp | 5745 float cosine = dot \/ (dist1 * dist2); \/\/ denominator always > 0 local [all...] |