MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MythDVDPlayer Class Reference

#include <mythdvdplayer.h>

Inheritance diagram for MythDVDPlayer:
MythPlayer

List of all members.

Public Member Functions

 MythDVDPlayer (PlayerFlags flags=kNoFlags)
virtual void ReleaseNextVideoFrame (VideoFrame *buffer, int64_t timecode, bool wrap=true)
 Places frame on the queue of frames ready for display.
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 > &times)

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

Detailed Description

Definition at line 8 of file mythdvdplayer.h.


Constructor & Destructor Documentation

Definition at line 10 of file mythdvdplayer.cpp.


Member Function Documentation

void MythDVDPlayer::ReleaseNextVideoFrame ( VideoFrame buffer,
int64_t  timecode,
bool  wrap = true 
) [virtual]

Places frame on the queue of frames ready for display.

Reimplemented from MythPlayer.

Definition at line 26 of file mythdvdplayer.cpp.

bool MythDVDPlayer::PrepareAudioSample ( int64_t timecode) [virtual]

Reimplemented from MythPlayer.

Definition at line 314 of file mythdvdplayer.cpp.

Reimplemented from MythPlayer.

Definition at line 333 of file mythdvdplayer.cpp.

Reimplemented from MythPlayer.

Definition at line 393 of file mythdvdplayer.cpp.

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().

Definition at line 651 of file mythdvdplayer.cpp.

Referenced by DVDRingBuffer::safe_read().

Definition at line 658 of file mythdvdplayer.cpp.

Referenced by DVDRingBuffer::safe_read().

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.

Reimplemented from MythPlayer.

Definition at line 438 of file mythdvdplayer.cpp.

Referenced by DoJumpChapter().

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.

bool MythDVDPlayer::JumpToFrame ( uint64_t  frame) [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 247 of file mythdvdplayer.cpp.

void MythDVDPlayer::DisableCaptions ( uint  mode,
bool  osd_msg = true 
) [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 33 of file mythdvdplayer.cpp.

void MythDVDPlayer::EnableCaptions ( uint  mode,
bool  osd_msg = true 
) [protected, virtual]

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.

Definition at line 563 of file mythdvdplayer.cpp.

Referenced by SetBookmark().

Definition at line 497 of file mythdvdplayer.cpp.

Referenced by DisplayLastFrame(), DisplayPauseFrame(), and PreProcessNormalFrame().

Definition at line 215 of file mythdvdplayer.cpp.

Referenced by VideoLoop().


Member Data Documentation

Definition at line 105 of file mythdvdplayer.h.

Referenced by DisplayDVDButton().

Definition at line 106 of file mythdvdplayer.h.

Referenced by VideoLoop().

Definition at line 109 of file mythdvdplayer.h.

Referenced by GetBookmark(), and InitialSeek().

Definition at line 110 of file mythdvdplayer.h.

Referenced by GetBookmark(), and InitialSeek().

Definition at line 111 of file mythdvdplayer.h.

Referenced by GetBookmark(), and InitialSeek().

Definition at line 114 of file mythdvdplayer.h.

Referenced by GetSecondsPlayed(), ResetStillFrameTimer(), and StillFrameCheck().

Definition at line 116 of file mythdvdplayer.h.

Referenced by ResetStillFrameTimer(), and StillFrameCheck().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends