/frameworks/av/media/libnbaio/ |
H A D | Pipe.cpp | 32 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 D | PipeReader.cpp | 30 mFront(android_atomic_acquire_load(&pipe.mRear)), 48 int32_t rear = android_atomic_acquire_load(&mPipe.mRear);
|
H A D | MonoPipe.cpp | 40 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 D | NBLog.cpp | 75 : 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 D | MonoPipeReader.cpp | 41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront;
|
/frameworks/av/include/media/nbaio/ |
H A D | Pipe.h | 58 volatile int32_t mRear; // written by android_atomic_release_store member in class:android::Pipe
|
H A D | NBLog.h | 73 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 D | MonoPipe.h | 118 // 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 D | IBufferQueue.c | 58 BufferHeader *oldRear = thiz->mRear, *newRear; 67 thiz->mRear = newRear; 95 thiz->mRear = &thiz->mArray[0]; 185 thiz->mRear = NULL;
|
H A D | IAndroidBufferQueue.c | 271 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 D | IOutputMixExt.c | 74 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 D | IEngine.c | 42 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 D | IPlay.c | 60 audioPlayer->mBufferQueue.mRear)) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 128 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 D | BufferQueueSource.cpp | 75 assert(mAndroidBufferQueueSource->mFront != mAndroidBufferQueueSource->mRear);
|
H A D | android_StreamPlayer.cpp | 146 assert(mAndroidBufferQueue->mFront != mAndroidBufferQueue->mRear);
|
H A D | AudioRecorder_to_android.cpp | 226 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear);
|
H A D | AudioPlayer_to_android.cpp | 117 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); 1113 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear);
|
/frameworks/wilhelm/src/ |
H A D | itfstruct.h | 237 BufferHeader *mFront, *mRear; member in struct:BufferQueue_interface 674 AdvancedBufferHeader *mFront, *mRear; member in struct:__anon1764
|
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 57 volatile int32_t mRear; // write by client member in struct:android::AudioTrackSharedStreaming 59 // server notices and discards all data between mFront and mRear
|