MythPlayer Class Reference

#include <mythplayer.h>

Inheritance diagram for MythPlayer:
MythBDPlayer MythCCExtractorPlayer MythCommFlagPlayer MythDVDPlayer

List of all members.

Public Member Functions

 MythPlayer (PlayerFlags flags=kNoFlags)
virtual ~MythPlayer ()
virtual int OpenFile (uint retries=4)
bool InitVideo (void)
void SetPlayerInfo (TV *tv, QWidget *widget, bool frame_exact_seek, PlayerContext *ctx)
void SetExactSeeks (bool exact)
void SetLength (int len)
void SetFramesPlayed (uint64_t played)
void SetVideoFilters (const QString &override)
void SetEof (bool eof)
void SetPIPActive (bool is_active)
void SetPIPVisible (bool is_visible)
void SetTranscoding (bool value)
void SetWatchingRecording (bool mode)
void SetWatched (bool forceWatched=false)
 Determines if the recording should be considered watched.
void SetKeyframeDistance (int keyframedistance)
void SetVideoParams (int w, int h, double fps, FrameScanType scan=kScan_Ignore)
void SetFileLength (int total, int frames)
void SetDuration (int duration)
void SetVideoResize (const QRect &videoRect)
void EnableFrameRateMonitor (bool enable=false)
void ForceDeinterlacer (const QString &override=QString())
QSize GetVideoBufferSize (void) const
QSize GetVideoSize (void) const
float GetVideoAspect (void) const
float GetFrameRate (void) const
void GetPlaybackData (InfoMap &infoMap)
bool IsAudioNeeded (void)
uint GetVolume (void)
int GetSecondsBehind (void) const
int GetFreeVideoFrames (void) const
AspectOverrideMode GetAspectOverride (void) const
AdjustFillMode GetAdjustFill (void) const
MuteState GetMuteState (void)
int GetFFRewSkip (void) const
float GetPlaySpeed (void) const
AudioPlayerGetAudio (void)
float GetAudioStretchFactor (void)
float GetNextPlaySpeed (void) const
int GetLength (void) const
uint64_t GetTotalFrameCount (void) const
uint64_t GetFramesPlayed (void) const
virtual int64_t GetSecondsPlayed (void)
virtual int64_t GetTotalSeconds (void) const
virtual uint64_t GetBookmark (void)
QString GetError (void) const
bool IsErrorRecoverable (void) const
bool IsDecoderErrored (void) const
QString GetEncodingType (void) const
void GetCodecDescription (InfoMap &infoMap)
QString GetXDS (const QString &key) const
PIPLocation GetNextPIPLocation (void) const
bool IsPaused (void) const
bool GetRawAudioState (void) const
bool GetLimitKeyRepeat (void) const
bool GetEof (void)
bool IsErrored (void) const
bool IsPlaying (uint wait_ms=0, bool wait_for=true) const
bool AtNormalSpeed (void) const
bool IsReallyNearEnd (void) const
 Returns true iff really near end of recording.
bool IsNearEnd (void)
 Returns true iff near end of recording.
bool HasAudioOut (void) const
bool IsPIPActive (void) const
bool IsPIPVisible (void) const
bool IsMuted (void)
bool PlayerControlsVolume (void) const
bool UsingNullVideo (void) const
bool HasTVChainNext (void) const
bool CanSupportDoubleRate (void)
bool GetScreenShot (int width=0, int height=0, QString filename="")
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.
InteractiveTVGetInteractiveTV (void)
virtual bool SwitchTitle (int title)
virtual bool NextTitle (void)
virtual bool PrevTitle (void)
virtual bool SwitchAngle (int title)
virtual bool NextAngle (void)
virtual bool PrevAngle (void)
void InitForTranscode (bool copyaudio, bool copyvideo)
bool TranscodeGetNextFrame (frm_dir_map_t::iterator &dm_iter, int &did_ff, bool &is_key, bool honorCutList)
bool WriteStoredData (RingBuffer *outRingBuffer, bool writevideo, long timecodeOffset)
long UpdateStoredFrameNum (long curFrameNum)
void SetCutList (const frm_dir_map_t &newCutList)
VideoFrameGetNextVideoFrame (void)
VideoFrameGetRawVideoFrame (long long frameNumber=-1)
 Returns a specific frame from the video.
VideoFrameGetCurrentFrame (int &w, int &h)
void DeLimboFrame (VideoFrame *frame)
virtual void ReleaseNextVideoFrame (VideoFrame *buffer, int64_t timecode, bool wrap=true)
void ReleaseCurrentFrame (VideoFrame *frame)
void ClearDummyVideoFrame (VideoFrame *frame)
 Instructs VideoOutput to clear the frame to black.
void DiscardVideoFrame (VideoFrame *buffer)
 Places frame in the available frames queue.
void DiscardVideoFrames (bool next_frame_keyframe)
 Places frames in the available frames queue.
void DrawSlice (VideoFrame *frame, int x, int y, int w, int h)
DecoderBaseGetDecoder (void)
 Returns the stream decoder currently in use.
void * GetDecoderContext (unsigned char *buf, uint8_t *&id)
void SaveScreenshot (void)
void ReinitVideo (void)
virtual bool PrepareAudioSample (int64_t &timecode)
uint GetCaptionMode (void) const
virtual CC708ReaderGetCC708Reader (uint id=0)
virtual CC608ReaderGetCC608Reader (uint id=0)
virtual SubtitleReaderGetSubReader (uint id=0)
virtual TeletextReaderGetTeletextReader (uint id=0)
void TracksChanged (uint trackType)
 This tries to re-enable captions/subtitles if the user wants them and one of the captions/subtitles tracks has changed.
void EnableSubtitles (bool enable)
void EnableForcedSubtitles (bool enable)
void SetAllowForcedSubtitles (bool allow)
bool GetAllowForcedSubtitles (void) const
bool SetAudioByComponentTag (int tag)
 Selects the audio stream using the DVB component tag.
bool SetVideoByComponentTag (int tag)
 Selects the video stream using the DVB component tag.
void CheckTVChain ()
void FileChangedCallback ()
virtual int GetNumChapters (void)
virtual int GetCurrentChapter (void)
virtual void GetChapterTimes (QList< long long > &times)
virtual int GetNumTitles (void) const
virtual int GetCurrentTitle (void) const
virtual int GetTitleDuration (int title) const
virtual QString GetTitleName (int title) const
virtual int GetNumAngles (void) const
virtual int GetCurrentAngle (void) const
virtual QString GetAngleName (int title) const
virtual bool GoToMenu (QString str)
virtual void GoToDVDProgram (bool direction)
bool PosMapFromEnc (unsigned long long start, QMap< long long, long long > &posMap)
bool TryLockOSD (void)
void LockOSD (void)
void UnlockOSD (void)
void ToggleStudioLevels (void)
void ToggleNightMode (void)
bool CanVisualise (void)
bool IsVisualising (void)
QString GetVisualiserName (void)
QStringList GetVisualiserList (void)
bool EnableVisualisation (bool enable, const QString &name=QString(""))
void SaveTotalDuration (void)
void ResetTotalDuration (void)

Static Public Attributes

static const int kNightModeBrightenssAdjustment = 10
static const int kNightModeContrastAdjustment = 10

Protected Member Functions

void OpenDummy (void)
virtual void SetBookmark (bool clear=false)
bool AddPIPPlayer (MythPlayer *pip, PIPLocation loc, uint timeout)
bool RemovePIPPlayer (MythPlayer *pip, uint timeout)
void NextScanType (void)
void SetScanType (FrameScanType)
FrameScanType GetScanType (void) const
bool IsScanTypeLocked (void) const
void Zoom (ZoomDirection direction)
void EmbedInWidget (QRect rect)
void StopEmbedding (void)
void ExposeEvent (void)
bool IsEmbedding (void)
void WindowResized (const QSize &new_size)
uint AdjustVolume (int change)
uint SetVolume (int newvolume)
bool SetMuted (bool mute)
MuteState SetMuteState (MuteState state)
MuteState IncrMuteState (void)
VideoOutputGetVideoOutput (void)
OSDGetOSD (void)
virtual void SeekForScreenGrab (uint64_t &number, uint64_t frameNum, bool absolute)
virtual long long CalcMaxFFTime (long long ff, bool setjump=true) const
long long CalcRWTime (long long rw) const
virtual void calcSliderPos (osdInfo &info, bool paddedFields=false)
void SetAutoCommercialSkip (CommSkipMode autoskip)
void SkipCommercials (int direction)
void SetCommBreakMap (frm_dir_map_t &newMap)
CommSkipMode GetAutoCommercialSkip (void)
void ToggleAspectOverride (AspectOverrideMode aspectMode=kAspect_Toggle)
void ToggleAdjustFill (AdjustFillMode adjustfillMode=kAdjustFill_Toggle)
virtual bool StartPlaying (void)
virtual void ResetPlaying (bool resetframes=true)
virtual void EndPlaying (void)
virtual void StopPlaying (void)
bool PauseDecoder (void)
void UnpauseDecoder (void)
bool Pause (void)
bool Play (float speed=1.0, bool normal=true, bool unpauseaudio=true)
virtual bool FastForward (float seconds)
virtual bool Rewind (float seconds)
virtual bool JumpToFrame (uint64_t frame)
void JumpChapter (int chapter)
virtual bool PrebufferEnoughFrames (int min_buffers=0)
void SetBuffering (bool new_buffering)
void RefreshPauseFrame (void)
void CheckAspectRatio (VideoFrame *frame)
virtual void DisplayPauseFrame (void)
virtual void DisplayNormalFrame (bool check_prebuffer=true)
virtual void PreProcessNormalFrame (void)
virtual void VideoStart (void)
virtual bool VideoLoop (void)
virtual void VideoEnd (void)
virtual void DecoderStart (bool start_paused)
virtual void DecoderLoop (bool pause)
virtual void DecoderEnd (void)
virtual void DecoderPauseCheck (void)
virtual void AudioEnd (void)
virtual void EventStart (void)
virtual void EventLoop (void)
virtual void InitialSeek (void)
bool ITVHandleAction (const QString &action)
void ITVRestart (uint chanid, uint cardid, bool isLiveTV)
 Restart the MHEG/MHP engine.
bool EnableEdit (void)
bool HandleProgramEditorActions (QStringList &actions, long long frame=-1)
bool GetEditMode (void)
void DisableEdit (bool save=true)
bool IsInDelete (uint64_t frame)
uint64_t GetNearestMark (uint64_t frame, bool right)
bool IsTemporaryMark (uint64_t frame)
bool HasTemporaryMark (void)
bool IsCutListSaved (void)
bool DeleteMapHasUndo (void)
bool DeleteMapHasRedo (void)
QString DeleteMapGetUndoMessage (void)
QString DeleteMapGetRedoMessage (void)
void ReinitOSD (void)
void SetOSDMessage (const QString &msg, OSDTimeout timeout)
void SetOSDStatus (const QString &title, OSDTimeout timeout)
void ResetCaptions (void)
bool ToggleCaptions (void)
bool ToggleCaptions (uint mode)
bool HasTextSubtitles (void)
void SetCaptionsEnabled (bool, bool osd_msg=true)
bool GetCaptionsEnabled (void)
virtual void DisableCaptions (uint mode, bool osd_msg=true)
virtual void EnableCaptions (uint mode, bool osd_msg=true)
QStringList GetTracks (uint type)
uint GetTrackCount (uint type)
virtual int SetTrack (uint type, int trackNo)
int GetTrack (uint type)
int ChangeTrack (uint type, int dir)
void ChangeCaptionTrack (int dir)
int NextCaptionTrack (int mode)
void DoDisableForcedSubtitles (void)
void DoEnableForcedSubtitles (void)
void EnableTeletext (int page=0x100)
void DisableTeletext (void)
void ResetTeletext (void)
bool HandleTeletextAction (const QString &action)
void SetTeletextPage (uint page)
 Set Teletext NUV Caption page.
int64_t AdjustAudioTimecodeOffset (int64_t v, int newsync=-9999)
int64_t GetAudioTimecodeOffset (void) const
void InitFilters (void)
FrameScanType detectInterlace (FrameScanType newScan, FrameScanType scan, float fps, int video_height)
virtual void AutoDeint (VideoFrame *frame, bool allow_lock=true)
void SetPlayingInfo (const ProgramInfo &pginfo)
void SetPlaying (bool is_playing)
void SetErrored (const QString &reason) const
int GetStatusbarPos (void) const
void PauseVideo (void)
void UnpauseVideo (void)
void PauseBuffer (void)
void UnpauseBuffer (void)
virtual void CreateDecoder (char *testbuf, int testreadsize)
void SetDecoder (DecoderBase *dec)
 Sets the stream decoder, deleting any existing recorder.
const DecoderBaseGetDecoder (void) const
 Returns the stream decoder currently in use.
bool DecodeFrame (struct rtframeheader *frameheader, unsigned char *strm, unsigned char *outbuf)
virtual bool DecoderGetFrameFFREW (void)
virtual bool DecoderGetFrameREW (void)
bool DecoderGetFrame (DecodeType, bool unsafe=false)
bool UpdateFFRewSkip (void)
virtual void ChangeSpeed (void)
bool DoFastForward (uint64_t frames, bool override_seeks=false, bool seeks_wanted=false)
bool DoRewind (uint64_t frames, bool override_seeks=false, bool seeks_wanted=false)
void DoJumpToFrame (uint64_t frame, bool override_seeks=false, bool seeks_wanted=false)
void WaitForSeek (uint64_t frame, bool override_seeks=false, bool seeks_wanted=false)
void ClearAfterSeek (bool clearvideobuffers=true)
 This is to support seeking.
virtual bool DoJumpChapter (int chapter)
virtual int64_t GetChapter (int chapter)
void HandleArbSeek (bool right)
void WrapTimecode (int64_t &timecode, TCTypes tc_type)
void InitAVSync (void)
virtual void AVSync (VideoFrame *buffer, bool limit_delay=false)
void ResetAVSync (void)
int64_t AVSyncGetAudiotime (void)
void SetFrameInterval (FrameScanType scan, double speed)
void FallbackDeint (void)
 Fallback to non-frame-rate-doubling deinterlacing method.
void CheckExtraAudioDecode (void)
void SwitchToProgram (void)
void JumpToProgram (void)

Protected Attributes

DetectLetterboxdetect_letter_box
PlayerFlags playerFlags
DecoderBasedecoder
QMutex decoder_change_lock
VideoOutputvideoOutput
PlayerContextplayer_ctx
DecoderThreaddecoderThread
QThread * playerThread
QWidget * parentWidget
bool embedding
QRect embedRect
float defaultDisplayAspect
QWaitCondition decoderThreadPause
QWaitCondition decoderThreadUnpause
QMutex decoderPauseLock
QMutex decoderSeekLock
bool totalDecoderPause
bool decoderPaused
bool pauseDecoder
bool unpauseDecoder
bool volatile killdecoder
int64_t decoderSeek
bool decodeOneFrame
bool needNewPauseFrame
QMutex bufferPauseLock
QMutex videoPauseLock
QMutex pauseLock
bool bufferPaused
bool videoPaused
bool allpaused
bool playing
QWaitCondition playingWaitCond
QMutex vidExitLock
QMutex playingLock
bool m_double_framerate
 Output fps is double Video (input) rate.
bool m_double_process
 Output filter must processed at double rate.
bool m_deint_possible
bool livetv
bool watchingrecording
bool transcoding
bool hasFullPositionMap
bool limitKeyRepeat
QMutex errorLock
QString errorMsg
 Reason why NVP exited with a error.
int errorType
int jumpchapter
uint64_t bookmarkseek
int clearSavedPosition
int endExitPrompt
long long fftime
 If fftime>0, number of frames to seek forward.
bool exactseeks
 Iff true we ignore seek amount and try to seek to an exact frame ignoring key frame restrictions.
int videobuf_retries
 How often we have tried to wait for a video output buffer and failed.
uint64_t framesPlayed
uint64_t totalFrames
long long totalLength
int64_t totalDuration
long long rewindtime
QSize video_disp_dim
 Video (input) width & height.
QSize video_dim
 Video (input) buffer width & height.
double video_frame_rate
 Video (input) Frame Rate (often inaccurate).
float video_aspect
 Video (input) Apect Ratio.
float forced_video_aspect
FrameScanType resetScan
 Tell the player thread to set the scan type (and hence deinterlacers).
FrameScanType m_scan
 Video (input) Scan Type (interlaced, progressive, detect, ignore...).
bool m_scan_locked
 Set when the user selects a scan type, overriding the detected one.
int m_scan_tracker
 Used for tracking of scan type for auto-detection of interlacing.
bool m_scan_initialized
 Set when SetScanType runs the first time.
uint keyframedist
 Video (input) Number of frames between key frames (often inaccurate).
bool buffering
QTime buffering_start
QTime buffering_last_msg
uint textDisplayMode
uint prevTextDisplayMode
uint vbimode
 VBI decoder to use.
int ttPageNum
 VBI page to display when in PAL vbimode.
SubtitleReader subReader
TeletextReader ttxReader
bool captionsEnabledbyDefault
 This allows us to enable captions/subtitles later if the streams are not immediately available when the video starts playing.
bool textDesired
bool enableCaptions
bool disableCaptions
bool enableForcedSubtitles
bool disableForcedSubtitles
bool allowForcedSubtitles
bool db_prefer708
CC608Reader cc608
CC708Reader cc708
bool itvVisible
InteractiveTVinteractiveTV
bool itvEnabled
QMutex itvLock
OSDosd
bool reinit_osd
QMutex osdLock
AudioPlayer audio
PIPMap pip_players
volatile bool pip_active
volatile bool pip_visible
PIPLocation pip_default_loc
QMutex videofiltersLock
QString videoFiltersForProgram
QString videoFiltersOverride
int postfilt_width
 Post-Filter (output) width.
int postfilt_height
 Post-Filter (output) height.
FilterChainvideoFilters
FilterManagerFiltMan
CommBreakMap commBreakMap
bool forcePositionMapSync
DeleteMap deleteMap
bool pausedBeforeEdit
QTime editUpdateTimer
float speedBeforeEdit
QMutex decoder_lock
 Lock for next_play_speed and next_normal_speed.
float next_play_speed
bool next_normal_speed
float play_speed
bool normal_speed
int frame_interval
 always adjusted for play_speed
int m_frame_interval
 used to detect changes to frame_interval
int ffrew_skip
int ffrew_adjust
VideoSyncvideosync
int avsync_delay
int avsync_adjustment
int avsync_avg
int avsync_predictor
bool avsync_predictor_enabled
int refreshrate
bool lastsync
bool decode_extra_audio
int repeat_delay
int64_t disp_timecode
bool avsync_audiopaused
int prevtc
 32 bit timecode if last VideoFrame shown
int prevrp
 repeat_pict of last frame
int64_t tc_wrap [TCTYPESMAX]
int64_t tc_lastval [TCTYPESMAX]
TVm_tv
bool isDummy
Jitterometeroutput_jmeter

Friends

class PlayerContext
class CC708Reader
class CC608Reader
class DecoderThread
class DetectLetterbox
class TeletextScreen
class SubtitleScreen
class InteractiveScreen
class BDOverlayScreen
class VideoPerformanceTest
class TV
class Transcode

Detailed Description

Definition at line 115 of file mythplayer.h.


Constructor & Destructor Documentation

MythPlayer::MythPlayer ( PlayerFlags  flags = kNoFlags  ) 

Definition at line 123 of file mythplayer.cpp.

MythPlayer::~MythPlayer ( void   )  [virtual]

Definition at line 243 of file mythplayer.cpp.


Member Function Documentation

int MythPlayer::OpenFile ( uint  retries = 4  )  [virtual]
bool MythPlayer::InitVideo ( void   ) 
void MythPlayer::SetPlayerInfo ( TV tv,
QWidget *  widget,
bool  frame_exact_seek,
PlayerContext ctx 
)
void MythPlayer::SetExactSeeks ( bool  exact  )  [inline]
void MythPlayer::SetLength ( int  len  )  [inline]

Definition at line 144 of file mythplayer.h.

Referenced by PlayerContext::CreatePlayer(), and TV::customEvent().

void MythPlayer::SetFramesPlayed ( uint64_t  played  ) 
void MythPlayer::SetVideoFilters ( const QString &  override  ) 
void MythPlayer::SetEof ( bool  eof  ) 

Definition at line 2970 of file mythplayer.cpp.

Referenced by EventLoop(), FileChangedCallback(), JumpToProgram(), and SwitchToProgram().

void MythPlayer::SetPIPActive ( bool  is_active  )  [inline]

Definition at line 148 of file mythplayer.h.

Referenced by TV::SetActive().

void MythPlayer::SetPIPVisible ( bool  is_visible  )  [inline]

Definition at line 149 of file mythplayer.h.

void MythPlayer::SetTranscoding ( bool  value  ) 

Definition at line 3127 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

void MythPlayer::SetWatchingRecording ( bool  mode  ) 
void MythPlayer::SetWatched ( bool  forceWatched = false  ) 

Determines if the recording should be considered watched.

By comparing the number of framesPlayed to the total number of frames in the video minus an offset (14%) we determine if the recording is likely to have been watched to the end, ignoring end credits and trailing adverts.

PlaybackInfo::SetWatchedFlag is then called with the argument TRUE or FALSE accordingly.

Parameters:
forceWatched Forces a recording watched ignoring the amount actually played (Optional)

Definition at line 3233 of file mythplayer.cpp.

Referenced by TV::PrepareToExitPlayer(), and TV::ProcessNetworkControlCommand().

void MythPlayer::SetKeyframeDistance ( int  keyframedistance  ) 
void MythPlayer::SetVideoParams ( int  w,
int  h,
double  fps,
FrameScanType  scan = kScan_Ignore 
)
void MythPlayer::SetFileLength ( int  total,
int  frames 
)
void MythPlayer::SetDuration ( int  duration  ) 

Definition at line 831 of file mythplayer.cpp.

Referenced by AvFormatDecoder::OpenFile().

void MythPlayer::SetVideoResize ( const QRect &  videoRect  ) 

Definition at line 4762 of file mythplayer.cpp.

Referenced by MHIContext::DrawVideo().

void MythPlayer::EnableFrameRateMonitor ( bool  enable = false  ) 

Definition at line 2170 of file mythplayer.cpp.

Referenced by TV::timerEvent(), TV::ToggleOSDDebug(), and VideoStart().

void MythPlayer::ForceDeinterlacer ( const QString &  override = QString()  ) 

Definition at line 2180 of file mythplayer.cpp.

Referenced by TV::HandleDeinterlacer().

QSize MythPlayer::GetVideoBufferSize ( void   )  const [inline]
QSize MythPlayer::GetVideoSize ( void   )  const [inline]
float MythPlayer::GetVideoAspect ( void   )  const [inline]
float MythPlayer::GetFrameRate ( void   )  const [inline]
void MythPlayer::GetPlaybackData ( InfoMap infoMap  ) 

Definition at line 4468 of file mythplayer.cpp.

Referenced by TV::UpdateOSDDebug().

bool MythPlayer::IsAudioNeeded ( void   )  [inline]

Definition at line 169 of file mythplayer.h.

Referenced by AudioPlayer::ReinitAudio().

uint MythPlayer::GetVolume ( void   )  [inline]
int MythPlayer::GetSecondsBehind ( void   )  const

Definition at line 4500 of file mythplayer.cpp.

int MythPlayer::GetFreeVideoFrames ( void   )  const

Definition at line 1065 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames().

AspectOverrideMode MythPlayer::GetAspectOverride ( void   )  const

Definition at line 3955 of file mythplayer.cpp.

Referenced by TV::FillOSDMenuVideo(), and TV::ToggleAspectOverride().

AdjustFillMode MythPlayer::GetAdjustFill ( void   )  const
MuteState MythPlayer::GetMuteState ( void   )  [inline]

Definition at line 176 of file mythplayer.h.

Referenced by TV::GetStatus(), TV::PxPSwap(), TV::PxPToggleType(), and TV::RestartMainPlayer().

int MythPlayer::GetFFRewSkip ( void   )  const [inline]
float MythPlayer::GetPlaySpeed ( void   )  const [inline]

Definition at line 179 of file mythplayer.h.

Referenced by TV::GetStatus().

AudioPlayer* MythPlayer::GetAudio ( void   )  [inline]
float MythPlayer::GetAudioStretchFactor ( void   )  [inline]

Definition at line 181 of file mythplayer.h.

float MythPlayer::GetNextPlaySpeed ( void   )  const [inline]
int MythPlayer::GetLength ( void   )  const [inline]

Definition at line 183 of file mythplayer.h.

uint64_t MythPlayer::GetTotalFrameCount ( void   )  const [inline]
uint64_t MythPlayer::GetFramesPlayed ( void   )  const [inline]
int64_t MythPlayer::GetSecondsPlayed ( void   )  [virtual]

Reimplemented in MythDVDPlayer.

Definition at line 4516 of file mythplayer.cpp.

Referenced by calcSliderPos().

int64_t MythPlayer::GetTotalSeconds ( void   )  const [virtual]

Reimplemented in MythDVDPlayer.

Definition at line 4523 of file mythplayer.cpp.

Referenced by calcSliderPos().

uint64_t MythPlayer::GetBookmark ( void   )  [virtual]

Reimplemented in MythDVDPlayer.

Definition at line 3293 of file mythplayer.cpp.

Referenced by TV::ActiveHandleAction(), TV::ActivePostQHandleAction(), OpenFile(), and SeekForScreenGrab().

QString MythPlayer::GetError ( void   )  const

Definition at line 4860 of file mythplayer.cpp.

Referenced by TV::StartTV().

bool MythPlayer::IsErrorRecoverable ( void   )  const [inline]

Definition at line 190 of file mythplayer.h.

Referenced by PlayerContext::IsPlayerRecoverable().

bool MythPlayer::IsDecoderErrored ( void   )  const [inline]

Definition at line 192 of file mythplayer.h.

Referenced by PlayerContext::IsPlayerDecoderErrored().

QString MythPlayer::GetEncodingType ( void   )  const

Definition at line 4276 of file mythplayer.cpp.

Referenced by GetCodecDescription(), and Transcode::TranscodeFile().

void MythPlayer::GetCodecDescription ( InfoMap infoMap  ) 

Definition at line 4283 of file mythplayer.cpp.

Referenced by GetPlaybackData(), and PlayerContext::GetPlayingInfoMap().

QString MythPlayer::GetXDS ( const QString &  key  )  const

Definition at line 4316 of file mythplayer.cpp.

Referenced by TV::ChannelEditXDSFill().

PIPLocation MythPlayer::GetNextPIPLocation ( void   )  const

Definition at line 3174 of file mythplayer.cpp.

Referenced by TV::PIPAddPlayer(), and TV::ResizePIPWindow().

bool MythPlayer::IsPaused ( void   )  const [inline]
bool MythPlayer::GetRawAudioState ( void   )  const

Definition at line 4309 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

bool MythPlayer::GetLimitKeyRepeat ( void   )  const [inline]

Definition at line 202 of file mythplayer.h.

Referenced by TV::DoSeek().

bool MythPlayer::GetEof ( void   ) 
bool MythPlayer::IsErrored ( void   )  const
bool MythPlayer::IsPlaying ( uint  wait_ms = 0,
bool  wait_for = true 
) const
bool MythPlayer::AtNormalSpeed ( void   )  const [inline]
bool MythPlayer::IsReallyNearEnd ( void   )  const

Returns true iff really near end of recording.

This is used by SwitchToProgram() to determine if we are so close to the end that we need to switch to the next program.

Definition at line 3501 of file mythplayer.cpp.

Referenced by SwitchToProgram().

bool MythPlayer::IsNearEnd ( void   ) 
bool MythPlayer::HasAudioOut ( void   )  const [inline]
bool MythPlayer::IsPIPActive ( void   )  const [inline]
bool MythPlayer::IsPIPVisible ( void   )  const [inline]
bool MythPlayer::IsMuted ( void   )  [inline]

Definition at line 212 of file mythplayer.h.

Referenced by TV::ChangeVolume(), TV::SwitchCards(), and TV::ToggleMute().

bool MythPlayer::PlayerControlsVolume ( void   )  const [inline]

Definition at line 213 of file mythplayer.h.

Referenced by TV::ChangeVolume(), TV::NextPictureAdjustType(), and TV::ToggleMute().

bool MythPlayer::UsingNullVideo ( void   )  const [inline]

Definition at line 214 of file mythplayer.h.

Referenced by VideoOutputXv::GetPIPRect(), and TV::PIPAddPlayer().

bool MythPlayer::HasTVChainNext ( void   )  const

Definition at line 4017 of file mythplayer.cpp.

Referenced by PosMapFromEnc().

bool MythPlayer::CanSupportDoubleRate ( void   ) 
bool MythPlayer::GetScreenShot ( int  width = 0,
int  height = 0,
QString  filename = "" 
)

Definition at line 4010 of file mythplayer.cpp.

Referenced by TV::ActiveHandleAction(), and TV::customEvent().

char * MythPlayer::GetScreenGrabAtFrame ( uint64_t  frameNum,
bool  absolute,
int &  bufflen,
int &  vw,
int &  vh,
float &  ar 
) [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 in MythBDPlayer.

Definition at line 4061 of file mythplayer.cpp.

Referenced by PreviewGenerator::GetScreenGrab(), and GetScreenGrab().

char * MythPlayer::GetScreenGrab ( int  secondsin,
int &  buflen,
int &  vw,
int &  vh,
float &  ar 
) [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 in MythBDPlayer.

Definition at line 4037 of file mythplayer.cpp.

Referenced by PreviewGenerator::GetScreenGrab().

InteractiveTV * MythPlayer::GetInteractiveTV ( void   ) 
virtual bool MythPlayer::SwitchTitle ( int  title  )  [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 227 of file mythplayer.h.

Referenced by TV::DoSwitchTitle().

virtual bool MythPlayer::NextTitle ( void   )  [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 228 of file mythplayer.h.

virtual bool MythPlayer::PrevTitle ( void   )  [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 229 of file mythplayer.h.

virtual bool MythPlayer::SwitchAngle ( int  title  )  [inline, virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 232 of file mythplayer.h.

Referenced by TV::DoSwitchAngle().

virtual bool MythPlayer::NextAngle ( void   )  [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 233 of file mythplayer.h.

virtual bool MythPlayer::PrevAngle ( void   )  [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 234 of file mythplayer.h.

void MythPlayer::InitForTranscode ( bool  copyaudio,
bool  copyvideo 
)

Definition at line 4323 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

bool MythPlayer::TranscodeGetNextFrame ( frm_dir_map_t::iterator &  dm_iter,
int &  did_ff,
bool is_key,
bool  honorCutList 
)

Definition at line 4353 of file mythplayer.cpp.

Referenced by TranscodeFrameQueue::run().

bool MythPlayer::WriteStoredData ( RingBuffer outRingBuffer,
bool  writevideo,
long  timecodeOffset 
)

Definition at line 4433 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

long MythPlayer::UpdateStoredFrameNum ( long  curFrameNum  ) 

Definition at line 4421 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

void MythPlayer::SetCutList ( const frm_dir_map_t newCutList  ) 

Definition at line 4428 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

VideoFrame * MythPlayer::GetNextVideoFrame ( void   ) 
VideoFrame * MythPlayer::GetRawVideoFrame ( long long  frameNumber = -1  ) 

Returns a specific frame from the video.

NOTE: You must call DiscardVideoFrame(VideoFrame*) on the frame returned, as this marks the frame as being used and hence unavailable for decoding.

Definition at line 4247 of file mythplayer.cpp.

Referenced by PrePostRollFlagger::findBreakInrange(), CommDetector2::go(), ClassicCommDetector::go(), and ClassicLogoDetector::searchForLogo().

VideoFrame * MythPlayer::GetCurrentFrame ( int &  w,
int &  h 
)
void MythPlayer::DeLimboFrame ( VideoFrame frame  ) 
void MythPlayer::ReleaseNextVideoFrame ( VideoFrame buffer,
int64_t  timecode,
bool  wrap = true 
) [virtual]
void MythPlayer::ReleaseCurrentFrame ( VideoFrame frame  ) 
void MythPlayer::ClearDummyVideoFrame ( VideoFrame frame  ) 

Instructs VideoOutput to clear the frame to black.

Definition at line 1112 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames().

void MythPlayer::DiscardVideoFrame ( VideoFrame buffer  ) 
void MythPlayer::DiscardVideoFrames ( bool  next_frame_keyframe  ) 

Places frames in the available frames queue.

If called with 'next_frame_keyframe' set to false then all frames not in use by the decoder are made available for decoding. Otherwise, all frames are made available for decoding; this is only safe if the next frame is a keyframe.

Parameters:
next_frame_keyframe if this is true all frames are placed in the available queue.

Definition at line 1138 of file mythplayer.cpp.

Referenced by PrebufferEnoughFrames(), NuppelDecoder::SeekReset(), and AvFormatDecoder::SeekReset().

void MythPlayer::DrawSlice ( VideoFrame frame,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 1144 of file mythplayer.cpp.

Referenced by render_slice_vdpau().

DecoderBase* MythPlayer::GetDecoder ( void   )  [inline]
void * MythPlayer::GetDecoderContext ( unsigned char *  buf,
uint8_t *&  id 
)

Definition at line 1150 of file mythplayer.cpp.

Referenced by get_avf_buffer_dxva2(), and get_avf_buffer_vaapi().

void MythPlayer::SaveScreenshot ( void   ) 
void MythPlayer::ReinitVideo ( void   ) 

Definition at line 549 of file mythplayer.cpp.

Referenced by SetVideoParams().

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

Reimplemented in MythDVDPlayer.

Definition at line 3213 of file mythplayer.cpp.

Referenced by AudioPlayer::AddAudioData().

uint MythPlayer::GetCaptionMode ( void   )  const [inline]
virtual CC708Reader* MythPlayer::GetCC708Reader ( uint  id = 0  )  [inline, virtual]

Reimplemented in MythCCExtractorPlayer.

Definition at line 272 of file mythplayer.h.

Referenced by SubtitleScreen::Create().

virtual CC608Reader* MythPlayer::GetCC608Reader ( uint  id = 0  )  [inline, virtual]

Reimplemented in MythCCExtractorPlayer.

Definition at line 273 of file mythplayer.h.

Referenced by SubtitleScreen::Create(), NuppelDecoder::GetFrame(), and Transcode::TranscodeFile().

virtual SubtitleReader* MythPlayer::GetSubReader ( uint  id = 0  )  [inline, virtual]
virtual TeletextReader* MythPlayer::GetTeletextReader ( uint  id = 0  )  [inline, virtual]

Reimplemented in MythCCExtractorPlayer.

Definition at line 275 of file mythplayer.h.

Referenced by TeletextScreen::Create().

void MythPlayer::TracksChanged ( uint  trackType  ) 

This tries to re-enable captions/subtitles if the user wants them and one of the captions/subtitles tracks has changed.

Definition at line 1509 of file mythplayer.cpp.

Referenced by DecoderBase::AutoSelectTrack(), and DecoderBase::InsertTrack().

void MythPlayer::EnableSubtitles ( bool  enable  ) 
void MythPlayer::EnableForcedSubtitles ( bool  enable  ) 

Definition at line 1526 of file mythplayer.cpp.

Referenced by AvFormatDecoder::ProcessSubtitlePacket().

void MythPlayer::SetAllowForcedSubtitles ( bool  allow  ) 

Definition at line 1534 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

bool MythPlayer::GetAllowForcedSubtitles ( void   )  const [inline]
bool MythPlayer::SetAudioByComponentTag ( int  tag  ) 

Selects the audio stream using the DVB component tag.

Definition at line 4771 of file mythplayer.cpp.

Referenced by MHIContext::BeginAudio().

bool MythPlayer::SetVideoByComponentTag ( int  tag  ) 

Selects the video stream using the DVB component tag.

Definition at line 4782 of file mythplayer.cpp.

Referenced by MHIContext::BeginVideo().

void MythPlayer::CheckTVChain ( void   ) 
void MythPlayer::FileChangedCallback ( void   ) 

Definition at line 2473 of file mythplayer.cpp.

Referenced by DecoderBase::FileChanged().

int MythPlayer::GetNumChapters ( void   )  [virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 4653 of file mythplayer.cpp.

Referenced by calcSliderPos(), DoJumpChapter(), and TV::GetNumChapters().

int MythPlayer::GetCurrentChapter ( void   )  [virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 4660 of file mythplayer.cpp.

Referenced by calcSliderPos(), DoJumpChapter(), and TV::GetCurrentChapter().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 4667 of file mythplayer.cpp.

Referenced by TV::GetChapterTimes(), and TV::GetStatus().

virtual int MythPlayer::GetNumTitles ( void   )  const [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 302 of file mythplayer.h.

Referenced by calcSliderPos(), and TV::GetNumTitles().

virtual int MythPlayer::GetCurrentTitle ( void   )  const [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 303 of file mythplayer.h.

Referenced by calcSliderPos(), and TV::GetCurrentTitle().

virtual int MythPlayer::GetTitleDuration ( int  title  )  const [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 304 of file mythplayer.h.

Referenced by TV::GetTitleDuration().

virtual QString MythPlayer::GetTitleName ( int  title  )  const [inline, virtual]

Reimplemented in MythBDPlayer.

Definition at line 305 of file mythplayer.h.

Referenced by TV::GetTitleName().

virtual int MythPlayer::GetNumAngles ( void   )  const [inline, virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 308 of file mythplayer.h.

Referenced by calcSliderPos(), and TV::GetNumAngles().

virtual int MythPlayer::GetCurrentAngle ( void   )  const [inline, virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 309 of file mythplayer.h.

Referenced by calcSliderPos(), and TV::GetCurrentAngle().

virtual QString MythPlayer::GetAngleName ( int  title  )  const [inline, virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 310 of file mythplayer.h.

Referenced by TV::GetAngleName().

virtual bool MythPlayer::GoToMenu ( QString  str  )  [inline, virtual]

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 313 of file mythplayer.h.

Referenced by TV::ActiveHandleAction(), TV::ActivePostQHandleAction(), and TV::OSDDialogEvent().

virtual void MythPlayer::GoToDVDProgram ( bool  direction  )  [inline, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 314 of file mythplayer.h.

Referenced by TV::DVDJumpBack(), and TV::DVDJumpForward().

bool MythPlayer::PosMapFromEnc ( unsigned long long  start,
QMap< long long, long long > &  posMap 
)

Definition at line 4816 of file mythplayer.cpp.

Referenced by DecoderBase::PosMapFromEnc().

bool MythPlayer::TryLockOSD ( void   )  [inline]

Definition at line 321 of file mythplayer.h.

void MythPlayer::LockOSD ( void   )  [inline]

Definition at line 322 of file mythplayer.h.

Referenced by PlayerContext::LockOSD().

void MythPlayer::UnlockOSD ( void   )  [inline]

Definition at line 323 of file mythplayer.h.

Referenced by PlayerContext::UnlockOSD().

void MythPlayer::ToggleStudioLevels ( void   ) 

Definition at line 4868 of file mythplayer.cpp.

Referenced by TV::DoToggleStudioLevels().

void MythPlayer::ToggleNightMode ( void   ) 

Definition at line 4885 of file mythplayer.cpp.

Referenced by TV::DoToggleNightMode().

bool MythPlayer::CanVisualise ( void   ) 

Definition at line 4926 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation(), and TV::FillOSDMenuAudio().

bool MythPlayer::IsVisualising ( void   ) 

Definition at line 4933 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

QString MythPlayer::GetVisualiserName ( void   ) 

Definition at line 4940 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation(), and TV::FillOSDMenuAudio().

QStringList MythPlayer::GetVisualiserList ( void   ) 

Definition at line 4947 of file mythplayer.cpp.

Referenced by TV::FillOSDMenuAudio().

bool MythPlayer::EnableVisualisation ( bool  enable,
const QString &  name = QString("") 
)

Definition at line 4954 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

void MythPlayer::SaveTotalDuration ( void   ) 
void MythPlayer::ResetTotalDuration ( void   ) 

Definition at line 4993 of file mythplayer.cpp.

Referenced by CommDetector2::go(), and ClassicCommDetector::go().

void MythPlayer::OpenDummy ( void   )  [protected]

Definition at line 836 of file mythplayer.cpp.

Referenced by JumpToProgram(), OpenFile(), and SwitchToProgram().

void MythPlayer::SetBookmark ( bool  clear = false  )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 3285 of file mythplayer.cpp.

Referenced by InitialSeek(), and TV::SetBookmark().

bool MythPlayer::AddPIPPlayer ( MythPlayer pip,
PIPLocation  loc,
uint  timeout 
) [protected]

Definition at line 3135 of file mythplayer.cpp.

Referenced by TV::PIPAddPlayer().

bool MythPlayer::RemovePIPPlayer ( MythPlayer pip,
uint  timeout 
) [protected]

Definition at line 3160 of file mythplayer.cpp.

Referenced by TV::PIPRemovePlayer().

void MythPlayer::NextScanType ( void   )  [inline, protected]

Definition at line 350 of file mythplayer.h.

Referenced by TV::ActiveHandleAction().

void MythPlayer::SetScanType ( FrameScanType  scan  )  [protected]
FrameScanType MythPlayer::GetScanType ( void   )  const [inline, protected]

Definition at line 353 of file mythplayer.h.

Referenced by TV::ActiveHandleAction(), TV::FillOSDMenuVideo(), and TV::OSDDialogEvent().

bool MythPlayer::IsScanTypeLocked ( void   )  const [inline, protected]

Definition at line 354 of file mythplayer.h.

Referenced by TV::FillOSDMenuVideo().

void MythPlayer::Zoom ( ZoomDirection  direction  )  [protected]

Definition at line 3988 of file mythplayer.cpp.

Referenced by TV::ManualZoomHandleAction().

void MythPlayer::EmbedInWidget ( QRect  rect  )  [protected]

Definition at line 1192 of file mythplayer.cpp.

Referenced by PlayerContext::CreatePlayer(), and PlayerContext::StartEmbedding().

void MythPlayer::StopEmbedding ( void   )  [protected]

Definition at line 1203 of file mythplayer.cpp.

Referenced by PlayerContext::StopEmbedding().

void MythPlayer::ExposeEvent ( void   )  [protected]

Definition at line 3997 of file mythplayer.cpp.

Referenced by TV::DrawUnusedRects().

bool MythPlayer::IsEmbedding ( void   )  [protected]
void MythPlayer::WindowResized ( const QSize &  new_size  )  [protected]

Definition at line 1217 of file mythplayer.cpp.

Referenced by TV::event().

uint MythPlayer::AdjustVolume ( int  change  )  [inline, protected]

Definition at line 365 of file mythplayer.h.

Referenced by TV::ChangeVolume(), and TV::ProcessNetworkControlCommand().

uint MythPlayer::SetVolume ( int  newvolume  )  [inline, protected]

Definition at line 366 of file mythplayer.h.

Referenced by TV::ChangeVolume().

bool MythPlayer::SetMuted ( bool  mute  )  [inline, protected]
MuteState MythPlayer::SetMuteState ( MuteState  state  )  [inline, protected]

Definition at line 368 of file mythplayer.h.

Referenced by TV::RestartAllPlayers().

MuteState MythPlayer::IncrMuteState ( void   )  [inline, protected]

Definition at line 369 of file mythplayer.h.

Referenced by TV::ToggleMute().

VideoOutput* MythPlayer::GetVideoOutput ( void   )  [inline, protected]
OSD* MythPlayer::GetOSD ( void   )  [inline, protected]

Definition at line 373 of file mythplayer.h.

Referenced by TV::GetOSDL().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 4159 of file mythplayer.cpp.

Referenced by GetScreenGrabAtFrame().

long long MythPlayer::CalcMaxFFTime ( long long  ff,
bool  setjump = true 
) const [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 3439 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW(), TV::DoArbSeek(), EventLoop(), FastForward(), and JumpToFrame().

long long MythPlayer::CalcRWTime ( long long  rw  )  const [protected]

Definition at line 3427 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW(), and EventLoop().

void MythPlayer::calcSliderPos ( osdInfo info,
bool  paddedFields = false 
) [protected, virtual]

Definition at line 4528 of file mythplayer.cpp.

Referenced by PlayerContext::CalcPlayerSliderPosition(), and SetOSDStatus().

void MythPlayer::SetAutoCommercialSkip ( CommSkipMode  autoskip  )  [inline, protected]

Definition at line 383 of file mythplayer.h.

Referenced by TV::SetAutoCommercialSkip().

void MythPlayer::SkipCommercials ( int  direction  )  [inline, protected]

Definition at line 385 of file mythplayer.h.

Referenced by TV::DoSkipCommercials().

void MythPlayer::SetCommBreakMap ( frm_dir_map_t newMap  )  [protected]

Definition at line 4444 of file mythplayer.cpp.

Referenced by TV::customEvent().

CommSkipMode MythPlayer::GetAutoCommercialSkip ( void   )  [inline, protected]

Definition at line 388 of file mythplayer.h.

Referenced by TV::FillOSDMenuNavigate(), and TV::SetAutoCommercialSkip().

void MythPlayer::ToggleAspectOverride ( AspectOverrideMode  aspectMode = kAspect_Toggle  )  [protected]

Definition at line 3969 of file mythplayer.cpp.

Referenced by TV::ToggleAspectOverride().

void MythPlayer::ToggleAdjustFill ( AdjustFillMode  adjustfillMode = kAdjustFill_Toggle  )  [protected]

Definition at line 3978 of file mythplayer.cpp.

Referenced by TV::ToggleAdjustFill().

bool MythPlayer::StartPlaying ( void   )  [protected, virtual]

Definition at line 2581 of file mythplayer.cpp.

Referenced by PlayerContext::StartPlaying(), and VideoPerformanceTest::Test().

void MythPlayer::ResetPlaying ( bool  resetframes = true  )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 2374 of file mythplayer.cpp.

Referenced by JumpToProgram(), and SwitchToProgram().

virtual void MythPlayer::EndPlaying ( void   )  [inline, protected, virtual]

Definition at line 398 of file mythplayer.h.

void MythPlayer::StopPlaying ( void   )  [protected, virtual]

Definition at line 2626 of file mythplayer.cpp.

Referenced by PlayerContext::StopPlaying().

bool MythPlayer::PauseDecoder ( void   )  [protected]
void MythPlayer::UnpauseDecoder ( void   )  [protected]

Definition at line 2888 of file mythplayer.cpp.

Referenced by DecoderPauseCheck(), Play(), and StartPlaying().

bool MythPlayer::Pause ( void   )  [protected]
bool MythPlayer::Play ( float  speed = 1.0,
bool  normal = true,
bool  unpauseaudio = true 
) [protected]
bool MythPlayer::FastForward ( float  seconds  )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 2327 of file mythplayer.cpp.

Referenced by TV::DoPlayerSeek().

bool MythPlayer::Rewind ( float  seconds  )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 2337 of file mythplayer.cpp.

Referenced by TV::DoPlayerSeek().

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

Reimplemented in MythDVDPlayer.

Definition at line 2347 of file mythplayer.cpp.

Referenced by TV::CreatePBP(), TV::PBPRestartMainPlayer(), and TV::RestartAllPlayers().

void MythPlayer::JumpChapter ( int  chapter  )  [protected]

Definition at line 2368 of file mythplayer.cpp.

Referenced by TV::DoJumpChapter().

bool MythPlayer::PrebufferEnoughFrames ( int  min_buffers = 0  )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 2030 of file mythplayer.cpp.

Referenced by DisplayNormalFrame(), and VideoPerformanceTest::Test().

void MythPlayer::SetBuffering ( bool  new_buffering  )  [protected]
void MythPlayer::RefreshPauseFrame ( void   )  [protected]

Definition at line 1973 of file mythplayer.cpp.

Referenced by DisplayPauseFrame(), and MythDVDPlayer::VideoLoop().

void MythPlayer::CheckAspectRatio ( VideoFrame frame  )  [protected]

Definition at line 2084 of file mythplayer.cpp.

Referenced by DisplayNormalFrame(), and VideoPerformanceTest::Test().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 1989 of file mythplayer.cpp.

Referenced by VideoLoop(), and WaitForSeek().

void MythPlayer::DisplayNormalFrame ( bool  check_prebuffer = true  )  [protected, virtual]

Definition at line 2103 of file mythplayer.cpp.

Referenced by VideoLoop(), MythDVDPlayer::VideoLoop(), and MythBDPlayer::VideoLoop().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 2139 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

void MythPlayer::VideoStart ( void   )  [protected, virtual]

Definition at line 2199 of file mythplayer.cpp.

Referenced by StartPlaying().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 2296 of file mythplayer.cpp.

Referenced by TV::PlaybackLoop().

void MythPlayer::VideoEnd ( void   )  [protected, virtual]

Definition at line 2313 of file mythplayer.cpp.

Referenced by StopPlaying().

void MythPlayer::DecoderStart ( bool  start_paused  )  [protected, virtual]
void MythPlayer::DecoderLoop ( bool  pause  )  [protected, virtual]

Definition at line 2988 of file mythplayer.cpp.

Referenced by DecoderThread::run().

void MythPlayer::DecoderEnd ( void   )  [protected, virtual]

Definition at line 2929 of file mythplayer.cpp.

Referenced by StopPlaying().

void MythPlayer::DecoderPauseCheck ( void   )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 2945 of file mythplayer.cpp.

Referenced by DecoderLoop(), and Pause().

void MythPlayer::AudioEnd ( void   )  [protected, virtual]

Definition at line 2860 of file mythplayer.cpp.

Referenced by StopPlaying().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 2638 of file mythplayer.cpp.

Referenced by StartPlaying().

void MythPlayer::EventLoop ( void   )  [protected, virtual]

Definition at line 2649 of file mythplayer.cpp.

Referenced by TV::PlaybackLoop().

void MythPlayer::InitialSeek ( void   )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 2614 of file mythplayer.cpp.

Referenced by StartPlaying().

bool MythPlayer::ITVHandleAction ( const QString &  action  )  [protected]

Definition at line 4732 of file mythplayer.cpp.

Referenced by TV::ProcessKeypress().

void MythPlayer::ITVRestart ( uint  chanid,
uint  cardid,
bool  isLiveTV 
) [protected]

Restart the MHEG/MHP engine.

Definition at line 4750 of file mythplayer.cpp.

Referenced by TV::ITVRestart().

bool MythPlayer::EnableEdit ( void   )  [protected]

Definition at line 3695 of file mythplayer.cpp.

Referenced by TV::HandleOSDAlreadyEditing(), and TV::StartProgramEditMode().

bool MythPlayer::HandleProgramEditorActions ( QStringList &  actions,
long long  frame = -1 
) [protected]

Definition at line 3762 of file mythplayer.cpp.

Referenced by TV::HandleOSDCutpoint(), and TV::ProcessKeypress().

bool MythPlayer::GetEditMode ( void   )  [inline, protected]

Definition at line 442 of file mythplayer.h.

Referenced by TV::DoTogglePause(), TV::HandleOSDCutpoint(), and TV::ProcessKeypress().

void MythPlayer::DisableEdit ( bool  save = true  )  [protected]

Definition at line 3739 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions(), and TV::ProcessKeypress().

bool MythPlayer::IsInDelete ( uint64_t  frame  )  [protected]
uint64_t MythPlayer::GetNearestMark ( uint64_t  frame,
bool  right 
) [protected]

Definition at line 3911 of file mythplayer.cpp.

Referenced by TV::ShowOSDCutpoint().

bool MythPlayer::IsTemporaryMark ( uint64_t  frame  )  [protected]

Definition at line 3916 of file mythplayer.cpp.

Referenced by TV::ShowOSDCutpoint().

bool MythPlayer::HasTemporaryMark ( void   )  [protected]

Definition at line 3921 of file mythplayer.cpp.

Referenced by TV::ProcessKeypress().

bool MythPlayer::IsCutListSaved ( void   )  [inline, protected]

Definition at line 448 of file mythplayer.h.

Referenced by TV::ProcessKeypress().

bool MythPlayer::DeleteMapHasUndo ( void   )  [inline, protected]

Definition at line 449 of file mythplayer.h.

Referenced by TV::ShowOSDCutpoint().

bool MythPlayer::DeleteMapHasRedo ( void   )  [inline, protected]

Definition at line 450 of file mythplayer.h.

Referenced by TV::ShowOSDCutpoint().

QString MythPlayer::DeleteMapGetUndoMessage ( void   )  [inline, protected]

Definition at line 451 of file mythplayer.h.

Referenced by TV::ShowOSDCutpoint().

QString MythPlayer::DeleteMapGetRedoMessage ( void   )  [inline, protected]

Definition at line 452 of file mythplayer.h.

Referenced by TV::ShowOSDCutpoint().

void MythPlayer::ReinitOSD ( void   )  [protected]
void MythPlayer::SetOSDMessage ( const QString &  msg,
OSDTimeout  timeout 
) [protected]
void MythPlayer::SetOSDStatus ( const QString &  title,
OSDTimeout  timeout 
) [protected]

Definition at line 4972 of file mythplayer.cpp.

Referenced by DisableEdit(), EnableEdit(), and EventLoop().

void MythPlayer::ResetCaptions ( void   )  [protected]
bool MythPlayer::ToggleCaptions ( void   )  [protected]

Definition at line 1391 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction(), and ReinitOSD().

bool MythPlayer::ToggleCaptions ( uint  mode  )  [protected]

Definition at line 1397 of file mythplayer.cpp.

bool MythPlayer::HasTextSubtitles ( void   )  [inline, protected]

Definition at line 465 of file mythplayer.h.

Referenced by TV::FillOSDMenuSubtitles(), TV::GetStatus(), and NextCaptionTrack().

void MythPlayer::SetCaptionsEnabled ( bool  enable,
bool  osd_msg = true 
) [protected]
bool MythPlayer::GetCaptionsEnabled ( void   )  [protected]

Definition at line 1444 of file mythplayer.cpp.

Referenced by TV::FillOSDMenuSubtitles().

void MythPlayer::DisableCaptions ( uint  mode,
bool  osd_msg = true 
) [protected, virtual]
void MythPlayer::EnableCaptions ( uint  mode,
bool  osd_msg = true 
) [protected, virtual]
QStringList MythPlayer::GetTracks ( uint  type  )  [protected]
uint MythPlayer::GetTrackCount ( uint  type  )  [protected]

Definition at line 1463 of file mythplayer.cpp.

Referenced by TV::FillOSDMenuAudio().

int MythPlayer::SetTrack ( uint  type,
int  trackNo 
) [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 1470 of file mythplayer.cpp.

Referenced by ChangeCaptionTrack(), and TV::HandleTrackAction().

int MythPlayer::GetTrack ( uint  type  )  [protected]
int MythPlayer::ChangeTrack ( uint  type,
int  dir 
) [protected]

Definition at line 1577 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

void MythPlayer::ChangeCaptionTrack ( int  dir  )  [protected]

Definition at line 1592 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

int MythPlayer::NextCaptionTrack ( int  mode  )  [protected]

Definition at line 1629 of file mythplayer.cpp.

Referenced by ChangeCaptionTrack(), and SetCaptionsEnabled().

void MythPlayer::DoDisableForcedSubtitles ( void   )  [protected]

Definition at line 1549 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::DoEnableForcedSubtitles ( void   )  [protected]

Definition at line 1558 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::EnableTeletext ( int  page = 0x100  )  [protected]

Definition at line 1223 of file mythplayer.cpp.

Referenced by EnableCaptions(), and TV::HandleTrackAction().

void MythPlayer::DisableTeletext ( void   )  [protected]

Definition at line 1234 of file mythplayer.cpp.

Referenced by DisableCaptions(), and HandleTeletextAction().

void MythPlayer::ResetTeletext ( void   )  [protected]

Definition at line 1249 of file mythplayer.cpp.

Referenced by TV::ChangeChannel().

bool MythPlayer::HandleTeletextAction ( const QString &  action  )  [protected]

Definition at line 1272 of file mythplayer.cpp.

Referenced by TV::ProcessKeypress().

void MythPlayer::SetTeletextPage ( uint  page  )  [protected]

Set Teletext NUV Caption page.

Definition at line 1261 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

int64_t MythPlayer::AdjustAudioTimecodeOffset ( int64_t  v,
int  newsync = -9999 
) [protected]

Definition at line 3198 of file mythplayer.cpp.

Referenced by TV::ChangeAudioSync().

int64_t MythPlayer::GetAudioTimecodeOffset ( void   )  const [inline, protected]

Definition at line 493 of file mythplayer.h.

Referenced by TV::GetStatus().

void MythPlayer::InitFilters ( void   )  [protected]

Definition at line 1006 of file mythplayer.cpp.

Referenced by InitVideo(), ReinitVideo(), and SetPlayingInfo().

FrameScanType MythPlayer::detectInterlace ( FrameScanType  newScan,
FrameScanType  scan,
float  fps,
int  video_height 
) [protected]

Definition at line 622 of file mythplayer.cpp.

Referenced by SetVideoParams().

void MythPlayer::AutoDeint ( VideoFrame frame,
bool  allow_lock = true 
) [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 668 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

void MythPlayer::SetPlayingInfo ( const ProgramInfo pginfo  )  [protected]

Definition at line 407 of file mythplayer.cpp.

Referenced by JumpToProgram(), and SwitchToProgram().

void MythPlayer::SetPlaying ( bool  is_playing  )  [protected]
void MythPlayer::SetErrored ( const QString &  reason  )  const [protected]
int MythPlayer::GetStatusbarPos ( void   )  const [protected]

Definition at line 4450 of file mythplayer.cpp.

void MythPlayer::PauseVideo ( void   )  [protected]

Definition at line 390 of file mythplayer.cpp.

Referenced by Pause(), MythDVDPlayer::VideoLoop(), and MythBDPlayer::VideoLoop().

void MythPlayer::UnpauseVideo ( void   )  [protected]

Definition at line 398 of file mythplayer.cpp.

Referenced by Play(), MythDVDPlayer::VideoLoop(), and MythBDPlayer::VideoLoop().

void MythPlayer::PauseBuffer ( void   )  [protected]

Definition at line 313 of file mythplayer.cpp.

Referenced by Pause().

void MythPlayer::UnpauseBuffer ( void   )  [protected]

Definition at line 325 of file mythplayer.cpp.

Referenced by OpenFile(), and Play().

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

Reimplemented in MythBDPlayer, and MythDVDPlayer.

Definition at line 852 of file mythplayer.cpp.

Referenced by OpenFile().

void MythPlayer::SetDecoder ( DecoderBase dec  )  [protected]

Sets the stream decoder, deleting any existing recorder.

Definition at line 4793 of file mythplayer.cpp.

Referenced by CreateDecoder(), MythDVDPlayer::CreateDecoder(), MythBDPlayer::CreateDecoder(), OpenDummy(), OpenFile(), and ~MythPlayer().

const DecoderBase* MythPlayer::GetDecoder ( void   )  const [inline, protected]

Returns the stream decoder currently in use.

Definition at line 524 of file mythplayer.h.

bool MythPlayer::DecodeFrame ( struct rtframeheader frameheader,
unsigned char *  strm,
unsigned char *  outbuf 
) [protected]
bool MythPlayer::DecoderGetFrameFFREW ( void   )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 3053 of file mythplayer.cpp.

Referenced by DecoderGetFrame().

bool MythPlayer::DecoderGetFrameREW ( void   )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 3074 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW().

bool MythPlayer::DecoderGetFrame ( DecodeType  decodetype,
bool  unsafe = false 
) [protected]
bool MythPlayer::UpdateFFRewSkip ( void   )  [protected]

Definition at line 3311 of file mythplayer.cpp.

Referenced by ChangeSpeed(), and SetVideoParams().

void MythPlayer::ChangeSpeed ( void   )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 3347 of file mythplayer.cpp.

Referenced by EventLoop(), FileChangedCallback(), JumpToProgram(), SwitchToProgram(), and VideoStart().

bool MythPlayer::DoFastForward ( uint64_t  frames,
bool  override_seeks = false,
bool  seeks_wanted = false 
) [protected]
bool MythPlayer::DoRewind ( uint64_t  frames,
bool  override_seeks = false,
bool  seeks_wanted = false 
) [protected]
void MythPlayer::DoJumpToFrame ( uint64_t  frame,
bool  override_seeks = false,
bool  seeks_wanted = false 
) [protected]

Definition at line 3585 of file mythplayer.cpp.

Referenced by ChangeSpeed(), DoJumpChapter(), EventLoop(), and GetRawVideoFrame().

void MythPlayer::WaitForSeek ( uint64_t  frame,
bool  override_seeks = false,
bool  seeks_wanted = false 
) [protected]

Definition at line 3594 of file mythplayer.cpp.

Referenced by DoFastForward(), DoRewind(), and TranscodeGetNextFrame().

void MythPlayer::ClearAfterSeek ( bool  clearvideobuffers = true  )  [protected]

This is to support seeking.

..

This resets the output classes and discards all frames no longer being used by the decoder class.

Note: caller should not hold any locks

Parameters:
clearvideobuffers This clears the videooutput buffers as well, this is only safe if no old frames are required to continue decoding.

Definition at line 3660 of file mythplayer.cpp.

Referenced by DoFastForward(), MythDVDPlayer::DoJumpChapter(), DoRewind(), GetRawVideoFrame(), GetScreenGrabAtFrame(), InitForTranscode(), MythCommFlagPlayer::RebuildSeekTable(), ReinitVideo(), ResetPlaying(), MythCCExtractorPlayer::run(), TranscodeGetNextFrame(), MythDVDPlayer::VideoLoop(), and VideoStart().

bool MythPlayer::DoJumpChapter ( int  chapter  )  [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 4673 of file mythplayer.cpp.

Referenced by EventLoop().

int64_t MythPlayer::GetChapter ( int  chapter  )  [protected, virtual]

Reimplemented in MythBDPlayer.

Definition at line 4711 of file mythplayer.cpp.

Referenced by DoJumpChapter().

void MythPlayer::HandleArbSeek ( bool  right  )  [protected]

Definition at line 3926 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions().

void MythPlayer::WrapTimecode ( int64_t timecode,
TCTypes  tc_type 
) [protected]
void MythPlayer::InitAVSync ( void   )  [protected]

Definition at line 1692 of file mythplayer.cpp.

Referenced by VideoStart().

void MythPlayer::AVSync ( VideoFrame buffer,
bool  limit_delay = false 
) [protected, virtual]

Reimplemented in MythDVDPlayer.

Definition at line 1732 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

void MythPlayer::ResetAVSync ( void   )  [protected]

Definition at line 1683 of file mythplayer.cpp.

Referenced by AVSync(), and ClearAfterSeek().

int64_t MythPlayer::AVSyncGetAudiotime ( void   )  [protected]

Definition at line 1720 of file mythplayer.cpp.

void MythPlayer::SetFrameInterval ( FrameScanType  scan,
double  speed 
) [protected]

Definition at line 1667 of file mythplayer.cpp.

Referenced by InitAVSync(), and SetVideoParams().

void MythPlayer::FallbackDeint ( void   )  [protected]

Fallback to non-frame-rate-doubling deinterlacing method.

Definition at line 659 of file mythplayer.cpp.

Referenced by ForceDeinterlacer(), SetScanType(), and VideoStart().

void MythPlayer::CheckExtraAudioDecode ( void   )  [protected]

Definition at line 489 of file mythplayer.cpp.

Referenced by InitVideo(), OpenFile(), and ReinitVideo().

void MythPlayer::SwitchToProgram ( void   )  [protected]

Definition at line 2394 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::JumpToProgram ( void   )  [protected]

Definition at line 2498 of file mythplayer.cpp.

Referenced by EventLoop().


Friends And Related Function Documentation

friend class PlayerContext [friend]

Definition at line 118 of file mythplayer.h.

friend class CC708Reader [friend]

Definition at line 119 of file mythplayer.h.

Referenced by MythCCExtractorPlayer::GetCC708Reader().

friend class CC608Reader [friend]

Definition at line 120 of file mythplayer.h.

Referenced by MythCCExtractorPlayer::GetCC608Reader().

friend class DecoderThread [friend]

Definition at line 121 of file mythplayer.h.

Referenced by DecoderStart().

friend class DetectLetterbox [friend]

Definition at line 122 of file mythplayer.h.

Referenced by MythPlayer().

friend class TeletextScreen [friend]

Definition at line 123 of file mythplayer.h.

friend class SubtitleScreen [friend]

Definition at line 124 of file mythplayer.h.

friend class InteractiveScreen [friend]

Definition at line 125 of file mythplayer.h.

friend class BDOverlayScreen [friend]

Definition at line 126 of file mythplayer.h.

friend class VideoPerformanceTest [friend]

Definition at line 127 of file mythplayer.h.

friend class TV [friend]

Definition at line 129 of file mythplayer.h.

friend class Transcode [friend]

Definition at line 130 of file mythplayer.h.


Member Data Documentation

Definition at line 339 of file mythplayer.h.

Referenced by ToggleNightMode().

Definition at line 340 of file mythplayer.h.

Referenced by ToggleNightMode().

QMutex MythPlayer::decoder_change_lock [protected]

Definition at line 573 of file mythplayer.h.

Referenced by CalcMaxFFTime(), MythDVDPlayer::CalcMaxFFTime(), CalcRWTime(), calcSliderPos(), MythDVDPlayer::ChangeSpeed(), CheckTVChain(), CreateDecoder(), MythDVDPlayer::CreateDecoder(), MythBDPlayer::CreateDecoder(), MythDVDPlayer::DecoderGetFrameREW(), DecoderLoop(), MythDVDPlayer::DisableCaptions(), DisableEdit(), MythDVDPlayer::DisplayDVDButton(), MythBDPlayer::DisplayMenu(), MythDVDPlayer::DisplayPauseFrame(), MythBDPlayer::DisplayPauseFrame(), DoFastForward(), MythDVDPlayer::DoJumpChapter(), DoRewind(), MythDVDPlayer::EnableCaptions(), EnableEdit(), MythDVDPlayer::EventEnd(), EventLoop(), EventStart(), MythDVDPlayer::EventStart(), MythBDPlayer::EventStart(), FileChangedCallback(), GetBookmark(), MythDVDPlayer::GetBookmark(), MythBDPlayer::GetChapter(), MythDVDPlayer::GetChapterTimes(), MythBDPlayer::GetChapterTimes(), MythDVDPlayer::GetCurrentAngle(), MythBDPlayer::GetCurrentAngle(), MythDVDPlayer::GetCurrentChapter(), MythBDPlayer::GetCurrentChapter(), GetCurrentFrame(), MythBDPlayer::GetCurrentTitle(), MythDVDPlayer::GetNumAngles(), MythBDPlayer::GetNumAngles(), MythDVDPlayer::GetNumChapters(), MythBDPlayer::GetNumChapters(), MythBDPlayer::GetNumTitles(), GetPlaybackData(), GetRawVideoFrame(), GetSecondsBehind(), MythDVDPlayer::GetSecondsPlayed(), GetStatusbarPos(), MythBDPlayer::GetTitleDuration(), MythDVDPlayer::GoToDVDProgram(), MythDVDPlayer::GoToMenu(), MythBDPlayer::GoToMenu(), HasTVChainNext(), InitialSeek(), MythDVDPlayer::InitialSeek(), InitVideo(), IsNearEnd(), IsReallyNearEnd(), JumpToProgram(), MythBDPlayer::NextTitle(), OpenDummy(), OpenFile(), PauseBuffer(), PosMapFromEnc(), MythDVDPlayer::PrepareAudioSample(), MythBDPlayer::PrevTitle(), MythCommFlagPlayer::RebuildSeekTable(), MythDVDPlayer::ReleaseNextVideoFrame(), MythCCExtractorPlayer::run(), SeekForScreenGrab(), MythDVDPlayer::SeekForScreenGrab(), SetBookmark(), MythDVDPlayer::SetBookmark(), MythDVDPlayer::SetDVDBookmark(), SetPlayerInfo(), SetPlayingInfo(), MythDVDPlayer::SetTrack(), SetVideoFilters(), SetWatched(), MythDVDPlayer::StillFrameCheck(), MythDVDPlayer::SwitchAngle(), MythBDPlayer::SwitchAngle(), MythBDPlayer::SwitchTitle(), SwitchToProgram(), TranscodeGetNextFrame(), UnpauseBuffer(), MythDVDPlayer::VideoLoop(), MythBDPlayer::VideoLoop(), VideoStart(), and WaitForSeek().

QThread* MythPlayer::playerThread [protected]
QWidget* MythPlayer::parentWidget [protected]

Definition at line 578 of file mythplayer.h.

Referenced by InitVideo(), and SetPlayerInfo().

Definition at line 579 of file mythplayer.h.

Referenced by EmbedInWidget(), InitVideo(), and StopEmbedding().

QRect MythPlayer::embedRect [protected]

Definition at line 580 of file mythplayer.h.

Referenced by EmbedInWidget(), InitVideo(), and StopEmbedding().

Definition at line 581 of file mythplayer.h.

Referenced by MythPlayer().

QWaitCondition MythPlayer::decoderThreadPause [protected]

Definition at line 584 of file mythplayer.h.

Referenced by PauseDecoder().

QWaitCondition MythPlayer::decoderThreadUnpause [protected]

Definition at line 585 of file mythplayer.h.

Referenced by UnpauseDecoder().

QMutex MythPlayer::decoderPauseLock [mutable, protected]

Definition at line 586 of file mythplayer.h.

Referenced by PauseDecoder(), and UnpauseDecoder().

QMutex MythPlayer::decoderSeekLock [mutable, protected]

Definition at line 587 of file mythplayer.h.

Referenced by DecoderLoop(), and WaitForSeek().

Definition at line 588 of file mythplayer.h.

Referenced by DecoderLoop(), and SetDecoder().

Definition at line 589 of file mythplayer.h.

Referenced by DecoderLoop(), Pause(), PauseDecoder(), and UnpauseDecoder().

Definition at line 590 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and PauseDecoder().