Home
last modified time | relevance | path

Searched refs:realReadLength (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp88 unsigned int& realReadLength, bool& isEos) in Read() argument
98 realReadLength = 0; in Read()
111 realReadLength = buffer_->ReadBuffer(buff, wantReadLength, 2); // wait 2 times in Read()
113 PUBLIC_LOG_D32, wantReadLength, realReadLength, isEos); in Read()
H A Dhttp_media_downloader.h37 …bool Read(unsigned char* buff, unsigned int wantReadLength, unsigned int& realReadLength, bool& is…
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_segment_downloader.cpp174 uint32_t &realReadLength = readDataInfo.realReadLength_; in Read() local
196 if (ReadInitSegment(buff, wantReadLength, realReadLength, currentStreamId)) { in Read()
201 realReadLength = buffer_->ReadBuffer(buff, maxReadLength, DEFAULT_WAIT_TIME); in Read()
202 if (realReadLength == 0) { in Read()
205 realReadLength); in Read()
211 realReadLength); in Read()
239 realReadLength = 0; in IsSegmentFinished()
253 if (IsSegmentFinished(realReadLength, readRet)) { in CheckReadInterrupt()
273 realReadLength = 0; in CheckReadInterrupt()
488 memcpy_s(buff, wantReadLength, readStr.c_str(), realReadLength); in ReadInitSegment()
[all …]
H A Ddash_segment_downloader.h184 bool ReadInitSegment(uint8_t *buff, uint32_t wantReadLength, uint32_t &realReadLength,
187 bool IsSegmentFinished(uint32_t &realReadLength, DashReadRet &readRet);
188 bool CheckReadInterrupt(uint32_t &realReadLength, uint32_t wantReadLength, DashReadRet &readRet,
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp107 unsigned int& realReadLength, bool& isEos) in Read() argument
110 realReadLength = buffer_->ReadBuffer(buff, wantReadLength, 2); // wait 2 times in Read()
112 PUBLIC_LOG_D32, wantReadLength, realReadLength, isEos); in Read()
H A Dhls_media_downloader.h35 …bool Read(unsigned char* buff, unsigned int wantReadLength, unsigned int& realReadLength, bool& is…
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/
H A Dhttp_lite_manager.h65 …bool HttpRead(unsigned char *buff, unsigned int wantReadLength, unsigned int &realReadLength, int …
66 bool HttpPeek(unsigned char *buff, unsigned int wantReadLength, unsigned int &realReadLength);
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/monitor/
H A Ddownload_monitor.cpp93 unsigned int &realReadLength, bool &isEos) in Read() argument
98 bool ret = downloader_->Read(buff, wantReadLength, realReadLength, isEos); in Read()
H A Ddownload_monitor.h46 …bool Read(unsigned char* buff, unsigned int wantReadLength, unsigned int& realReadLength, bool& is…
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/
H A Dmedia_downloader.h34 …Read(unsigned char* buff, unsigned int wantReadLength, unsigned int& realReadLength, bool& isEos) …