/frameworks/av/include/media/ |
H A D | AudioBufferProvider.h | 44 // pts is the local time when the next sample yielded by getNextBuffer 47 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts = kInvalidPTS) = 0;
|
H A D | AudioTrack.h | 555 status_t queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts);
|
H A D | IAudioTrack.h | 82 int64_t pts) = 0;
|
/frameworks/av/include/media/nbaio/ |
H A D | SourceAudioBufferProvider.h | 34 virtual status_t getNextBuffer(Buffer *buffer, int64_t pts);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorSRC.cpp | 201 status_t VideoEditorSRC::getNextBuffer(AudioBufferProvider::Buffer *pBuffer, int64_t pts) { argument
|
H A D | VideoEditorSRC.h | 38 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts);
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | VideoEditorResampler.cpp | 29 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts); 56 status_t VideoEditorResampler::getNextBuffer(AudioBufferProvider::Buffer *pBuffer, int64_t pts) { argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 1170 int64_t pts) 1172 status_t status = mAudioTrack->queueTimedBuffer(buffer, pts); 1169 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument
|
H A D | IAudioTrack.cpp | 136 int64_t pts) { 140 data.writeInt64(pts); 224 uint64_t pts = data.readInt64(); local 225 reply->writeInt32(queueTimedBuffer(buffer, pts)); 135 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument
|
/frameworks/av/media/libnbaio/ |
H A D | SourceAudioBufferProvider.cpp | 48 status_t SourceAudioBufferProvider::getNextBuffer(Buffer *buffer, int64_t pts) argument 68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 2844 int64_t pts; local 2848 status = mNormalSink->getNextWriteTimestamp(&pts); 2850 status = mOutputSink->getNextWriteTimestamp(&pts); 2854 pts = AudioBufferProvider::kInvalidPTS; 2858 mAudioMixer->process(pts); 4501 AudioBufferProvider::Buffer* buffer, int64_t pts) 4978 bufEnd = mTimedBufferQueue[trimEnd + 1].pts(); 4997 bufEnd += mTimedBufferQueue[trimEnd].pts(); 5056 const sp<IMemory>& buffer, int64_t pts) { 5068 mTimedBufferQueue.add(TimedBuffer(buffer, pts)); 4500 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument 5055 queueTimedBuffer( const sp<IMemory>& buffer, int64_t pts) argument 5096 getNextBuffer( AudioBufferProvider::Buffer* buffer, int64_t pts) argument 5361 TimedBuffer( const sp<IMemory>& buffer, int64_t pts) argument 5398 getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts) argument 5848 queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts) argument 6543 getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts) argument [all...] |
H A D | AudioFlinger.h | 409 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts) = 0; 825 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts = kInvalidPTS); 915 TimedBuffer(const sp<IMemory>& buffer, int64_t pts); 917 int64_t pts() const { return mPTS; } function in class:android::AudioFlinger::PlaybackThread::TimedTrack::TimedBuffer 932 int64_t pts); 939 int64_t pts); 1417 int64_t pts); 1468 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts = kInvalidPTS); 1521 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, int64_t pts);
|
H A D | AudioMixer.cpp | 58 int64_t pts) { 61 status_t res = mTrackBufferProvider->getNextBuffer(pBuffer, pts); 619 void AudioMixer::process(int64_t pts) argument 621 mState.hook(&mState, pts); 625 void AudioMixer::process__validate(state_t* state, int64_t pts) argument 733 state->hook(state, pts); 1047 void AudioMixer::process__nop(state_t* state, int64_t pts) argument 1078 t1, pts, state->frameCount - outFrames); 1089 void AudioMixer::process__genericNoResampling(state_t* state, int64_t pts) argument 1101 t.bufferProvider->getNextBuffer(&t.buffer, pts); 57 getNextBuffer(AudioBufferProvider::Buffer *pBuffer, int64_t pts) argument 1186 process__genericResampling(state_t* state, int64_t pts) argument 1255 process__OneTrack16BitsStereoNoResampling(state_t* state, int64_t pts) argument [all...] |
H A D | AudioMixer.h | 106 void process(int64_t pts); 212 void (*hook)(state_t* state, int64_t pts); // one of process__*, never NULL 223 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts); 264 static void process__validate(state_t* state, int64_t pts); 265 static void process__nop(state_t* state, int64_t pts); 266 static void process__genericNoResampling(state_t* state, int64_t pts); 267 static void process__genericResampling(state_t* state, int64_t pts); 269 int64_t pts); 272 int64_t pts);
|
H A D | AudioResampler.cpp | 263 void AudioResampler::setPTS(int64_t pts) { 264 mPTS = pts;
|
H A D | AudioResampler.h | 56 virtual void setPTS(int64_t pts);
|
H A D | FastMixer.cpp | 404 int64_t pts; 405 if (outputSink == NULL || (OK != outputSink->getNextWriteTimestamp(&pts))) 406 pts = AudioBufferProvider::kInvalidPTS; 409 mixer->process(pts);
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 212 int[] pts = new int[2]; 213 source.getLocationOnScreen(pts); 214 opts.mStartX = pts[0] + startX; 215 opts.mStartY = pts[1] + startY; 297 int[] pts = new int[2]; 298 source.getLocationOnScreen(pts); 299 opts.mStartX = pts[0] + startX; 300 opts.mStartY = pts[1] + startY;
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 88 private GestureStroke(RectF bbx, float len, float[] pts, long[] times) { argument 91 points = pts.clone(); 162 final float[] pts = GestureUtils.temporalSampling(this, numSample); 165 GestureUtils.translate(pts, -rect.left, -rect.top); 170 GestureUtils.scale(pts, scale, scale); 177 final int count = pts.length; 180 float x = pts[i]; 181 float y = pts[i + 1]; 202 final float[] pts = points; 211 out.writeFloat(pts[ [all...] |
H A D | GestureUtils.java | 143 final float[] pts = new float[size]; 145 pts[i] = (strokepoints[i] + preDx) * sx + postDx; 146 pts[i + 1] = (strokepoints[i + 1] + preDy) * sy + postDy; 151 float segmentStartX = pts[i] < 0 ? 0 : pts[i]; 152 float segmentStartY = pts[i + 1] < 0 ? 0 : pts[i + 1]; 273 float[] pts = stroke.points; 274 float lstPointX = pts[0]; 275 float lstPointY = pts[ [all...] |
H A D | Instance.java | 73 float[] pts; 76 pts = temporalSampler(orientationType, gesture); 77 instance = new Instance(gesture.getID(), pts, label); 80 pts = spatialSampler(gesture); 81 instance = new Instance(gesture.getID(), pts, label); 91 float[] pts = GestureUtils.temporalSampling(gesture.getStrokes().get(0), 93 float[] center = GestureUtils.computeCentroid(pts); 94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); 107 GestureUtils.translate(pts, [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 957 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 958 if ((offset | count) < 0 || offset + count > pts.length) { 963 nDrawLines(mRenderer, pts, offset, count, paint.mNativePaint); 973 public void drawLines(float[] pts, Paint paint) { argument 974 drawLines(pts, 0, pts.length, paint); 1064 public void drawPoints(float[] pts, Paint paint) { argument 1065 drawPoints(pts, 0, pts.length, paint); 1069 public void drawPoints(float[] pts, in argument [all...] |
H A D | GLES20RecordingCanvas.java | 173 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 174 super.drawLines(pts, offset, count, paint); 179 public void drawLines(float[] pts, Paint paint) { argument 180 super.drawLines(pts, paint); 209 public void drawPoints(float[] pts, int offset, int count, Paint paint) { argument 210 super.drawPoints(pts, offset, count, paint); 215 public void drawPoints(float[] pts, Paint paint) { argument 216 super.drawPoints(pts, paint);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 348 SkPoint* pts = storage.get(); local 351 pts[i].set(SkFloatToScalar(src[0]), SkFloatToScalar(src[1])); 354 canvas->drawPoints(mode, count, pts, paint);
|
H A D | Matrix.cpp | 279 SkPoint* pts = storage.get(); local 280 SkPoint* srcPt = pts; 281 SkPoint* dstPt = pts + ptCount;
|