MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
MythPlayer Class Reference

#include <mythplayer.h>

Inheritance diagram for MythPlayer:
Inheritance graph
[legend]
Collaboration diagram for MythPlayer:
Collaboration graph
[legend]

Public Member Functions

 MythPlayer (PlayerFlags flags=kNoFlags)
virtual ~MythPlayer ()
virtual int OpenFile (uint retries=4)
bool InitVideo (void)
void SetPlayerInfo (TV *tv, QWidget *widget, PlayerContext *ctx)
void SetLength (int len)
void SetFramesPlayed (uint64_t played)
void SetVideoFilters (const QString &override)
void SetEof (EofState 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
 Returns the number of frames available for decoding onto.
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 GetCurrentFrameCount (void) const
uint64_t GetFramesPlayed (void) const
virtual int64_t GetSecondsPlayed (bool honorCutList)
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
EofState GetEof (void) const
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="")
bool IsWatchingInprogress (void) const
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)
 Removes a frame from the available queue for decoding onto.
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)
 Places frame on the queue of frames ready for display.
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.
voidGetDecoderContext (unsigned char *buf, uint8_t *&id)
virtual bool HasReachedEof (void) const
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)
bool ForcedSubtitlesFavored (void) const
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.
bool SetStream (const QString &)
long GetStreamPos ()
long GetStreamMaxPos ()
long SetStreamPos (long)
void StreamPlay (bool play=true)
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 (uint64_t start, frm_pos_map_t &posMap, frm_pos_map_t &durMap)
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)
void SaveTotalFrames (void)

Static Public Attributes

static const int kNightModeBrightenssAdjustment = 10
static const int kNightModeContrastAdjustment = 10
static const double kInaccuracyNone = 0
static const double kInaccuracyDefault = 0.1
static const double kInaccuracyEditor = 0.5
static const double kInaccuracyFull = -1.0

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)
uint64_t TranslatePositionFrameToMs (uint64_t position, bool use_cutlist) const
uint64_t TranslatePositionMsToFrame (uint64_t position, bool use_cutlist) const
uint64_t TranslatePositionAbsToRel (uint64_t position) const
uint64_t TranslatePositionRelToAbs (uint64_t position) const
float ComputeSecs (uint64_t position, bool use_cutlist) const
uint64_t FindFrame (float offset, bool use_cutlist) const
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)
bool GetEditMode (void) const
void DisableEdit (int howToSave)
 Leave cutlist edit mode, saving work in 1 of 3 ways.
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)
bool HasCaptionTrack (int mode)
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, double inaccuracy)
bool DoRewind (uint64_t frames, double inaccuracy)
bool DoFastForwardSecs (float secs, double inaccuracy, bool use_cutlist)
bool DoRewindSecs (float secs, double inaccuracy, bool use_cutlist)
void DoJumpToFrame (uint64_t frame, double inaccuracy)
void WaitForSeek (uint64_t frame, uint64_t seeksnap_wanted)
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)
void JumpToStream (const QString &)

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 inJumpToProgramPause
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.
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 prevNonzeroTextDisplayMode
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
CC608Reader cc608
CC708Reader cc708
bool itvVisible
InteractiveTVinteractiveTV
bool itvEnabled
QMutex itvLock
QString m_newStream
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

Private Member Functions

 Q_DECLARE_TR_FUNCTIONS (MythPlayer) friend class PlayerContext
void syncWithAudioStretch ()

Friends

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 113 of file mythplayer.h.

Constructor & Destructor Documentation

MythPlayer::MythPlayer ( PlayerFlags  flags = kNoFlags)

Definition at line 137 of file mythplayer.cpp.

MythPlayer::~MythPlayer ( void  )
virtual

Definition at line 257 of file mythplayer.cpp.

Member Function Documentation

MythPlayer::Q_DECLARE_TR_FUNCTIONS ( MythPlayer  )
private
int MythPlayer::OpenFile ( uint  retries = 4)
virtual
bool MythPlayer::InitVideo ( void  )
void MythPlayer::SetPlayerInfo ( TV tv,
QWidget *  widget,
PlayerContext ctx 
)
void MythPlayer::SetLength ( int  len)
inline

Definition at line 142 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 ( EofState  eof)
void MythPlayer::SetPIPActive ( bool  is_active)
inline

Definition at line 146 of file mythplayer.h.

Referenced by TV::SetActive().

void MythPlayer::SetPIPVisible ( bool  is_visible)
inline

Definition at line 147 of file mythplayer.h.

void MythPlayer::SetTranscoding ( bool  value)

Definition at line 3309 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
forceWatchedForces a recording watched ignoring the amount actually played (Optional)

Definition at line 3415 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 855 of file mythplayer.cpp.

Referenced by AvFormatDecoder::OpenFile().

void MythPlayer::SetVideoResize ( const QRect &  videoRect)

Definition at line 4992 of file mythplayer.cpp.

Referenced by MHIContext::DrawVideo().

void MythPlayer::EnableFrameRateMonitor ( bool  enable = false)

Definition at line 2231 of file mythplayer.cpp.

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

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

Definition at line 2241 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 4637 of file mythplayer.cpp.

Referenced by TV::UpdateOSDDebug().

bool MythPlayer::IsAudioNeeded ( void  )
inline

Definition at line 167 of file mythplayer.h.

Referenced by AudioPlayer::ReinitAudio().

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

Definition at line 4669 of file mythplayer.cpp.

int MythPlayer::GetFreeVideoFrames ( void  ) const

Returns the number of frames available for decoding onto.

Definition at line 1093 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames().

AspectOverrideMode MythPlayer::GetAspectOverride ( void  ) const

Definition at line 4151 of file mythplayer.cpp.

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

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

Definition at line 174 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 177 of file mythplayer.h.

Referenced by TV::GetStatus().

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

Definition at line 179 of file mythplayer.h.

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

Definition at line 181 of file mythplayer.h.

uint64_t MythPlayer::GetTotalFrameCount ( void  ) const
inline
uint64_t MythPlayer::GetCurrentFrameCount ( void  ) const
uint64_t MythPlayer::GetFramesPlayed ( void  ) const
inline
int64_t MythPlayer::GetSecondsPlayed ( bool  honorCutList)
virtual

Reimplemented in MythDVDPlayer.

Definition at line 4685 of file mythplayer.cpp.

Referenced by calcSliderPos().

int64_t MythPlayer::GetTotalSeconds ( void  ) const
virtual

Reimplemented in MythDVDPlayer.

Definition at line 4690 of file mythplayer.cpp.

uint64_t MythPlayer::GetBookmark ( void  )
virtual

Reimplemented in MythDVDPlayer.

Definition at line 3480 of file mythplayer.cpp.

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

QString MythPlayer::GetError ( void  ) const

Definition at line 5221 of file mythplayer.cpp.

Referenced by TV::StartTV().

bool MythPlayer::IsErrorRecoverable ( void  ) const
inline

Definition at line 189 of file mythplayer.h.

Referenced by PlayerContext::IsPlayerRecoverable().

bool MythPlayer::IsDecoderErrored ( void  ) const
inline

Definition at line 191 of file mythplayer.h.

Referenced by PlayerContext::IsPlayerDecoderErrored().

QString MythPlayer::GetEncodingType ( void  ) const

Definition at line 4449 of file mythplayer.cpp.

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

void MythPlayer::GetCodecDescription ( InfoMap infoMap)

Definition at line 4456 of file mythplayer.cpp.

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

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

Definition at line 4489 of file mythplayer.cpp.

Referenced by TV::ChannelEditXDSFill().

PIPLocation MythPlayer::GetNextPIPLocation ( void  ) const

Definition at line 3356 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 4482 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

bool MythPlayer::GetLimitKeyRepeat ( void  ) const
inline

Definition at line 201 of file mythplayer.h.

Referenced by TV::DoSeek().

EofState MythPlayer::GetEof ( void  ) const
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 3696 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 211 of file mythplayer.h.

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

bool MythPlayer::PlayerControlsVolume ( void  ) const
inline

Definition at line 212 of file mythplayer.h.

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

bool MythPlayer::UsingNullVideo ( void  ) const
inline

Definition at line 213 of file mythplayer.h.

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

bool MythPlayer::HasTVChainNext ( void  ) const

Definition at line 4213 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 4206 of file mythplayer.cpp.

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

bool MythPlayer::IsWatchingInprogress ( void  ) const
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 4257 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 4233 of file mythplayer.cpp.

Referenced by PreviewGenerator::GetScreenGrab().

InteractiveTV * MythPlayer::GetInteractiveTV ( void  )
virtual bool MythPlayer::SwitchTitle ( int  title)
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 227 of file mythplayer.h.

Referenced by TV::DoSwitchTitle().

virtual bool MythPlayer::NextTitle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 228 of file mythplayer.h.

virtual bool MythPlayer::PrevTitle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 229 of file mythplayer.h.

virtual bool MythPlayer::SwitchAngle ( int  title)
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 232 of file mythplayer.h.

Referenced by TV::DoSwitchAngle().

virtual bool MythPlayer::NextAngle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 233 of file mythplayer.h.

virtual bool MythPlayer::PrevAngle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 234 of file mythplayer.h.

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

Definition at line 4496 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 4525 of file mythplayer.cpp.

Referenced by VideoDecodeBuffer::run(), and Transcode::TranscodeFile().

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

Definition at line 4604 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

long MythPlayer::UpdateStoredFrameNum ( long  curFrameNum)

Definition at line 4592 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

void MythPlayer::SetCutList ( const frm_dir_map_t newCutList)

Definition at line 4599 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

VideoFrame * MythPlayer::GetNextVideoFrame ( void  )

Removes a frame from the available queue for decoding onto.

This places the frame in the limbo queue, from which frames are removed if they are added to another queue. Normally a frame is freed from limbo either by a ReleaseNextVideoFrame() or DiscardVideoFrame() call; but limboed frames are also freed during a seek reset.

Parameters
allow_unsafeif true then a frame will be taken from the queue of frames ready for display if we can't find a frame in the available queue.

Definition at line 1113 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames(), get_avf_buffer(), get_avf_buffer_dxva2(), get_avf_buffer_vaapi(), get_avf_buffer_vdpau(), NuppelDecoder::GetFrame(), and AvFormatDecoder::ProcessVideoFrame().

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 4420 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

Places frame on the queue of frames ready for display.

Reimplemented in MythDVDPlayer.

Definition at line 1123 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames(), NuppelDecoder::GetFrame(), and AvFormatDecoder::ProcessVideoFrame().

void MythPlayer::ReleaseCurrentFrame ( VideoFrame frame)
void MythPlayer::ClearDummyVideoFrame ( VideoFrame frame)

Instructs VideoOutput to clear the frame to black.

Definition at line 1142 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_keyframeif this is true all frames are placed in the available queue.

Definition at line 1168 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 1174 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 1180 of file mythplayer.cpp.

Referenced by get_avf_buffer_dxva2(), and get_avf_buffer_vaapi().

bool MythPlayer::HasReachedEof ( void  ) const
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 1187 of file mythplayer.cpp.

Referenced by EventLoop().

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

Definition at line 572 of file mythplayer.cpp.

Referenced by SetVideoParams().

bool MythPlayer::PrepareAudioSample ( int64_t &  timecode)
virtual

Reimplemented in MythDVDPlayer.

Definition at line 3395 of file mythplayer.cpp.

Referenced by AudioPlayer::AddAudioData().

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

Reimplemented in MythCCExtractorPlayer.

Definition at line 273 of file mythplayer.h.

Referenced by SubtitleScreen::Create().

virtual CC608Reader* MythPlayer::GetCC608Reader ( uint  id = 0)
inlinevirtual

Reimplemented in MythCCExtractorPlayer.

Definition at line 274 of file mythplayer.h.

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

virtual SubtitleReader* MythPlayer::GetSubReader ( uint  id = 0)
inlinevirtual
virtual TeletextReader* MythPlayer::GetTeletextReader ( uint  id = 0)
inlinevirtual

Reimplemented in MythCCExtractorPlayer.

Definition at line 276 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 1566 of file mythplayer.cpp.

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

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

Definition at line 1583 of file mythplayer.cpp.

Referenced by AvFormatDecoder::ProcessSubtitlePacket().

bool MythPlayer::ForcedSubtitlesFavored ( void  ) const
inline

Definition at line 282 of file mythplayer.h.

Referenced by DecoderBase::AutoSelectTrack().

void MythPlayer::SetAllowForcedSubtitles ( bool  allow)

Definition at line 1591 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 5001 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 5012 of file mythplayer.cpp.

Referenced by MHIContext::BeginVideo().

bool MythPlayer::SetStream ( const QString &  stream)

Definition at line 5029 of file mythplayer.cpp.

Referenced by MHIContext::BeginStream(), and MHIContext::EndStream().

long MythPlayer::GetStreamPos ( )

Definition at line 5120 of file mythplayer.cpp.

Referenced by GetStreamMaxPos(), and MHIContext::GetStreamPos().

long MythPlayer::GetStreamMaxPos ( )

Definition at line 5125 of file mythplayer.cpp.

Referenced by MHIContext::GetStreamMaxPos().

long MythPlayer::SetStreamPos ( long  ms)

Definition at line 5132 of file mythplayer.cpp.

Referenced by MHIContext::SetStreamPos().

void MythPlayer::StreamPlay ( bool  play = true)

Definition at line 5141 of file mythplayer.cpp.

Referenced by MHIContext::StreamPlay().

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

Definition at line 2604 of file mythplayer.cpp.

Referenced by DecoderBase::FileChanged().

int MythPlayer::GetNumChapters ( void  )
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 4883 of file mythplayer.cpp.

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

int MythPlayer::GetCurrentChapter ( void  )
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 4890 of file mythplayer.cpp.

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

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

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 4897 of file mythplayer.cpp.

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

virtual int MythPlayer::GetNumTitles ( void  ) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 311 of file mythplayer.h.

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

virtual int MythPlayer::GetCurrentTitle ( void  ) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 312 of file mythplayer.h.

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

virtual int MythPlayer::GetTitleDuration ( int  title) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 313 of file mythplayer.h.

Referenced by TV::GetTitleDuration().

virtual QString MythPlayer::GetTitleName ( int  title) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 314 of file mythplayer.h.

Referenced by TV::GetTitleName().

virtual int MythPlayer::GetNumAngles ( void  ) const
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 317 of file mythplayer.h.

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

virtual int MythPlayer::GetCurrentAngle ( void  ) const
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 318 of file mythplayer.h.

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

virtual QString MythPlayer::GetAngleName ( int  title) const
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 319 of file mythplayer.h.

Referenced by TV::GetAngleName().

virtual bool MythPlayer::GoToMenu ( QString  str)
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 322 of file mythplayer.h.

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

virtual void MythPlayer::GoToDVDProgram ( bool  direction)
inlinevirtual

Reimplemented in MythDVDPlayer.

Definition at line 323 of file mythplayer.h.

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

bool MythPlayer::PosMapFromEnc ( uint64_t  start,
frm_pos_map_t posMap,
frm_pos_map_t durMap 
)

Definition at line 5175 of file mythplayer.cpp.

Referenced by DecoderBase::PosMapFromEnc().

bool MythPlayer::TryLockOSD ( void  )
inline

Definition at line 331 of file mythplayer.h.

void MythPlayer::LockOSD ( void  )
inline

Definition at line 332 of file mythplayer.h.

Referenced by PlayerContext::LockOSD().

void MythPlayer::UnlockOSD ( void  )
inline

Definition at line 333 of file mythplayer.h.

Referenced by PlayerContext::UnlockOSD().

void MythPlayer::ToggleStudioLevels ( void  )

Definition at line 5229 of file mythplayer.cpp.

Referenced by TV::DoToggleStudioLevels().

void MythPlayer::ToggleNightMode ( void  )

Definition at line 5246 of file mythplayer.cpp.

Referenced by TV::DoToggleNightMode().

bool MythPlayer::CanVisualise ( void  )

Definition at line 5287 of file mythplayer.cpp.

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

bool MythPlayer::IsVisualising ( void  )

Definition at line 5295 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

QString MythPlayer::GetVisualiserName ( void  )

Definition at line 5302 of file mythplayer.cpp.

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

QStringList MythPlayer::GetVisualiserList ( void  )

Definition at line 5309 of file mythplayer.cpp.

Referenced by TV::PlaybackMenuInit().

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

Definition at line 5316 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

void MythPlayer::SaveTotalDuration ( void  )

Definition at line 5347 of file mythplayer.cpp.

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

void MythPlayer::ResetTotalDuration ( void  )

Definition at line 5355 of file mythplayer.cpp.

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

void MythPlayer::SaveTotalFrames ( void  )

Definition at line 5363 of file mythplayer.cpp.

void MythPlayer::OpenDummy ( void  )
protected

Definition at line 860 of file mythplayer.cpp.

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

void MythPlayer::SetBookmark ( bool  clear = false)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3472 of file mythplayer.cpp.

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

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

Definition at line 3317 of file mythplayer.cpp.

Referenced by TV::PIPAddPlayer().

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

Definition at line 3342 of file mythplayer.cpp.

Referenced by TV::PIPRemovePlayer().

void MythPlayer::NextScanType ( void  )
inlineprotected

Definition at line 366 of file mythplayer.h.

Referenced by TV::ActiveHandleAction().

void MythPlayer::SetScanType ( FrameScanType  scan)
protected
FrameScanType MythPlayer::GetScanType ( void  ) const
inlineprotected

Definition at line 369 of file mythplayer.h.

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

bool MythPlayer::IsScanTypeLocked ( void  ) const
inlineprotected

Definition at line 370 of file mythplayer.h.

Referenced by TV::PlaybackMenuInit().

void MythPlayer::Zoom ( ZoomDirection  direction)
protected

Definition at line 4184 of file mythplayer.cpp.

Referenced by TV::ManualZoomHandleAction().

void MythPlayer::EmbedInWidget ( QRect  rect)
protected

Definition at line 1236 of file mythplayer.cpp.

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

void MythPlayer::StopEmbedding ( void  )
protected

Definition at line 1247 of file mythplayer.cpp.

Referenced by PlayerContext::StopEmbedding().

void MythPlayer::ExposeEvent ( void  )
protected

Definition at line 4193 of file mythplayer.cpp.

Referenced by TV::DrawUnusedRects().

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

Definition at line 1261 of file mythplayer.cpp.

Referenced by TV::event().

uint MythPlayer::AdjustVolume ( int  change)
inlineprotected

Definition at line 381 of file mythplayer.h.

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

uint MythPlayer::SetVolume ( int  newvolume)
inlineprotected

Definition at line 382 of file mythplayer.h.

Referenced by TV::ChangeVolume().

bool MythPlayer::SetMuted ( bool  mute)
inlineprotected
MuteState MythPlayer::SetMuteState ( MuteState  state)
inlineprotected

Definition at line 384 of file mythplayer.h.

Referenced by TV::RestartAllPlayers().

MuteState MythPlayer::IncrMuteState ( void  )
inlineprotected

Definition at line 385 of file mythplayer.h.

Referenced by TV::ToggleMute().

VideoOutput* MythPlayer::GetVideoOutput ( void  )
inlineprotected
OSD* MythPlayer::GetOSD ( void  )
inlineprotected

Definition at line 389 of file mythplayer.h.

Referenced by TV::GetOSDL().

void MythPlayer::SeekForScreenGrab ( uint64_t &  number,
uint64_t  frameNum,
bool  absolute 
)
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 4355 of file mythplayer.cpp.

Referenced by GetScreenGrabAtFrame().

long long MythPlayer::CalcMaxFFTime ( long long  ff,
bool  setjump = true 
) const
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3628 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW(), EventLoop(), FastForward(), and JumpToFrame().

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

Definition at line 3616 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW(), EventLoop(), and Rewind().

void MythPlayer::calcSliderPos ( osdInfo info,
bool  paddedFields = false 
)
protectedvirtual

Definition at line 4727 of file mythplayer.cpp.

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

uint64_t MythPlayer::TranslatePositionFrameToMs ( uint64_t  position,
bool  use_cutlist 
) const
protected

Definition at line 4868 of file mythplayer.cpp.

Referenced by calcSliderPos(), FindFrame(), and GetSecondsPlayed().

uint64_t MythPlayer::TranslatePositionMsToFrame ( uint64_t  position,
bool  use_cutlist 
) const
inlineprotected

Definition at line 399 of file mythplayer.h.

Referenced by CalcMaxFFTime(), and FindFrame().

uint64_t MythPlayer::TranslatePositionAbsToRel ( uint64_t  position) const
inlineprotected

Definition at line 408 of file mythplayer.h.

Referenced by TV::SeekHandleAction().

uint64_t MythPlayer::TranslatePositionRelToAbs ( uint64_t  position) const
inlineprotected

Definition at line 411 of file mythplayer.h.

Referenced by TV::SeekHandleAction().

float MythPlayer::ComputeSecs ( uint64_t  position,
bool  use_cutlist 
) const
inlineprotected
uint64_t MythPlayer::FindFrame ( float  offset,
bool  use_cutlist 
) const
protected

Definition at line 4710 of file mythplayer.cpp.

Referenced by DoFastForwardSecs(), DoRewindSecs(), FastForward(), and Rewind().

void MythPlayer::SetAutoCommercialSkip ( CommSkipMode  autoskip)
inlineprotected

Definition at line 420 of file mythplayer.h.

Referenced by TV::SetAutoCommercialSkip().

void MythPlayer::SkipCommercials ( int  direction)
inlineprotected

Definition at line 422 of file mythplayer.h.

Referenced by TV::DoSkipCommercials().

void MythPlayer::SetCommBreakMap ( frm_dir_map_t newMap)
protected

Definition at line 4615 of file mythplayer.cpp.

Referenced by TV::customEvent().

CommSkipMode MythPlayer::GetAutoCommercialSkip ( void  )
inlineprotected

Definition at line 425 of file mythplayer.h.

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

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

Definition at line 4165 of file mythplayer.cpp.

Referenced by TV::ToggleAspectOverride().

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

Definition at line 4174 of file mythplayer.cpp.

Referenced by TV::ToggleAdjustFill().

bool MythPlayer::StartPlaying ( void  )
protectedvirtual

Definition at line 2733 of file mythplayer.cpp.

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

void MythPlayer::ResetPlaying ( bool  resetframes = true)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2473 of file mythplayer.cpp.

Referenced by JumpToProgram(), and SwitchToProgram().

virtual void MythPlayer::EndPlaying ( void  )
inlineprotectedvirtual

Definition at line 435 of file mythplayer.h.

void MythPlayer::StopPlaying ( void  )
protectedvirtual

Definition at line 2778 of file mythplayer.cpp.

Referenced by PlayerContext::StopPlaying().

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

Definition at line 3070 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)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2410 of file mythplayer.cpp.

Referenced by TV::DoPlayerSeek().

bool MythPlayer::Rewind ( float  seconds)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2425 of file mythplayer.cpp.

Referenced by TV::DoPlayerSeek().

bool MythPlayer::JumpToFrame ( uint64_t  frame)
protectedvirtual
void MythPlayer::JumpChapter ( int  chapter)
protected

Definition at line 2467 of file mythplayer.cpp.

Referenced by TV::DoJumpChapter().

bool MythPlayer::PrebufferEnoughFrames ( int  min_buffers = 0)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2091 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 2033 of file mythplayer.cpp.

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

void MythPlayer::CheckAspectRatio ( VideoFrame frame)
protected
void MythPlayer::DisplayPauseFrame ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2049 of file mythplayer.cpp.

Referenced by VideoLoop(), and WaitForSeek().

void MythPlayer::DisplayNormalFrame ( bool  check_prebuffer = true)
protectedvirtual

Definition at line 2164 of file mythplayer.cpp.

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

void MythPlayer::PreProcessNormalFrame ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2200 of file mythplayer.cpp.

Referenced by DisplayNormalFrame(), and DisplayPauseFrame().

void MythPlayer::VideoStart ( void  )
protectedvirtual

Definition at line 2260 of file mythplayer.cpp.

Referenced by StartPlaying().

bool MythPlayer::VideoLoop ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2379 of file mythplayer.cpp.

Referenced by TV::PlaybackLoop().

void MythPlayer::VideoEnd ( void  )
protectedvirtual

Definition at line 2396 of file mythplayer.cpp.

Referenced by StopPlaying().

void MythPlayer::DecoderStart ( bool  start_paused)
protectedvirtual
void MythPlayer::DecoderLoop ( bool  pause)
protectedvirtual

Definition at line 3170 of file mythplayer.cpp.

void MythPlayer::DecoderEnd ( void  )
protectedvirtual

Definition at line 3111 of file mythplayer.cpp.

Referenced by StopPlaying().

void MythPlayer::DecoderPauseCheck ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3127 of file mythplayer.cpp.

Referenced by DecoderLoop(), and Pause().

void MythPlayer::AudioEnd ( void  )
protectedvirtual

Definition at line 3042 of file mythplayer.cpp.

Referenced by StopPlaying().

void MythPlayer::EventStart ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2790 of file mythplayer.cpp.

Referenced by StartPlaying().

void MythPlayer::EventLoop ( void  )
protectedvirtual

Definition at line 2801 of file mythplayer.cpp.

Referenced by TV::PlaybackLoop().

void MythPlayer::InitialSeek ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2766 of file mythplayer.cpp.

Referenced by StartPlaying().

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

Definition at line 4962 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 4980 of file mythplayer.cpp.

Referenced by TV::ITVRestart().

bool MythPlayer::EnableEdit ( void  )
protected

Definition at line 3893 of file mythplayer.cpp.

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

bool MythPlayer::HandleProgramEditorActions ( QStringList &  actions)
protected

Definition at line 3968 of file mythplayer.cpp.

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

bool MythPlayer::GetEditMode ( void  ) const
inlineprotected
void MythPlayer::DisableEdit ( int  howToSave)
protected

Leave cutlist edit mode, saving work in 1 of 3 ways.

Parameters
howToSaveIf 1, save all changes. If 0, discard all changes. If -1, do not explicitly save changes but leave auto-save information intact in the database.

Definition at line 3944 of file mythplayer.cpp.

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

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

Definition at line 4117 of file mythplayer.cpp.

Referenced by TV::MenuItemDisplayCutlist().

bool MythPlayer::IsTemporaryMark ( uint64_t  frame)
protected

Definition at line 4122 of file mythplayer.cpp.

Referenced by TV::MenuItemDisplayCutlist().

bool MythPlayer::HasTemporaryMark ( void  )
protected

Definition at line 4127 of file mythplayer.cpp.

Referenced by TV::ProcessKeypress().

bool MythPlayer::IsCutListSaved ( void  )
inlineprotected

Definition at line 485 of file mythplayer.h.

Referenced by TV::ProcessKeypress().

bool MythPlayer::DeleteMapHasUndo ( void  )
inlineprotected

Definition at line 486 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

bool MythPlayer::DeleteMapHasRedo ( void  )
inlineprotected

Definition at line 487 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

QString MythPlayer::DeleteMapGetUndoMessage ( void  )
inlineprotected

Definition at line 488 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

QString MythPlayer::DeleteMapGetRedoMessage ( void  )
inlineprotected

Definition at line 489 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

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 5334 of file mythplayer.cpp.

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

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

Definition at line 1442 of file mythplayer.cpp.

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

bool MythPlayer::ToggleCaptions ( uint  mode)
protected

Definition at line 1448 of file mythplayer.cpp.

bool MythPlayer::HasTextSubtitles ( void  )
inlineprotected

Definition at line 502 of file mythplayer.h.

Referenced by TV::GetStatus(), HasCaptionTrack(), and TV::PlaybackMenuInit().

void MythPlayer::SetCaptionsEnabled ( bool  enable,
bool  osd_msg = true 
)
protected
bool MythPlayer::GetCaptionsEnabled ( void  )
protected
void MythPlayer::DisableCaptions ( uint  mode,
bool  osd_msg = true 
)
protectedvirtual
void MythPlayer::EnableCaptions ( uint  mode,
bool  osd_msg = true 
)
protectedvirtual
QStringList MythPlayer::GetTracks ( uint  type)
protected
uint MythPlayer::GetTrackCount ( uint  type)
protected

Definition at line 1520 of file mythplayer.cpp.

Referenced by TV::PlaybackMenuInit().

int MythPlayer::SetTrack ( uint  type,
int  trackNo 
)
protectedvirtual
int MythPlayer::GetTrack ( uint  type)
protected
int MythPlayer::ChangeTrack ( uint  type,
int  dir 
)
protected

Definition at line 1628 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

void MythPlayer::ChangeCaptionTrack ( int  dir)
protected

Definition at line 1643 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

bool MythPlayer::HasCaptionTrack ( int  mode)
protected

Definition at line 1680 of file mythplayer.cpp.

Referenced by NextCaptionTrack(), and SetCaptionsEnabled().

int MythPlayer::NextCaptionTrack ( int  mode)
protected

Definition at line 1697 of file mythplayer.cpp.

Referenced by ChangeCaptionTrack(), and SetCaptionsEnabled().

void MythPlayer::DoDisableForcedSubtitles ( void  )
protected

Definition at line 1600 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::DoEnableForcedSubtitles ( void  )
protected

Definition at line 1609 of file mythplayer.cpp.

Referenced by EventLoop().

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

Definition at line 1267 of file mythplayer.cpp.

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

void MythPlayer::DisableTeletext ( void  )
protected

Definition at line 1278 of file mythplayer.cpp.

Referenced by DisableCaptions(), and HandleTeletextAction().

void MythPlayer::ResetTeletext ( void  )
protected

Definition at line 1293 of file mythplayer.cpp.

Referenced by TV::ChangeChannel().

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

Definition at line 1316 of file mythplayer.cpp.

Referenced by TV::ProcessKeypress().

void MythPlayer::SetTeletextPage ( uint  page)
protected

Set Teletext NUV Caption page.

Definition at line 1305 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

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

Definition at line 3380 of file mythplayer.cpp.

Referenced by TV::ChangeAudioSync().

int64_t MythPlayer::GetAudioTimecodeOffset ( void  ) const
inlineprotected

Definition at line 531 of file mythplayer.h.

Referenced by TV::GetStatus().

void MythPlayer::InitFilters ( void  )
protected

Definition at line 1030 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 644 of file mythplayer.cpp.

Referenced by SetVideoParams().

void MythPlayer::AutoDeint ( VideoFrame frame,
bool  allow_lock = true 
)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 690 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

void MythPlayer::SetPlayingInfo ( const ProgramInfo pginfo)
protected

Definition at line 427 of file mythplayer.cpp.

Referenced by JumpToProgram(), JumpToStream(), 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 4621 of file mythplayer.cpp.

void MythPlayer::PauseVideo ( void  )
protected

Definition at line 410 of file mythplayer.cpp.

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

void MythPlayer::UnpauseVideo ( void  )
protected

Definition at line 418 of file mythplayer.cpp.

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

void MythPlayer::PauseBuffer ( void  )
protected

Definition at line 333 of file mythplayer.cpp.

Referenced by Pause().

void MythPlayer::UnpauseBuffer ( void  )
protected

Definition at line 345 of file mythplayer.cpp.

Referenced by OpenFile(), and Play().

void MythPlayer::CreateDecoder ( char *  testbuf,
int  testreadsize 
)
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 876 of file mythplayer.cpp.

Referenced by OpenFile().

void MythPlayer::SetDecoder ( DecoderBase dec)
protected

Sets the stream decoder, deleting any existing recorder.

Definition at line 5152 of file mythplayer.cpp.

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

const DecoderBase* MythPlayer::GetDecoder ( void  ) const
inlineprotected

Returns the stream decoder currently in use.

Definition at line 562 of file mythplayer.h.

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

Reimplemented in MythDVDPlayer.

Definition at line 3235 of file mythplayer.cpp.

Referenced by DecoderGetFrame().

bool MythPlayer::DecoderGetFrameREW ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3256 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW().

bool MythPlayer::DecoderGetFrame ( DecodeType  decodetype,
bool  unsafe = false 
)
protected

Definition at line 3268 of file mythplayer.cpp.

Referenced by DecoderLoop(), and MythCCExtractorPlayer::run().

bool MythPlayer::UpdateFFRewSkip ( void  )
protected

Definition at line 3498 of file mythplayer.cpp.

Referenced by ChangeSpeed(), and SetVideoParams().

void MythPlayer::ChangeSpeed ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3534 of file mythplayer.cpp.

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

bool MythPlayer::DoFastForward ( uint64_t  frames,
double  inaccuracy 
)
protected
bool MythPlayer::DoRewind ( uint64_t  frames,
double  inaccuracy 
)
protected
bool MythPlayer::DoFastForwardSecs ( float  secs,
double  inaccuracy,
bool  use_cutlist 
)
protected

Definition at line 3782 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions().

bool MythPlayer::DoRewindSecs ( float  secs,
double  inaccuracy,
bool  use_cutlist 
)
protected

Definition at line 3606 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions().

void MythPlayer::DoJumpToFrame ( uint64_t  frame,
double  inaccuracy 
)
protected
void MythPlayer::WaitForSeek ( uint64_t  frame,
uint64_t  seeksnap_wanted 
)
protected

Definition at line 3799 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
clearvideobuffersThis clears the videooutput buffers as well, this is only safe if no old frames are required to continue decoding.

Definition at line 3860 of file mythplayer.cpp.

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

bool MythPlayer::DoJumpChapter ( int  chapter)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 4903 of file mythplayer.cpp.

Referenced by EventLoop().

int64_t MythPlayer::GetChapter ( int  chapter)
protectedvirtual

Reimplemented in MythBDPlayer.

Definition at line 4941 of file mythplayer.cpp.

Referenced by DoJumpChapter().

void MythPlayer::HandleArbSeek ( bool  right)
protected

Definition at line 4132 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 1752 of file mythplayer.cpp.

Referenced by VideoStart().

void MythPlayer::AVSync ( VideoFrame buffer,
bool  limit_delay = false 
)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 1792 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

void MythPlayer::ResetAVSync ( void  )
protected

Definition at line 1743 of file mythplayer.cpp.

Referenced by AVSync(), and ClearAfterSeek().

int64_t MythPlayer::AVSyncGetAudiotime ( void  )
protected

Definition at line 1780 of file mythplayer.cpp.

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

Definition at line 1727 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 681 of file mythplayer.cpp.

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

void MythPlayer::CheckExtraAudioDecode ( void  )
protected

Definition at line 512 of file mythplayer.cpp.

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

void MythPlayer::SwitchToProgram ( void  )
protected

Definition at line 2493 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::JumpToProgram ( void  )
protected

Definition at line 2629 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::JumpToStream ( const QString &  stream)
protected

Definition at line 5053 of file mythplayer.cpp.

Referenced by EventLoop().

void MythPlayer::syncWithAudioStretch ( )
private

Definition at line 5371 of file mythplayer.cpp.

Referenced by ChangeSpeed(), and SetDecoder().

Friends And Related Function Documentation

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

const int MythPlayer::kNightModeBrightenssAdjustment = 10
static

Definition at line 349 of file mythplayer.h.

Referenced by ToggleNightMode().

const int MythPlayer::kNightModeContrastAdjustment = 10
static

Definition at line 350 of file mythplayer.h.

Referenced by ToggleNightMode().

const double MythPlayer::kInaccuracyNone = 0
static
const double MythPlayer::kInaccuracyDefault = 0.1
static

Definition at line 352 of file mythplayer.h.

Referenced by EventLoop().

const double MythPlayer::kInaccuracyEditor = 0.5
static

Definition at line 353 of file mythplayer.h.

Referenced by HandleProgramEditorActions().

const double MythPlayer::kInaccuracyFull = -1.0
static

Definition at line 354 of file mythplayer.h.

Referenced by ChangeSpeed(), DoFastForward(), DoRewind(), and HandleArbSeek().

DetectLetterbox* MythPlayer::detect_letter_box
protected
PlayerFlags MythPlayer::playerFlags
protected
DecoderBase* MythPlayer::decoder
protected

Definition at line 608 of file mythplayer.h.

Referenced by calcSliderPos(), ChangeCaptionTrack(), MythDVDPlayer::ChangeSpeed(), ChangeTrack(), CheckExtraAudioDecode(), DecoderGetFrame(), MythDVDPlayer::DecoderGetFrameFFREW(), DecoderGetFrameFFREW(), DecoderGetFrameREW(), DecoderLoop(), DisableCaptions(), MythDVDPlayer::DoJumpChapter(), EnableCaptions(), EventLoop(), MythDVDPlayer::FastForward(), FileChangedCallback(), GetChapter(), GetChapterTimes(), GetCodecDescription(), GetCurrentChapter(), GetEncodingType(), GetEof(), GetNumChapters(), GetPlaybackData(), GetRawAudioState(), GetStreamPos(), GetTrack(), GetTrackCount(), GetTracks(), GetXDS(), HasCaptionTrack(), InitFilters(), InitForTranscode(), InitVideo(), IsNearEnd(), IsReallyNearEnd(), MythDVDPlayer::JumpToFrame(), JumpToProgram(), JumpToStream(), MythCCExtractorPlayer::OnGotNewFrame(), OpenFile(), Pause(), MythCCExtractorPlayer::Process608Captions(), MythCCExtractorPlayer::Process708Captions(), MythCCExtractorPlayer::ProcessDVBSubtitles(), MythCCExtractorPlayer::ProcessTeletext(), ReinitVideo(), ResetPlaying(), ResetTotalDuration(), MythDVDPlayer::Rewind(), MythCCExtractorPlayer::run(), SaveTotalDuration(), SaveTotalFrames(), SetAudioByComponentTag(), SetDecoder(), SetEof(), SetStreamPos(), SetTrack(), SetTranscoding(), SetVideoByComponentTag(), SetWatchingRecording(), SwitchToProgram(), syncWithAudioStretch(), TranscodeGetNextFrame(), UpdateStoredFrameNum(), VideoLoop(), VideoStart(), WaitForSeek(), and WriteStoredData().

QMutex MythPlayer::decoder_change_lock
mutableprotected
VideoOutput* MythPlayer::videoOutput
protected
PlayerContext* MythPlayer::player_ctx
protected

Definition at line 611 of file mythplayer.h.

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

DecoderThread* MythPlayer::decoderThread
protected
QThread* MythPlayer::playerThread
protected
QWidget* MythPlayer::parentWidget
protected

Definition at line 616 of file mythplayer.h.

Referenced by InitVideo(), and SetPlayerInfo().

bool MythPlayer::embedding
protected

Definition at line 617 of file mythplayer.h.

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

QRect MythPlayer::embedRect
protected

Definition at line 618 of file mythplayer.h.

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

float MythPlayer::defaultDisplayAspect
protected

Definition at line 619 of file mythplayer.h.

Referenced by MythPlayer().

QWaitCondition MythPlayer::decoderThreadPause
protected

Definition at line 622 of file mythplayer.h.

Referenced by PauseDecoder().

QWaitCondition MythPlayer::decoderThreadUnpause
protected

Definition at line 623 of file mythplayer.h.

Referenced by UnpauseDecoder().

QMutex MythPlayer::decoderPauseLock
mutableprotected

Definition at line 624 of file mythplayer.h.

Referenced by PauseDecoder(), and UnpauseDecoder().

QMutex MythPlayer::decoderSeekLock
mutableprotected

Definition at line 625 of file mythplayer.h.

Referenced by DecoderLoop(), and WaitForSeek().

bool MythPlayer::totalDecoderPause
protected

Definition at line 626 of file mythplayer.h.

Referenced by DecoderLoop(), and SetDecoder().

bool MythPlayer::decoderPaused
protected

Definition at line 627 of file mythplayer.h.

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

bool MythPlayer::inJumpToProgramPause
protected

Definition at line 628 of file mythplayer.h.

Referenced by DecoderLoop(), and JumpToProgram().

bool MythPlayer::pauseDecoder
protected

Definition at line 629 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and PauseDecoder().

bool MythPlayer::unpauseDecoder
protected

Definition at line 630 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and UnpauseDecoder().

bool volatile MythPlayer::killdecoder
protected
int64_t MythPlayer::decoderSeek
protected

Definition at line 632 of file mythplayer.h.

Referenced by DecoderLoop(), and WaitForSeek().

bool MythPlayer::decodeOneFrame
protected
bool MythPlayer::needNewPauseFrame
protected
QMutex MythPlayer::bufferPauseLock
mutableprotected

Definition at line 635 of file mythplayer.h.

Referenced by PauseBuffer(), and UnpauseBuffer().

QMutex MythPlayer::videoPauseLock
mutableprotected

Definition at line 636 of file mythplayer.h.

Referenced by PauseVideo(), and UnpauseVideo().

QMutex MythPlayer::pauseLock
mutableprotected

Definition at line 637 of file mythplayer.h.

Referenced by Pause(), and Play().

bool MythPlayer::bufferPaused
protected

Definition at line 638 of file mythplayer.h.

Referenced by Pause(), PauseBuffer(), and UnpauseBuffer().

bool MythPlayer::videoPaused
protected
bool MythPlayer::allpaused
protected
bool MythPlayer::playing
protected

Definition at line 641 of file mythplayer.h.

Referenced by IsPlaying(), and SetPlaying().

QWaitCondition MythPlayer::playingWaitCond
mutableprotected

Definition at line 643 of file mythplayer.h.

Referenced by IsPlaying(), and SetPlaying().

QMutex MythPlayer::vidExitLock
mutableprotected
QMutex MythPlayer::playingLock
mutableprotected

Definition at line 645 of file mythplayer.h.

Referenced by IsPlaying(), and SetPlaying().

bool MythPlayer::m_double_framerate
protected

Output fps is double Video (input) rate.

Definition at line 646 of file mythplayer.h.

Referenced by AVSync(), ChangeSpeed(), FallbackDeint(), ForceDeinterlacer(), SetScanType(), and VideoStart().

bool MythPlayer::m_double_process
protected

Output filter must processed at double rate.

Definition at line 647 of file mythplayer.h.

Referenced by AVSync(), ChangeSpeed(), FallbackDeint(), ForceDeinterlacer(), SetScanType(), and VideoStart().

bool MythPlayer::m_deint_possible
protected

Definition at line 648 of file mythplayer.h.

Referenced by SetScanType().

bool MythPlayer::livetv
protected
bool MythPlayer::watchingrecording
protected

Definition at line 650 of file mythplayer.h.

Referenced by IsWatchingInprogress(), JumpToStream(), OpenFile(), and SetWatchingRecording().

bool MythPlayer::transcoding
protected

Definition at line 651 of file mythplayer.h.

Referenced by OpenFile(), and SetTranscoding().

bool MythPlayer::hasFullPositionMap
protected

Definition at line 652 of file mythplayer.h.

Referenced by EnableEdit(), EventLoop(), OpenFile(), SeekForScreenGrab(), and WaitForSeek().

bool MythPlayer::limitKeyRepeat
mutableprotected

Definition at line 653 of file mythplayer.h.

Referenced by CalcMaxFFTime(), and DoRewind().

QMutex MythPlayer::errorLock
mutableprotected

Definition at line 654 of file mythplayer.h.

Referenced by GetError(), IsErrored(), and SetErrored().

QString MythPlayer::errorMsg
mutableprotected

Reason why NVP exited with a error.

Definition at line 655 of file mythplayer.h.

Referenced by GetError(), IsErrored(), and SetErrored().

int MythPlayer::errorType
mutableprotected

Definition at line 656 of file mythplayer.h.

Referenced by ReinitVideo(), and SetErrored().

int MythPlayer::jumpchapter
protected
uint64_t MythPlayer::bookmarkseek
protected
int MythPlayer::clearSavedPosition
protected

Definition at line 663 of file mythplayer.h.

Referenced by InitialSeek(), and MythPlayer().

int MythPlayer::endExitPrompt
protected

Definition at line 664 of file mythplayer.h.

Referenced by EventLoop(), and MythPlayer().

long long MythPlayer::fftime
protected

If fftime>0, number of frames to seek forward.

If fftime<0, number of frames to seek backward.

Definition at line 669 of file mythplayer.h.

Referenced by ChangeSpeed(), DoFastForward(), EventLoop(), FastForward(), JumpToFrame(), and StartPlaying().

int MythPlayer::videobuf_retries
protected

How often we have tried to wait for a video output buffer and failed.

Definition at line 673 of file mythplayer.h.

Referenced by DecoderGetFrame().

uint64_t MythPlayer::framesPlayed
protected
uint64_t MythPlayer::totalFrames
protected
long long MythPlayer::totalLength
protected
int64_t MythPlayer::totalDuration
protected

Definition at line 677 of file mythplayer.h.

Referenced by GetStreamMaxPos(), GetTotalSeconds(), JumpToStream(), and SetDuration().

long long MythPlayer::rewindtime
protected

Definition at line 678 of file mythplayer.h.

Referenced by ChangeSpeed(), DoRewind(), EventLoop(), JumpToFrame(), Rewind(), and StartPlaying().

QSize MythPlayer::video_disp_dim
protected

Video (input) width & height.

Definition at line 683 of file mythplayer.h.

Referenced by GetCodecDescription(), GetScreenGrabAtFrame(), InitVideo(), ReinitVideo(), and SetVideoParams().

QSize MythPlayer::video_dim
protected

Video (input) buffer width & height.

Definition at line 684 of file mythplayer.h.

Referenced by GetCurrentFrame(), GetScreenGrabAtFrame(), InitFilters(), InitVideo(), ReinitVideo(), and SetVideoParams().

double MythPlayer::video_frame_rate
protected
float MythPlayer::video_aspect
protected

Video (input) Apect Ratio.

Definition at line 686 of file mythplayer.h.

Referenced by CheckAspectRatio(), InitVideo(), ReinitVideo(), and SetVideoParams().

float MythPlayer::forced_video_aspect
protected

Definition at line 687 of file mythplayer.h.

Referenced by ReinitVideo().

FrameScanType MythPlayer::resetScan
protected

Tell the player thread to set the scan type (and hence deinterlacers)

Definition at line 689 of file mythplayer.h.

Referenced by EventLoop(), and SetScanType().

FrameScanType MythPlayer::m_scan
protected

Video (input) Scan Type (interlaced, progressive, detect, ignore...)

Definition at line 691 of file mythplayer.h.

Referenced by AVSync(), ChangeSpeed(), DisplayNormalFrame(), GetCodecDescription(), InitAVSync(), SetScanType(), SetVideoParams(), TranscodeGetNextFrame(), and VideoStart().

bool MythPlayer::m_scan_locked
protected

Set when the user selects a scan type, overriding the detected one.

Definition at line 693 of file mythplayer.h.

Referenced by AutoDeint(), SetScanType(), SetVideoParams(), and VideoStart().

int MythPlayer::m_scan_tracker
protected

Used for tracking of scan type for auto-detection of interlacing.

Definition at line 695 of file mythplayer.h.

Referenced by AutoDeint(), SetVideoParams(), and VideoStart().

bool MythPlayer::m_scan_initialized
protected

Set when SetScanType runs the first time.

Definition at line 697 of file mythplayer.h.

Referenced by SetScanType().

uint MythPlayer::keyframedist
protected

Video (input) Number of frames between key frames (often inaccurate)

Definition at line 699 of file mythplayer.h.

Referenced by EventLoop(), InitForTranscode(), and SetKeyframeDistance().

bool MythPlayer::buffering
protected

Definition at line 702 of file mythplayer.h.

Referenced by SetBuffering().

QTime MythPlayer::buffering_start
protected

Definition at line 703 of file mythplayer.h.

Referenced by PrebufferEnoughFrames(), and SetBuffering().

QTime MythPlayer::buffering_last_msg
protected

Definition at line 704 of file mythplayer.h.

Referenced by PrebufferEnoughFrames(), and SetBuffering().

uint MythPlayer::textDisplayMode
protected
uint MythPlayer::prevTextDisplayMode
protected

Definition at line 708 of file mythplayer.h.

Referenced by DisableTeletext(), and EnableTeletext().

uint MythPlayer::prevNonzeroTextDisplayMode
protected

Definition at line 709 of file mythplayer.h.

Referenced by DisableCaptions(), EnableCaptions(), and SetCaptionsEnabled().

uint MythPlayer::vbimode
protected

VBI decoder to use.

Definition at line 713 of file mythplayer.h.

int MythPlayer::ttPageNum
protected

VBI page to display when in PAL vbimode.

Definition at line 714 of file mythplayer.h.

Referenced by EnableCaptions(), MythPlayer(), and SetTeletextPage().

SubtitleReader MythPlayer::subReader
protected

Definition at line 717 of file mythplayer.h.

TeletextReader MythPlayer::ttxReader
protected

Definition at line 718 of file mythplayer.h.

bool MythPlayer::captionsEnabledbyDefault
protected

This allows us to enable captions/subtitles later if the streams are not immediately available when the video starts playing.

Definition at line 721 of file mythplayer.h.

Referenced by MythPlayer(), and VideoStart().

bool MythPlayer::textDesired
protected

Definition at line 722 of file mythplayer.h.

Referenced by SetCaptionsEnabled(), and TracksChanged().

bool MythPlayer::enableCaptions
protected

Definition at line 723 of file mythplayer.h.

Referenced by EnableSubtitles(), EventLoop(), SetCaptionsEnabled(), and TracksChanged().

bool MythPlayer::disableCaptions
protected

Definition at line 724 of file mythplayer.h.

Referenced by EnableSubtitles(), EventLoop(), and SetCaptionsEnabled().

bool MythPlayer::enableForcedSubtitles
protected

Definition at line 725 of file mythplayer.h.

Referenced by DoEnableForcedSubtitles(), EnableForcedSubtitles(), and EventLoop().

bool MythPlayer::disableForcedSubtitles
protected

Definition at line 726 of file mythplayer.h.

Referenced by DoDisableForcedSubtitles(), EnableForcedSubtitles(), and EventLoop().

bool MythPlayer::allowForcedSubtitles
protected

Definition at line 727 of file mythplayer.h.

Referenced by DoEnableForcedSubtitles(), and SetAllowForcedSubtitles().

CC608Reader MythPlayer::cc608
protected

Definition at line 730 of file mythplayer.h.

Referenced by MythPlayer(), SetTeletextPage(), and SetTrack().

CC708Reader MythPlayer::cc708
protected

Definition at line 731 of file mythplayer.h.

Referenced by SetTrack().

bool MythPlayer::itvVisible
protected

Definition at line 734 of file mythplayer.h.

Referenced by ITVRestart(), PreProcessNormalFrame(), and ReinitOSD().

InteractiveTV* MythPlayer::interactiveTV
protected
bool MythPlayer::itvEnabled
protected

Definition at line 736 of file mythplayer.h.

Referenced by GetInteractiveTV(), and MythPlayer().

QMutex MythPlayer::itvLock
protected
QString MythPlayer::m_newStream
protected

Definition at line 738 of file mythplayer.h.

Referenced by EventLoop(), and SetStream().

OSD* MythPlayer::osd
protected
bool MythPlayer::reinit_osd
protected

Definition at line 742 of file mythplayer.h.

Referenced by EventLoop(), and ReinitOSD().

QMutex MythPlayer::osdLock
protected
AudioPlayer MythPlayer::audio
protected
PIPMap MythPlayer::pip_players
protected
volatile bool MythPlayer::pip_active
protected

Definition at line 750 of file mythplayer.h.

volatile bool MythPlayer::pip_visible
protected

Definition at line 751 of file mythplayer.h.

PIPLocation MythPlayer::pip_default_loc
protected

Definition at line 752 of file mythplayer.h.

Referenced by GetNextPIPLocation(), and MythPlayer().

QMutex MythPlayer::videofiltersLock
protected
QString MythPlayer::videoFiltersForProgram
protected

Definition at line 756 of file mythplayer.h.

Referenced by InitFilters(), and SetVideoFilters().

QString MythPlayer::videoFiltersOverride
protected

Definition at line 757 of file mythplayer.h.

Referenced by InitFilters(), and SetVideoFilters().

int MythPlayer::postfilt_width
protected

Post-Filter (output) width.

Definition at line 758 of file mythplayer.h.

Referenced by InitFilters().

int MythPlayer::postfilt_height
protected

Post-Filter (output) height.

Definition at line 759 of file mythplayer.h.

Referenced by InitFilters().

FilterChain* MythPlayer::videoFilters
protected
FilterManager* MythPlayer::FiltMan
protected

Definition at line 761 of file mythplayer.h.

Referenced by InitFilters(), and ~MythPlayer().

CommBreakMap MythPlayer::commBreakMap
protected
bool MythPlayer::forcePositionMapSync
protected
DeleteMap MythPlayer::deleteMap
protected
bool MythPlayer::pausedBeforeEdit
protected

Definition at line 768 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

QTime MythPlayer::editUpdateTimer
protected

Definition at line 769 of file mythplayer.h.

Referenced by EnableEdit(), and EventLoop().

float MythPlayer::speedBeforeEdit
protected

Definition at line 770 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

QMutex MythPlayer::decoder_lock
protected

Lock for next_play_speed and next_normal_speed.

Definition at line 774 of file mythplayer.h.

float MythPlayer::next_play_speed
protected

Definition at line 775 of file mythplayer.h.

Referenced by ChangeSpeed(), EventLoop(), Pause(), Play(), and StartPlaying().

bool MythPlayer::next_normal_speed
protected

Definition at line 776 of file mythplayer.h.

Referenced by ChangeSpeed(), Pause(), and Play().

float MythPlayer::play_speed
protected
bool MythPlayer::normal_speed
protected
int MythPlayer::frame_interval
protected
int MythPlayer::m_frame_interval
protected

used to detect changes to frame_interval

Definition at line 781 of file mythplayer.h.

Referenced by SetScanType().

int MythPlayer::ffrew_skip
protected
int MythPlayer::ffrew_adjust
protected

Definition at line 784 of file mythplayer.h.

Referenced by DecoderGetFrameFFREW(), DecoderGetFrameREW(), and UpdateFFRewSkip().

VideoSync* MythPlayer::videosync
protected
int MythPlayer::avsync_delay
protected

Definition at line 788 of file mythplayer.h.

Referenced by AVSync(), and VideoStart().

int MythPlayer::avsync_adjustment
protected

Definition at line 789 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

int MythPlayer::avsync_avg
protected

Definition at line 790 of file mythplayer.h.

Referenced by AVSync(), GetPlaybackData(), ResetAVSync(), and VideoStart().

int MythPlayer::avsync_predictor
protected

Definition at line 791 of file mythplayer.h.

Referenced by AVSync(), ResetAVSync(), and SetFrameInterval().

bool MythPlayer::avsync_predictor_enabled
protected

Definition at line 792 of file mythplayer.h.

Referenced by AVSync(), ResetAVSync(), and SetFrameInterval().

int MythPlayer::refreshrate
protected

Definition at line 793 of file mythplayer.h.

Referenced by AVSync(), InitAVSync(), ResetAVSync(), SetFrameInterval(), and VideoStart().

bool MythPlayer::lastsync
protected

Definition at line 794 of file mythplayer.h.

Referenced by AVSync(), and VideoStart().

bool MythPlayer::decode_extra_audio
protected

Definition at line 795 of file mythplayer.h.

Referenced by CheckExtraAudioDecode(), and MythPlayer().

int MythPlayer::repeat_delay
protected

Definition at line 796 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

int64_t MythPlayer::disp_timecode
protected
bool MythPlayer::avsync_audiopaused
protected

Definition at line 798 of file mythplayer.h.

Referenced by AVSync().

int MythPlayer::prevtc
protected

32 bit timecode if last VideoFrame shown

Definition at line 801 of file mythplayer.h.

Referenced by AVSync(), and ResetAVSync().

int MythPlayer::prevrp
protected

repeat_pict of last frame

Definition at line 802 of file mythplayer.h.

Referenced by AVSync().

int64_t MythPlayer::tc_wrap[TCTYPESMAX]
protected
int64_t MythPlayer::tc_lastval[TCTYPESMAX]
protected

Definition at line 804 of file mythplayer.h.

Referenced by ClearAfterSeek(), and MythPlayer().

TV* MythPlayer::m_tv
protected

Definition at line 807 of file mythplayer.h.

Referenced by SetPlayerInfo(), and VideoStart().

bool MythPlayer::isDummy
protected

Definition at line 808 of file mythplayer.h.

Referenced by DecoderLoop(), EventLoop(), JumpToProgram(), OpenDummy(), OpenFile(), and VideoLoop().

Jitterometer* MythPlayer::output_jmeter
protected

Definition at line 811 of file mythplayer.h.

Referenced by AVSync(), EnableFrameRateMonitor(), GetPlaybackData(), and ~MythPlayer().


The documentation for this class was generated from the following files: