|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <DVDInputStreamNavigator.h>
Public Member Functions | |
| CDVDInputStreamNavigator (IVideoPlayer *player, const CFileItem &fileitem) | |
| ~CDVDInputStreamNavigator () override | |
| bool | Open () override |
| void | Close () override |
| int | Read (uint8_t *buf, int buf_size) override |
| int64_t | Seek (int64_t offset, int whence) override |
| int | GetBlockSize () override |
| bool | IsEOF () override |
| int64_t | GetLength () override |
| ENextStream | NextStream () override |
| void | ActivateButton () override |
| void | SelectButton (int iButton) override |
| void | SkipStill () override |
| void | SkipWait () |
| void | OnUp () override |
| void | OnDown () override |
| void | OnLeft () override |
| void | OnRight () override |
| bool | OnMenu () override |
| Open the Menu. | |
| void | OnBack () override |
| void | OnNext () override |
| void | OnPrevious () override |
| bool | OnMouseMove (const CPoint &point) override |
| bool | OnMouseClick (const CPoint &point) override |
| int | GetCurrentButton () override |
| int | GetTotalButtons () override |
| bool | GetCurrentButtonInfo (CDVDOverlaySpu &pOverlayPicture, CDVDDemuxSPU *pSPU, int iButtonType) |
| MenuType | GetSupportedMenuType () override |
| Get the supported menu type. | |
| bool | IsInMenu () override |
| double | GetTimeStampCorrection () override |
| int | GetActiveSubtitleStream () |
| int | GetSubTitleStreamCount () |
| SubtitleStreamInfo | GetSubtitleStreamInfo (const int iId) |
| bool | SetActiveSubtitleStream (int iId) |
| void | EnableSubtitleStream (bool bEnable) |
| bool | IsSubtitleStreamEnabled () |
| int | GetActiveAudioStream () |
| int | GetAudioStreamCount () |
| int | GetActiveAngle () |
| bool | SetAngle (int angle) |
| bool | SetActiveAudioStream (int iId) |
| AudioStreamInfo | GetAudioStreamInfo (const int iId) |
| bool | GetState (std::string &xmlstate) override |
| bool | SetState (const std::string &xmlstate) override |
| int | GetChapter () override |
| int | GetChapterCount () override |
| void | GetChapterName (std::string &name, int idx=-1) override |
| int64_t | GetChapterPos (int ch=-1) override |
| bool | SeekChapter (int iChapter) override |
| CDVDInputStream::IDisplayTime * | GetIDisplayTime () override |
| int | GetTotalTime () override |
| int | GetTime () override |
| float | GetVideoAspectRatio () |
| CDVDInputStream::IPosTime * | GetIPosTime () override |
| bool | PosTime (int iTimeInMsec) override |
| std::string | GetDVDTitleString () |
| std::string | GetDVDVolIdString () |
| Get the DVD volume ID string. Alternative to the dvd title (since some DVD authors even forget to set it). | |
| std::string | GetDVDSerialString () |
| void | CheckButtons () |
| VideoStreamInfo | GetVideoStreamInfo () |
| void | SaveCurrentState (const CStreamDetails &details) override |
| UpdateState | UpdateCurrentState (CFileItem &item, double time, bool &closed) override |
Public Member Functions inherited from CDVDInputStream | |
| CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem) | |
| virtual | ~CDVDInputStream () |
| virtual std::string & | GetContent () |
| virtual std::string | GetFileName () |
| virtual CURL | GetURL () |
| virtual void | Abort () |
| virtual bool | CanSeek () |
| virtual bool | CanPause () |
| virtual void | SetReadRate (uint32_t rate) |
| Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint. | |
| virtual bool | GetCacheStatus (XFILE::SCacheStatus *status) |
| Get the cache status. | |
| bool | IsStreamType (DVDStreamType type) const |
| virtual BitstreamStats | GetBitstreamStats () const |
| bool | ContentLookup () |
| virtual bool | IsRealtime () |
| void | SetRealtime (bool realtime) |
| virtual IDemux * | GetIDemux () |
| virtual ITimes * | GetITimes () |
| virtual IChapter * | GetIChapter () |
| const CVariant & | GetProperty (const std::string &key) |
Public Member Functions inherited from CDVDInputStream::IDisplayTime | |
| virtual | ~IDisplayTime ()=default |
Public Member Functions inherited from CDVDInputStream::IChapter | |
| virtual | ~IChapter ()=default |
Public Member Functions inherited from CDVDInputStream::IPosTime | |
| virtual | ~IPosTime ()=default |
Public Member Functions inherited from CDVDInputStream::IMenus | |
| virtual | ~IMenus ()=default |
| virtual bool | CanSeek () |
Protected Member Functions | |
| int | ProcessBlock (uint8_t *buffer, int *read) |
| int | GetAngleCount () |
| void | GetVideoResolution (uint32_t *width, uint32_t *height) |
| bool | FillDVDState (DVDState &dvdstate) |
| Provided a pod DVDState struct, fill it with the current dvdnav state. | |
Static Protected Member Functions | |
| static void | SetAudioStreamName (AudioStreamInfo &info, const audio_attr_t &audio_attributes) |
| static void | SetSubtitleStreamName (SubtitleStreamInfo &info, const subp_attr_t &subp_attributes) |
Protected Attributes | |
| DllDvdNav | m_dll |
| bool | m_bCheckButtons |
| bool | m_bEOF |
| int | m_holdmode |
| int | m_iTotalTime |
| int | m_iTime |
| int64_t | m_iCellStart |
| bool | m_bInMenu |
| int64_t | m_iVobUnitStart |
| int64_t | m_iVobUnitStop |
| int64_t | m_iVobUnitCorrection |
| int | m_iTitleCount |
| int | m_iTitle |
| int | m_iPartCount |
| int | m_iPart |
| struct dvdnav_s * | m_dvdnav |
| dvdnav_stream_cb | m_dvdnav_stream_cb |
| std::unique_ptr< CDVDInputStreamFile > | m_pstream |
| IVideoPlayer * | m_pVideoPlayer |
| uint8_t | m_lastblock [DVD_VIDEO_BLOCKSIZE] |
| int | m_lastevent |
| std::map< int, std::map< int, int64_t > > | m_mapTitleChapters |
| CDVDStateSerializer | m_dvdStateSerializer |
| std::chrono::steady_clock::time_point | m_startWatchTime {} |
| std::vector< PlaylistInformation > | m_playedPlaylists |
| CCriticalSection | m_statesLock |
Protected Attributes inherited from CDVDInputStream | |
| DVDStreamType | m_streamType |
| BitstreamStats | m_stats |
| std::string | m_content |
| CFileItem | m_item |
| bool | m_contentLookup |
| bool | m_realtime |
Additional Inherited Members | |
Public Types inherited from CDVDInputStream | |
| enum | ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY } |
| enum class | UpdateState : uint8_t { NONE , FINISHED , NOT_PLAYED } |
Static Public Member Functions inherited from CDVDInputStream | |
| static void | SavePlaylistDetails (std::vector< PlaylistInformation > &playedPlaylists, std::chrono::steady_clock::time_point startTime, const PlaylistInformation ¤tPlaylistInformation) |
| static UpdateState | UpdatePlaylistDetails (DVDStreamType type, std::vector< PlaylistInformation > &playedPlaylists, CFileItem &item, double time, bool &closed) |
| CDVDInputStreamNavigator::CDVDInputStreamNavigator | ( | IVideoPlayer * | player, |
| const CFileItem & | fileitem ) |
|
override |
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| void CDVDInputStreamNavigator::CheckButtons | ( | ) |
|
overridevirtual |
Reimplemented from CDVDInputStream.
Provided a pod DVDState struct, fill it with the current dvdnav state.
| [in,out] | dvdstate | the DVD state struct to be filled |
| int CDVDInputStreamNavigator::GetActiveAngle | ( | ) |
| int CDVDInputStreamNavigator::GetActiveAudioStream | ( | ) |
| int CDVDInputStreamNavigator::GetActiveSubtitleStream | ( | ) |
|
protected |
| int CDVDInputStreamNavigator::GetAudioStreamCount | ( | ) |
| AudioStreamInfo CDVDInputStreamNavigator::GetAudioStreamInfo | ( | const int | iId | ) |
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream::IChapter.
|
inlineoverridevirtual |
Implements CDVDInputStream::IChapter.
|
inlineoverridevirtual |
Implements CDVDInputStream::IChapter.
Implements CDVDInputStream::IChapter.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| bool CDVDInputStreamNavigator::GetCurrentButtonInfo | ( | CDVDOverlaySpu & | pOverlayPicture, |
| CDVDDemuxSPU * | pSPU, | ||
| int | iButtonType ) |
| std::string CDVDInputStreamNavigator::GetDVDSerialString | ( | ) |
| std::string CDVDInputStreamNavigator::GetDVDTitleString | ( | ) |
| std::string CDVDInputStreamNavigator::GetDVDVolIdString | ( | ) |
Get the DVD volume ID string. Alternative to the dvd title (since some DVD authors even forget to set it).
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| int CDVDInputStreamNavigator::GetSubTitleStreamCount | ( | ) |
| SubtitleStreamInfo CDVDInputStreamNavigator::GetSubtitleStreamInfo | ( | const int | iId | ) |
|
inlineoverridevirtual |
|
overridevirtual |
Implements CDVDInputStream::IDisplayTime.
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IDisplayTime.
| float CDVDInputStreamNavigator::GetVideoAspectRatio | ( | ) |
|
protected |
| VideoStreamInfo CDVDInputStreamNavigator::GetVideoStreamInfo | ( | ) |
|
inlineoverridevirtual |
Implements CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
| bool CDVDInputStreamNavigator::IsSubtitleStreamEnabled | ( | ) |
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Open the Menu.
Implements CDVDInputStream::IMenus.
Implements CDVDInputStream::IMenus.
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Reimplemented from CDVDInputStream.
Implements CDVDInputStream::IPosTime.
Implements CDVDInputStream.
|
overridevirtual |
Reimplemented from CDVDInputStream.
Implements CDVDInputStream.
Implements CDVDInputStream::IChapter.
Implements CDVDInputStream::IMenus.
|
staticprotected |
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
staticprotected |
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| void CDVDInputStreamNavigator::SkipWait | ( | ) |
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
DVD state serializer handler
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |