/external/opencore/nodes/pvprotocolenginenode/download_protocols/progressive_download/src/ |
D | pvmf_protocol_engine_node_progressive_download.cpp | 105 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 …]
|
D | pvmf_protocol_engine_node_progressive_download.h | 74 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/ |
D | pvdl_config_file.h | 103 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()
|
D | pvmf_protocol_engine_node_download_common.cpp | 667 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 …]
|
D | pvmf_protocol_engine_node_download_common.h | 217 …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/ |
D | pvmf_format_progdownload_support_extension.h | 64 virtual int32 convertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) = 0; 70 virtual void setFileSize(const uint32 aFileSize) = 0;
|
/external/opencore/fileformats/mp3/parser/include/ |
D | imp3ff.h | 300 OSCL_IMPORT_REF int32 ConvertSizeToTime(uint32 aFileSize, uint32& aNPTInMS) const; 419 OSCL_IMPORT_REF MP3ErrorType SetFileSize(const uint32 aFileSize);
|
D | mp3parser.h | 226 MP3ErrorType SetFileSize(const uint32 aFileSize); 366 int32 ConvertSizeToTime(uint32 aFileSize, uint32& aNPTInMS);
|
/external/opencore/nodes/pvprotocolenginenode/include/ |
D | pvmf_protocol_engine_node_extension.h | 103 virtual void GetFileSize(uint32& aFileSize) = 0;
|
/external/opencore/fileformats/mp3/parser/src/ |
D | imp3ff.cpp | 381 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()
|
D | mp3parser.cpp | 1316 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/ |
D | pvmf_protocol_engine_node.h | 161 void GetFileSize(uint32& aFileSize) in GetFileSize() argument 163 …aFileSize = (iInterfacingObjectContainer == NULL ? 0 : iInterfacingObjectContainer->getFileSize()); in GetFileSize()
|
/external/opencore/nodes/pvprotocolenginenode/protocol_common/src/ |
D | pvmf_protocol_engine_node_common.h | 1398 void setFileSize(const uint32 aFileSize) in setFileSize() argument 1400 iFileSize = aFileSize; in setFileSize()
|
/external/opencore/fileformats/mp4/parser/include/ |
D | impeg4file.h | 418 virtual MP4_ERROR_CODE GetCurrentFileSize(uint32& aFileSize) = 0;
|
D | mpeg4file.h | 855 MP4_ERROR_CODE GetCurrentFileSize(uint32& aFileSize);
|
/external/opencore/nodes/pvmp3ffparsernode/src/ |
D | pvmf_mp3ffparser_node.cpp | 1820 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()
|
D | pvmf_mp3ffparser_node.h | 479 void setFileSize(const uint32 aFileSize);
|
/external/opencore/nodes/pvaacffparsernode/src/ |
D | pvmf_aacffparser_node.cpp | 4009 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()
|
D | pvmf_aacffparser_node.h | 756 void setFileSize(const uint32 aFileSize);
|
/external/opencore/nodes/pvamrffparsernode/src/ |
D | pvmf_amrffparser_node.cpp | 3337 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()
|
D | pvmf_amrffparser_node.h | 484 void setFileSize(const uint32 aFileSize);
|
/external/opencore/fileformats/mp4/parser/src/ |
D | mpeg4file.cpp | 2441 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/ |
D | pvmf_mp4ffparser_node.h | 669 void setFileSize(const uint32 aFileSize);
|
D | pvmf_mp4ffparser_node.cpp | 6120 void PVMFMP4FFParserNode::setFileSize(const uint32 aFileSize) in setFileSize() argument 6122 iDownloadFileSize = aFileSize; in setFileSize()
|