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

  /frameworks/av/media/libnbaio/
PipeReader.cpp 30 mFront(android_atomic_acquire_load(&pipe.mRear)),
49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront
50 size_t avail = rear - mFront;
53 int32_t oldFront = mFront;
54 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4);
55 mFramesOverrun += (size_t) (mFront - oldFront);
73 size_t front = mFront & (mPipe.mMaxFrames - 1);
90 mFront += red;
MonoPipeReader.cpp 41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront;
64 mPipe->updateFrontAndNRPTS(mPipe->mFront, nextReadPTS);
70 size_t front = mPipe->mFront & (mPipe->mMaxFrames - 1);
83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS);
MonoPipe.cpp 39 mFront(0),
94 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront));
242 // Update mFront and mNextRdPTS
243 mFront = newFront;
257 // Perform an atomic observation of mFront and mNextRdPTS. Basically,
272 *outFront = mFront;
NBLog.cpp 275 : mSize(roundup(size)), mShared((const Shared *) shared), mFront(0)
281 mIMemory(iMemory), mFront(0)
288 size_t avail = rear - mFront;
295 mFront += lost;
299 size_t front = mFront & (mSize - 1);
316 mFront += read;
  /frameworks/av/include/media/nbaio/
PipeReader.h 58 int32_t mFront; // follows behind mPipe.mRear
MonoPipe.h 99 // writer to update and observe the values of mFront and mNextRdPTS in an
118 // mFront and mRear will never be separated by more than mMaxFrames.
121 volatile int32_t mFront; // written by the reader with updateFrontAndNRPTS, observed by
NBLog.h 189 int32_t mFront; // index of oldest acknowledged Entry
  /frameworks/wilhelm/src/android/
BufferQueueSource.cpp 75 assert(mAndroidBufferQueueSource->mFront != mAndroidBufferQueueSource->mRear);
77 AdvancedBufferHeader *oldFront = mAndroidBufferQueueSource->mFront;
114 mAndroidBufferQueueSource->mFront = newFront;
android_StreamPlayer.cpp 146 assert(mAndroidBufferQueue->mFront != mAndroidBufferQueue->mRear);
148 oldFront = mAndroidBufferQueue->mFront;
228 mAndroidBufferQueue->mFront = newFront;
AudioRecorder_to_android.cpp 226 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear);
228 BufferHeader *oldFront = ar->mBufferQueue.mFront;
250 ar->mBufferQueue.mFront = newFront;
AudioPlayer_to_android.cpp 117 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear);
119 BufferHeader *oldFront = ap->mBufferQueue.mFront;
138 ap->mBufferQueue.mFront = newFront;
    [all...]
  /frameworks/wilhelm/src/itf/
I3DMacroscopic.c 108 thiz->mOrientationVectors.mFront = front;
164 SLVec3D front = thiz->mOrientationVectors.mFront;
222 thiz->mOrientationVectors.mFront.x = 0;
223 thiz->mOrientationVectors.mFront.y = 0;
224 thiz->mOrientationVectors.mFront.z = -1000;
IBufferQueue.c 62 if (newRear == thiz->mFront) {
94 thiz->mFront = &thiz->mArray[0];
184 thiz->mFront = NULL;
IAndroidBufferQueue.c 270 thiz->mFront = &thiz->mBufferArray[0];
367 } else if (newRear == thiz->mFront) {
483 thiz->mFront = NULL;
529 SL_LOGI(" mBufferArray=%p, mFront=%p (%u), mRear=%p (%u)",
531 thiz->mFront, thiz->mFront - thiz->mBufferArray,
535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
IOutputMixExt.c 73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0];
108 oldFront = audioPlayer->mBufferQueue.mFront;
135 oldFront = audioPlayer->mBufferQueue.mFront;
276 oldFront = bufferQueue->mFront;
284 bufferQueue->mFront = (BufferHeader *) newFront;
I3DLocation.c 176 thiz->mOrientationVectors.mFront = front;
251 SLVec3D front = thiz->mOrientationVectors.mFront;
IEngine.c 41 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray;
85 ap->mAndroidBufferQueue.mFront = ap->mAndroidBufferQueue.mBufferArray;
513 thiz->mBufferQueue.mFront = thiz->mBufferQueue.mArray;
    [all...]
IPlay.c 59 if ((NULL != audioPlayer) && (audioPlayer->mBufferQueue.mFront !=
  /frameworks/av/media/libmedia/
AudioTrackShared.cpp 120 // The barrier following the read of mFront is probably redundant.
122 // which will force the processor to observe the read of mFront
127 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront);
132 front = cblk->u.mStreaming.mFront;
288 int32_t front = cblk->u.mStreaming.mFront;
289 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront);
315 return (mFrameCountP2 - (mIsOut ? cblk->u.mStreaming.mRear : cblk->u.mStreaming.mFront)) &
325 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront);
329 front = cblk->u.mStreaming.mFront;
525 front = cblk->u.mStreaming.mFront;
    [all...]
  /frameworks/wilhelm/src/
itfstruct.h 138 SLVec3D mFront;
163 SLVec3D mFront;
237 BufferHeader *mFront, *mRear;
674 AdvancedBufferHeader *mFront, *mRear;
  /frameworks/av/include/private/media/
AudioTrackShared.h 56 volatile int32_t mFront; // read by server
59 // server notices and discards all data between mFront and mRear

Completed in 145 milliseconds