Home
last modified time | relevance | path

Searched refs:mCursor (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DCircularCaptureBuffer.java27 private int mCursor; field in CircularCaptureBuffer
42 if ((mCursor + numSamples) > mData.length) { in write()
44 int numWrite1 = mData.length - mCursor; in write()
45 System.arraycopy(buffer, offset, mData, mCursor, numWrite1); in write()
49 mCursor = numWrite2; in write()
51 System.arraycopy(buffer, offset, mData, mCursor, numSamples); in write()
52 mCursor += numSamples; in write()
53 if (mCursor == mData.length) { in write()
54 mCursor = 0; in write()
80 int cursor = mCursor; // read once in case it gets updated by another thread in readMostRecent()
[all …]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DInterpolatingDelayLine.cpp26 float *writeAddress = mDelayLine.get() + mCursor; in process()
28 mDelayLine.get()[mCursor] = input; in process()
30 int32_t readIndex = mCursor - delayInt; in process()
37 mCursor++; in process()
38 if (mCursor >= mDelaySize) { in process()
39 mCursor = 0; in process()
DInterpolatingDelayLine.h43 int32_t mCursor = 0; variable
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DManchesterEncoder.h41 , mCursor(samplesPerPulse) { in ManchesterEncoder()
59 return (mCursor < mSamplesPerPulseHalf) ? -1.0f : 1.0f; // one in nextFloat()
61 return (mCursor < mSamplesPerPulseHalf) ? 1.0f : -1.0f; // zero in nextFloat()
75 if (++mCursor >= mSamplesPerPulse) { in advanceSample()
76 mCursor = 0; in advanceSample()
93 int mCursor; variable
DRoundedManchesterEncoder.h75 float output = mCurrentSamples[mCursor]; in nextFloat()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/unused/
Dunused.h68 mX[mCursor] = input;
70 int xIndex = mCursor + FILTER_TAP_NUM;
76 if (++mCursor >= FILTER_TAP_NUM) {
77 mCursor = 0;
114 int32_t mCursor = 0;
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DPolyphaseResamplerMono.cpp30 if (--mCursor < 0) { in writeFrame()
31 mCursor = getNumTaps() - 1; in writeFrame()
33 float *dest = &mX[mCursor * MONO]; in writeFrame()
48 float *xFrame = &mX[mCursor * MONO]; in readFrame()
DPolyphaseResamplerStereo.cpp30 if (--mCursor < 0) { in writeFrame()
31 mCursor = getNumTaps() - 1; in writeFrame()
33 float *dest = &mX[mCursor * STEREO]; in writeFrame()
52 float *xFrame = &mX[mCursor * STEREO]; in readFrame()
DSincResamplerStereo.cpp32 if (--mCursor < 0) { in writeFrame()
33 mCursor = getNumTaps() - 1; in writeFrame()
35 float *dest = &mX[mCursor * STEREO]; in writeFrame()
62 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
DMultiChannelResampler.cpp110 if (--mCursor < 0) { in writeFrame()
111 mCursor = getNumTaps() - 1; in writeFrame()
113 float *dest = &mX[mCursor * getChannelCount()]; in writeFrame()
DPolyphaseResampler.cpp45 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
DSincResampler.cpp58 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
DMultiChannelResampler.h249 int mCursor = 0; variable
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp176156 uint8_t mCursor; member