Home
last modified time | relevance | path

Searched refs:mRear (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/libnbaio/
DPipe.cpp32 mRear(0), in Pipe()
53 size_t rear = mRear & (mMaxFrames - 1); in write()
68 android_atomic_release_store(written + mRear, &mRear); in write()
DMonoPipe.cpp59 mRear(0), in MonoPipe()
112 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront)); in availableToWrite()
130 size_t rear = mRear & (mMaxFrames - 1); in write()
143 android_atomic_release_store(written + mRear, &mRear); in write()
244 size_t pendingFrames = (mRear - front) & (mMaxFrames - 1); in getNextWriteTimestamp()
DNBLog.cpp76 : mSize(0), mShared(NULL), mRear(0), mEnabled(false) in Writer()
81 : mSize(roundup(size)), mShared((Shared *) shared), mRear(0), mEnabled(mShared != NULL) in Writer()
87 mIMemory(iMemory), mRear(0), mEnabled(mShared != NULL) in Writer()
179 size_t rear = mRear & (mSize - 1); in log()
198 android_atomic_release_store(mRear += written, &mShared->mRear); in log()
288 int32_t rear = android_atomic_acquire_load(&mShared->mRear); in dump()
DPipeReader.cpp30 mFront(android_atomic_acquire_load(&pipe.mRear)), in PipeReader()
48 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); in availableToRead()
DMonoPipeReader.cpp41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront; in availableToRead()
/frameworks/wilhelm/src/itf/
DIBufferQueue.c58 BufferHeader *oldRear = thiz->mRear, *newRear; in IBufferQueue_Enqueue()
67 thiz->mRear = newRear; in IBufferQueue_Enqueue()
95 thiz->mRear = &thiz->mArray[0]; in IBufferQueue_Clear()
185 thiz->mRear = NULL; in IBufferQueue_init()
DIAndroidBufferQueue.c271 thiz->mRear = &thiz->mBufferArray[0]; in IAndroidBufferQueue_Clear()
360 AdvancedBufferHeader *oldRear = thiz->mRear, *newRear; in IAndroidBufferQueue_Enqueue()
379 thiz->mRear = newRear; in IAndroidBufferQueue_Enqueue()
484 thiz->mRear = NULL; in IAndroidBufferQueue_init()
532 thiz->mRear, thiz->mRear - thiz->mBufferArray);
535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
DIOutputMixExt.c74 audioPlayer->mBufferQueue.mRear = &audioPlayer->mBufferQueue.mArray[0]; in track_check()
109 if (oldFront != audioPlayer->mBufferQueue.mRear) { in track_check()
136 if (oldFront != audioPlayer->mBufferQueue.mRear) { in track_check()
277 rear = bufferQueue->mRear; in IOutputMixExt_FillBuffer()
DIEngine.c42 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray; in initializeBufferQueueMembers()
86 ap->mAndroidBufferQueue.mRear = ap->mAndroidBufferQueue.mBufferArray; in initializeAndroidBufferQueueMembers()
520 thiz->mBufferQueue.mRear = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()
1225 thiz->mAndroidBufferQueue.mRear = in IEngine_CreateMediaPlayer()
DIPlay.c60 audioPlayer->mBufferQueue.mRear)) { in IPlay_SetPlayState()
/frameworks/av/include/media/nbaio/
DNBLog.h75 Shared() : mRear(0) { } in Shared()
78 volatile int32_t mRear; // index one byte past the end of most recent Entry member
147 int32_t mRear; // my private copy of mShared->mRear variable
DPipe.h62 volatile int32_t mRear; // written by android_atomic_release_store variable
DMonoPipe.h123 volatile int32_t mRear; // written by writer with android_atomic_release_store, variable
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp128 rear = cblk->u.mStreaming.mRear; in obtainBuffer()
131 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer()
292 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer()
293 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer()
322 return (mFrameCountP2 - (mIsOut ? cblk->u.mStreaming.mRear : cblk->u.mStreaming.mFront)) & in getMisalignment()
333 rear = cblk->u.mStreaming.mRear; in getFramesFilled()
335 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in getFramesFilled()
536 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer()
553 rear = cblk->u.mStreaming.mRear; in obtainBuffer()
627 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer()
[all …]
/frameworks/av/services/audioflinger/
DFastCapture.cpp200 int32_t rear = cblk->u.mStreaming.mRear; in onWork()
201 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork()
/frameworks/wilhelm/src/android/
DBufferQueueSource.cpp75 assert(mAndroidBufferQueueSource->mFront != mAndroidBufferQueueSource->mRear); in readAt()
Dandroid_StreamPlayer.cpp146 assert(mAndroidBufferQueue->mFront != mAndroidBufferQueue->mRear); in pullFromBuffQueue()
DAudioRecorder_to_android.cpp232 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear); in audioRecorder_callback()
DAudioPlayer_to_android.cpp117 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); in adecoder_writeToBufferQueue()
1202 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); in audioTrack_callBack_pullFromBuffQueue()
/frameworks/wilhelm/src/
Ditfstruct.h237 BufferHeader *mFront, *mRear; member
674 AdvancedBufferHeader *mFront, *mRear; member
/frameworks/av/include/private/media/
DAudioTrackShared.h58 volatile int32_t mRear; // write by client member