Searched refs:mRear (Results 1 - 20 of 20) sorted by relevance

/frameworks/av/media/libnbaio/
H A DPipe.cpp32 mRear(0),
49 // write() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mRear
50 size_t rear = mRear & (mMaxFrames - 1);
65 android_atomic_release_store(written + mRear, &mRear);
H A DPipeReader.cpp30 mFront(android_atomic_acquire_load(&pipe.mRear)),
48 int32_t rear = android_atomic_acquire_load(&mPipe.mRear);
H A DMonoPipe.cpp40 mRear(0),
94 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront));
112 size_t rear = mRear & (mMaxFrames - 1);
125 android_atomic_release_store(written + mRear, &mRear);
226 size_t pendingFrames = (mRear - front) & (mMaxFrames - 1);
H A DNBLog.cpp75 : mSize(0), mShared(NULL), mRear(0), mEnabled(false)
80 : mSize(roundup(size)), mShared((Shared *) shared), mRear(0), mEnabled(mShared != NULL)
86 mIMemory(iMemory), mRear(0), mEnabled(mShared != NULL)
178 size_t rear = mRear & (mSize - 1);
197 android_atomic_release_store(mRear += written, &mShared->mRear);
287 int32_t rear = android_atomic_acquire_load(&mShared->mRear);
H A DMonoPipeReader.cpp41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront;
/frameworks/av/include/media/nbaio/
H A DPipe.h58 volatile int32_t mRear; // written by android_atomic_release_store member in class:android::Pipe
H A DNBLog.h73 Shared() : mRear(0) { }
76 volatile int32_t mRear; // index one byte past the end of most recent Entry member in struct:android::NBLog::Shared
145 int32_t mRear; // my private copy of mShared->mRear member in class:android::NBLog::Writer
H A DMonoPipe.h118 // mFront and mRear will never be separated by more than mMaxFrames.
123 volatile int32_t mRear; // written by writer with android_atomic_release_store, member in class:android::MonoPipe
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.c58 BufferHeader *oldRear = thiz->mRear, *newRear;
67 thiz->mRear = newRear;
95 thiz->mRear = &thiz->mArray[0];
185 thiz->mRear = NULL;
H A DIAndroidBufferQueue.c271 thiz->mRear = &thiz->mBufferArray[0];
360 AdvancedBufferHeader *oldRear = thiz->mRear, *newRear;
379 thiz->mRear = newRear;
484 thiz->mRear = NULL;
529 SL_LOGI(" mBufferArray=%p, mFront=%p (%u), mRear=%p (%u)",
532 thiz->mRear, thiz->mRear - thiz->mBufferArray);
535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
H A DIOutputMixExt.c74 audioPlayer->mBufferQueue.mRear = &audioPlayer->mBufferQueue.mArray[0];
109 if (oldFront != audioPlayer->mBufferQueue.mRear) {
136 if (oldFront != audioPlayer->mBufferQueue.mRear) {
277 rear = bufferQueue->mRear;
H A DIEngine.c42 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray;
86 ap->mAndroidBufferQueue.mRear = ap->mAndroidBufferQueue.mBufferArray;
514 thiz->mBufferQueue.mRear = thiz->mBufferQueue.mArray;
1219 thiz->mAndroidBufferQueue.mRear =
H A DIPlay.c60 audioPlayer->mBufferQueue.mRear)) {
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp128 rear = cblk->u.mStreaming.mRear;
131 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear);
285 int32_t rear = cblk->u.mStreaming.mRear;
286 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear);
315 return (mFrameCountP2 - (mIsOut ? cblk->u.mStreaming.mRear : cblk->u.mStreaming.mFront)) &
326 rear = cblk->u.mStreaming.mRear;
328 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear);
524 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear);
541 rear = cblk->u.mStreaming.mRear;
615 int32_t rear = cblk->u.mStreaming.mRear;
[all...]
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.cpp75 assert(mAndroidBufferQueueSource->mFront != mAndroidBufferQueueSource->mRear);
H A Dandroid_StreamPlayer.cpp146 assert(mAndroidBufferQueue->mFront != mAndroidBufferQueue->mRear);
H A DAudioRecorder_to_android.cpp226 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear);
H A DAudioPlayer_to_android.cpp117 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear);
1113 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear);
/frameworks/wilhelm/src/
H A Ditfstruct.h237 BufferHeader *mFront, *mRear; member in struct:BufferQueue_interface
674 AdvancedBufferHeader *mFront, *mRear; member in struct:__anon1764
/frameworks/av/include/private/media/
H A DAudioTrackShared.h57 volatile int32_t mRear; // write by client member in struct:android::AudioTrackSharedStreaming
59 // server notices and discards all data between mFront and mRear

Completed in 944 milliseconds