Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp210 int32_t rear; in obtainBuffer() local
220 rear = cblk->u.mStreaming.mRear; in obtainBuffer()
223 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer()
227 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in obtainBuffer()
239 cblk->u.mStreaming.mFront = rear; in obtainBuffer()
254 rear &= mFrameCountP2 - 1; in obtainBuffer()
255 part1 = mFrameCountP2 - rear; in obtainBuffer()
268 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; in obtainBuffer()
397 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer() local
398 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.cpp227 int32_t rear = cblk->u.mStreaming.mRear; in onWork() local
228 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork()
DThreads.cpp7947 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); in threadLoop() local
7953 size_t framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); in threadLoop()
7960 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop()
7999 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize, &bytesRead); in threadLoop()
8076 (void)mTee.write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); in threadLoop()
8080 size_t part1 = mRsmpInFramesP2 - rear; in threadLoop()
8911 const int32_t rear = recordThread->mRsmpInRear; in reset() local
8916 if (startFrames <= rear) { in reset()
8917 deltaFrames = rear - startFrames; in reset()
8919 deltaFrames = (int32_t)((int64_t)rear + UINT32_MAX + 1 - startFrames); in reset()
[all …]
/frameworks/av/include/private/media/
DAudioTrackShared.h570 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear);
572 android_atomic_release_store(rear, &mCblk->u.mStreaming.mFront);
573 return (Modulo<int32_t>(rear) - front).unsignedValue();
/frameworks/opt/net/ims/
DREADME.txt113 controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.