Lines Matching defs:it

122         List<BandwidthEntry>::iterator it = mBandwidthHistory.begin();
125 if (nowUs - it->mTimestampUs < kMaxBandwidthHistoryAgeUs &&
126 mTotalTransferTimeUs - it->mDelayUs < bandwidthHistoryWindowUs) {
129 mTotalTransferTimeUs -= it->mDelayUs;
130 mTotalTransferBytes -= it->mNumBytes;
164 List<BandwidthEntry>::iterator it = --mBandwidthHistory.end();
165 for (size_t i = 0; i < kShortTermBandwidthItems; i++, it--) {
166 totalTimeUs += it->mDelayUs;
167 totalBytes += it->mNumBytes;
177 List<int32_t>::iterator it;
178 for (it = mPrevEstimates.begin(); it != mPrevEstimates.end(); it++) {
179 int32_t estimate = *it;
187 // consider it stable if long-term average is not jumping a lot
202 List<BandwidthEntry>::iterator it = mBandwidthHistory.begin();
203 for (; it != mBandwidthHistory.end(); ++it) {
210 it->mNumBytes / 1024,
211 (double)it->mDelayUs * 1.0e-6,
212 (it == (--mBandwidthHistory.end())) ? "}" : ", ");
346 // When NuPlayerDecoder dequeues the format discontinuity, it will
348 // thinks it can do seamless change, so will not shutdown decoder.
349 // When the actual format arrives, it can't handle it and get stuck.
565 // It's okay for lastDequeueMeta to be NULL here, it means the
575 // If it's NULL, we failed because dequeue already past all samples
604 // if we're here, it means dequeue progress hasn't passed some samples in
1042 // initial bandwidth by listing it first in the variant playlist.
1137 // own destructor when it waits for mFetcherLooper to stop, which still
1336 // if playlists are all blacklisted, return 0 and hope it's alive
1635 // we'll decrement mContinuationCounter, once it reaches zero, i.e. all
1772 // any decoders that needed it.
2037 // Restart new fetcher (it was paused after the first 47k block)
2038 // and let it fetch into mPacketSources (not mPacketSources2)
2085 // when bandwidth is low, it takes a long time to buffer
2086 // to ready mark, then it immediately pauses after start
2177 // (it's possible that the variant only has audio or video)
2284 // If error happens there, it's likely unrecoverable.
2348 // it hasn't stabilized, use the short term to guess real bandwidth,
2349 // since it may be dropping too fast.
2359 // it's possible that we're checking for canSwitchUp case, but the returned