Home
last modified time | relevance | path

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

/frameworks/av/media/libnbaio/
DPipeReader.cpp30 mFront(android_atomic_acquire_load(&pipe.mRear)), in PipeReader()
50 size_t avail = rear - mFront; in availableToRead()
53 int32_t oldFront = mFront; in availableToRead()
54 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4); in availableToRead()
55 mFramesOverrun += (size_t) (mFront - oldFront); in availableToRead()
73 size_t front = mFront & (mPipe.mMaxFrames - 1); in read()
90 mFront += red; in read()
DMonoPipeReader.cpp41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront; in availableToRead()
64 mPipe->updateFrontAndNRPTS(mPipe->mFront, nextReadPTS); in read()
70 size_t front = mPipe->mFront & (mPipe->mMaxFrames - 1); in read()
83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS); in read()
DNBLog.cpp275 : mSize(roundup(size)), mShared((const Shared *) shared), mFront(0) in Reader()
281 mIMemory(iMemory), mFront(0) in Reader()
288 size_t avail = rear - mFront; in dump()
295 mFront += lost; in dump()
299 size_t front = mFront & (mSize - 1); in dump()
316 mFront += read; in dump()
DMonoPipe.cpp39 mFront(0), in MonoPipe()
94 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront)); in availableToWrite()
243 mFront = newFront; in updateFrontAndNRPTS()
272 *outFront = mFront; in observeFrontAndNRPTS()
/frameworks/wilhelm/src/itf/
DI3DMacroscopic.c108 thiz->mOrientationVectors.mFront = front; in I3DMacroscopic_SetOrientationVectors()
164 SLVec3D front = thiz->mOrientationVectors.mFront; in I3DMacroscopic_GetOrientationVectors()
222 thiz->mOrientationVectors.mFront.x = 0; in I3DMacroscopic_init()
223 thiz->mOrientationVectors.mFront.y = 0; in I3DMacroscopic_init()
224 thiz->mOrientationVectors.mFront.z = -1000; in I3DMacroscopic_init()
DIAndroidBufferQueue.c270 thiz->mFront = &thiz->mBufferArray[0]; in IAndroidBufferQueue_Clear()
367 } else if (newRear == thiz->mFront) { in IAndroidBufferQueue_Enqueue()
483 thiz->mFront = NULL; in IAndroidBufferQueue_init()
531 thiz->mFront, thiz->mFront - thiz->mBufferArray,
535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
DIBufferQueue.c62 if (newRear == thiz->mFront) { in IBufferQueue_Enqueue()
94 thiz->mFront = &thiz->mArray[0]; in IBufferQueue_Clear()
184 thiz->mFront = NULL; in IBufferQueue_init()
DIOutputMixExt.c73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0]; in track_check()
108 oldFront = audioPlayer->mBufferQueue.mFront; in track_check()
135 oldFront = audioPlayer->mBufferQueue.mFront; in track_check()
276 oldFront = bufferQueue->mFront; in IOutputMixExt_FillBuffer()
284 bufferQueue->mFront = (BufferHeader *) newFront; in IOutputMixExt_FillBuffer()
DI3DLocation.c176 thiz->mOrientationVectors.mFront = front; in I3DLocation_SetOrientationVectors()
251 SLVec3D front = thiz->mOrientationVectors.mFront; in I3DLocation_GetOrientationVectors()
DIEngine.c41 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray; in initializeBufferQueueMembers()
85 ap->mAndroidBufferQueue.mFront = ap->mAndroidBufferQueue.mBufferArray; in initializeAndroidBufferQueueMembers()
513 thiz->mBufferQueue.mFront = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()
1217 thiz->mAndroidBufferQueue.mFront = in IEngine_CreateMediaPlayer()
DIPlay.c59 if ((NULL != audioPlayer) && (audioPlayer->mBufferQueue.mFront != in IPlay_SetPlayState()
/frameworks/wilhelm/src/android/
DBufferQueueSource.cpp75 assert(mAndroidBufferQueueSource->mFront != mAndroidBufferQueueSource->mRear); in readAt()
77 AdvancedBufferHeader *oldFront = mAndroidBufferQueueSource->mFront; in readAt()
114 mAndroidBufferQueueSource->mFront = newFront; in readAt()
Dandroid_StreamPlayer.cpp146 assert(mAndroidBufferQueue->mFront != mAndroidBufferQueue->mRear); in pullFromBuffQueue()
148 oldFront = mAndroidBufferQueue->mFront; in pullFromBuffQueue()
228 mAndroidBufferQueue->mFront = newFront; in pullFromBuffQueue()
DAudioRecorder_to_android.cpp226 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear); in audioRecorder_callback()
228 BufferHeader *oldFront = ar->mBufferQueue.mFront; in audioRecorder_callback()
250 ar->mBufferQueue.mFront = newFront; in audioRecorder_callback()
DAudioPlayer_to_android.cpp117 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); in adecoder_writeToBufferQueue()
119 BufferHeader *oldFront = ap->mBufferQueue.mFront; in adecoder_writeToBufferQueue()
138 ap->mBufferQueue.mFront = newFront; in adecoder_writeToBufferQueue()
1113 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); in audioTrack_callBack_pullFromBuffQueue()
1115 BufferHeader *oldFront = ap->mBufferQueue.mFront; in audioTrack_callBack_pullFromBuffQueue()
1138 ap->mBufferQueue.mFront = newFront; in audioTrack_callBack_pullFromBuffQueue()
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp127 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer()
132 front = cblk->u.mStreaming.mFront; in obtainBuffer()
288 int32_t front = cblk->u.mStreaming.mFront; in releaseBuffer()
289 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); in releaseBuffer()
315 return (mFrameCountP2 - (mIsOut ? cblk->u.mStreaming.mRear : cblk->u.mStreaming.mFront)) & in getMisalignment()
325 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in getFramesFilled()
329 front = cblk->u.mStreaming.mFront; in getFramesFilled()
525 front = cblk->u.mStreaming.mFront; in obtainBuffer()
529 android_atomic_release_store(rear, &cblk->u.mStreaming.mFront); in obtainBuffer()
540 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer()
[all …]
/frameworks/av/include/media/nbaio/
DPipeReader.h58 int32_t mFront; // follows behind mPipe.mRear variable
DMonoPipe.h121 volatile int32_t mFront; // written by the reader with updateFrontAndNRPTS, observed by variable
DNBLog.h189 int32_t mFront; // index of oldest acknowledged Entry variable
/frameworks/wilhelm/src/
Ditfstruct.h138 SLVec3D mFront; member
163 SLVec3D mFront; member
237 BufferHeader *mFront, *mRear; member
674 AdvancedBufferHeader *mFront, *mRear; member
/frameworks/av/include/private/media/
DAudioTrackShared.h56 volatile int32_t mFront; // read by server member