Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp136 int32_t *bandwidthBps, bool *isStable, int32_t *shortTermBps) { in estimateBandwidth() argument
144 *bandwidthBps = *(--mPrevEstimates.end()); in estimateBandwidth()
154 *bandwidthBps = ((double)mTotalTransferBytes * 8E6 / mTotalTransferTimeUs); in estimateBandwidth()
155 mPrevEstimates.push_back(*bandwidthBps); in estimateBandwidth()
171 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps; in estimateBandwidth()
201 *bandwidthBps, mIsStable, histSize); in estimateBandwidth()
1340 size_t LiveSession::getBandwidthIndex(int32_t bandwidthBps) { in getBandwidthIndex() argument
1367 if (maxBw > 0 && bandwidthBps > maxBw) { in getBandwidthIndex()
1369 bandwidthBps = maxBw; in getBandwidthIndex()
1382 size_t adjustedBandwidthBps = bandwidthBps * 7 / 10; in getBandwidthIndex()
[all …]
DLiveSession.h274 size_t getBandwidthIndex(int32_t bandwidthBps);