Home
last modified time | relevance | path

Searched refs:aDurationMsec (Results 1 – 4 of 4) sorted by relevance

/external/opencore/nodes/pvprotocolenginenode/download_protocols/progressive_download/src/
Dpvmf_protocol_engine_node_progressive_download.cpp103 const uint32 aDurationMsec, in isDlAlgoPreConditionMet() argument
108 …if (!pvDownloadControl::isDlAlgoPreConditionMet(aDownloadRate, aDurationMsec, aCurrDownloadSize, a… in isDlAlgoPreConditionMet()
111 int32 status = isPlaybackRateCloseToClipBitrate(aDurationMsec, aCurrDownloadSize, aFileSize); in isDlAlgoPreConditionMet()
121 …_REF int32 progressiveDownloadControl::isPlaybackRateCloseToClipBitrate(const uint32 aDurationMsec, in isPlaybackRateCloseToClipBitrate() argument
125 if (aFileSize == 0 || aDurationMsec == 0 || iProgDownloadSI == NULL) return -1; in isPlaybackRateCloseToClipBitrate()
133 …if (iClipByterate == 0) iClipByterate = divisionInMilliSec(aFileSize, aDurationMsec); // aFileSi… in isPlaybackRateCloseToClipBitrate()
151 if (iClipByterate == 0) iClipByterate = divisionInMilliSec(aFileSize, aDurationMsec); in isPlaybackRateCloseToClipBitrate()
207 const uint32 aDurationMsec, in approveAutoResumeDecisionShortCut() argument
211 if (!iProgDownloadSI || aDurationMsec == 0) return false; in approveAutoResumeDecisionShortCut()
216 aPlaybackRemainingTimeMsec = aDurationMsec - aNPTInMS; in approveAutoResumeDecisionShortCut()
[all …]
Dpvmf_protocol_engine_node_progressive_download.h72 const uint32 aDurationMsec,
79 OSCL_IMPORT_REF virtual int32 isPlaybackRateCloseToClipBitrate(const uint32 aDurationMsec,
93 const uint32 aDurationMsec,
101 uint32 &aDurationMsec);
104 uint32 &aDurationMsec);
/external/opencore/nodes/pvprotocolenginenode/download_protocols/common/src/
Dpvmf_protocol_engine_node_download_common.h234 const uint32 aDurationMsec,
247 const uint32 aDurationMsec, in approveAutoResumeDecisionShortCut() argument
252 OSCL_UNUSED_ARG(aDurationMsec); in approveAutoResumeDecisionShortCut()
262 uint32 &aDurationMsec) in checkAutoResumeAlgoNoConstraint() argument
266 OSCL_UNUSED_ARG(aDurationMsec); in checkAutoResumeAlgoNoConstraint()
287 const uint32 aDurationMsec,
Dpvmf_protocol_engine_node_download_common.cpp751 const uint32 aDurationMsec, in isDlAlgoPreConditionMet() argument
758 aDownloadRate, aDurationMsec, aCurrDownloadSize)); in isDlAlgoPreConditionMet()
759 OSCL_UNUSED_ARG(aDurationMsec); in isDlAlgoPreConditionMet()
778 const uint32 aDurationMsec, in checkAutoResumeAlgoWithConstraint() argument
786 aRemainingDownloadSize, aDownloadRate, aDurationMsec - playbackTimeMec32)); in checkAutoResumeAlgoWithConstraint()
790 uint32 newDurationMsec = aDurationMsec; in checkAutoResumeAlgoWithConstraint()
791 if (!checkNewDuration(aDurationMsec, newDurationMsec)) return false; in checkAutoResumeAlgoWithConstraint()
803 … aRemainingDownloadSize, (aDownloadRate << 3), newDurationMsec, aDurationMsec, playbackTimeMec32)); in checkAutoResumeAlgoWithConstraint()