MythBDPlayer Class Reference

#include <mythbdplayer.h>

Inheritance diagram for MythBDPlayer:
MythPlayer

List of all members.

Public Member Functions

 MythBDPlayer (PlayerFlags flags=kNoFlags)
virtual bool GoToMenu (QString str)
virtual int GetNumChapters (void)
virtual int GetCurrentChapter (void)
virtual void GetChapterTimes (QList< long long > &times)
virtual int64_t GetChapter (int chapter)
virtual int GetNumTitles (void) const
virtual int GetNumAngles (void) const
virtual int GetCurrentTitle (void) const
virtual int GetCurrentAngle (void) const
virtual int GetTitleDuration (int title) const
virtual QString GetTitleName (int title) const
virtual QString GetAngleName (int angle) const
virtual bool SwitchTitle (int title)
virtual bool PrevTitle (void)
virtual bool NextTitle (void)
virtual bool SwitchAngle (int angle)
virtual bool PrevAngle (void)
virtual bool NextAngle (void)
virtual char * GetScreenGrabAtFrame (uint64_t frameNum, bool absolute, int &buflen, int &vw, int &vh, float &ar)
 Returns a one RGB frame grab from a video.
virtual char * GetScreenGrab (int secondsin, int &buflen, int &vw, int &vh, float &ar)
 Returns a one RGB frame grab from a video.

Protected Member Functions

virtual bool VideoLoop (void)
virtual void EventStart (void)
virtual void DisplayPauseFrame (void)
virtual void PreProcessNormalFrame (void)
virtual void CreateDecoder (char *testbuf, int testreadsize)
virtual void SeekForScreenGrab (uint64_t &number, uint64_t frameNum, bool absolute)

Private Member Functions

void DisplayMenu (void)

Private Attributes

bool m_stillFrameShowing

Detailed Description

Definition at line 6 of file mythbdplayer.h.


Constructor & Destructor Documentation

MythBDPlayer::MythBDPlayer ( PlayerFlags  flags = kNoFlags  ) 

Definition at line 7 of file mythbdplayer.cpp.


Member Function Documentation

bool MythBDPlayer::GoToMenu ( QString  str  )  [virtual]

Reimplemented from MythPlayer.

Definition at line 17 of file mythbdplayer.cpp.

int MythBDPlayer::GetNumChapters ( void   )  [virtual]

Reimplemented from MythPlayer.

Definition at line 149 of file mythbdplayer.cpp.

Referenced by GetChapter(), and GetChapterTimes().

int MythBDPlayer::GetCurrentChapter ( void   )  [virtual]

Reimplemented from MythPlayer.

Definition at line 156 of file mythbdplayer.cpp.

void MythBDPlayer::GetChapterTimes ( QList< long long > &  times  )  [virtual]

Reimplemented from MythPlayer.

Definition at line 172 of file mythbdplayer.cpp.

int64_t MythBDPlayer::GetChapter ( int  chapter  )  [virtual]

Reimplemented from MythPlayer.

Definition at line 163 of file mythbdplayer.cpp.

int MythBDPlayer::GetNumTitles ( void   )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 182 of file mythbdplayer.cpp.

Referenced by GetTitleDuration(), GetTitleName(), NextTitle(), PrevTitle(), and SwitchTitle().

int MythBDPlayer::GetNumAngles ( void   )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 192 of file mythbdplayer.cpp.

Referenced by GetAngleName(), NextAngle(), PrevAngle(), and SwitchAngle().

int MythBDPlayer::GetCurrentTitle ( void   )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 199 of file mythbdplayer.cpp.

Referenced by NextTitle(), PrevTitle(), and SwitchTitle().

int MythBDPlayer::GetCurrentAngle ( void   )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 206 of file mythbdplayer.cpp.

Referenced by NextAngle(), PrevAngle(), and SwitchAngle().

int MythBDPlayer::GetTitleDuration ( int  title  )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 213 of file mythbdplayer.cpp.

Referenced by GetTitleName().

QString MythBDPlayer::GetTitleName ( int  title  )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 223 of file mythbdplayer.cpp.

QString MythBDPlayer::GetAngleName ( int  angle  )  const [virtual]

Reimplemented from MythPlayer.

Definition at line 240 of file mythbdplayer.cpp.

bool MythBDPlayer::SwitchTitle ( int  title  )  [virtual]

Reimplemented from MythPlayer.

Definition at line 250 of file mythbdplayer.cpp.

Referenced by NextTitle(), and PrevTitle().

bool MythBDPlayer::PrevTitle ( void   )  [virtual]

Reimplemented from MythPlayer.

Definition at line 293 of file mythbdplayer.cpp.

bool MythBDPlayer::NextTitle ( void   )  [virtual]

Reimplemented from MythPlayer.

Definition at line 280 of file mythbdplayer.cpp.

bool MythBDPlayer::SwitchAngle ( int  angle  )  [virtual]

Reimplemented from MythPlayer.

Definition at line 306 of file mythbdplayer.cpp.

Referenced by NextAngle(), and PrevAngle().

bool MythBDPlayer::PrevAngle ( void   )  [virtual]

Reimplemented from MythPlayer.

Definition at line 331 of file mythbdplayer.cpp.

bool MythBDPlayer::NextAngle ( void   )  [virtual]

Reimplemented from MythPlayer.

Definition at line 318 of file mythbdplayer.cpp.

virtual char* MythBDPlayer::GetScreenGrabAtFrame ( uint64_t  frameNum,
bool  absolute,
int &  bufflen,
int &  vw,
int &  vh,
float &  ar 
) [inline, virtual]

Returns a one RGB frame grab from a video.

User is responsible for deleting the buffer with delete[]. This also tries to skip any commercial breaks for a more useful screen grab for previews.

Warning: Don't use this on something you're playing!

Parameters:
frameNum [in] Frame number to capture
absolute [in] If False, make sure we aren't in cutlist or Comm brk
bufflen [out] Size of buffer returned in bytes
vw [out] Width of buffer returned
vh [out] Height of buffer returned
ar [out] Aspect of buffer returned

Reimplemented from MythPlayer.

Definition at line 32 of file mythbdplayer.h.

virtual char* MythBDPlayer::GetScreenGrab ( int  secondsin,
int &  buflen,
int &  vw,
int &  vh,
float &  ar 
) [inline, virtual]

Returns a one RGB frame grab from a video.

User is responsible for deleting the buffer with delete[]. This also tries to skip any commercial breaks for a more useful screen grab for previews.

Warning: Don't use this on something you're playing!

Parameters:
secondsin [in] Seconds to seek into the buffer
bufflen [out] Size of buffer returned in bytes
vw [out] Width of buffer returned
vh [out] Height of buffer returned
ar [out] Aspect of buffer returned

Reimplemented from MythPlayer.

Definition at line 34 of file mythbdplayer.h.

bool MythBDPlayer::VideoLoop ( void   )  [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 53 of file mythbdplayer.cpp.

void MythBDPlayer::EventStart ( void   )  [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 131 of file mythbdplayer.cpp.

void MythBDPlayer::DisplayPauseFrame ( void   )  [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 42 of file mythbdplayer.cpp.

void MythBDPlayer::PreProcessNormalFrame ( void   )  [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 12 of file mythbdplayer.cpp.

void MythBDPlayer::CreateDecoder ( char *  testbuf,
int  testreadsize 
) [protected, virtual]

Reimplemented from MythPlayer.

Definition at line 344 of file mythbdplayer.cpp.

virtual void MythBDPlayer::SeekForScreenGrab ( uint64_t number,
uint64_t  frameNum,
bool  absolute 
) [inline, protected, virtual]

Reimplemented from MythPlayer.

Definition at line 49 of file mythbdplayer.h.

void MythBDPlayer::DisplayMenu ( void   )  [private]

Definition at line 30 of file mythbdplayer.cpp.

Referenced by DisplayPauseFrame(), and PreProcessNormalFrame().


Member Data Documentation

Definition at line 54 of file mythbdplayer.h.

Referenced by VideoLoop().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:14 2012 for MythTV by  doxygen 1.6.3