|
Kodi Documentation 18.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 |
| bool | Pause (double dTime) 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 |
| void | OnMenu () override |
| 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) |
| bool | HasMenu () override |
| 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 | GetDVDSerialString () |
| void | CheckButtons () |
| VideoStreamInfo | GetVideoStreamInfo () |
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 (unsigned rate) |
| Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint. More... | |
| virtual bool | GetCacheStatus (XFILE::SCacheStatus *status) |
| Get the cache status. More... | |
| bool | IsStreamType (DVDStreamType type) const |
| virtual BitstreamStats | GetBitstreamStats () const |
| bool | ContentLookup () |
| virtual bool | IsRealtime () |
| void | SetRealtime (bool realtime) |
| virtual IDemux * | GetIDemux () |
| virtual ITimes * | GetITimes () |
| 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 |
Protected Member Functions | |
| int | ProcessBlock (uint8_t *buffer, int *read) |
| int | ConvertAudioStreamId_XBMCToExternal (int id) |
| int | ConvertAudioStreamId_ExternalToXBMC (int id) |
| int | ConvertSubtitleStreamId_XBMCToExternal (int id) |
| int | ConvertSubtitleStreamId_ExternalToXBMC (int id) |
| int | GetAngleCount () |
| void | GetVideoResolution (uint32_t *width, uint32_t *height) |
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 |
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 } |
| CDVDInputStreamNavigator::CDVDInputStreamNavigator | ( | IVideoPlayer * | player, |
| const CFileItem & | fileitem | ||
| ) |
|
override |
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| void CDVDInputStreamNavigator::CheckButtons | ( | ) |
Reimplemented from CDVDInputStream.
|
protected |
|
protected |
XBMC : the audio stream id we use in xbmc external : the audio stream id that is used in libdvdnav
|
protected |
|
protected |
XBMC : the subtitle stream id we use in xbmc external : the subtitle stream id that is used in libdvdnav
| void CDVDInputStreamNavigator::EnableSubtitleStream | ( | bool | bEnable | ) |
| 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.
|
overridevirtual |
Implements CDVDInputStream::IChapter.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| bool CDVDInputStreamNavigator::GetCurrentButtonInfo | ( | CDVDOverlaySpu * | pOverlayPicture, |
| CDVDDemuxSPU * | pSPU, | ||
| int | iButtonType | ||
| ) |
| std::string CDVDInputStreamNavigator::GetDVDSerialString | ( | ) |
| std::string CDVDInputStreamNavigator::GetDVDTitleString | ( | ) |
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| int CDVDInputStreamNavigator::GetSubTitleStreamCount | ( | ) |
| SubtitleStreamInfo CDVDInputStreamNavigator::GetSubtitleStreamInfo | ( | const int | iId | ) |
|
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::IMenus.
|
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 |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IPosTime.
|
protected |
|
overridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IChapter.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| bool CDVDInputStreamNavigator::SetActiveAudioStream | ( | int | iId | ) |
| bool CDVDInputStreamNavigator::SetActiveSubtitleStream | ( | int | iId | ) |
| bool CDVDInputStreamNavigator::SetAngle | ( | int | angle | ) |
|
staticprotected |
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
staticprotected |
|
overridevirtual |
Implements CDVDInputStream::IMenus.
| void CDVDInputStreamNavigator::SkipWait | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |