Home
last modified time | relevance | path

Searched refs:aFileSize (Results 1 – 24 of 24) sorted by relevance

/external/opencore/nodes/pvprotocolenginenode/download_protocols/progressive_download/src/
Dpvmf_protocol_engine_node_progressive_download.cpp105 const uint32 aFileSize) in isDlAlgoPreConditionMet() argument
108 …:isDlAlgoPreConditionMet(aDownloadRate, aDurationMsec, aCurrDownloadSize, aFileSize)) return false; in isDlAlgoPreConditionMet()
111 int32 status = isPlaybackRateCloseToClipBitrate(aDurationMsec, aCurrDownloadSize, aFileSize); in isDlAlgoPreConditionMet()
123 const uint32 aFileSize) 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()
226 const uint32 aFileSize, in checkAutoResumeAlgoNoConstraint() argument
230 if (checkEstDurationAvailable(aFileSize, aDurationMsec)) return false; in checkAutoResumeAlgoNoConstraint()
234 …else if (aFileSize > 0) currDownloadSizeOfInterest /= (aFileSize / PVPROTOCOLENGINE_DOWNLOAD_BYTE_… in checkAutoResumeAlgoNoConstraint()
[all …]
Dpvmf_protocol_engine_node_progressive_download.h74 const uint32 aFileSize);
81 const uint32 aFileSize);
100 const uint32 aFileSize,
103 OSCL_IMPORT_REF bool checkEstDurationAvailable(const uint32 aFileSize,
144 …RT_REF bool calculateDownloadPercentBody(uint32 &aDownloadProgressPercent, const uint32 aFileSize);
147 … OSCL_IMPORT_REF uint32 getDownloadBytePercent(const uint32 aDownloadSize, const uint32 aFileSize);
/external/opencore/nodes/pvprotocolenginenode/download_protocols/common/src/
Dpvdl_config_file.h103 void SetMaxAllowedFileSize(uint32 aFileSize) in SetMaxAllowedFileSize() argument
105 iMaxAllowedFileSize = aFileSize; in SetMaxAllowedFileSize()
112 void SetOverallFileSize(uint32 aFileSize) in SetOverallFileSize() argument
114 iOverallFileSize = aFileSize; in SetOverallFileSize()
121 void SetCurrentFileSize(uint32 aFileSize) in SetCurrentFileSize() argument
123 iCurrentFileSize = aFileSize; in SetCurrentFileSize()
Dpvmf_protocol_engine_node_download_common.cpp667 OSCL_EXPORT_REF void pvDownloadControl::setFileSize(const uint32 aFileSize) in setFileSize() argument
670 if (aFileSize == 0 || !iProgDownloadSI) return; in setFileSize()
672 iProgDownloadSI->setFileSize(aFileSize); in setFileSize()
721 const uint32 aFileSize) in isResumePlayback() argument
734 …if (!iCurrentPlaybackClock) return isResumePlaybackWithOldAlg(aDownloadRate, aFileSize - aCurrDown… in isResumePlayback()
738 …if (!isDlAlgoPreConditionMet(aDownloadRate, iClipDurationMsec, aCurrDownloadSize, aFileSize)) retu… in isResumePlayback()
741 if (iClipDurationMsec > 0 && aFileSize > 0) in isResumePlayback()
743 …eckAutoResumeAlgoWithConstraint(aDownloadRate, aFileSize - aCurrDownloadSize, iClipDurationMsec, a… in isResumePlayback()
746 return checkAutoResumeAlgoNoConstraint(aCurrDownloadSize, aFileSize, iClipDurationMsec); in isResumePlayback()
753 const uint32 aFileSize) in isDlAlgoPreConditionMet() argument
[all …]
Dpvmf_protocol_engine_node_download_common.h217 …ResumePlayback(const uint32 aDownloadRate, const uint32 aCurrDownloadSize, const uint32 aFileSize);
236 const uint32 aFileSize);
261 const uint32 aFileSize, in checkAutoResumeAlgoNoConstraint() argument
265 OSCL_UNUSED_ARG(aFileSize); in checkAutoResumeAlgoNoConstraint()
288 const uint32 aFileSize);
300 OSCL_IMPORT_REF void setFileSize(const uint32 aFileSize);
/external/opencore/nodes/common/include/
Dpvmf_format_progdownload_support_extension.h64 virtual int32 convertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) = 0;
70 virtual void setFileSize(const uint32 aFileSize) = 0;
/external/opencore/fileformats/mp3/parser/include/
Dimp3ff.h300 OSCL_IMPORT_REF int32 ConvertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) const;
419 OSCL_IMPORT_REF MP3ErrorType SetFileSize(const uint32 aFileSize);
Dmp3parser.h226 MP3ErrorType SetFileSize(const uint32 aFileSize);
366 int32 ConvertSizeToTime(uint32 aFileSize, uint32& aNPTInMS);
/external/opencore/nodes/pvprotocolenginenode/include/
Dpvmf_protocol_engine_node_extension.h103 virtual void GetFileSize(uint32& aFileSize) = 0;
/external/opencore/fileformats/mp3/parser/src/
Dimp3ff.cpp381 OSCL_EXPORT_REF int32 IMpeg3File::ConvertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) const in ConvertSizeToTime() argument
385 return pMP3Parser->ConvertSizeToTime(aFileSize, aNPTInMS); in ConvertSizeToTime()
516 OSCL_EXPORT_REF MP3ErrorType IMpeg3File::SetFileSize(const uint32 aFileSize) in SetFileSize() argument
521 errCode = pMP3Parser->SetFileSize(aFileSize); in SetFileSize()
Dmp3parser.cpp1316 int32 MP3Parser::ConvertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) in ConvertSizeToTime() argument
1319 uint32 fileSize = aFileSize; in ConvertSizeToTime()
2761 MP3ErrorType MP3Parser::SetFileSize(const uint32 aFileSize) in SetFileSize() argument
2763 iFileSizeFromExternalSource = aFileSize; in SetFileSize()
2764 iLocalFileSize = aFileSize; in SetFileSize()
/external/opencore/nodes/pvprotocolenginenode/base/src/
Dpvmf_protocol_engine_node.h161 void GetFileSize(uint32& aFileSize) in GetFileSize() argument
163aFileSize = (iInterfacingObjectContainer == NULL ? 0 : iInterfacingObjectContainer->getFileSize()); in GetFileSize()
/external/opencore/nodes/pvprotocolenginenode/protocol_common/src/
Dpvmf_protocol_engine_node_common.h1398 void setFileSize(const uint32 aFileSize) in setFileSize() argument
1400 iFileSize = aFileSize; in setFileSize()
/external/opencore/fileformats/mp4/parser/include/
Dimpeg4file.h418 virtual MP4_ERROR_CODE GetCurrentFileSize(uint32& aFileSize) = 0;
Dmpeg4file.h855 MP4_ERROR_CODE GetCurrentFileSize(uint32& aFileSize);
/external/opencore/nodes/pvmp3ffparsernode/src/
Dpvmf_mp3ffparser_node.cpp1820 int32 PVMFMP3FFParserNode::convertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) in convertSizeToTime() argument
1826 … (0, "PVMFMP3FFParserNode::ConvertSizeToTime() aFileSize=%d, aNPTInMS=%d", aFileSize, aNPTInMS)); in convertSizeToTime()
1828 return iMP3File->ConvertSizeToTime(aFileSize, aNPTInMS); in convertSizeToTime()
1864 void PVMFMP3FFParserNode::setFileSize(const uint32 aFileSize) in setFileSize() argument
1866 iFileSize = aFileSize; in setFileSize()
Dpvmf_mp3ffparser_node.h479 void setFileSize(const uint32 aFileSize);
/external/opencore/nodes/pvaacffparsernode/src/
Dpvmf_aacffparser_node.cpp4009 void PVMFAACFFParserNode::setFileSize(const uint32 aFileSize) in setFileSize() argument
4011 iDownloadFileSize = aFileSize; in setFileSize()
4023 int32 PVMFAACFFParserNode::convertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) in convertSizeToTime() argument
4025 OSCL_UNUSED_ARG(aFileSize); in convertSizeToTime()
Dpvmf_aacffparser_node.h756 void setFileSize(const uint32 aFileSize);
/external/opencore/nodes/pvamrffparsernode/src/
Dpvmf_amrffparser_node.cpp3337 void PVMFAMRFFParserNode::setFileSize(const uint32 aFileSize) in setFileSize() argument
3339 iDownloadFileSize = aFileSize; in setFileSize()
3342 int32 PVMFAMRFFParserNode::convertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) in convertSizeToTime() argument
3344 OSCL_UNUSED_ARG(aFileSize); in convertSizeToTime()
Dpvmf_amrffparser_node.h484 void setFileSize(const uint32 aFileSize);
/external/opencore/fileformats/mp4/parser/src/
Dmpeg4file.cpp2441 Mpeg4File::GetCurrentFileSize(uint32& aFileSize) in GetCurrentFileSize() argument
2443 aFileSize = 0; in GetCurrentFileSize()
2444 if (AtomUtils::getCurrentFileSize(_commonFilePtr, aFileSize) == true) in GetCurrentFileSize()
2450 aFileSize = _fileSize; in GetCurrentFileSize()
/external/opencore/nodes/pvmp4ffparsernode/src/
Dpvmf_mp4ffparser_node.h669 void setFileSize(const uint32 aFileSize);
Dpvmf_mp4ffparser_node.cpp6120 void PVMFMP4FFParserNode::setFileSize(const uint32 aFileSize) in setFileSize() argument
6122 iDownloadFileSize = aFileSize; in setFileSize()