Home
last modified time | relevance | path

Searched refs:sine (Results 1 – 25 of 30) sorted by relevance

12

/external/aac/libFDK/include/
DFDK_trigFcts.h144 static inline FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, FIXP_DBL *sine, FIXP_DBL… in fixp_sin_cos_residual_inline() argument
194 *sine = (FIXP_DBL)((sl * ssign) << (DFRACT_BITS-FRACT_BITS)); in fixp_sin_cos_residual_inline()
197 *sine = (FIXP_DBL)(sl * ssign); in fixp_sin_cos_residual_inline()
215 FIXP_DBL residual, error0, error1, sine, cosine; in inline_fixp_cos_sin() local
216 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); in inline_fixp_cos_sin()
217 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
220 *out++ = sine + (error1<<1); in inline_fixp_cos_sin()
222 residual = fixp_sin_cos_residual_inline(x2, scale, &sine, &cosine); in inline_fixp_cos_sin()
223 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
226 *out++ = sine + (error1<<1); in inline_fixp_cos_sin()
/external/libopus/celt/
Dmdct.c110 kiss_twiddle_scalar sine; in clt_mdct_forward() local
122 sine = TRIG_UPSCALE*(QCONST16(0.7853981f, 15)+N2)/N; in clt_mdct_forward()
124 sine = (kiss_twiddle_scalar)2*PI*(.125f)/N; in clt_mdct_forward()
179 *yp++ = yr + S_MUL(yi,sine); in clt_mdct_forward()
180 *yp++ = yi - S_MUL(yr,sine); in clt_mdct_forward()
201 *yp1 = yr - S_MUL(yi,sine); in clt_mdct_forward()
202 *yp2 = yi + S_MUL(yr,sine);; in clt_mdct_forward()
216 kiss_twiddle_scalar sine; in clt_mdct_backward() local
226 sine = TRIG_UPSCALE*(QCONST16(0.7853981f, 15)+N2)/N; in clt_mdct_backward()
228 sine = (kiss_twiddle_scalar)2*PI*(.125f)/N; in clt_mdct_backward()
[all …]
/external/aac/libFDK/src/
DFDK_trigFcts.cpp298 FIXP_DBL residual, error, sine, cosine; in fixp_cos() local
300 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos()
301 error = fMult(sine, residual); in fixp_cos()
308 FIXP_DBL residual, error, sine, cosine; in fixp_sin() local
310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_sin()
313 return sine + error; in fixp_sin()
318 FIXP_DBL residual, error0, error1, sine, cosine; in fixp_cos_sin() local
320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos_sin()
321 error0 = fMult(sine, residual); in fixp_cos_sin()
324 *sin = sine + error1; in fixp_cos_sin()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DHarmonicCoefficientsGuesser.java269 double sine = FastMath.sin(omegaX); in guessPhi() local
270 fcMean += omega * currentY * cosine - currentYPrime * sine; in guessPhi()
271 fsMean += omega * currentY * sine + currentYPrime * cosine; in guessPhi()
/external/skia/src/effects/
DSkColorMatrix.cpp103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { in setSinCos() argument
115 fMat[index[1]] = sine; in setSinCos()
116 fMat[index[2]] = -sine; in setSinCos()
/external/sonic/samples/
DREADME32 This is just two sine periods, which is too short to hear. However, it's
34 result in one sine period with no distortion.
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_linear_math.h512 #define ROTX_CS(m,cosine,sine) \ argument
523 m[1][2] = (sine); \
527 m[2][1] = -(sine); \
538 #define ROTY_CS(m,cosine,sine) \ argument
544 m[0][2] = -(sine); \
552 m[2][0] = (sine); \
564 #define ROTZ_CS(m,cosine,sine) \ argument
569 m[0][1] = (sine); \
573 m[1][0] = -(sine); \
/external/v8/src/third_party/fdlibm/
DREADME.v815 For the use in V8, fdlibm has been reduced to include only sine, cosine and
/external/skia/include/effects/
DSkColorMatrix.h48 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
/external/ImageMagick/MagickCore/
Dpaint.c545 sine, in GradientImage() local
552 sine=sin((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage()
555 fabs((double) image->rows*sine); in GradientImage()
557 gradient->gradient_vector.y1=0.5*(image->rows-distance*sine); in GradientImage()
559 gradient->gradient_vector.y2=0.5*(image->rows+distance*sine); in GradientImage()
Ddraw.c5133 sine; in TraceArcPath() local
5158 sine=sin(DegreesToRadians(fmod((double) angle,360.0))); in TraceArcPath()
5159 center.x=(double) (cosine*(end.x-start.x)/2+sine*(end.y-start.y)/2); in TraceArcPath()
5160 center.y=(double) (cosine*(end.y-start.y)/2-sine*(end.x-start.x)/2); in TraceArcPath()
5173 points[0].x=(double) (cosine*start.x/radii.x+sine*start.y/radii.x); in TraceArcPath()
5174 points[0].y=(double) (cosine*start.y/radii.y-sine*start.x/radii.y); in TraceArcPath()
5175 points[1].x=(double) (cosine*end.x/radii.x+sine*end.y/radii.x); in TraceArcPath()
5176 points[1].y=(double) (cosine*end.y/radii.y-sine*end.x/radii.y); in TraceArcPath()
5222 (p+1)->point.x=(double) (cosine*radii.x*points[0].x-sine*radii.y* in TraceArcPath()
5224 (p+1)->point.y=(double) (sine*radii.x*points[0].x+cosine*radii.y* in TraceArcPath()
[all …]
Ddistort.c666 cosine, sine, in GenerateCoefficients() local
734 a=DegreesToRadians(a); cosine=cos(a); sine=sin(a); in GenerateCoefficients()
738 coeff[1]=sine/sx; in GenerateCoefficients()
740 coeff[3]=(-sine)/sy; in GenerateCoefficients()
Dfx.c5234 sine; in SwirlImage() local
5240 sine=sin((double) (degrees*factor*factor)); in SwirlImage()
5243 method,((cosine*delta.x-sine*delta.y)/scale.x+center.x),(double) in SwirlImage()
5244 ((sine*delta.x+cosine*delta.y)/scale.y+center.y),q,exception); in SwirlImage()
Dresize.c176 const double sine=sqrt(1.0-cosine*cosine); in Bohman() local
178 return((1.0-x)*cosine+(1.0/MagickPI)*sine); in Bohman()
/external/eigen/unsupported/Eigen/
DMatrixFunctions41 * - \ref matrixbase_sin "MatrixBase::sin()", for computing the matrix sine
42 * - \ref matrixbase_sinh "MatrixBase::sinh()", for computing the matrix hyperbolic sine
344 Compute the matrix sine.
362 Compute the matrix hyperbolic sine.
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DNinePatchTest.java180 b.setColor(1, 1, 1, Interpolation.sine.apply(timePassed / 2f)); in render()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/
DCHANGES51 - changed internal structure from 2x2 matrix to cosine and sine of rotation angle.
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DInterpolation.java62 static public final Interpolation sine = new Interpolation() { field in Interpolation
/external/icu/icu4c/source/data/region/
Dln.txt180 PS{"Palɛsine"}
/external/eigen/doc/
DTutorialAdvancedInitialization.dox91 with angles in degrees, the corresponding angle in radians, and their sine and cosine.
/external/icu/icu4c/source/data/zone/
Dga.txt976 ec{"Císineá"}
/external/hyphenation-patterns/en-US/
Dhyph-en-us.pat.txt3640 5sine.
/external/skia/src/animator/
DSkAnimateSchema.xsd750 <!-- @attribute asin A function that returns the arc sine of its argument. -->
777 <!-- @attribute sin A function that returns the sine of its argument. -->
/external/clang/include/clang/Basic/
DAttrDocs.td369 the appropriate standard function computing the sine of a value with ``float``,
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/it-IT/
Dit-IT_lexpos.utf977 ADV "sine" "s'i:ne"

12