Searched refs:rear (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 173 int32_t rear; in obtainBuffer() local 183 rear = cblk->u.mStreaming.mRear; in obtainBuffer() 186 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer() 190 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in obtainBuffer() 202 cblk->u.mStreaming.mFront = rear; in obtainBuffer() 217 rear &= mFrameCountP2 - 1; in obtainBuffer() 218 part1 = mFrameCountP2 - rear; in obtainBuffer() 231 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; in obtainBuffer() 360 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer() local 361 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer() [all …]
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 151 size_t rear; in arrange() local 157 rear = current->end - 1; in arrange() 158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]); in arrange() 159 pos = rear; in arrange()
|
/frameworks/wilhelm/src/itf/ |
D | IOutputMixExt.cpp | 275 const BufferHeader *oldFront, *newFront, *rear; in IOutputMixExt_FillBuffer() local 277 rear = bufferQueue->mRear; in IOutputMixExt_FillBuffer() 279 assert(oldFront != rear); in IOutputMixExt_FillBuffer() 287 if (newFront != rear) { in IOutputMixExt_FillBuffer()
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 224 int32_t rear = cblk->u.mStreaming.mRear; in onWork() local 225 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork()
|
D | Threads.cpp | 7112 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); in threadLoop() local 7118 size_t framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); in threadLoop() 7125 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop() 7163 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize, &bytesRead); in threadLoop() 7236 (void)mTee.write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); in threadLoop() 7240 size_t part1 = mRsmpInFramesP2 - rear; in threadLoop() 7246 rear = mRsmpInRear += framesRead; in threadLoop() 7989 const int32_t rear = recordThread->mRsmpInRear; in sync() local 7991 const ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in sync() 7998 mRsmpInFront = rear; in sync() [all …]
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 483 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); in flush() local 485 android_atomic_release_store(rear, &mCblk->u.mStreaming.mFront); in flush() 486 return (Modulo<int32_t>(rear) - front).unsignedValue(); in flush()
|
/frameworks/opt/net/ims/ |
D | README.txt | 113 controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.
|