/frameworks/av/media/libaaudio/examples/utils/ |
H A D | SineGenerator.h | 47 buffer[sampleIndex] = (int16_t) (INT16_MAX * sin(mPhase) * mAmplitude); 55 buffer[sampleIndex] = sin(mPhase) * mAmplitude; 71 mPhase += mPhaseIncrement; 72 if (mPhase > M_PI * 2) { 73 mPhase -= M_PI * 2; 91 double mPhase = 0.0; member in class:SineGenerator
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | DashPathEffect_Delegate.java | 47 private final float mPhase; field in class:DashPathEffect_Delegate 59 mPhase); 86 mPhase = phase;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioCapability.java | 27 * The RC_PHASE constants are the set of valid values for the mPhase field. 91 private int mPhase; field in class:RadioCapability 131 mPhase = phase; 171 return mPhase; 206 + " mPhase=" + getPhase()
|
/frameworks/av/cmds/stagefright/ |
H A D | SineSource.cpp | 17 mPhase(0), 34 mPhase = 0; 80 double x = mPhase * k; 93 kKeyTime, ((int64_t)mPhase * 1000000) / mSampleRate); 95 mPhase += numFramesPerBuffer;
|
H A D | SineSource.h | 33 size_t mPhase; member in struct:android::SineSource
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.cpp | 66 mPhase(0), 77 mPhase = phase; 79 ALOGV("[%s] updateModel: mPeriod = %" PRId64 ", mPhase = %" PRId64 81 mName, ns2us(mPeriod), ns2us(mPhase), ns2us(mReferenceTime)); 183 listener.mPhase = phase; 188 listener.mLastEventTime = systemTime() - mPeriod / 2 + mPhase - mWakeupLatency; 219 const nsecs_t oldPhase = listener.mPhase; 220 listener.mPhase = phase; 245 nsecs_t mPhase; member in struct:android::DispSyncThread::EventListener 308 nsecs_t phase = mPhase 357 nsecs_t mPhase; member in class:android::DispSyncThread [all...] |
H A D | DispSync.h | 147 // mPhase is the phase offset of the modeled vsync events. It is the 149 nsecs_t mPhase; member in class:android::DispSync
|
/frameworks/av/media/libstagefright/ |
H A D | VideoFrameScheduler.cpp | 67 mPhase(0), 96 mPhase = -1; 262 mPhase = firstTime; 266 numSamplesToUse, (long long)mPhase, (long long)mPeriod); 287 if (mPhase < 0) { 289 mPhase = time; 292 int64_t err = periodicError(time - mPhase, mPeriod); 298 if (!fit(mPhase, mPeriod, kMaxSamplesToEstimatePeriod, &a, &b, &err)) { 307 mPhase += (mPeriod * b) >> kPrecision; 309 ALOGV("new phase:%lld period:%lld", (long long)mPhase, (lon [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | VideoFrameScheduler.h | 66 nsecs_t mPhase; member in struct:android::VideoFrameScheduler::PLL
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | VideoFrameScheduler.h | 66 nsecs_t mPhase; member in struct:android::VideoFrameScheduler::PLL
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
H A D | LoopbackAnalyzer.h | 686 printf(LOOPBACK_RESULT_TAG "ref.phase = %7.5f\n", mPhase); 737 float sinOut = sinf(mPhase); 746 mCosAccumulator += sample * cosf(mPhase); 765 float predicted = sinf(mPhase + mPhaseOffset) * mMagnitude; 781 mCosAccumulator += sample * cosf(mPhase); 798 // printf("%5d: sin(%f) = %f, %f\n", i, mPhase, sinOut, mPhaseIncrement); 801 mPhase += mPhaseIncrement; 802 if (mPhase > M_PI) { 803 mPhase -= (2.0 * M_PI); 868 double mPhase member in class:SineAnalyzer [all...] |
/frameworks/base/media/java/android/media/ |
H A D | WebVttRenderer.java | 170 private TokenizerPhase mPhase; field in class:Tokenizer 218 mPhase = mTagTokenizer.start(); 270 mPhase = mDataTokenizer.start(); 314 mPhase = mDataTokenizer.start(); 321 mPhase.tokenize(); 324 if (!(mPhase instanceof TagTokenizer)) { 570 private Phase mPhase; field in class:WebVttParser 577 mPhase = mParseStart; 658 mPhase.parse(lines[i]); 671 mPhase [all...] |