Home
last modified time | relevance | path

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

/frameworks/av/media/libnbaio/
DPipe.cpp32 mRear(0), in Pipe()
50 size_t rear = mRear & (mMaxFrames - 1); in write()
65 android_atomic_release_store(written + mRear, &mRear); in write()
DMonoPipe.cpp40 mRear(0), in MonoPipe()
91 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront)); in availableToWrite()
109 size_t rear = mRear & (mMaxFrames - 1); in write()
122 android_atomic_release_store(written + mRear, &mRear); in write()
223 size_t pendingFrames = (mRear - front) & (mMaxFrames - 1); in getNextWriteTimestamp()
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()
511 thiz->mBufferQueue.mRear = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()
1216 thiz->mAndroidBufferQueue.mRear = in IEngine_CreateMediaPlayer()
DIPlay.c60 audioPlayer->mBufferQueue.mRear)) { in IPlay_SetPlayState()
/frameworks/av/include/media/nbaio/
DPipe.h58 volatile int32_t mRear; // written by android_atomic_release_store variable
DMonoPipe.h117 volatile int32_t mRear; // written by writer with android_atomic_release_store, variable
/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.cpp226 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear); in audioRecorder_callback()
DAudioPlayer_to_android.cpp117 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); in adecoder_writeToBufferQueue()
1137 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