Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp141 int32_t *bandwidthBps, bool *isStable, int32_t *shortTermBps) { in estimateBandwidth() argument
149 *bandwidthBps = *(--mPrevEstimates.end()); in estimateBandwidth()
159 *bandwidthBps = ((double)mTotalTransferBytes * 8E6 / mTotalTransferTimeUs); in estimateBandwidth()
160 mPrevEstimates.push_back(*bandwidthBps); in estimateBandwidth()
176 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps; in estimateBandwidth()
206 *bandwidthBps, mIsStable, histSize); in estimateBandwidth()
1346 size_t LiveSession::getBandwidthIndex(int32_t bandwidthBps) { in getBandwidthIndex() argument
1373 if (maxBw > 0 && bandwidthBps > maxBw) { in getBandwidthIndex()
1375 bandwidthBps = maxBw; in getBandwidthIndex()
1388 size_t adjustedBandwidthBps = bandwidthBps * .7f; in getBandwidthIndex()
[all …]
DLiveSession.h274 size_t getBandwidthIndex(int32_t bandwidthBps);