Lines Matching refs:mPendingInputFrames

243     if (mPendingInputFrames.size() > 0) {  in deleteInternalStreams()
245 __FUNCTION__, mPendingInputFrames.size()); in deleteInternalStreams()
246 mPendingInputFrames.clear(); in deleteInternalStreams()
574 mPendingInputFrames[i->first].orientation = i->second.orientation; in compilePendingInputLocked()
575 mPendingInputFrames[i->first].quality = i->second.quality; in compilePendingInputLocked()
576 mPendingInputFrames[i->first].timestamp = i->second.timestamp; in compilePendingInputLocked()
577 mPendingInputFrames[i->first].requestId = i->second.requestId; in compilePendingInputLocked()
583 if (mPendingInputFrames.size() == 1) { in compilePendingInputLocked()
590 int32_t newQuality = mPendingInputFrames.begin()->second.quality; in compilePendingInputLocked()
615 mPendingInputFrames[*it].error = true; in compilePendingInputLocked()
620 … if (mPendingInputFrames.find(mAppSegmentFrameNumbers.front()) == mPendingInputFrames.end()) { in compilePendingInputLocked()
632 if ((mPendingInputFrames.find(frameNumber) == mPendingInputFrames.end()) || in compilePendingInputLocked()
633 (mPendingInputFrames[frameNumber].error)) { in compilePendingInputLocked()
636 mPendingInputFrames[frameNumber].appSegmentBuffer = imgBuffer; in compilePendingInputLocked()
653 mPendingInputFrames[*it].error = true; in compilePendingInputLocked()
659 mPendingInputFrames[*it].error = true; in compilePendingInputLocked()
664 if (mPendingInputFrames.find(mMainImageFrameNumbers.front()) == mPendingInputFrames.end()) { in compilePendingInputLocked()
676 if ((mPendingInputFrames.find(frameNumber) == mPendingInputFrames.end()) || in compilePendingInputLocked()
677 (mPendingInputFrames[frameNumber].error)) { in compilePendingInputLocked()
680 mPendingInputFrames[frameNumber].yuvBuffer = imgBuffer; in compilePendingInputLocked()
704 mPendingInputFrames[bufferFrameNumber].codecOutputBuffers.push_back(*it); in compilePendingInputLocked()
717 mPendingInputFrames.find(frameNumber) != mPendingInputFrames.end()) { in compilePendingInputLocked()
718 if (mPendingInputFrames[frameNumber].timestamp == it->first) { in compilePendingInputLocked()
719 mPendingInputFrames[frameNumber].result = in compilePendingInputLocked()
724 __FUNCTION__, mPendingInputFrames[frameNumber].timestamp, in compilePendingInputLocked()
734 if (mPendingInputFrames.find(*it) != mPendingInputFrames.end()) { in compilePendingInputLocked()
735 mPendingInputFrames[*it].error = true; in compilePendingInputLocked()
748 if (mPendingInputFrames.find(*it) != mPendingInputFrames.end()) { in compilePendingInputLocked()
749 mPendingInputFrames[*it].exifError = true; in compilePendingInputLocked()
755 for (auto it = mPendingInputFrames.begin(); in compilePendingInputLocked()
756 it != mPendingInputFrames.end() && mCodecInputBuffers.size() > 0; it++) { in compilePendingInputLocked()
782 for (auto& it : mPendingInputFrames) { in getNextReadyInputLocked()
816 for (const auto& it : mPendingInputFrames) { in getNextFailingInputLocked()
1238 auto it = mPendingInputFrames.begin(); in releaseInputFramesLocked()
1240 while (it != mPendingInputFrames.end()) { in releaseInputFramesLocked()
1245 it = mPendingInputFrames.erase(it); in releaseInputFramesLocked()
1258 auto firstPendingFrame = mPendingInputFrames.begin(); in releaseInputFramesLocked()
1259 if (firstPendingFrame != mPendingInputFrames.end()) { in releaseInputFramesLocked()
1676 &mPendingInputFrames[failingFrameNumber]); in threadLoop()
1684 mPendingInputFrames.erase(failingFrameNumber); in threadLoop()
1685 if (mPendingInputFrames.size() == 0) { in threadLoop()
1703 auto res = processInputFrame(frameNumber, mPendingInputFrames[frameNumber]); in threadLoop()
1707 PRId64 ": %s (%d)", __FUNCTION__, mPendingInputFrames[frameNumber].timestamp, in threadLoop()
1709 mPendingInputFrames[frameNumber].error = true; in threadLoop()
1756 for (const auto& inputFrame : mPendingInputFrames) { in onResultError()