|
| Mp4ReaderDetailJpeg (Mp4ReaderSourceProps &props, std::function< frame_sp(size_t size, std::string &pinId)> _makeFrame, std::function< frame_sp(frame_sp &bigFrame, size_t &size, string &pinId)> _makeFrameTrim, std::function< void(frame_sp frame)> _sendEOS, std::function< void(std::string &pinId, framemetadata_sp &metadata)> _setMetadata, std::function< void(frame_sp &frame)> _sendMp4ErrorFrame, std::function< void(Mp4ReaderSourceProps &props)> _setProps) |
|
| ~Mp4ReaderDetailJpeg () |
|
void | setMetadata () |
|
bool | produceFrames (frame_container &frames) |
|
void | sendEndOfStream () |
|
int | mp4Seek (mp4_demux *demux, uint64_t time_offset_usec, mp4_seek_method syncType, int &seekedToFrame) |
|
int | getGop () |
|
| Mp4ReaderDetailAbs (Mp4ReaderSourceProps &props, std::function< frame_sp(size_t size, string &pinId)> _makeFrame, std::function< frame_sp(frame_sp &bigFrame, size_t &size, string &pinId)> _makeFrameTrim, std::function< void(frame_sp frame)> _sendEOS, std::function< void(std::string &pinId, framemetadata_sp &metadata)> _setMetadata, std::function< void(frame_sp &errorFrame)> _sendMp4ErrorFrame, std::function< void(Mp4ReaderSourceProps &props)> _setProps) |
|
| ~Mp4ReaderDetailAbs () |
|
bool | Init () |
|
void | updateMstate (Mp4ReaderSourceProps &props, std::string videoPath) |
|
void | setProps (Mp4ReaderSourceProps &props) |
|
std::string | getOpenVideoPath () |
|
int32_t | getOpenVideoFrameCount () |
|
std::map< std::string, std::pair< uint64_t, uint64_t > > | getSnapShot () |
|
bool | refreshCache () |
|
std::string | getSerFormatVersion () |
|
void | setPlayback (float _speed, bool _direction) |
|
bool | getVideoRangeFromCache (std::string &videoPath, uint64_t &start_ts, uint64_t &end_ts) |
|
bool | attemptFileClose () |
|
bool | parseFS () |
|
bool | initNewVideo (bool firstOpenAfterInit=false) |
|
void | openVideoSetPointer (std::string &filePath) |
|
bool | randomSeekInternal (uint64_t &skipTS, bool forceReopen=false) |
|
uint64_t | calcReloadFileAfter () |
|
void | termOpenVideo () |
|
bool | randomSeek (uint64_t &skipTS, bool forceReopen=false) noexcept |
|
void | makeAndSendMp4Error (int errorType, int errorCode, std::string errorMsg, int openErrorCode, uint64_t _errorMp4TS) |
|
bool | isOpenVideoFinished () |
|
void | readNextFrame (frame_sp &imgFrame, frame_sp &metadetaFrame, size_t &imgSize, size_t &metadataSize, uint64_t &frameTSInMsecs, int32_t &mp4FIndex) noexcept |
|
void | readNextFrameInternal (frame_sp &imgFrame, frame_sp &metadetaFrame, size_t &imageFrameSize, size_t &metadataFrameSize, uint64_t &frameTSInMsecs, int32_t &mp4FIndex) |
|