/frameworks/av/services/audioflinger/tests/ |
mixer_to_wav_tests.sh | 6 # Sine and chirp signals are used for input because they 28 # (sine = horizontal, chirp = diagonal) which should 67 sine:2,4000,7520 chirp:2,9200 sine:1,3000,18000 \ 68 sine:f,6,6000,19000 chirp:i,4,30000 76 sine:2,4000,7520 chirp:2,9200 sine:1,3000,18000 \ 77 sine:6,6000,19000 87 sine:4,1000,3000 sine:1,2000,9307 chirp:3,930 [all...] |
test-mixer.cpp | 30 * Sine or chirp functions are typically more useful as input to the mixer 50 fprintf(stderr, " <command> can be 'sine:[(i|f),]<channels>,<frequency>,<samplerate>'\n"); 159 static const char sine[] = "sine:"; local 181 } else if (!strncmp(argv[i], sine, strlen(sine))) { 183 const char *s = parseFormat(argv[i] + strlen(sine), &useFloat); 187 printf("creating sine(%d %d %d)\n", v[0], v[1], v[2]);
|
/external/aac/libFDK/include/ |
FDK_trigFcts.h | 141 * Calculates coarse lookup index and sign for sine. 144 static inline FIXP_DBL fixp_sin_cos_residual_inline(FIXP_DBL x, int scale, FIXP_DBL *sine, FIXP_DBL *cosine) 159 /* Sine sign symmetry */ 181 /* Cosine/Sine simetry for angles greater than PI/4 */ 194 *sine = (FIXP_DBL)((sl * ssign) << (DFRACT_BITS-FRACT_BITS)); 197 *sine = (FIXP_DBL)(sl * ssign); 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); 217 error0 = fMultDiv2(sine, residual) [all...] |
/external/libopus/celt/ |
mdct.c | 83 /* We have enough points that sine isn't necessary */ 110 kiss_twiddle_scalar sine; local 122 sine = TRIG_UPSCALE*(QCONST16(0.7853981f, 15)+N2)/N; 124 sine = (kiss_twiddle_scalar)2*PI*(.125f)/N; 179 *yp++ = yr + S_MUL(yi,sine); 180 *yp++ = yi - S_MUL(yr,sine); 201 *yp1 = yr - S_MUL(yi,sine); 202 *yp2 = yi + S_MUL(yr,sine);; 216 kiss_twiddle_scalar sine; local 226 sine = TRIG_UPSCALE*(QCONST16(0.7853981f, 15)+N2)/N [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrix.java | 148 float sine = (float) Math.sin(radians); local 153 mArray[7] = sine; 154 mArray[11] = -sine; 159 mArray[2] = -sine; 160 mArray[10] = sine; 165 mArray[1] = sine; 166 mArray[5] = -sine;
|
/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); 301 error = fMult(sine, residual); 308 FIXP_DBL residual, error, sine, cosine; local 310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 313 return sine + error; 318 FIXP_DBL residual, error0, error1, sine, cosine; local 320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 321 error0 = fMult(sine, residual); 324 *sin = sine + error1 [all...] |
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 57 frame_t sine[SINE_FRAMES]; variable 153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; 154 sine[i].right = sine[i].left; 165 half[i].left = sine[i].left; 189 buffer = sine; 190 size = sizeof(sine);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
HarmonicCoefficientsGuesser.java | 269 double sine = FastMath.sin(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/skia/src/effects/ |
SkColorMatrix.cpp | 103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 115 fMat[index[1]] = sine; 116 fMat[index[2]] = -sine;
|
/frameworks/rs/api/ |
rs_math.spec | 244 summary: Inverse sine 246 Returns the inverse sine, in radians. 267 summary: Inverse hyperbolic sine 269 Returns the inverse hyperbolic sine, in radians. 290 summary: Inverse sine divided by pi 292 Returns the inverse sine in radians, divided by pi. 294 To get an inverse sine measured in degrees, use <code>asinpi(a) * 180.f</code>. 1877 summary: Approximate inverse sine 1879 Returns the approximate inverse sine, in radians. [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
gim_linear_math.h | 512 #define ROTX_CS(m,cosine,sine) \ 523 m[1][2] = (sine); \ 527 m[2][1] = -(sine); \ 538 #define ROTY_CS(m,cosine,sine) \ 544 m[0][2] = -(sine); \ 552 m[2][0] = (sine); \ 564 #define ROTZ_CS(m,cosine,sine) \ 569 m[0][1] = (sine); \ 573 m[1][0] = -(sine); \ [all...] |
/external/v8/test/mjsunit/regress/ |
regress-transcendental.js | 31 // sine and tangens return the same results.
|
/external/ImageMagick/MagickCore/ |
paint.c | 548 sine, 555 sine=sin((double) DegreesToRadians(gradient->angle-90.0)); 558 fabs((double) image->rows*sine); 560 gradient->gradient_vector.y1=0.5*(image->rows-distance*sine); 562 gradient->gradient_vector.y2=0.5*(image->rows+distance*sine); 545 sine, local [all...] |
draw.c | 5133 sine; local [all...] |
distort.c | 670 cosine, sine, 738 a=DegreesToRadians(a); cosine=cos(a); sine=sin(a); 742 coeff[1]=sine/sx; 744 coeff[3]=(-sine)/sy; 666 cosine, sine, local [all...] |
/external/v8/test/mjsunit/ |
sin-cos.js | 61 // By accident, the slow case for sine and cosine were both sine at 66 // Ensure that sine and log are not the same.
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
NinePatchTest.java | 180 b.setColor(1, 1, 1, Interpolation.sine.apply(timePassed / 2f));
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 456 final double sine = cosine * tan; local 457 return (float) Math.acos(a * cosine + b * sine);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Interpolation.java | 62 static public final Interpolation sine = new Interpolation() {
field in class:Interpolation
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
fpa-monadic.s | 116 sine f0, f0
|
fpa-monadic.d | 115 0+1a0 <[^>]*> ee888100 ? sine f0, f0
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/ |
vp9_iht4x4_add_neon.asm | 108 ; Generate sine constants in d1 - d4 for the IADST.
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathMatrix.h | 2974 S sine = Math<T>::sin (angle); local [all...] |
/external/ImageMagick/www/api/ |
fx.php | 744 <p>WaveImage() creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.</p> 766 <dd> Define the amplitude and wave length of the sine wave. </dd>
|