#include <mythdvdplayer.h>
Public Member Functions | |
| MythDVDPlayer (PlayerFlags flags=kNoFlags) | |
| virtual void | ReleaseNextVideoFrame (VideoFrame *buffer, int64_t timecode, bool wrap=true) |
| virtual bool | PrepareAudioSample (int64_t &timecode) |
| virtual uint64_t | GetBookmark (void) |
| virtual int64_t | GetSecondsPlayed (void) |
| virtual int64_t | GetTotalSeconds (void) const |
| virtual bool | GoToMenu (QString str) |
| virtual void | GoToDVDProgram (bool direction) |
| void | ResetStillFrameTimer (void) |
| void | SetStillFrameTimeout (int length) |
| void | StillFrameCheck (void) |
| virtual int | GetNumAngles (void) const |
| virtual int | GetCurrentAngle (void) const |
| virtual QString | GetAngleName (int angle) const |
| virtual bool | SwitchAngle (int angle) |
| virtual int | GetNumChapters (void) |
| virtual int | GetCurrentChapter (void) |
| virtual void | GetChapterTimes (QList< long long > ×) |
Protected Member Functions | |
| virtual void | SetBookmark (bool clear=false) |
| virtual void | ResetPlaying (bool resetframes=true) |
| virtual bool | PrebufferEnoughFrames (int min_buffers=0) |
| virtual void | DecoderPauseCheck (void) |
| virtual bool | DecoderGetFrameFFREW (void) |
| virtual bool | DecoderGetFrameREW (void) |
| virtual void | ChangeSpeed (void) |
| virtual void | AVSync (VideoFrame *buffer, bool limit_delay=false) |
| virtual void | DisplayPauseFrame (void) |
| virtual void | PreProcessNormalFrame (void) |
| virtual bool | VideoLoop (void) |
| virtual void | EventStart (void) |
| virtual void | EventEnd (void) |
| virtual void | InitialSeek (void) |
| virtual void | SeekForScreenGrab (uint64_t &number, uint64_t frameNum, bool absolute) |
| virtual void | AutoDeint (VideoFrame *frame, bool allow_lock=true) |
| virtual long long | CalcMaxFFTime (long long ff, bool setjump=true) const |
| virtual bool | FastForward (float seconds) |
| virtual bool | Rewind (float seconds) |
| virtual bool | JumpToFrame (uint64_t frame) |
| virtual void | DisableCaptions (uint mode, bool osd_msg=true) |
| virtual void | EnableCaptions (uint mode, bool osd_msg=true) |
| virtual int | SetTrack (uint type, int trackNo) |
| virtual void | CreateDecoder (char *testbuf, int testreadsize) |
| virtual bool | DoJumpChapter (int chapter) |
Private Member Functions | |
| void | DoChangeDVDTrack (void) |
| void | SetDVDBookmark (uint64_t frame) |
| void | DisplayDVDButton (void) |
| void | DisplayLastFrame (void) |
Private Attributes | |
| int | m_buttonVersion |
| bool | dvd_stillframe_showing |
| int | m_initial_title |
| int | m_initial_audio_track |
| int | m_initial_subtitle_track |
| MythTimer | m_stillFrameTimer |
| int | m_stillFrameLength |
| QMutex | m_stillFrameTimerLock |
Definition at line 8 of file mythdvdplayer.h.
| MythDVDPlayer::MythDVDPlayer | ( | PlayerFlags | flags = kNoFlags |
) |
Definition at line 10 of file mythdvdplayer.cpp.
| void MythDVDPlayer::ReleaseNextVideoFrame | ( | VideoFrame * | buffer, | |
| int64_t | timecode, | |||
| bool | wrap = true | |||
| ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 26 of file mythdvdplayer.cpp.
Reimplemented from MythPlayer.
Definition at line 314 of file mythdvdplayer.cpp.
| uint64_t MythDVDPlayer::GetBookmark | ( | void | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 333 of file mythdvdplayer.cpp.
| int64_t MythDVDPlayer::GetSecondsPlayed | ( | void | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 393 of file mythdvdplayer.cpp.
| int64_t MythDVDPlayer::GetTotalSeconds | ( | void | ) | const [virtual] |
Reimplemented from MythPlayer.
Definition at line 404 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::GoToMenu | ( | QString | str | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 536 of file mythdvdplayer.cpp.
Referenced by SeekForScreenGrab().
| void MythDVDPlayer::GoToDVDProgram | ( | bool | direction | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 553 of file mythdvdplayer.cpp.
Referenced by SeekForScreenGrab().
| void MythDVDPlayer::ResetStillFrameTimer | ( | void | ) |
Definition at line 651 of file mythdvdplayer.cpp.
Referenced by DVDRingBuffer::safe_read().
| void MythDVDPlayer::SetStillFrameTimeout | ( | int | length | ) |
Definition at line 658 of file mythdvdplayer.cpp.
Referenced by DVDRingBuffer::safe_read().
| void MythDVDPlayer::StillFrameCheck | ( | void | ) |
Definition at line 663 of file mythdvdplayer.cpp.
Referenced by DecoderPauseCheck(), and VideoLoop().
| int MythDVDPlayer::GetNumAngles | ( | void | ) | const [virtual] |
Reimplemented from MythPlayer.
Definition at line 615 of file mythdvdplayer.cpp.
Referenced by GetAngleName(), and SwitchAngle().
| int MythDVDPlayer::GetCurrentAngle | ( | void | ) | const [virtual] |
Reimplemented from MythPlayer.
Definition at line 622 of file mythdvdplayer.cpp.
Referenced by SwitchAngle().
| QString MythDVDPlayer::GetAngleName | ( | int | angle | ) | const [virtual] |
Reimplemented from MythPlayer.
Definition at line 629 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::SwitchAngle | ( | int | angle | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 639 of file mythdvdplayer.cpp.
| int MythDVDPlayer::GetNumChapters | ( | void | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 438 of file mythdvdplayer.cpp.
Referenced by DoJumpChapter().
| int MythDVDPlayer::GetCurrentChapter | ( | void | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 445 of file mythdvdplayer.cpp.
Referenced by DoJumpChapter().
| void MythDVDPlayer::GetChapterTimes | ( | QList< long long > & | times | ) | [virtual] |
Reimplemented from MythPlayer.
Definition at line 452 of file mythdvdplayer.cpp.
| void MythDVDPlayer::SetBookmark | ( | bool | clear = false |
) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 325 of file mythdvdplayer.cpp.
| void MythDVDPlayer::ResetPlaying | ( | bool | resetframes = true |
) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 303 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::PrebufferEnoughFrames | ( | int | min_buffers = 0 |
) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 65 of file mythdvdplayer.cpp.
| void MythDVDPlayer::DecoderPauseCheck | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 59 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::DecoderGetFrameFFREW | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 70 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::DecoderGetFrameREW | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 82 of file mythdvdplayer.cpp.
| void MythDVDPlayer::ChangeSpeed | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 369 of file mythdvdplayer.cpp.
| void MythDVDPlayer::AVSync | ( | VideoFrame * | buffer, | |
| bool | limit_delay = false | |||
| ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 380 of file mythdvdplayer.cpp.
Referenced by DisplayLastFrame().
| void MythDVDPlayer::DisplayPauseFrame | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 48 of file mythdvdplayer.cpp.
| void MythDVDPlayer::PreProcessNormalFrame | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 89 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::VideoLoop | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 94 of file mythdvdplayer.cpp.
| void MythDVDPlayer::EventStart | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 254 of file mythdvdplayer.cpp.
| void MythDVDPlayer::EventEnd | ( | void | ) | [protected, virtual] |
Definition at line 308 of file mythdvdplayer.cpp.
| void MythDVDPlayer::InitialSeek | ( | void | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 276 of file mythdvdplayer.cpp.
| void MythDVDPlayer::SeekForScreenGrab | ( | uint64_t & | number, | |
| uint64_t | frameNum, | |||
| bool | absolute | |||
| ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 409 of file mythdvdplayer.cpp.
| void MythDVDPlayer::AutoDeint | ( | VideoFrame * | frame, | |
| bool | allow_lock = true | |||
| ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 19 of file mythdvdplayer.cpp.
| long long MythDVDPlayer::CalcMaxFFTime | ( | long long | ff, | |
| bool | setjump = true | |||
| ) | const [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 385 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::FastForward | ( | float | seconds | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 233 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::Rewind | ( | float | seconds | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 240 of file mythdvdplayer.cpp.
Reimplemented from MythPlayer.
Definition at line 247 of file mythdvdplayer.cpp.
Reimplemented from MythPlayer.
Definition at line 33 of file mythdvdplayer.cpp.
Reimplemented from MythPlayer.
Definition at line 40 of file mythdvdplayer.cpp.
| int MythDVDPlayer::SetTrack | ( | uint | type, | |
| int | trackNo | |||
| ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 431 of file mythdvdplayer.cpp.
| void MythDVDPlayer::CreateDecoder | ( | char * | testbuf, | |
| int | testreadsize | |||
| ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 683 of file mythdvdplayer.cpp.
| bool MythDVDPlayer::DoJumpChapter | ( | int | chapter | ) | [protected, virtual] |
Reimplemented from MythPlayer.
Definition at line 459 of file mythdvdplayer.cpp.
| void MythDVDPlayer::DoChangeDVDTrack | ( | void | ) | [private] |
| void MythDVDPlayer::SetDVDBookmark | ( | uint64_t | frame | ) | [private] |
Definition at line 563 of file mythdvdplayer.cpp.
Referenced by SetBookmark().
| void MythDVDPlayer::DisplayDVDButton | ( | void | ) | [private] |
Definition at line 497 of file mythdvdplayer.cpp.
Referenced by DisplayLastFrame(), DisplayPauseFrame(), and PreProcessNormalFrame().
| void MythDVDPlayer::DisplayLastFrame | ( | void | ) | [private] |
Definition at line 215 of file mythdvdplayer.cpp.
Referenced by VideoLoop().
int MythDVDPlayer::m_buttonVersion [private] |
Definition at line 105 of file mythdvdplayer.h.
Referenced by DisplayDVDButton().
bool MythDVDPlayer::dvd_stillframe_showing [private] |
Definition at line 106 of file mythdvdplayer.h.
Referenced by VideoLoop().
int MythDVDPlayer::m_initial_title [private] |
Definition at line 109 of file mythdvdplayer.h.
Referenced by GetBookmark(), and InitialSeek().
int MythDVDPlayer::m_initial_audio_track [private] |
Definition at line 110 of file mythdvdplayer.h.
Referenced by GetBookmark(), and InitialSeek().
int MythDVDPlayer::m_initial_subtitle_track [private] |
Definition at line 111 of file mythdvdplayer.h.
Referenced by GetBookmark(), and InitialSeek().
MythTimer MythDVDPlayer::m_stillFrameTimer [private] |
Definition at line 114 of file mythdvdplayer.h.
Referenced by GetSecondsPlayed(), ResetStillFrameTimer(), and StillFrameCheck().
int MythDVDPlayer::m_stillFrameLength [private] |
Definition at line 115 of file mythdvdplayer.h.
Referenced by GetSecondsPlayed(), GetTotalSeconds(), SetStillFrameTimeout(), and StillFrameCheck().
QMutex MythDVDPlayer::m_stillFrameTimerLock [private] |
Definition at line 116 of file mythdvdplayer.h.
Referenced by ResetStillFrameTimer(), and StillFrameCheck().
1.6.3