|
| CVideoPlayer (IPlayerCallback &callback) |
|
| ~CVideoPlayer () override |
|
bool | OpenFile (const CFileItem &file, const CPlayerOptions &options) override |
|
bool | CloseFile (bool reopen=false) override |
|
bool | IsPlaying () const override |
|
void | Pause () override |
|
bool | HasVideo () const override |
|
bool | HasAudio () const override |
|
bool | HasRDS () const override |
|
bool | HasID3 () const override |
|
bool | IsPassthrough () const override |
|
bool | CanSeek () const override |
|
void | Seek (bool bPlus, bool bLargeStep, bool bChapterOverride) override |
|
bool | SeekScene (Direction seekDirection) override |
|
void | SeekPercentage (float iPercent) override |
|
float | GetCachePercentage () const override |
|
void | SetDynamicRangeCompression (long drc) override |
|
bool | CanPause () const override |
|
void | SetAVDelay (float fValue=0.0f) override |
|
float | GetAVDelay () override |
|
bool | IsInMenu () const override |
|
MenuType | GetSupportedMenuType () const override |
| Get the supported menu type.
|
|
void | SetSubTitleDelay (float fValue=0.0f) override |
|
float | GetSubTitleDelay () override |
|
int | GetSubtitleCount () const override |
|
int | GetSubtitle () override |
|
void | GetSubtitleStreamInfo (int index, SubtitleStreamInfo &info) const override |
|
void | SetSubtitle (int iStream) override |
|
bool | GetSubtitleVisible () const override |
|
void | SetSubtitleVisible (bool bVisible) override |
|
void | SetSubtitleVerticalPosition (const int value, bool save) override |
| Set the subtitle vertical position, it depends on current screen resolution.
|
|
void | AddSubtitle (const std::string &strSubPath) override |
| Adds the subtitle(s) provided by the given file to the available player streams and actives the first of the added stream(s). E.g., vob subs can contain multiple streams.
|
|
int | GetAudioStreamCount () const override |
|
int | GetAudioStream () override |
|
void | SetAudioStream (int iStream) override |
|
int | GetVideoStream () const override |
|
int | GetVideoStreamCount () const override |
|
void | GetVideoStreamInfo (int streamId, VideoStreamInfo &info) const override |
|
void | SetVideoStream (int iStream) override |
|
int | GetPrograms (std::vector< ProgramInfo > &programs) override |
|
void | SetProgram (int progId) override |
|
int | GetProgramsCount () const override |
|
std::shared_ptr< TextCacheStruct_t > | GetTeletextCache () override |
|
bool | HasTeletextCache () const override |
|
void | LoadPage (int p, int sp, unsigned char *buffer) override |
|
int | GetChapterCount () const override |
|
int | GetChapter () const override |
|
void | GetChapterName (std::string &strChapterName, int chapterIdx=-1) const override |
|
int64_t | GetChapterPos (int chapterIdx=-1) const override |
|
int | SeekChapter (int iChapter) override |
|
void | SeekTime (int64_t iTime) override |
|
bool | SeekTimeRelative (int64_t iTime) override |
|
void | SetSpeed (float speed) override |
|
void | SetTempo (float tempo) override |
|
bool | SupportsTempo () const override |
|
void | FrameAdvance (int frames) override |
|
bool | OnAction (const CAction &action) override |
|
void | GetAudioStreamInfo (int index, AudioStreamInfo &info) const override |
|
std::string | GetPlayerState () override |
|
bool | SetPlayerState (const std::string &state) override |
|
void | FrameMove () override |
|
void | Render (bool clear, uint32_t alpha=255, bool gui=true) override |
| hook into render loop of render thread
|
|
void | FlushRenderer () override |
|
void | SetRenderViewMode (int mode, float zoom, float par, float shift, bool stretch) override |
|
float | GetRenderAspectRatio () const override |
|
void | GetRects (CRect &source, CRect &dest, CRect &view) const override |
|
unsigned int | GetOrientation () const override |
|
void | TriggerUpdateResolution () override |
|
bool | IsRenderingVideo () const override |
|
bool | Supports (EINTERLACEMETHOD method) const override |
|
EINTERLACEMETHOD | GetDeinterlacingMethodDefault () const override |
|
bool | Supports (ESCALINGMETHOD method) const override |
|
bool | Supports (ERENDERFEATURE feature) const override |
|
unsigned int | RenderCaptureAlloc () override |
|
void | RenderCapture (unsigned int captureId, unsigned int width, unsigned int height, int flags) override |
|
void | RenderCaptureRelease (unsigned int captureId) override |
|
bool | RenderCaptureGetPixels (unsigned int captureId, unsigned int millis, uint8_t *buffer, unsigned int size) override |
|
void | OnLostDisplay () override |
|
void | OnResetDisplay () override |
|
bool | IsCaching () const override |
|
int | GetCacheLevel () const override |
|
int | OnDiscNavResult (void *pData, int iMessage) override |
|
void | GetVideoResolution (unsigned int &width, unsigned int &height) override |
|
CVideoSettings | GetVideoSettings () const override |
|
void | SetVideoSettings (CVideoSettings &settings) override |
|
void | SetUpdateStreamDetails () |
|
| IPlayer (IPlayerCallback &callback) |
|
virtual | ~IPlayer ()=default |
|
virtual bool | Initialize (TiXmlElement *pConfig) |
|
virtual bool | QueueNextFile (const CFileItem &file) |
|
virtual void | OnNothingToQueueNotify () |
|
virtual bool | HasGame () const |
|
virtual void | SetMute (bool bOnOff) |
|
virtual void | SetVolume (float volume) |
|
virtual void | SetTime (int64_t time) |
| Sets the current time. This can be used for injecting the current time. This is not to be confused with a seek. It just can be used if endless streams contain multiple tracks in reality (like with airtunes)
|
|
virtual void | SetTotalTime (int64_t time) |
| Set the total time in milliseconds this can be used for injecting the duration in case its not available in the underlaying decoder (airtunes for example)
|
|
virtual void | GetAudioCapabilities (std::vector< int > &audioCaps) const |
|
virtual void | GetSubtitleCapabilities (std::vector< int > &subCaps) const |
| define the subtitle capabilities of the player
|
|
virtual bool | HasGameAgent () const |
| Check if any players are playing a game.
|
|
| CThread (IRunnable *pRunnable, const char *ThreadName) |
|
virtual | ~CThread () |
|
void | Create (bool bAutoDelete=false) |
|
template<typename Rep , typename Period > |
void | Sleep (std::chrono::duration< Rep, Period > duration) |
|
bool | IsAutoDelete () const |
|
virtual void | StopThread (bool bWait=true) |
|
bool | IsRunning () const |
|
bool | IsCurrentThread () const |
|
bool | Join (std::chrono::milliseconds duration) |
|
bool | SetPriority (const ThreadPriority &priority) |
| Set the threads priority. This uses the platforms native threading library to do so.
|
|
virtual void | OnException () |
|
virtual | ~IVideoPlayer ()=default |
|
virtual | ~IDispResource ()=default |
|
virtual void | OnAppFocusChange (bool focus) |
|
virtual | ~IRenderLoop ()=default |
|
virtual | ~IRenderMsg ()=default |
|
|
void | OnStartup () override |
|
void | OnExit () override |
|
void | Process () override |
|
void | VideoParamsChange () override |
|
void | GetDebugInfo (std::string &audio, std::string &video, std::string &general) override |
|
void | UpdateClockSync (bool enabled) override |
|
void | UpdateRenderInfo (CRenderInfo &info) override |
|
void | UpdateRenderBuffers (int queued, int discard, int free) override |
|
void | UpdateGuiRender (bool gui) override |
|
void | UpdateVideoRender (bool video) override |
|
void | CreatePlayers () |
|
void | DestroyPlayers () |
|
void | Prepare () |
|
bool | OpenStream (CCurrentStream ¤t, int64_t demuxerId, int iStream, int source, bool reset=true) |
|
bool | OpenAudioStream (CDVDStreamInfo &hint, bool reset=true) |
|
bool | OpenVideoStream (CDVDStreamInfo &hint, bool reset=true) |
|
bool | OpenSubtitleStream (const CDVDStreamInfo &hint) |
|
bool | OpenTeletextStream (CDVDStreamInfo &hint) |
|
bool | OpenRadioRDSStream (CDVDStreamInfo &hint) |
|
bool | OpenAudioID3Stream (CDVDStreamInfo &hint) |
|
void | AdaptForcedSubtitles () |
| Switches forced subtitles to forced subtitles matching the language of the current audio track. If these are not available, subtitles are disabled.
|
|
bool | CloseStream (CCurrentStream ¤t, bool bWaitForBuffers) |
|
bool | CheckIsCurrent (const CCurrentStream ¤t, CDemuxStream *stream, DemuxPacket *pkg) |
|
void | ProcessPacket (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
void | ProcessAudioData (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
void | ProcessVideoData (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
void | ProcessSubData (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
void | ProcessTeletextData (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
void | ProcessRadioRDSData (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
void | ProcessAudioID3Data (CDemuxStream *pStream, DemuxPacket *pPacket) |
|
int | AddSubtitleFile (const std::string &filename, const std::string &subfilename="") |
|
void | SetEnableStream (CCurrentStream ¤t, bool isEnabled) |
| Propagate enable stream callbacks to demuxers.
|
|
void | SetSubtitleVisibleInternal (bool bVisible) |
|
void | SetPlaySpeed (int iSpeed) |
|
void | SetCaching (ECacheState state) |
|
double | GetQueueTime () |
|
CacheInfo | GetCachingTimes () |
|
void | FlushBuffers (double pts, bool accurate, bool sync) |
|
void | HandleMessages () |
|
void | HandlePlaySpeed () |
|
bool | IsInMenuInternal () const |
|
void | SynchronizeDemuxer () |
|
void | CheckAutoSceneSkip () |
|
bool | CheckContinuity (CCurrentStream ¤t, DemuxPacket *pPacket) |
|
bool | CheckSceneSkip (const CCurrentStream ¤t) |
|
bool | CheckPlayerInit (CCurrentStream ¤t) |
|
void | UpdateCorrection (DemuxPacket *pkt, double correction) |
|
void | UpdateTimestamps (CCurrentStream ¤t, DemuxPacket *pPacket) |
|
IDVDStreamPlayer * | GetStreamPlayer (unsigned int player) |
|
void | SendPlayerMessage (std::shared_ptr< CDVDMsg > pMsg, unsigned int target) |
|
bool | ReadPacket (DemuxPacket *&packet, CDemuxStream *&stream) |
|
bool | IsValidStream (const CCurrentStream &stream) |
|
bool | IsBetterStream (const CCurrentStream ¤t, CDemuxStream *stream) |
|
void | CheckBetterStream (CCurrentStream ¤t, CDemuxStream *stream) |
|
void | CheckStreamChanges (CCurrentStream ¤t, CDemuxStream *stream) |
|
bool | OpenInputStream () |
|
bool | OpenDemuxStream () |
|
void | CloseDemuxer () |
|
void | OpenDefaultStreams (bool reset=true) |
|
void | UpdatePlayState (double timeout) |
|
void | GetGeneralInfo (std::string &strVideoInfo) |
|
int64_t | GetUpdatedTime () |
|
int64_t | GetTime () |
|
float | GetPercentage () |
|
void | UpdateContent () |
|
void | UpdateContentState () |
|
void | UpdateFileItemStreamDetails (CFileItem &item) |
|
int | GetPreviousChapter () |
|
| CThread (const char *ThreadName) |
|
WaitResponse | AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
|