Home
last modified time | relevance | path

Searched refs:bandwidthBps (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp140 int32_t *bandwidthBps, bool *isStable, int32_t *shortTermBps) { in estimateBandwidth() argument
148 *bandwidthBps = *(--mPrevEstimates.end()); in estimateBandwidth()
158 *bandwidthBps = ((double)mTotalTransferBytes * 8E6 / mTotalTransferTimeUs); in estimateBandwidth()
159 mPrevEstimates.push_back(*bandwidthBps); in estimateBandwidth()
175 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps; in estimateBandwidth()
205 *bandwidthBps, mIsStable, histSize); in estimateBandwidth()
1345 size_t LiveSession::getBandwidthIndex(int32_t bandwidthBps) { in getBandwidthIndex() argument
1372 if (maxBw > 0 && bandwidthBps > maxBw) { in getBandwidthIndex()
1374 bandwidthBps = maxBw; in getBandwidthIndex()
1387 size_t adjustedBandwidthBps = bandwidthBps * 7 / 10; in getBandwidthIndex()
[all …]
DLiveSession.h274 size_t getBandwidthIndex(int32_t bandwidthBps);