Lines Matching refs:oldFront
134 AdvancedBufferHeader *oldFront = NULL; in pullFromBuffQueue() local
148 oldFront = mAndroidBufferQueue->mFront; in pullFromBuffQueue()
149 AdvancedBufferHeader *newFront = &oldFront[1]; in pullFromBuffQueue()
152 if (oldFront->mDataSizeConsumed == 0) { in pullFromBuffQueue()
154 if (oldFront->mItems.mTsCmdData.mTsCmdCode & ANDROID_MP2TSEVENT_EOS) { in pullFromBuffQueue()
158 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode & ANDROID_MP2TSEVENT_DISCONTINUITY) { in pullFromBuffQueue()
160 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode & ANDROID_MP2TSEVENT_DISCON_NEWPTS) { in pullFromBuffQueue()
163 (int64_t)oldFront->mItems.mTsCmdData.mPts); in pullFromBuffQueue()
165 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode in pullFromBuffQueue()
172 } else if (oldFront->mItems.mTsCmdData.mTsCmdCode in pullFromBuffQueue()
184 if (oldFront->mItems.mTsCmdData.mTsCmdCode & (ANDROID_MP2TSEVENT_DISCONTINUITY | in pullFromBuffQueue()
192 oldFront->mItems.mTsCmdData.mTsCmdCode = ANDROID_MP2TSEVENT_NONE; in pullFromBuffQueue()
205 char *pSrc = ((char*)oldFront->mDataBuffer) + oldFront->mDataSizeConsumed; in pullFromBuffQueue()
206 if (oldFront->mDataSizeConsumed + buffSize < oldFront->mDataSize) { in pullFromBuffQueue()
211 oldFront->mDataSizeConsumed += buffSize; in pullFromBuffQueue()
218 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; in pullFromBuffQueue()
220 oldFront->mDataSizeConsumed = oldFront->mDataSize; in pullFromBuffQueue()
254 pBufferContext = (void *)oldFront->mBufferContext; in pullFromBuffQueue()
255 pBufferData = (void *)oldFront->mDataBuffer; in pullFromBuffQueue()
256 dataSize = oldFront->mDataSize; in pullFromBuffQueue()