Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <DVDInputStreamBluray.h>
Classes | |
struct | SPlane |
Public Member Functions | |
CDVDInputStreamBluray ()=delete | |
CDVDInputStreamBluray (IVideoPlayer *player, const CFileItem &fileitem) | |
~CDVDInputStreamBluray () 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 |
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. | |
void | OnBack () override |
void | OnNext () override |
void | OnPrevious () override |
MenuType | GetSupportedMenuType () override |
Get the supported menu type. | |
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::IDisplayTime * | GetIDisplayTime () override |
int | GetTotalTime () override |
int | GetTime () override |
CDVDInputStream::IPosTime * | GetIPosTime () 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 | ~CDVDInputStream () |
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. | |
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 double | GetTimeStampCorrection () |
Protected Types | |
enum | EHoldState { HOLD_NONE = 0 , HOLD_HELD , HOLD_DATA , HOLD_STILL , HOLD_ERROR , HOLD_EXIT } |
typedef std::shared_ptr< CDVDOverlayImage > | SOverlay |
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 | |
IVideoPlayer * | m_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 } |
|
protected |
|
protected |
|
protected |
|
delete |
CDVDInputStreamBluray::CDVDInputStreamBluray | ( | IVideoPlayer * | player, |
const CFileItem & | fileitem ) |
|
override |
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IChapter.
|
overridevirtual |
Implements CDVDInputStream::IChapter.
|
inlineoverridevirtual |
Implements CDVDInputStream::IChapter.
Implements CDVDInputStream::IChapter.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Reimplemented from CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
|
overridevirtual |
Implements CDVDInputStream::IDisplayTime.
BLURAY_TITLE_INFO * CDVDInputStreamBluray::GetTitleFile | ( | const std::string & | name | ) |
BLURAY_TITLE_INFO * CDVDInputStreamBluray::GetTitleLongest | ( | ) |
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IDisplayTime.
|
overridevirtual |
Implements CDVDInputStream.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Reimplemented from CDVDInputStream.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Open the Menu.
Implements CDVDInputStream::IMenus.
Implements CDVDInputStream::IMenus.
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
inlineoverridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Reimplemented from CDVDInputStream.
void CDVDInputStreamBluray::OverlayCallback | ( | const BD_OVERLAY * const | ov | ) |
|
staticprotected |
|
protected |
Implements CDVDInputStream::IPosTime.
void CDVDInputStreamBluray::ProcessEvent | ( | ) |
Implements CDVDInputStream.
Implements CDVDInputStream.
Implements CDVDInputStream::IChapter.
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
|
overridevirtual |
Implements CDVDInputStream::IMenus.
void CDVDInputStreamBluray::UserInput | ( | bd_vk_key_e | vk | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |