HomeSort by relevance Sort by last modified time
    Searched refs:sine (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /frameworks/av/media/libaudioprocessing/tests/
mixer_to_wav_tests.sh 6 # Sine and chirp signals are used for input because they
28 # (sine = horizontal, chirp = diagonal) which should
68 sine:2,4000,7520 chirp:2,9200 sine:1,3000,18000 \
69 sine:f,6,6000,19000 chirp:i,4,30000
77 sine:2,4000,7520 chirp:2,9200 sine:1,3000,18000 \
78 sine:6,6000,19000
88 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...]
  /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);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
morse.py 56 # If we play at 44.1 kHz (which we do), then if we produce one sine
58 # sine waves in these 100 samples, we get a tone of 882 Hz. 882 Hz
122 sine(dev, DOT, wave)
124 sine(dev, DAH, wave)
129 def sine(dev, length, wave): function