Searched refs:rear (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp171 int32_t rear; local
181 rear = cblk->u.mStreaming.mRear;
184 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear);
187 // write to rear, read from front
188 ssize_t filled = rear - front;
200 cblk->u.mStreaming.mFront = rear;
215 rear &= mFrameCountP2 - 1;
216 part1 = mFrameCountP2 - rear;
229 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL;
357 int32_t rear local
678 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); local
720 const int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); local
769 int32_t rear; local
856 int32_t rear = cblk->u.mStreaming.mRear; local
905 const int32_t rear = getRear(); local
931 const int32_t rear = getRear(); local
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp151 size_t rear; local
157 rear = current->end - 1;
158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]);
159 pos = rear;
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.cpp275 const BufferHeader *oldFront, *newFront, *rear;
277 rear = bufferQueue->mRear;
279 assert(oldFront != rear);
287 if (newFront != rear) {
/frameworks/av/services/audioflinger/
H A DFastCapture.cpp201 int32_t rear = cblk->u.mStreaming.mRear; local
202 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
H A DThreads.cpp6614 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); local
6620 framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2);
6627 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize,
6665 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize, &bytesRead);
6708 (void) mTeeSink->write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead);
6712 size_t part1 = mRsmpInFramesP2 - rear;
6718 rear = mRsmpInRear += framesRead;
7387 const int32_t rear = recordThread->mRsmpInRear; local
7389 const ssize_t filled = rear - front;
7396 mRsmpInFront = rear;
7425 int32_t rear = recordThread->mRsmpInRear; local
[all...]
/frameworks/av/include/private/media/
H A DAudioTrackShared.h483 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); local
485 android_atomic_release_store(rear, &mCblk->u.mStreaming.mFront);
486 return (Modulo<int32_t>(rear) - front).unsignedValue();
547 // Returns the rear position of the AudioTrack shared ring buffer, limited by

Completed in 132 milliseconds