HomeSort by relevance Sort by last modified time
    Searched refs:onset (Results 1 - 11 of 11) sorted by null

  /cts/apps/CtsVerifier/jni/audioquality/
OverflowCheck.h 28 the tone endpoints are returned in onset and offset. The maximum
29 and minimum found in the signal located between onset and offset are
33 float* duration, int* numDeltas, int* onset, int* offset,
OverflowCheck.cpp 105 float* duration, int* numDeltas, int* onset, int* offset,
112 *onset = 0;
115 findEndpoints(pcm, numSamples, step, onset, offset);
117 checkExcursions(pcm, *onset, *offset, numDeltas, maxPeak, minPeak);
118 *duration = (*offset - *onset) / sampleRate;
GlitchTest.cpp 70 int onset = -1; local
79 // possible states: (1) before tone onset; (2) within tone
81 if ((onset < 0) && (offset < 0)) { // (1)
84 onset = frame;
88 if ((onset >= 0) && (offset < 0)) { // (2)
89 if (frame > (onset + 2)) { // let the framer get completely
97 *duration = mFrameStep * (offset - onset) / mSampleRate;
119 if ((onset >= 0) && (offset > 0)) { // (3)
127 if ((onset >= 0) && (offset > 0))
129 if (onset < 0)
    [all...]
MeasureRms.cpp 107 int onset = -1; local
118 /* We handle three states: (1) before the onset of the signal; (2)
122 precedes the onset of the signal. */
123 if (onset < 0) { // (1)
136 onset = frame;
142 if ((onset > 0) && (offset < 0)) { // (2)
143 int sig_frame = frame - onset;
153 int denFrames = frame - onset - 1;
157 *duration = frameSize * (frame - onset) / sampleRate;
174 *duration = frameSize * (frame - onset) / sampleRate
    [all...]
CompareSpectra.cpp 51 // fprintf(stderr, "n:%d onset:%d offset:%d\n", n, *start, *end);
57 // after onset.
144 int onset = 0; local
147 &onset, &offset);
148 double* spect1 = getAverageSpectrum(refPcm + onset, offset - onset,
151 &onset, &offset);
152 double* spect2 = getAverageSpectrum(pcm + onset, offset - onset,
Wrapper.cpp 117 -3 if tone signal onset not found
147 ret[3] = onset
162 int numDeltas = -1, onset = -1, offset = -1; local
165 &duration, &numDeltas, &onset, &offset, &maxPeak, &minPeak);
169 ret[3] = onset;
  /frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
g_adapt.cpp 255 st->onset = 0;
441 * // onset indicator
443 * onset = 8;
445 * if (onset)
446 * onset--;
453 st->onset = 8;
457 if (st->onset != 0)
459 st->onset = sub(st->onset, 1, pOverflow);
464 * // if onset, increase adaptor stat
    [all...]
g_adapt.h 105 Word16 onset; /* onset state, Q0 */ member in struct:__anon15127
  /frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
ph_disp.cpp 180 state->onset = 0; // assume no onset in start
224 state->onset = 0; /* assume no onset in start */
405 prevState, prevCbGain, and onset fields
486 // onset indicator
487 // onset = (cbGain > onFact * cbGainMem[0])
491 state->onset = ONLENGTH;
495 if (state->onset > 0)
497 state->onset = sub (state->onset, 1)
    [all...]
ph_disp.h 118 Word16 onset; member in struct:__anon15118
  /external/icu4c/test/intltest/
calregts.cpp 1275 UDate onset = makeDate(1998, UCAL_APRIL, 5, 1, 0) + ONE_HOUR; local
    [all...]

Completed in 1273 milliseconds