Searched defs:rear (Results 1 - 10 of 10) sorted by relevance
/frameworks/av/media/libnbaio/ |
H A D | Pipe.cpp | 53 size_t rear = mRear & (mMaxFrames - 1); local 54 size_t written = mMaxFrames - rear; 58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize); 59 if (CC_UNLIKELY(rear + written == mMaxFrames)) { 60 if (CC_UNLIKELY((count -= written) > rear)) { 61 count = rear;
|
H A D | PipeReader.cpp | 53 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); local 55 size_t avail = rear - mFront; 59 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4); 85 // We could re-read the rear pointer here to detect the corruption, but why bother?
|
H A D | MonoPipe.cpp | 80 size_t rear = mRear & (mMaxFrames - 1); local 81 size_t part1 = mMaxFrames - rear; 86 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); 87 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) {
|
H A D | NBLog.cpp | 179 size_t rear = mRear & (mSize - 1); local 180 size_t written = mSize - rear; // written = number of bytes that have been written so far 190 mShared->mBuffer[rear + i] = entry->readAt(i); 192 if (rear + written == mSize && (need -= written) > 0) { 288 int32_t rear = android_atomic_acquire_load(&mShared->mRear); local 289 size_t avail = rear - mFront;
|
/frameworks/av/services/audioflinger/ |
H A D | FastCapture.cpp | 201 int32_t rear = cblk->u.mStreaming.mRear; local 202 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
|
H A D | Threads.cpp | 6030 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); local 6036 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, 6046 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize); 6089 (void) mTeeSink->write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); 6093 size_t part1 = mRsmpInFramesP2 - rear; 6099 rear = mRsmpInRear += framesRead; 6660 const int32_t rear = recordThread->mRsmpInRear; local 6662 const ssize_t filled = rear - front; 6669 mRsmpInFront = rear; 6676 mRsmpInFront = /* front = */ rear 6698 int32_t rear = recordThread->mRsmpInRear; local [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 151 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 D | IOutputMixExt.c | 275 const BufferHeader *oldFront, *newFront, *rear; local 277 rear = bufferQueue->mRear; 279 assert(oldFront != rear); 287 if (newFront != rear) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 170 int32_t rear; local 180 rear = cblk->u.mStreaming.mRear; 183 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); 186 // write to rear, read from front 187 ssize_t filled = rear - front; 199 cblk->u.mStreaming.mFront = rear; 214 rear &= mFrameCountP2 - 1; 215 part1 = mFrameCountP2 - rear; 228 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; 353 int32_t rear local 636 int32_t rear; local 754 int32_t rear = cblk->u.mStreaming.mRear; local 804 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); local [all...] |
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 467 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); local 469 android_atomic_release_store(rear, &mCblk->u.mStreaming.mFront); 470 return (Modulo<int32_t>(rear) - front).unsignedValue();
|
Completed in 1896 milliseconds