Searched defs:oldFront (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libnbaio/
H A DPipeReader.cpp53 int32_t oldFront = mFront; local
55 mFramesOverrun += (size_t) (mFront - oldFront);
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.cpp77 AdvancedBufferHeader *oldFront = mAndroidBufferQueueSource->mFront; local
78 AdvancedBufferHeader *newFront = &oldFront[1];
87 if (oldFront->mDataSizeConsumed == 0) {
88 if (oldFront->mItems.mAdtsCmdData.mAdtsCmdCode & ANDROID_ADTSEVENT_EOS) {
93 oldFront->mItems.mAdtsCmdData.mAdtsCmdCode = ANDROID_ADTSEVENT_NONE;
99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) {
100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset);
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
104 oldFront->mDataSizeConsumed = oldFront
[all...]
H A DAudioRecorder_to_android.cpp258 BufferHeader *oldFront = ar->mBufferQueue.mFront; local
259 BufferHeader *newFront = &oldFront[1];
261 size_t availSink = oldFront->mSize - ar->mBufferQueue.mSizeConsumed;
264 void *pDest = (char *)oldFront->mBuffer + ar->mBufferQueue.mSizeConsumed;
H A Dandroid_StreamPlayer.cpp134 AdvancedBufferHeader *oldFront = NULL; local
148 oldFront = mAndroidBufferQueue->mFront;
149 AdvancedBufferHeader *newFront = &oldFront[1];
152 if (oldFront->mDataSizeConsumed == 0) {
154 if (oldFront->mItems.mTsCmdData.mTsCmdCode & ANDROID_MP2TSEVENT_EOS) {
158 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode & ANDROID_MP2TSEVENT_DISCONTINUITY) {
160 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode & ANDROID_MP2TSEVENT_DISCON_NEWPTS) {
163 (int64_t)oldFront->mItems.mTsCmdData.mPts);
165 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode
172 } else if (oldFront
[all...]
H A DAudioPlayer_to_android.cpp121 BufferHeader *oldFront = ap->mBufferQueue.mFront; local
122 BufferHeader *newFront = &oldFront[1];
124 uint8_t *pDest = (uint8_t *)oldFront->mBuffer + ap->mBufferQueue.mSizeConsumed;
125 if (ap->mBufferQueue.mSizeConsumed + size < oldFront->mSize) {
133 sizeConsumed = oldFront->mSize - ap->mBufferQueue.mSizeConsumed;
1160 BufferHeader *oldFront = ap->mBufferQueue.mFront; local
1161 BufferHeader *newFront = &oldFront[1];
1163 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed;
1166 void *pSrc = (char *)oldFront->mBuffer + ap->mBufferQueue.mSizeConsumed;
/frameworks/wilhelm/src/
H A DThreadPool.c193 Closure **oldFront = tp->mClosureFront; local
194 while (oldFront != tp->mClosureRear) {
195 Closure **newFront = oldFront;
198 Closure *pClosure = *oldFront;
200 *oldFront = NULL;
339 Closure **oldFront = tp->mClosureFront; local
341 if (oldFront == tp->mClosureRear) {
349 Closure **newFront = oldFront;
353 pClosure = *oldFront;
355 *oldFront
[all...]
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c68 const BufferHeader *oldFront; local
108 oldFront = audioPlayer->mBufferQueue.mFront;
109 if (oldFront != audioPlayer->mBufferQueue.mRear) {
111 track->mReader = oldFront->mBuffer;
112 track->mAvail = oldFront->mSize;
135 oldFront = audioPlayer->mBufferQueue.mFront;
136 if (oldFront != audioPlayer->mBufferQueue.mRear) {
138 track->mReader = oldFront->mBuffer;
139 track->mAvail = oldFront->mSize;
275 const BufferHeader *oldFront, *newFron local
[all...]

Completed in 98 milliseconds