MythTV  master
mythbdplayer.h
Go to the documentation of this file.
1 #ifndef MYTHBDPLAYER_H
2 #define MYTHBDPLAYER_H
3 
4 // Qt
5 #include <QCoreApplication>
6 
7 // MythTV
8 #include "mythplayerui.h"
9 
10 class MythBDPlayer : public MythPlayerUI
11 {
12  Q_OBJECT
13 
14  public:
16  bool HasReachedEof (void) const override;
17  bool GoToMenu (const QString& Menu) override;
18  int GetNumChapters (void) override;
19  int GetCurrentChapter (void) override;
20  void GetChapterTimes (QList<long long> &ChapterTimes) override;
21  int64_t GetChapter (int Chapter) override;
22  int GetNumTitles (void) const override;
23  int GetNumAngles (void) const override;
24  int GetCurrentTitle (void) const override;
25  int GetCurrentAngle (void) const override;
26  int GetTitleDuration (int Title) const override;
27  QString GetTitleName (int Title) const override;
28  QString GetAngleName (int Angle) const override;
29  bool SwitchTitle (int Title) override;
30  bool PrevTitle (void) override;
31  bool NextTitle (void) override;
32  bool SwitchAngle (int Angle) override;
33  bool PrevAngle (void) override;
34  bool NextAngle (void) override;
35  uint64_t GetBookmark (void) override;
36 
37  protected slots:
38  void SetBookmark (bool Clear) override;
39 
40  protected:
41  void VideoStart (void) override;
42  bool VideoLoop (void) override;
43  void EventStart (void) override;
44  void DisplayPauseFrame (void) override;
45  void PreProcessNormalFrame(void) override;
46  bool JumpToFrame (uint64_t Frame) override;
47  void CreateDecoder (TestBufferVec & TestBuffer) override;
48 
49  private:
50  Q_DISABLE_COPY(MythBDPlayer)
51  void DisplayMenu(void);
52 
53  bool m_stillFrameShowing { false };
55 };
56 
57 #endif
MythBDPlayer::GetChapter
int64_t GetChapter(int Chapter) override
Definition: mythbdplayer.cpp:180
MythBDPlayer::GetChapterTimes
void GetChapterTimes(QList< long long > &ChapterTimes) override
Definition: mythbdplayer.cpp:188
MythBDPlayer::EventStart
void EventStart(void) override
Definition: mythbdplayer.cpp:148
mythplayerui.h
MythBDPlayer::PrevAngle
bool PrevAngle(void) override
Definition: mythbdplayer.cpp:334
MythBDPlayer::SetBookmark
void SetBookmark(bool Clear) override
Definition: mythbdplayer.cpp:345
MythBDPlayer::GetNumTitles
int GetNumTitles(void) const override
Definition: mythbdplayer.cpp:195
Frame
Definition: zmdefines.h:94
MythBDPlayer::DisplayPauseFrame
void DisplayPauseFrame(void) override
Definition: mythbdplayer.cpp:51
MythBDPlayer::m_stillFrameShowing
bool m_stillFrameShowing
Definition: mythbdplayer.h:53
Context
QHash< QString, Action * > Context
Definition: action.h:77
MythBDPlayer::GetCurrentAngle
int GetCurrentAngle(void) const override
Definition: mythbdplayer.cpp:219
MythBDPlayer::NextTitle
bool NextTitle(void) override
Definition: mythbdplayer.cpp:285
PlayerFlags
PlayerFlags
Definition: mythplayer.h:62
MythBDPlayer::DisplayMenu
void DisplayMenu(void)
Definition: mythbdplayer.cpp:41
MythBDPlayer::NextAngle
bool NextAngle(void) override
Definition: mythbdplayer.cpp:323
MythBDPlayer::CreateDecoder
void CreateDecoder(TestBufferVec &TestBuffer) override
Definition: mythbdplayer.cpp:421
MythPlayerUI
Definition: mythplayerui.h:11
MythBDPlayer::VideoStart
void VideoStart(void) override
Definition: mythbdplayer.cpp:59
MythBDPlayer::PrevTitle
bool PrevTitle(void) override
Definition: mythbdplayer.cpp:298
MythBDPlayer::m_initialBDState
QString m_initialBDState
Definition: mythbdplayer.h:54
MythBDPlayer::GetNumAngles
int GetNumAngles(void) const override
Definition: mythbdplayer.cpp:205
MythBDPlayer::GetTitleDuration
int GetTitleDuration(int Title) const override
Definition: mythbdplayer.cpp:226
MythBDPlayer::GoToMenu
bool GoToMenu(const QString &Menu) override
Definition: mythbdplayer.cpp:29
MythBDPlayer::MythBDPlayer
MythBDPlayer(MythMainWindow *MainWindow, TV *Tv, PlayerContext *Context, PlayerFlags Flags=kNoFlags)
Definition: mythbdplayer.cpp:11
TestBufferVec
std::vector< char > TestBufferVec
Definition: decoderbase.h:23
MythBDPlayer::SwitchAngle
bool SwitchAngle(int Angle) override
Definition: mythbdplayer.cpp:311
MythBDPlayer::SwitchTitle
bool SwitchTitle(int Title) override
Definition: mythbdplayer.cpp:255
MythBDPlayer::VideoLoop
bool VideoLoop(void) override
Definition: mythbdplayer.cpp:67
MythBDPlayer
Definition: mythbdplayer.h:11
kNoFlags
@ kNoFlags
Definition: mythplayer.h:63
MythBDPlayer::GetAngleName
QString GetAngleName(int Angle) const override
Definition: mythbdplayer.cpp:248
Clear
#define Clear(a)
Definition: audiooutputopensles.cpp:47
MythBDPlayer::GetCurrentChapter
int GetCurrentChapter(void) override
Definition: mythbdplayer.cpp:173
MythBDPlayer::HasReachedEof
bool HasReachedEof(void) const override
Definition: mythbdplayer.cpp:16
MythBDPlayer::PreProcessNormalFrame
void PreProcessNormalFrame(void) override
Definition: mythbdplayer.cpp:24
PlayerContext
Definition: playercontext.h:49
MythBDPlayer::GetCurrentTitle
int GetCurrentTitle(void) const override
Definition: mythbdplayer.cpp:212
MythBDPlayer::GetBookmark
uint64_t GetBookmark(void) override
Definition: mythbdplayer.cpp:389
MythBDPlayer::GetTitleName
QString GetTitleName(int Title) const override
Definition: mythbdplayer.cpp:236
MythBDPlayer::JumpToFrame
bool JumpToFrame(uint64_t Frame) override
Definition: mythbdplayer.cpp:141
MythMainWindow
Definition: mythmainwindow.h:35
MythBDPlayer::GetNumChapters
int GetNumChapters(void) override
Definition: mythbdplayer.cpp:166
TV
Control TV playback.
Definition: tv_play.h:153