Home
last modified time | relevance | path

Searched refs:rear (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp173 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/
DSymbolCategory.cpp151 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/
DIOutputMixExt.cpp275 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/
DFastCapture.cpp224 int32_t rear = cblk->u.mStreaming.mRear; in onWork() local
225 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork()
DThreads.cpp7112 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/
DAudioTrackShared.h483 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/
DREADME.txt113 controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.