Searched refs:rear (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/media/libnbaio/ |
D | Pipe.cpp | 53 size_t rear = mRear & (mMaxFrames - 1); in write() local 54 size_t written = mMaxFrames - rear; in write() 58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize); in write() 59 if (CC_UNLIKELY(rear + written == mMaxFrames)) { in write() 60 if (CC_UNLIKELY((count -= written) > rear)) { in write() 61 count = rear; in write()
|
D | PipeReader.cpp | 53 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); in availableToRead() local 55 size_t avail = rear - mFront; in availableToRead() 59 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4); in availableToRead()
|
D | MonoPipe.cpp | 80 size_t rear = mRear & (mMaxFrames - 1); in write() local 81 size_t part1 = mMaxFrames - rear; in write() 86 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); in write() 87 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) { in write()
|
D | NBLog.cpp | 179 size_t rear = mRear & (mSize - 1); in log() local 180 size_t written = mSize - rear; // written = number of bytes that have been written so far in log() 190 mShared->mBuffer[rear + i] = entry->readAt(i); in log() 192 if (rear + written == mSize && (need -= written) > 0) { in log() 288 int32_t rear = android_atomic_acquire_load(&mShared->mRear); in dump() local 289 size_t avail = rear - mFront; in dump()
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 170 int32_t rear; in obtainBuffer() local 180 rear = cblk->u.mStreaming.mRear; in obtainBuffer() 183 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer() 187 ssize_t filled = rear - front; in obtainBuffer() 199 cblk->u.mStreaming.mFront = rear; in obtainBuffer() 214 rear &= mFrameCountP2 - 1; in obtainBuffer() 215 part1 = mFrameCountP2 - rear; in obtainBuffer() 228 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; in obtainBuffer() 353 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer() local 354 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.c | 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 | 201 int32_t rear = cblk->u.mStreaming.mRear; in onWork() local 202 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork()
|
D | Threads.cpp | 6299 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); in threadLoop() local 6305 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop() 6315 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize); in threadLoop() 6359 (void) mTeeSink->write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); in threadLoop() 6363 size_t part1 = mRsmpInFramesP2 - rear; in threadLoop() 6369 rear = mRsmpInRear += framesRead; in threadLoop() 6959 const int32_t rear = recordThread->mRsmpInRear; in sync() local 6961 const ssize_t filled = rear - front; in sync() 6968 mRsmpInFront = rear; in sync() 6975 mRsmpInFront = /* front = */ rear - framesIn; in sync() [all …]
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 467 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); in flush() local 469 android_atomic_release_store(rear, &mCblk->u.mStreaming.mFront); in flush() 470 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.
|
/frameworks/base/docs/html/training/camera/ |
D | cameradirect.jd | 84 argument, you get the first rear-facing camera.</p>
|