Searched refs:oldFront (Results 1 – 7 of 7) sorted by relevance
77 AdvancedBufferHeader *oldFront = mAndroidBufferQueueSource->mFront; in readAt() local78 AdvancedBufferHeader *newFront = &oldFront[1]; in readAt()87 if (oldFront->mDataSizeConsumed == 0) { in readAt()88 if (oldFront->mItems.mAdtsCmdData.mAdtsCmdCode & ANDROID_ADTSEVENT_EOS) { in readAt()93 oldFront->mItems.mAdtsCmdData.mAdtsCmdCode = ANDROID_ADTSEVENT_NONE; in readAt()99 if (offset + (off64_t) size <= mStreamToBqOffset + oldFront->mDataSize) { in readAt()100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset); in readAt()102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) { in readAt()104 oldFront->mDataSizeConsumed = oldFront->mDataSize; in readAt()105 mStreamToBqOffset += oldFront->mDataSize; in readAt()[all …]
134 AdvancedBufferHeader *oldFront = NULL; in pullFromBuffQueue() local148 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()[all …]
330 BufferHeader *oldFront = ar->mBufferQueue.mFront; in audioRecorder_callback() local331 BufferHeader *newFront = &oldFront[1]; in audioRecorder_callback()333 size_t availSink = oldFront->mSize - ar->mBufferQueue.mSizeConsumed; in audioRecorder_callback()336 void *pDest = (char *)oldFront->mBuffer + ar->mBufferQueue.mSizeConsumed; in audioRecorder_callback()
125 BufferHeader *oldFront = ap->mBufferQueue.mFront; in adecoder_writeToBufferQueue() local126 BufferHeader *newFront = &oldFront[1]; in adecoder_writeToBufferQueue()128 uint8_t *pDest = (uint8_t *)oldFront->mBuffer + ap->mBufferQueue.mSizeConsumed; in adecoder_writeToBufferQueue()129 if (ap->mBufferQueue.mSizeConsumed + size < oldFront->mSize) { in adecoder_writeToBufferQueue()137 sizeConsumed = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in adecoder_writeToBufferQueue()1232 BufferHeader *oldFront = ap->mBufferQueue.mFront; in audioTrack_callBack_pullFromBuffQueue() local1233 BufferHeader *newFront = &oldFront[1]; in audioTrack_callBack_pullFromBuffQueue()1235 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue()1238 void *pSrc = (char *)oldFront->mBuffer + ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue()
68 const BufferHeader *oldFront; in track_check() local108 oldFront = audioPlayer->mBufferQueue.mFront; in track_check()109 if (oldFront != audioPlayer->mBufferQueue.mRear) { in track_check()111 track->mReader = oldFront->mBuffer; in track_check()112 track->mAvail = oldFront->mSize; in track_check()135 oldFront = audioPlayer->mBufferQueue.mFront; in track_check()136 if (oldFront != audioPlayer->mBufferQueue.mRear) { in track_check()138 track->mReader = oldFront->mBuffer; in track_check()139 track->mAvail = oldFront->mSize; in track_check()275 const BufferHeader *oldFront, *newFront, *rear; in IOutputMixExt_FillBuffer() local[all …]
193 Closure **oldFront = tp->mClosureFront; in ThreadPool_deinit_internal() local194 while (oldFront != tp->mClosureRear) { in ThreadPool_deinit_internal()195 Closure **newFront = oldFront; in ThreadPool_deinit_internal()198 Closure *pClosure = *oldFront; in ThreadPool_deinit_internal()200 *oldFront = NULL; in ThreadPool_deinit_internal()339 Closure **oldFront = tp->mClosureFront; in ThreadPool_remove() local341 if (oldFront == tp->mClosureRear) { in ThreadPool_remove()349 Closure **newFront = oldFront; in ThreadPool_remove()353 pClosure = *oldFront; in ThreadPool_remove()355 *oldFront = NULL; in ThreadPool_remove()
58 int32_t oldFront = mFront; in availableToRead() local60 mFramesOverrun += (size_t) (mFront - oldFront); in availableToRead()