kodi
Classes | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
CDVDInputStreamBluray Class Reference
Inheritance diagram for CDVDInputStreamBluray:
Inheritance graph
[legend]
Collaboration diagram for CDVDInputStreamBluray:
Collaboration graph
[legend]

Classes

struct  SPlane
 

Public Member Functions

 CDVDInputStreamBluray (IVideoPlayer *player, const CFileItem &fileitem)
 
bool Open () override
 
void Close () override
 
int Read (uint8_t *buf, int buf_size) override
 
int64_t Seek (int64_t offset, int whence) override
 
void Abort () override
 
bool IsEOF () override
 
int64_t GetLength () override
 
int GetBlockSize () override
 
ENextStream NextStream () override
 
void ActivateButton () override
 
void SelectButton (int iButton) override
 
int GetCurrentButton () override
 
int GetTotalButtons () override
 
void OnUp () override
 
void OnDown () override
 
void OnLeft () override
 
void OnRight () override
 
bool OnMenu () override
 Open the Menu. More...
 
void OnBack () override
 
void OnNext () override
 
void OnPrevious () override
 
MenuType GetSupportedMenuType () override
 Get the supported menu type. More...
 
bool IsInMenu () override
 
bool OnMouseMove (const CPoint &point) override
 
bool OnMouseClick (const CPoint &point) override
 
void SkipStill () override
 
bool GetState (std::string &xmlstate) override
 
bool SetState (const std::string &xmlstate) override
 
bool CanSeek () override
 
void UserInput (bd_vk_key_e vk)
 
bool MouseMove (const CPoint &point)
 
bool MouseClick (const CPoint &point)
 
int GetChapter () override
 
int GetChapterCount () override
 
void GetChapterName (std::string &name, int ch=-1) override
 
int64_t GetChapterPos (int ch) override
 
bool SeekChapter (int ch) override
 
CDVDInputStream::IDisplayTimeGetIDisplayTime () override
 
int GetTotalTime () override
 
int GetTime () override
 
CDVDInputStream::IPosTimeGetIPosTime () override
 
bool PosTime (int ms) override
 
void GetStreamInfo (int pid, std::string &language)
 
void OverlayCallback (const BD_OVERLAY *const)
 
BLURAY_TITLE_INFO * GetTitleLongest ()
 
BLURAY_TITLE_INFO * GetTitleFile (const std::string &name)
 
void ProcessEvent ()
 
- Public Member Functions inherited from CDVDInputStream
 CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem)
 
virtual std::string & GetContent ()
 
virtual std::string GetFileName ()
 
virtual CURL GetURL ()
 
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. More...
 
bool IsStreamType (DVDStreamType type) const
 
virtual BitstreamStats GetBitstreamStats () const
 
bool ContentLookup ()
 
virtual bool IsRealtime ()
 
void SetRealtime (bool realtime)
 
virtual IDemuxGetIDemux ()
 
virtual ITimesGetITimes ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 
- Public Member Functions inherited from CDVDInputStream::IMenus
virtual double GetTimeStampCorrection ()
 

Protected Types

enum  EHoldState {
  HOLD_NONE = 0, HOLD_HELD, HOLD_DATA, HOLD_STILL,
  HOLD_ERROR, HOLD_EXIT
}
 
typedef std::shared_ptr< CDVDOverlayImageSOverlay
 
typedef std::list< SOverlay > SOverlays
 

Protected Member Functions

void OverlayFlush (int64_t pts)
 
void OverlayClose ()
 

Static Protected Member Functions

static void OverlayClear (SPlane &plane, int x, int y, int w, int h)
 
static void OverlayInit (SPlane &plane, int w, int h)
 

Protected Attributes

IVideoPlayerm_player = nullptr
 
BLURAY * m_bd = nullptr
 
const BLURAY_TITLE * m_title = nullptr
 
BLURAY_TITLE_INFO * m_titleInfo = nullptr
 
uint32_t m_playlist = MAX_PLAYLIST_ID + 1
 
BLURAY_CLIP_INFO * m_clip = nullptr
 
uint32_t m_angle = 0
 
bool m_menu = false
 
bool m_isInMainMenu = false
 
bool m_hasOverlay = false
 
bool m_navmode = false
 
int m_dispTimeBeforeRead = 0
 
SPlane m_planes [2]
 
enum CDVDInputStreamBluray::EHoldState m_hold = HOLD_NONE
 
BD_EVENT m_event
 
- 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 }
 

Member Function Documentation

◆ GetSupportedMenuType()

MenuType CDVDInputStreamBluray::GetSupportedMenuType ( )
overridevirtual

Get the supported menu type.

Returns
The supported menu type

Implements CDVDInputStream::IMenus.

◆ OnMenu()

bool CDVDInputStreamBluray::OnMenu ( )
overridevirtual

Open the Menu.

Returns
true if the menu is successfully opened, false otherwise

Implements CDVDInputStream::IMenus.


The documentation for this class was generated from the following files: