Searched refs:rear (Results 1 - 9 of 9) 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 | 48 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); local 50 size_t avail = rear - mFront; 54 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4); 80 // We could re-read the rear pointer here to detect the corruption, but why bother?
|
H A D | MonoPipe.cpp | 130 size_t rear = mRear & (mMaxFrames - 1); local 131 size_t part1 = mMaxFrames - rear; 136 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); 137 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/media/libmedia/ |
H A D | AudioTrackShared.cpp | 138 int32_t rear; local 148 rear = cblk->u.mStreaming.mRear; 151 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); 154 ssize_t filled = rear - front; 166 cblk->u.mStreaming.mFront = rear; 175 rear &= mFrameCountP2 - 1; 176 part1 = mFrameCountP2 - rear; 189 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; 312 int32_t rear = cblk->u.mStreaming.mRear; local 313 android_atomic_release_store(stepCount + rear, 351 int32_t rear; local 611 int32_t rear; local 727 int32_t rear = cblk->u.mStreaming.mRear; local 775 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); 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/services/audioflinger/ |
H A D | FastCapture.cpp | 199 int32_t rear = cblk->u.mStreaming.mRear; local 200 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
|
H A D | Threads.cpp | 5821 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); local 5827 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, 5836 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize); 5856 (void) mTeeSink->write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); 5860 size_t part1 = mRsmpInFramesP2 - rear; 5866 rear = mRsmpInRear += framesRead; 6417 const int32_t rear = recordThread->mRsmpInRear; local 6419 const ssize_t filled = rear - front; 6426 mRsmpInFront = rear; 6433 mRsmpInFront = /* front = */ rear 6455 int32_t rear = recordThread->mRsmpInRear; local [all...] |
Completed in 148 milliseconds