/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 | 149 float cosine = FloatMath.cos(radians); local 154 mArray[6] = mArray[12] = cosine; 160 mArray[0] = mArray[12] = cosine; 166 mArray[0] = mArray[6] = cosine;
|
/external/chromium_org/third_party/skia/include/effects/ |
SkColorMatrix.h | 45 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
|
/external/skia/include/effects/ |
SkColorMatrix.h | 45 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkColorMatrix.cpp | 41 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 52 fMat[index[0]] = cosine; 55 fMat[index[3]] = cosine;
|
/external/skia/src/effects/ |
SkColorMatrix.cpp | 41 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 52 fMat[index[0]] = cosine; 55 fMat[index[3]] = cosine;
|
/frameworks/av/services/audioflinger/ |
AudioResamplerFirGen.h | 25 * As most of our functions use sine or cosine at equal steps, 30 * to calculate sine(wstart + n * wstep) or cosine(wstart + n * wstep) 35 * or looking at just the imaginary sine term, as the cosine follows identically: 42 * cosine generation due to the complex * complex multiply (full rotation). 50 SineGen(double wstart, double wstep, bool cosine = false) { 51 if (cosine) { 81 double mCurrent; // current value of sine/cosine 82 double mPrevious; // previous value of sine/cosine 99 SineGenGen(double outerStart, double outerStep, double innerStep, bool cosine = false) 100 : mSineInnerCur(outerStart, outerStep, cosine), [all...] |
/frameworks/rs/api/ |
rs_core_math.spec | 229 Return the cosine. 240 Return the hypebolic cosine. 251 Return the cosine of the value * PI. 793 Return the sine and cosine of a value. 797 @param *cosptr cosptr[0] will be set to the cosine value. 1656 Return the cosine. 1667 Return the hypebolic cosine. 1678 Return the cosine of the value * PI. 1818 Return the sine and cosine of a value. 1822 @param *cosptr cosptr[0] will be set to the cosine value [all...] |
/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/chromium_org/third_party/libvpx/source/libvpx/vp9/common/arm/neon/ |
vp9_iht4x4_add_neon.asm | 89 ; Generate cosine constants in d6 - d8 for the IDCT
|
/external/libvpx/libvpx/vp9/common/arm/neon/ |
vp9_iht4x4_add_neon.asm | 89 ; Generate cosine constants in d6 - d8 for the IDCT
|
/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/chromium_org/v8/test/mjsunit/ |
sin-cos.js | 61 // By accident, the slow case for sine and cosine were both sine at
|
/frameworks/native/services/inputflinger/ |
InputReader.cpp | 5191 float cosine = dot \/ (dist1 * dist2); \/\/ denominator always > 0 local [all...] |