MythTV  master
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | 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)
 
 MythPlayer (const MythPlayer &rhs)
 
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 &overridefilter)
 
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. More...
 
void SetKeyframeDistance (int keyframedistance)
 
void SetVideoParams (int w, int h, double fps, FrameScanType scan=kScan_Ignore, const QString &codecName=QString())
 
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())
 
void SetFrameRate (double fps)
 
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. More...
 
AspectOverrideMode GetAspectOverride (void) const
 
AdjustFillMode GetAdjustFill (void) const
 
MuteState GetMuteState (void)
 
int GetFFRewSkip (void) const
 
float GetPlaySpeed (void) const
 
AudioPlayerGetAudio (void)
 
const AudioOutputGraphGetAudioGraph () const
 
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, int divisor=1000) const
 
virtual int64_t GetTotalSeconds (bool honorCutList, int divisor=1000) const
 
int64_t GetLatestVideoTimecode () 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_in_msec=0, bool wait_for=true) const
 
bool AtNormalSpeed (void) const
 
bool IsReallyNearEnd (void) const
 Returns true iff really near end of recording. More...
 
bool IsNearEnd (void)
 Returns true iff near end of recording. More...
 
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 &bufflen, int &vw, int &vh, float &ar)
 Returns a one RGB frame grab from a video. More...
 
virtual char * GetScreenGrab (int secondsin, int &bufflen, int &vw, int &vh, float &ar)
 Returns a one RGB frame grab from a video. More...
 
InteractiveTVGetInteractiveTV (void)
 
VideoOutputGetVideoOutput (void)
 
MythCodecContextGetMythCodecContext (void)
 
virtual bool SwitchTitle (int)
 
virtual bool NextTitle (void)
 
virtual bool PrevTitle (void)
 
virtual bool SwitchAngle (int)
 
virtual bool NextAngle (void)
 
virtual bool PrevAngle (void)
 
void InitForTranscode (bool copyaudio, bool copyvideo)
 
bool TranscodeGetNextFrame (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. More...
 
VideoFrameGetRawVideoFrame (long long frameNumber=-1)
 Returns a specific frame from the video. More...
 
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. More...
 
void ReleaseCurrentFrame (VideoFrame *frame)
 
void ClearDummyVideoFrame (VideoFrame *frame)
 Instructs VideoOutput to clear the frame to black. More...
 
void DiscardVideoFrame (VideoFrame *buffer)
 Places frame in the available frames queue. More...
 
void DiscardVideoFrames (bool next_frame_keyframe)
 Places frames in the available frames queue. More...
 
void DrawSlice (VideoFrame *frame, int x, int y, int w, int h)
 
DecoderBaseGetDecoder (void)
 Returns the stream decoder currently in use. More...
 
void * GetDecoderContext (unsigned char *buf, uint8_t *&id)
 
virtual bool HasReachedEof (void) const
 
void SetDisablePassThrough (bool disabled)
 
void ForceSetupAudioStream (void)
 
void SaveScreenshot (void)
 
void ReinitVideo (void)
 
virtual bool PrepareAudioSample (int64_t &timecode)
 
uint GetCaptionMode (void) const
 
virtual CC708ReaderGetCC708Reader (uint=0)
 
virtual CC608ReaderGetCC608Reader (uint=0)
 
virtual SubtitleReaderGetSubReader (uint=0)
 
virtual TeletextReaderGetTeletextReader (uint=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. More...
 
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. More...
 
bool SetVideoByComponentTag (int tag)
 Selects the video stream using the DVB component tag. More...
 
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) const
 
virtual QString GetTitleName (int) const
 
virtual int GetNumAngles (void) const
 
virtual int GetCurrentAngle (void) const
 
virtual QString GetAngleName (int) const
 
virtual bool GoToMenu (QString)
 
virtual void GoToDVDProgram (bool direction)
 
virtual bool IsInStillFrame () const
 
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)
 
void SetErrored (const QString &reason)
 

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)
 
bool RemovePIPPlayer (MythPlayer *pip)
 
void NextScanType (void)
 
void SetScanType (FrameScanType)
 
FrameScanType GetScanType (void) const
 
bool IsScanTypeLocked (void) const
 
void Zoom (ZoomDirection direction)
 
void ToggleMoveBottomLine (void)
 
void SaveBottomLine (void)
 
void FileChanged (void)
 
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)
 
OSDGetOSD (void)
 
virtual void SeekForScreenGrab (uint64_t &number, uint64_t frameNum, bool absolute)
 
virtual long long CalcMaxFFTime (long long ff, bool setjump=true) const
 CalcMaxFFTime(ffframes): forward ffframes forward. More...
 
long long CalcRWTime (long long rw) const
 CalcRWTime(rw): rewind rw frames back. More...
 
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. More...
 
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. More...
 
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 type)
 
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. More...
 
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 ResetErrored (void)
 
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. More...
 
const DecoderBaseGetDecoder (void) const
 Returns the stream decoder currently in use. More...
 
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... More...
 
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 AVSync2 (VideoFrame *buffer)
 
void ResetAVSync (void)
 
int64_t AVSyncGetAudiotime (void)
 
void SetFrameInterval (FrameScanType scan, double frame_period)
 
void FallbackDeint (void)
 Fallback to non-frame-rate-doubling deinterlacing method. More...
 
void WaitForTime (int64_t framedue)
 
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. More...
 
bool m_double_process
 Output filter must processed at double rate. More...
 
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. More...
 
int errorType
 
int jumpchapter
 
uint64_t bookmarkseek
 
int clearSavedPosition
 
int endExitPrompt
 
long long fftime
 If fftime>0, number of frames to seek forward. More...
 
int videobuf_retries
 How often we have tried to wait for a video output buffer and failed. More...
 
uint64_t framesPlayed
 
uint64_t framesPlayedExtra
 
uint64_t totalFrames
 
long long totalLength
 
int64_t totalDuration
 
long long rewindtime
 
int64_t m_latestVideoTimecode
 
QElapsedTimer m_avTimer
 
QSize video_disp_dim
 Video (input) width & height. More...
 
QSize video_dim
 Video (input) buffer width & height. More...
 
double video_frame_rate
 Video (input) Frame Rate (often inaccurate) More...
 
float video_aspect
 Video (input) Apect Ratio. More...
 
float forced_video_aspect
 
FrameScanType resetScan
 Tell the player thread to set the scan type (and hence deinterlacers) More...
 
FrameScanType m_scan
 Video (input) Scan Type (interlaced, progressive, detect, ignore...) More...
 
bool m_scan_locked
 Set when the user selects a scan type, overriding the detected one. More...
 
int m_scan_tracker
 Used for tracking of scan type for auto-detection of interlacing. More...
 
bool m_scan_initialized
 Set when SetScanType runs the first time. More...
 
uint keyframedist
 Video (input) Number of frames between key frames (often inaccurate) More...
 
QString m_codecName
 Codec Name - used by playback profile. More...
 
bool buffering
 
QTime buffering_start
 
QTime buffering_last_msg
 
uint textDisplayMode
 
uint prevTextDisplayMode
 
uint prevNonzeroTextDisplayMode
 
uint vbimode
 VBI decoder to use. More...
 
int ttPageNum
 VBI page to display when in PAL vbimode. More...
 
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. More...
 
bool textDesired
 
bool enableCaptions
 
bool disableCaptions
 
bool enableForcedSubtitles
 
bool disableForcedSubtitles
 
bool allowForcedSubtitles
 
CC608Reader cc608
 
CC708Reader cc708
 
bool itvVisible
 
InteractiveTVinteractiveTV
 
bool itvEnabled
 
QMutex itvLock
 
QMutex streamLock
 
QString m_newStream
 
OSDosd
 
bool reinit_osd
 
QMutex osdLock
 
AudioPlayer audio
 
AudioOutputGraph m_audiograph
 
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. More...
 
int postfilt_height
 Post-Filter (output) height. More...
 
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. More...
 
float next_play_speed
 
bool next_normal_speed
 
float play_speed
 
bool normal_speed
 
int frame_interval
 always adjusted for play_speed More...
 
int m_frame_interval
 used to detect changes to frame_interval More...
 
int m_fpsMultiplier
 used to detect changes More...
 
int ffrew_skip
 
int ffrew_adjust
 
bool fileChanged
 
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
 
float max_diverge
 
int avsync_averaging
 
int avsync_interval
 
int avsync_next
 
int prevtc
 32 bit timecode if last VideoFrame shown More...
 
int prevrp
 repeat_pict of last frame More...
 
int64_t tc_wrap [TCTYPESMAX]
 
int64_t tc_lastval [TCTYPESMAX]
 
int64_t savedAudioTimecodeOffset
 
int64_t rtcbase
 
int64_t maxtcval
 
int maxtcframes
 
int64_t avsync2adjustms
 
int numdroppedframes
 
int64_t prior_audiotimecode
 
int64_t prior_videotimecode
 
int64_t m_timeOffsetBase
 
TVm_tv
 
bool isDummy
 
int bufferingCounter
 
Jitterometeroutput_jmeter
 

Private Member Functions

void syncWithAudioStretch ()
 

Private Attributes

bool disable_passthrough
 

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

Constructor & Destructor Documentation

◆ MythPlayer() [1/2]

MythPlayer::MythPlayer ( PlayerFlags  flags = kNoFlags)
explicit

Definition at line 125 of file mythplayer.cpp.

◆ MythPlayer() [2/2]

MythPlayer::MythPlayer ( const MythPlayer rhs)

◆ ~MythPlayer()

MythPlayer::~MythPlayer ( void  )
virtual

Definition at line 278 of file mythplayer.cpp.

Member Function Documentation

◆ OpenFile()

int MythPlayer::OpenFile ( uint  retries = 4)
virtual

◆ InitVideo()

bool MythPlayer::InitVideo ( void  )

◆ SetPlayerInfo()

void MythPlayer::SetPlayerInfo ( TV tv,
QWidget *  widget,
PlayerContext ctx 
)

◆ SetLength()

void MythPlayer::SetLength ( int  len)
inline

Definition at line 152 of file mythplayer.h.

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

◆ SetFramesPlayed()

void MythPlayer::SetFramesPlayed ( uint64_t  played)

◆ SetVideoFilters()

void MythPlayer::SetVideoFilters ( const QString &  overridefilter)

◆ SetEof()

void MythPlayer::SetEof ( EofState  eof)

◆ SetPIPActive()

void MythPlayer::SetPIPActive ( bool  is_active)
inline

Definition at line 156 of file mythplayer.h.

Referenced by TV::SetActive().

◆ SetPIPVisible()

void MythPlayer::SetPIPVisible ( bool  is_visible)
inline

Definition at line 157 of file mythplayer.h.

◆ SetTranscoding()

void MythPlayer::SetTranscoding ( bool  value)

Definition at line 3883 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ SetWatchingRecording()

void MythPlayer::SetWatchingRecording ( bool  mode)

◆ SetWatched()

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

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

◆ SetKeyframeDistance()

void MythPlayer::SetKeyframeDistance ( int  keyframedistance)

◆ SetVideoParams()

void MythPlayer::SetVideoParams ( int  w,
int  h,
double  fps,
FrameScanType  scan = kScan_Ignore,
const QString &  codecName = QString() 
)

◆ SetFileLength()

void MythPlayer::SetFileLength ( int  total,
int  frames 
)

◆ SetDuration()

void MythPlayer::SetDuration ( int  duration)

Definition at line 899 of file mythplayer.cpp.

Referenced by AvFormatDecoder::OpenFile().

◆ SetVideoResize()

void MythPlayer::SetVideoResize ( const QRect &  videoRect)

Definition at line 5718 of file mythplayer.cpp.

Referenced by InteractiveScreen::Close(), and MHIContext::DrawVideo().

◆ EnableFrameRateMonitor()

void MythPlayer::EnableFrameRateMonitor ( bool  enable = false)

Definition at line 2682 of file mythplayer.cpp.

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

◆ ForceDeinterlacer()

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

Definition at line 2692 of file mythplayer.cpp.

Referenced by TV::HandleDeinterlacer().

◆ SetFrameRate()

void MythPlayer::SetFrameRate ( double  fps)

Definition at line 884 of file mythplayer.cpp.

Referenced by AvFormatDecoder::ProcessVideoFrame().

◆ GetVideoBufferSize()

QSize MythPlayer::GetVideoBufferSize ( void  ) const
inline

◆ GetVideoSize()

QSize MythPlayer::GetVideoSize ( void  ) const
inline

◆ GetVideoAspect()

float MythPlayer::GetVideoAspect ( void  ) const
inline

◆ GetFrameRate()

float MythPlayer::GetFrameRate ( void  ) const
inline

◆ GetPlaybackData()

void MythPlayer::GetPlaybackData ( InfoMap infoMap)

Definition at line 5303 of file mythplayer.cpp.

Referenced by TV::UpdateOSDDebug().

◆ IsAudioNeeded()

bool MythPlayer::IsAudioNeeded ( void  )
inline

Definition at line 178 of file mythplayer.h.

Referenced by AudioPlayer::ReinitAudio().

◆ GetVolume()

uint MythPlayer::GetVolume ( void  )
inline

◆ GetSecondsBehind()

int MythPlayer::GetSecondsBehind ( void  ) const

Definition at line 5342 of file mythplayer.cpp.

◆ GetFreeVideoFrames()

int MythPlayer::GetFreeVideoFrames ( void  ) const

Returns the number of frames available for decoding onto.

Definition at line 1148 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames().

◆ GetAspectOverride()

AspectOverrideMode MythPlayer::GetAspectOverride ( void  ) const

Definition at line 4801 of file mythplayer.cpp.

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

◆ GetAdjustFill()

AdjustFillMode MythPlayer::GetAdjustFill ( void  ) const

◆ GetMuteState()

MuteState MythPlayer::GetMuteState ( void  )
inline

Definition at line 185 of file mythplayer.h.

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

◆ GetFFRewSkip()

int MythPlayer::GetFFRewSkip ( void  ) const
inline

◆ GetPlaySpeed()

float MythPlayer::GetPlaySpeed ( void  ) const
inline

Definition at line 188 of file mythplayer.h.

Referenced by TV::GetStatus().

◆ GetAudio()

AudioPlayer* MythPlayer::GetAudio ( void  )
inline

◆ GetAudioGraph()

const AudioOutputGraph& MythPlayer::GetAudioGraph ( ) const
inline

Definition at line 190 of file mythplayer.h.

Referenced by OSD::SetGraph().

◆ GetAudioStretchFactor()

float MythPlayer::GetAudioStretchFactor ( void  )
inline

Definition at line 191 of file mythplayer.h.

◆ GetNextPlaySpeed()

float MythPlayer::GetNextPlaySpeed ( void  ) const
inline

◆ GetLength()

int MythPlayer::GetLength ( void  ) const
inline

Definition at line 193 of file mythplayer.h.

◆ GetTotalFrameCount()

uint64_t MythPlayer::GetTotalFrameCount ( void  ) const
inline

◆ GetCurrentFrameCount()

uint64_t MythPlayer::GetCurrentFrameCount ( void  ) const

◆ GetFramesPlayed()

uint64_t MythPlayer::GetFramesPlayed ( void  ) const
inline

◆ GetSecondsPlayed()

int64_t MythPlayer::GetSecondsPlayed ( bool  honorCutList,
int  divisor = 1000 
) const
virtual

Reimplemented in MythDVDPlayer.

Definition at line 5358 of file mythplayer.cpp.

Referenced by calcSliderPos().

◆ GetTotalSeconds()

int64_t MythPlayer::GetTotalSeconds ( bool  honorCutList,
int  divisor = 1000 
) const
virtual

Reimplemented in MythDVDPlayer.

Definition at line 5367 of file mythplayer.cpp.

Referenced by calcSliderPos().

◆ GetLatestVideoTimecode()

int64_t MythPlayer::GetLatestVideoTimecode ( ) const
inline

Definition at line 205 of file mythplayer.h.

Referenced by RefreshPauseFrame().

◆ GetBookmark()

uint64_t MythPlayer::GetBookmark ( void  )
virtual

◆ GetError()

QString MythPlayer::GetError ( void  ) const

Definition at line 5968 of file mythplayer.cpp.

Referenced by TV::HandleStateChange(), and TV::StartTV().

◆ IsErrorRecoverable()

bool MythPlayer::IsErrorRecoverable ( void  ) const
inline

Definition at line 208 of file mythplayer.h.

Referenced by PlayerContext::IsPlayerRecoverable().

◆ IsDecoderErrored()

bool MythPlayer::IsDecoderErrored ( void  ) const
inline

Definition at line 210 of file mythplayer.h.

Referenced by PlayerContext::IsPlayerDecoderErrored().

◆ GetEncodingType()

QString MythPlayer::GetEncodingType ( void  ) const

Definition at line 5112 of file mythplayer.cpp.

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

◆ GetCodecDescription()

void MythPlayer::GetCodecDescription ( InfoMap infoMap)

Definition at line 5119 of file mythplayer.cpp.

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

◆ GetXDS()

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

Definition at line 5153 of file mythplayer.cpp.

Referenced by TV::ChannelEditXDSFill().

◆ GetNextPIPLocation()

PIPLocation MythPlayer::GetNextPIPLocation ( void  ) const

Definition at line 3930 of file mythplayer.cpp.

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

◆ IsPaused()

bool MythPlayer::IsPaused ( void  ) const
inline

◆ GetRawAudioState()

bool MythPlayer::GetRawAudioState ( void  ) const

Definition at line 5146 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ GetLimitKeyRepeat()

bool MythPlayer::GetLimitKeyRepeat ( void  ) const
inline

Definition at line 220 of file mythplayer.h.

Referenced by TV::DoSeek().

◆ GetEof()

EofState MythPlayer::GetEof ( void  ) const

◆ IsErrored()

bool MythPlayer::IsErrored ( void  ) const

◆ IsPlaying()

bool MythPlayer::IsPlaying ( uint  wait_in_msec = 0,
bool  wait_for = true 
) const

◆ AtNormalSpeed()

bool MythPlayer::AtNormalSpeed ( void  ) const
inline

◆ IsReallyNearEnd()

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

Referenced by SwitchToProgram().

◆ IsNearEnd()

bool MythPlayer::IsNearEnd ( void  )

◆ HasAudioOut()

bool MythPlayer::HasAudioOut ( void  ) const
inline

◆ IsPIPActive()

bool MythPlayer::IsPIPActive ( void  ) const
inline

◆ IsPIPVisible()

bool MythPlayer::IsPIPVisible ( void  ) const
inline

◆ IsMuted()

bool MythPlayer::IsMuted ( void  )
inline

◆ PlayerControlsVolume()

bool MythPlayer::PlayerControlsVolume ( void  ) const
inline

◆ UsingNullVideo()

bool MythPlayer::UsingNullVideo ( void  ) const
inline

Definition at line 232 of file mythplayer.h.

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

◆ HasTVChainNext()

bool MythPlayer::HasTVChainNext ( void  ) const

Definition at line 4878 of file mythplayer.cpp.

Referenced by PosMapFromEnc().

◆ CanSupportDoubleRate()

bool MythPlayer::CanSupportDoubleRate ( void  )

◆ GetScreenShot()

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

Definition at line 4871 of file mythplayer.cpp.

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

◆ IsWatchingInprogress()

bool MythPlayer::IsWatchingInprogress ( void  ) const

◆ GetScreenGrabAtFrame()

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

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

◆ GetScreenGrab()

char * MythPlayer::GetScreenGrab ( int  secondsin,
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
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 4898 of file mythplayer.cpp.

Referenced by PreviewGenerator::GetScreenGrab().

◆ GetInteractiveTV()

InteractiveTV * MythPlayer::GetInteractiveTV ( void  )

◆ GetVideoOutput()

VideoOutput* MythPlayer::GetVideoOutput ( void  )
inline

◆ GetMythCodecContext()

MythCodecContext* MythPlayer::GetMythCodecContext ( void  )
inline

Definition at line 245 of file mythplayer.h.

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

◆ SwitchTitle()

virtual bool MythPlayer::SwitchTitle ( int  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 248 of file mythplayer.h.

Referenced by TV::DoSwitchTitle().

◆ NextTitle()

virtual bool MythPlayer::NextTitle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 249 of file mythplayer.h.

◆ PrevTitle()

virtual bool MythPlayer::PrevTitle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 250 of file mythplayer.h.

◆ SwitchAngle()

virtual bool MythPlayer::SwitchAngle ( int  )
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 253 of file mythplayer.h.

Referenced by TV::DoSwitchAngle().

◆ NextAngle()

virtual bool MythPlayer::NextAngle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 254 of file mythplayer.h.

◆ PrevAngle()

virtual bool MythPlayer::PrevAngle ( void  )
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 255 of file mythplayer.h.

◆ InitForTranscode()

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

Definition at line 5160 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ TranscodeGetNextFrame()

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

Definition at line 5189 of file mythplayer.cpp.

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

◆ WriteStoredData()

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

Definition at line 5270 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ UpdateStoredFrameNum()

long MythPlayer::UpdateStoredFrameNum ( long  curFrameNum)

Definition at line 5258 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ SetCutList()

void MythPlayer::SetCutList ( const frm_dir_map_t newCutList)

Definition at line 5265 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ GetNextVideoFrame()

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.

Definition at line 1164 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().

◆ GetRawVideoFrame()

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

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

◆ GetCurrentFrame()

VideoFrame * MythPlayer::GetCurrentFrame ( int &  w,
int &  h 
)

◆ DeLimboFrame()

void MythPlayer::DeLimboFrame ( VideoFrame frame)

◆ ReleaseNextVideoFrame()

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

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

◆ ReleaseCurrentFrame()

void MythPlayer::ReleaseCurrentFrame ( VideoFrame frame)

◆ ClearDummyVideoFrame()

void MythPlayer::ClearDummyVideoFrame ( VideoFrame frame)

Instructs VideoOutput to clear the frame to black.

Definition at line 1194 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames().

◆ DiscardVideoFrame()

void MythPlayer::DiscardVideoFrame ( VideoFrame buffer)

◆ DiscardVideoFrames()

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

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

◆ DrawSlice()

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

Definition at line 1226 of file mythplayer.cpp.

Referenced by render_wrapper_vdpau().

◆ GetDecoder() [1/2]

DecoderBase* MythPlayer::GetDecoder ( void  )
inline

◆ GetDecoderContext()

void * MythPlayer::GetDecoderContext ( unsigned char *  buf,
uint8_t *&  id 
)

◆ HasReachedEof()

bool MythPlayer::HasReachedEof ( void  ) const
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 1239 of file mythplayer.cpp.

Referenced by EventLoop().

◆ SetDisablePassThrough()

void MythPlayer::SetDisablePassThrough ( bool  disabled)

Definition at line 6130 of file mythplayer.cpp.

Referenced by syncWithAudioStretch().

◆ ForceSetupAudioStream()

void MythPlayer::ForceSetupAudioStream ( void  )

Definition at line 6138 of file mythplayer.cpp.

Referenced by TV::EnableUpmix().

◆ SaveScreenshot()

void MythPlayer::SaveScreenshot ( void  )

◆ ReinitVideo()

void MythPlayer::ReinitVideo ( void  )

Definition at line 587 of file mythplayer.cpp.

Referenced by SetVideoParams().

◆ PrepareAudioSample()

bool MythPlayer::PrepareAudioSample ( int64_t &  timecode)
virtual

Reimplemented in MythDVDPlayer.

Definition at line 3968 of file mythplayer.cpp.

Referenced by AudioPlayer::AddAudioData().

◆ GetCaptionMode()

uint MythPlayer::GetCaptionMode ( void  ) const
inline

◆ GetCC708Reader()

virtual CC708Reader* MythPlayer::GetCC708Reader ( uint  = 0)
inlinevirtual

Reimplemented in MythCCExtractorPlayer.

Definition at line 295 of file mythplayer.h.

Referenced by SubtitleScreen::Create().

◆ GetCC608Reader()

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

Reimplemented in MythCCExtractorPlayer.

Definition at line 296 of file mythplayer.h.

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

◆ GetSubReader()

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

◆ GetTeletextReader()

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

Reimplemented in MythCCExtractorPlayer.

Definition at line 298 of file mythplayer.h.

Referenced by TeletextScreen::Create().

◆ TracksChanged()

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

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

◆ EnableSubtitles()

void MythPlayer::EnableSubtitles ( bool  enable)

◆ EnableForcedSubtitles()

void MythPlayer::EnableForcedSubtitles ( bool  enable)

Definition at line 1645 of file mythplayer.cpp.

Referenced by AvFormatDecoder::ProcessSubtitlePacket().

◆ ForcedSubtitlesFavored()

bool MythPlayer::ForcedSubtitlesFavored ( void  ) const
inline

Definition at line 304 of file mythplayer.h.

Referenced by DecoderBase::AutoSelectTrack().

◆ SetAllowForcedSubtitles()

void MythPlayer::SetAllowForcedSubtitles ( bool  allow)

Definition at line 1653 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ GetAllowForcedSubtitles()

bool MythPlayer::GetAllowForcedSubtitles ( void  ) const
inline

◆ SetAudioByComponentTag()

bool MythPlayer::SetAudioByComponentTag ( int  tag)

Selects the audio stream using the DVB component tag.

Definition at line 5729 of file mythplayer.cpp.

Referenced by MHIContext::BeginAudio().

◆ SetVideoByComponentTag()

bool MythPlayer::SetVideoByComponentTag ( int  tag)

Selects the video stream using the DVB component tag.

Definition at line 5741 of file mythplayer.cpp.

Referenced by MHIContext::BeginVideo().

◆ SetStream()

bool MythPlayer::SetStream ( const QString &  stream)

Definition at line 5758 of file mythplayer.cpp.

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

◆ GetStreamPos()

long MythPlayer::GetStreamPos ( )

Definition at line 5850 of file mythplayer.cpp.

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

◆ GetStreamMaxPos()

long MythPlayer::GetStreamMaxPos ( )

Definition at line 5856 of file mythplayer.cpp.

Referenced by MHIContext::GetStreamMaxPos().

◆ SetStreamPos()

long MythPlayer::SetStreamPos ( long  ms)

Definition at line 5864 of file mythplayer.cpp.

Referenced by MHIContext::SetStreamPos().

◆ StreamPlay()

void MythPlayer::StreamPlay ( bool  play = true)

Definition at line 5874 of file mythplayer.cpp.

Referenced by MHIContext::StreamPlay().

◆ CheckTVChain()

void MythPlayer::CheckTVChain ( void  )

◆ FileChangedCallback()

void MythPlayer::FileChangedCallback ( void  )

Definition at line 3094 of file mythplayer.cpp.

Referenced by DecoderBase::FileChanged().

◆ GetNumChapters()

int MythPlayer::GetNumChapters ( void  )
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 5602 of file mythplayer.cpp.

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

◆ GetCurrentChapter()

int MythPlayer::GetCurrentChapter ( void  )
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 5609 of file mythplayer.cpp.

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

◆ GetChapterTimes()

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

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 5616 of file mythplayer.cpp.

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

◆ GetNumTitles()

virtual int MythPlayer::GetNumTitles ( void  ) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 333 of file mythplayer.h.

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

◆ GetCurrentTitle()

virtual int MythPlayer::GetCurrentTitle ( void  ) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 334 of file mythplayer.h.

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

◆ GetTitleDuration()

virtual int MythPlayer::GetTitleDuration ( int  ) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 335 of file mythplayer.h.

Referenced by TV::GetTitleDuration().

◆ GetTitleName()

virtual QString MythPlayer::GetTitleName ( int  ) const
inlinevirtual

Reimplemented in MythBDPlayer.

Definition at line 336 of file mythplayer.h.

Referenced by TV::GetTitleName().

◆ GetNumAngles()

virtual int MythPlayer::GetNumAngles ( void  ) const
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 339 of file mythplayer.h.

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

◆ GetCurrentAngle()

virtual int MythPlayer::GetCurrentAngle ( void  ) const
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 340 of file mythplayer.h.

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

◆ GetAngleName()

virtual QString MythPlayer::GetAngleName ( int  ) const
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 341 of file mythplayer.h.

Referenced by TV::GetAngleName().

◆ GoToMenu()

virtual bool MythPlayer::GoToMenu ( QString  )
inlinevirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 344 of file mythplayer.h.

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

◆ GoToDVDProgram()

virtual void MythPlayer::GoToDVDProgram ( bool  direction)
inlinevirtual

Reimplemented in MythDVDPlayer.

Definition at line 345 of file mythplayer.h.

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

◆ IsInStillFrame()

virtual bool MythPlayer::IsInStillFrame ( void  ) const
inlinevirtual

Reimplemented in MythDVDPlayer.

Definition at line 346 of file mythplayer.h.

Referenced by UnpauseDecoder().

◆ PosMapFromEnc()

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

Definition at line 5916 of file mythplayer.cpp.

Referenced by DecoderBase::PosMapFromEnc().

◆ TryLockOSD()

bool MythPlayer::TryLockOSD ( void  )
inline

Definition at line 354 of file mythplayer.h.

◆ LockOSD()

void MythPlayer::LockOSD ( void  )
inline

Definition at line 355 of file mythplayer.h.

Referenced by PlayerContext::LockOSD().

◆ UnlockOSD()

void MythPlayer::UnlockOSD ( void  )
inline

Definition at line 356 of file mythplayer.h.

Referenced by PlayerContext::UnlockOSD().

◆ ToggleStudioLevels()

void MythPlayer::ToggleStudioLevels ( void  )

Definition at line 5974 of file mythplayer.cpp.

Referenced by TV::DoToggleStudioLevels().

◆ ToggleNightMode()

void MythPlayer::ToggleNightMode ( void  )

Definition at line 5991 of file mythplayer.cpp.

Referenced by TV::DoToggleNightMode().

◆ CanVisualise()

bool MythPlayer::CanVisualise ( void  )

Definition at line 6032 of file mythplayer.cpp.

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

◆ IsVisualising()

bool MythPlayer::IsVisualising ( void  )

Definition at line 6040 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

◆ GetVisualiserName()

QString MythPlayer::GetVisualiserName ( void  )

Definition at line 6047 of file mythplayer.cpp.

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

◆ GetVisualiserList()

QStringList MythPlayer::GetVisualiserList ( void  )

Definition at line 6054 of file mythplayer.cpp.

Referenced by TV::PlaybackMenuInit().

◆ EnableVisualisation()

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

Definition at line 6061 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

◆ SaveTotalDuration()

void MythPlayer::SaveTotalDuration ( void  )

Definition at line 6092 of file mythplayer.cpp.

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

◆ ResetTotalDuration()

void MythPlayer::ResetTotalDuration ( void  )

Definition at line 6100 of file mythplayer.cpp.

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

◆ SaveTotalFrames()

void MythPlayer::SaveTotalFrames ( void  )

Definition at line 6108 of file mythplayer.cpp.

◆ SetErrored()

void MythPlayer::SetErrored ( const QString &  reason)

◆ OpenDummy()

void MythPlayer::OpenDummy ( void  )
protected

Definition at line 904 of file mythplayer.cpp.

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

◆ SetBookmark()

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

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 4054 of file mythplayer.cpp.

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

◆ AddPIPPlayer()

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

Definition at line 3891 of file mythplayer.cpp.

Referenced by TV::PIPAddPlayer().

◆ RemovePIPPlayer()

bool MythPlayer::RemovePIPPlayer ( MythPlayer pip)
protected

Definition at line 3916 of file mythplayer.cpp.

Referenced by TV::PIPRemovePlayer().

◆ NextScanType()

void MythPlayer::NextScanType ( void  )
inlineprotected

Definition at line 390 of file mythplayer.h.

Referenced by TV::ActiveHandleAction().

◆ SetScanType()

void MythPlayer::SetScanType ( FrameScanType  scan)
protected

◆ GetScanType()

FrameScanType MythPlayer::GetScanType ( void  ) const
inlineprotected

Definition at line 393 of file mythplayer.h.

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

◆ IsScanTypeLocked()

bool MythPlayer::IsScanTypeLocked ( void  ) const
inlineprotected

Definition at line 394 of file mythplayer.h.

Referenced by TV::PlaybackMenuInit().

◆ Zoom()

void MythPlayer::Zoom ( ZoomDirection  direction)
protected

Definition at line 4834 of file mythplayer.cpp.

Referenced by TV::ManualZoomHandleAction().

◆ ToggleMoveBottomLine()

void MythPlayer::ToggleMoveBottomLine ( void  )
protected

Definition at line 4843 of file mythplayer.cpp.

Referenced by TV::ToggleMoveBottomLine().

◆ SaveBottomLine()

void MythPlayer::SaveBottomLine ( void  )
protected

Definition at line 4852 of file mythplayer.cpp.

Referenced by TV::SaveBottomLine().

◆ FileChanged()

void MythPlayer::FileChanged ( void  )
protected

Definition at line 3101 of file mythplayer.cpp.

Referenced by EventLoop().

◆ EmbedInWidget()

void MythPlayer::EmbedInWidget ( QRect  rect)
protected

Definition at line 1288 of file mythplayer.cpp.

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

◆ StopEmbedding()

void MythPlayer::StopEmbedding ( void  )
protected

Definition at line 1299 of file mythplayer.cpp.

Referenced by PlayerContext::StopEmbedding().

◆ ExposeEvent()

void MythPlayer::ExposeEvent ( void  )
protected

Definition at line 4858 of file mythplayer.cpp.

Referenced by TV::DrawUnusedRects().

◆ IsEmbedding()

bool MythPlayer::IsEmbedding ( void  )
protected

◆ WindowResized()

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

Definition at line 1313 of file mythplayer.cpp.

Referenced by TV::event().

◆ AdjustVolume()

uint MythPlayer::AdjustVolume ( int  change)
inlineprotected

Definition at line 409 of file mythplayer.h.

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

◆ SetVolume()

uint MythPlayer::SetVolume ( int  newvolume)
inlineprotected

Definition at line 410 of file mythplayer.h.

Referenced by TV::ChangeVolume().

◆ SetMuted()

bool MythPlayer::SetMuted ( bool  mute)
inlineprotected

◆ SetMuteState()

MuteState MythPlayer::SetMuteState ( MuteState  state)
inlineprotected

Definition at line 412 of file mythplayer.h.

Referenced by TV::RestartAllPlayers().

◆ IncrMuteState()

MuteState MythPlayer::IncrMuteState ( void  )
inlineprotected

Definition at line 413 of file mythplayer.h.

Referenced by TV::ToggleMute().

◆ GetOSD()

OSD* MythPlayer::GetOSD ( void  )
inlineprotected

Definition at line 416 of file mythplayer.h.

Referenced by TV::GetOSDL().

◆ SeekForScreenGrab()

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

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 5022 of file mythplayer.cpp.

Referenced by GetScreenGrabAtFrame().

◆ CalcMaxFFTime()

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

CalcMaxFFTime(ffframes): forward ffframes forward.

Handle liveTV transitions if necessay

Reimplemented in MythDVDPlayer.

Definition at line 4241 of file mythplayer.cpp.

Referenced by MythDVDPlayer::CalcMaxFFTime(), DecoderGetFrameFFREW(), EventLoop(), FastForward(), and JumpToFrame().

◆ CalcRWTime()

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

CalcRWTime(rw): rewind rw frames back.

Handle liveTV transitions if necessary

Definition at line 4222 of file mythplayer.cpp.

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

◆ calcSliderPos()

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

Definition at line 5438 of file mythplayer.cpp.

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

◆ TranslatePositionFrameToMs()

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

Definition at line 5586 of file mythplayer.cpp.

Referenced by AVSync2(), FindFrame(), GetSecondsPlayed(), and GetTotalSeconds().

◆ TranslatePositionMsToFrame()

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

Definition at line 426 of file mythplayer.h.

Referenced by AVSync2(), CalcMaxFFTime(), FastForward(), FindFrame(), JumpToProgram(), and Rewind().

◆ TranslatePositionAbsToRel()

uint64_t MythPlayer::TranslatePositionAbsToRel ( uint64_t  position) const
inlineprotected

Definition at line 435 of file mythplayer.h.

Referenced by TV::SeekHandleAction().

◆ TranslatePositionRelToAbs()

uint64_t MythPlayer::TranslatePositionRelToAbs ( uint64_t  position) const
inlineprotected

Definition at line 438 of file mythplayer.h.

Referenced by TV::SeekHandleAction().

◆ ComputeSecs()

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

◆ FindFrame()

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

Definition at line 5392 of file mythplayer.cpp.

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

◆ SetAutoCommercialSkip()

void MythPlayer::SetAutoCommercialSkip ( CommSkipMode  autoskip)
inlineprotected

Definition at line 447 of file mythplayer.h.

Referenced by TV::SetAutoCommercialSkip().

◆ SkipCommercials()

void MythPlayer::SkipCommercials ( int  direction)
inlineprotected

Definition at line 449 of file mythplayer.h.

Referenced by TV::DoSkipCommercials().

◆ SetCommBreakMap()

void MythPlayer::SetCommBreakMap ( frm_dir_map_t newMap)
protected

Definition at line 5281 of file mythplayer.cpp.

Referenced by TV::customEvent().

◆ GetAutoCommercialSkip()

CommSkipMode MythPlayer::GetAutoCommercialSkip ( void  )
inlineprotected

Definition at line 452 of file mythplayer.h.

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

◆ ToggleAspectOverride()

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

Definition at line 4815 of file mythplayer.cpp.

Referenced by TV::ToggleAspectOverride().

◆ ToggleAdjustFill()

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

Definition at line 4824 of file mythplayer.cpp.

Referenced by TV::ToggleAdjustFill().

◆ StartPlaying()

bool MythPlayer::StartPlaying ( void  )
protectedvirtual

Definition at line 3260 of file mythplayer.cpp.

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

◆ ResetPlaying()

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

Reimplemented in MythDVDPlayer.

Definition at line 2960 of file mythplayer.cpp.

Referenced by JumpToProgram(), MythDVDPlayer::ResetPlaying(), and SwitchToProgram().

◆ EndPlaying()

virtual void MythPlayer::EndPlaying ( void  )
inlineprotectedvirtual

Definition at line 462 of file mythplayer.h.

◆ StopPlaying()

void MythPlayer::StopPlaying ( void  )
protectedvirtual

Definition at line 3310 of file mythplayer.cpp.

Referenced by PlayerContext::StopPlaying().

◆ PauseDecoder()

bool MythPlayer::PauseDecoder ( void  )
protected

◆ UnpauseDecoder()

void MythPlayer::UnpauseDecoder ( void  )
protected

Definition at line 3630 of file mythplayer.cpp.

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

◆ Pause()

bool MythPlayer::Pause ( void  )
protected

◆ Play()

bool MythPlayer::Play ( float  speed = 1.0,
bool  normal = true,
bool  unpauseaudio = true 
)
protected

◆ FastForward()

bool MythPlayer::FastForward ( float  seconds)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2886 of file mythplayer.cpp.

Referenced by TV::DoPlayerSeek(), and MythDVDPlayer::FastForward().

◆ Rewind()

bool MythPlayer::Rewind ( float  seconds)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2911 of file mythplayer.cpp.

Referenced by TV::DoPlayerSeek(), and MythDVDPlayer::Rewind().

◆ JumpToFrame()

bool MythPlayer::JumpToFrame ( uint64_t  frame)
protectedvirtual

◆ JumpChapter()

void MythPlayer::JumpChapter ( int  chapter)
protected

Definition at line 2954 of file mythplayer.cpp.

Referenced by TV::DoJumpChapter().

◆ PrebufferEnoughFrames()

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

◆ SetBuffering()

void MythPlayer::SetBuffering ( bool  new_buffering)
protected

◆ RefreshPauseFrame()

void MythPlayer::RefreshPauseFrame ( void  )
protected

Definition at line 2409 of file mythplayer.cpp.

Referenced by DisplayPauseFrame().

◆ CheckAspectRatio()

void MythPlayer::CheckAspectRatio ( VideoFrame frame)
protected

◆ DisplayPauseFrame()

void MythPlayer::DisplayPauseFrame ( void  )
protectedvirtual

◆ DisplayNormalFrame()

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

Definition at line 2608 of file mythplayer.cpp.

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

◆ PreProcessNormalFrame()

void MythPlayer::PreProcessNormalFrame ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2644 of file mythplayer.cpp.

Referenced by DisplayNormalFrame(), and DisplayPauseFrame().

◆ VideoStart()

void MythPlayer::VideoStart ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2721 of file mythplayer.cpp.

Referenced by StartPlaying(), MythBDPlayer::VideoStart(), and MythDVDPlayer::VideoStart().

◆ VideoLoop()

bool MythPlayer::VideoLoop ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 2843 of file mythplayer.cpp.

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

◆ VideoEnd()

void MythPlayer::VideoEnd ( void  )
protectedvirtual

Definition at line 2872 of file mythplayer.cpp.

Referenced by StopPlaying().

◆ DecoderStart()

void MythPlayer::DecoderStart ( bool  start_paused)
protectedvirtual

◆ DecoderLoop()

void MythPlayer::DecoderLoop ( bool  pause)
protectedvirtual

Definition at line 3735 of file mythplayer.cpp.

◆ DecoderEnd()

void MythPlayer::DecoderEnd ( void  )
protectedvirtual

Definition at line 3675 of file mythplayer.cpp.

Referenced by StopPlaying().

◆ DecoderPauseCheck()

void MythPlayer::DecoderPauseCheck ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3692 of file mythplayer.cpp.

Referenced by DecoderLoop(), MythDVDPlayer::DecoderPauseCheck(), and Pause().

◆ AudioEnd()

void MythPlayer::AudioEnd ( void  )
protectedvirtual

Definition at line 3602 of file mythplayer.cpp.

Referenced by StopPlaying().

◆ EventStart()

void MythPlayer::EventStart ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 3325 of file mythplayer.cpp.

Referenced by MythBDPlayer::EventStart(), MythDVDPlayer::EventStart(), and StartPlaying().

◆ EventLoop()

void MythPlayer::EventLoop ( void  )
protectedvirtual

Definition at line 3343 of file mythplayer.cpp.

Referenced by TV::PlaybackLoop().

◆ InitialSeek()

void MythPlayer::InitialSeek ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3298 of file mythplayer.cpp.

Referenced by MythDVDPlayer::InitialSeek(), and StartPlaying().

◆ ITVHandleAction()

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

Definition at line 5681 of file mythplayer.cpp.

Referenced by TV::ProcessKeypressOrGesture().

◆ ITVRestart()

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

Restart the MHEG/MHP engine.

Definition at line 5701 of file mythplayer.cpp.

Referenced by TV::ITVRestart().

◆ EnableEdit()

bool MythPlayer::EnableEdit ( void  )
protected

Definition at line 4525 of file mythplayer.cpp.

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

◆ HandleProgramEditorActions()

bool MythPlayer::HandleProgramEditorActions ( QStringList &  actions)
protected

Definition at line 4614 of file mythplayer.cpp.

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

◆ GetEditMode()

bool MythPlayer::GetEditMode ( void  ) const
inlineprotected

◆ DisableEdit()

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

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

◆ IsInDelete()

bool MythPlayer::IsInDelete ( uint64_t  frame)
protected

◆ GetNearestMark()

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

Definition at line 4767 of file mythplayer.cpp.

Referenced by TV::MenuItemDisplayCutlist().

◆ IsTemporaryMark()

bool MythPlayer::IsTemporaryMark ( uint64_t  frame)
protected

Definition at line 4772 of file mythplayer.cpp.

Referenced by TV::MenuItemDisplayCutlist().

◆ HasTemporaryMark()

bool MythPlayer::HasTemporaryMark ( void  )
protected

Definition at line 4777 of file mythplayer.cpp.

Referenced by TV::ProcessKeypressOrGesture().

◆ IsCutListSaved()

bool MythPlayer::IsCutListSaved ( void  )
inlineprotected

Definition at line 512 of file mythplayer.h.

Referenced by TV::ProcessKeypressOrGesture().

◆ DeleteMapHasUndo()

bool MythPlayer::DeleteMapHasUndo ( void  )
inlineprotected

Definition at line 513 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

◆ DeleteMapHasRedo()

bool MythPlayer::DeleteMapHasRedo ( void  )
inlineprotected

Definition at line 514 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

◆ DeleteMapGetUndoMessage()

QString MythPlayer::DeleteMapGetUndoMessage ( void  )
inlineprotected

Definition at line 515 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

◆ DeleteMapGetRedoMessage()

QString MythPlayer::DeleteMapGetRedoMessage ( void  )
inlineprotected

Definition at line 516 of file mythplayer.h.

Referenced by TV::MenuItemDisplayCutlist().

◆ ReinitOSD()

void MythPlayer::ReinitOSD ( void  )
protected

◆ SetOSDMessage()

void MythPlayer::SetOSDMessage ( const QString &  msg,
OSDTimeout  timeout 
)
protected

◆ SetOSDStatus()

void MythPlayer::SetOSDStatus ( const QString &  title,
OSDTimeout  timeout 
)
protected

Definition at line 6079 of file mythplayer.cpp.

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

◆ ResetCaptions()

void MythPlayer::ResetCaptions ( void  )
protected

◆ ToggleCaptions() [1/2]

bool MythPlayer::ToggleCaptions ( void  )
protected

Definition at line 1502 of file mythplayer.cpp.

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

◆ ToggleCaptions() [2/2]

bool MythPlayer::ToggleCaptions ( uint  type)
protected

Definition at line 1508 of file mythplayer.cpp.

◆ HasTextSubtitles()

bool MythPlayer::HasTextSubtitles ( void  )
inlineprotected

Definition at line 529 of file mythplayer.h.

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

◆ SetCaptionsEnabled()

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

◆ GetCaptionsEnabled()

bool MythPlayer::GetCaptionsEnabled ( void  )
protected

◆ DisableCaptions()

void MythPlayer::DisableCaptions ( uint  mode,
bool  osd_msg = true 
)
protectedvirtual

◆ EnableCaptions()

void MythPlayer::EnableCaptions ( uint  mode,
bool  osd_msg = true 
)
protectedvirtual

◆ GetTracks()

QStringList MythPlayer::GetTracks ( uint  type)
protected

◆ GetTrackCount()

uint MythPlayer::GetTrackCount ( uint  type)
protected

Definition at line 1582 of file mythplayer.cpp.

Referenced by TV::PlaybackMenuInit().

◆ SetTrack()

int MythPlayer::SetTrack ( uint  type,
int  trackNo 
)
protectedvirtual

◆ GetTrack()

int MythPlayer::GetTrack ( uint  type)
protected

◆ ChangeTrack()

int MythPlayer::ChangeTrack ( uint  type,
int  dir 
)
protected

Definition at line 1690 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ ChangeCaptionTrack()

void MythPlayer::ChangeCaptionTrack ( int  dir)
protected

Definition at line 1705 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ HasCaptionTrack()

bool MythPlayer::HasCaptionTrack ( int  mode)
protected

Definition at line 1742 of file mythplayer.cpp.

Referenced by NextCaptionTrack(), and SetCaptionsEnabled().

◆ NextCaptionTrack()

int MythPlayer::NextCaptionTrack ( int  mode)
protected

Definition at line 1759 of file mythplayer.cpp.

Referenced by ChangeCaptionTrack(), and SetCaptionsEnabled().

◆ DoDisableForcedSubtitles()

void MythPlayer::DoDisableForcedSubtitles ( void  )
protected

Definition at line 1662 of file mythplayer.cpp.

Referenced by EventLoop().

◆ DoEnableForcedSubtitles()

void MythPlayer::DoEnableForcedSubtitles ( void  )
protected

Definition at line 1671 of file mythplayer.cpp.

Referenced by EventLoop().

◆ EnableTeletext()

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

Definition at line 1319 of file mythplayer.cpp.

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

◆ DisableTeletext()

void MythPlayer::DisableTeletext ( void  )
protected

Definition at line 1330 of file mythplayer.cpp.

Referenced by DisableCaptions(), and HandleTeletextAction().

◆ ResetTeletext()

void MythPlayer::ResetTeletext ( void  )
protected

Definition at line 1345 of file mythplayer.cpp.

Referenced by TV::ChangeChannel().

◆ HandleTeletextAction()

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

Definition at line 1368 of file mythplayer.cpp.

Referenced by TV::ProcessKeypressOrGesture().

◆ SetTeletextPage()

void MythPlayer::SetTeletextPage ( uint  page)
protected

Set Teletext NUV Caption page.

Definition at line 1357 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ AdjustAudioTimecodeOffset()

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

Definition at line 3954 of file mythplayer.cpp.

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

◆ GetAudioTimecodeOffset()

int64_t MythPlayer::GetAudioTimecodeOffset ( void  ) const
inlineprotected

Definition at line 558 of file mythplayer.h.

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

◆ InitFilters()

void MythPlayer::InitFilters ( void  )
protected

Definition at line 1087 of file mythplayer.cpp.

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

◆ detectInterlace()

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

Definition at line 651 of file mythplayer.cpp.

Referenced by SetVideoParams().

◆ AutoDeint()

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

Reimplemented in MythDVDPlayer.

Definition at line 702 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

◆ SetPlayingInfo()

void MythPlayer::SetPlayingInfo ( const ProgramInfo pginfo)
protected

Definition at line 455 of file mythplayer.cpp.

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

◆ SetPlaying()

void MythPlayer::SetPlaying ( bool  is_playing)
protected

◆ ResetErrored()

void MythPlayer::ResetErrored ( void  )
protected

Definition at line 5955 of file mythplayer.cpp.

Referenced by TV::HandleStateChange().

◆ GetStatusbarPos()

int MythPlayer::GetStatusbarPos ( void  ) const
protected

Definition at line 5287 of file mythplayer.cpp.

◆ PauseVideo()

void MythPlayer::PauseVideo ( void  )
protected

Definition at line 438 of file mythplayer.cpp.

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

◆ UnpauseVideo()

void MythPlayer::UnpauseVideo ( void  )
protected

Definition at line 446 of file mythplayer.cpp.

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

◆ PauseBuffer()

void MythPlayer::PauseBuffer ( void  )
protected

Definition at line 356 of file mythplayer.cpp.

Referenced by Pause().

◆ UnpauseBuffer()

void MythPlayer::UnpauseBuffer ( void  )
protected

Definition at line 368 of file mythplayer.cpp.

Referenced by OpenFile(), and Play().

◆ CreateDecoder()

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

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 920 of file mythplayer.cpp.

Referenced by OpenFile().

◆ SetDecoder()

void MythPlayer::SetDecoder ( DecoderBase dec)
protected

Sets the stream decoder, deleting any existing recorder.

Definition at line 5885 of file mythplayer.cpp.

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

◆ GetDecoder() [2/2]

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

Returns the stream decoder currently in use.

Definition at line 589 of file mythplayer.h.

◆ DecodeFrame()

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

◆ DecoderGetFrameFFREW()

bool MythPlayer::DecoderGetFrameFFREW ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3800 of file mythplayer.cpp.

Referenced by DecoderGetFrame(), and MythDVDPlayer::DecoderGetFrameFFREW().

◆ DecoderGetFrameREW()

bool MythPlayer::DecoderGetFrameREW ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3824 of file mythplayer.cpp.

Referenced by DecoderGetFrameFFREW(), and MythDVDPlayer::DecoderGetFrameREW().

◆ DecoderGetFrame()

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

Definition at line 3836 of file mythplayer.cpp.

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

◆ UpdateFFRewSkip()

bool MythPlayer::UpdateFFRewSkip ( void  )
protected

Definition at line 4087 of file mythplayer.cpp.

Referenced by ChangeSpeed(), DisplayNormalFrame(), and SetVideoParams().

◆ ChangeSpeed()

void MythPlayer::ChangeSpeed ( void  )
protectedvirtual

◆ DoFastForward()

bool MythPlayer::DoFastForward ( uint64_t  frames,
double  inaccuracy 
)
protected

◆ DoRewind()

bool MythPlayer::DoRewind ( uint64_t  frames,
double  inaccuracy 
)
protected

◆ DoFastForwardSecs()

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

Definition at line 4401 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions().

◆ DoRewindSecs()

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

Definition at line 4207 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions().

◆ DoJumpToFrame()

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

◆ WaitForSeek()

void MythPlayer::WaitForSeek ( uint64_t  frame,
uint64_t  seeksnap_wanted 
)
protected

Definition at line 4418 of file mythplayer.cpp.

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

◆ ClearAfterSeek()

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

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

◆ DoJumpChapter()

bool MythPlayer::DoJumpChapter ( int  chapter)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 5622 of file mythplayer.cpp.

Referenced by EventLoop().

◆ GetChapter()

int64_t MythPlayer::GetChapter ( int  chapter)
protectedvirtual

Reimplemented in MythBDPlayer.

Definition at line 5660 of file mythplayer.cpp.

Referenced by DoJumpChapter().

◆ HandleArbSeek()

void MythPlayer::HandleArbSeek ( bool  right)
protected

Definition at line 4782 of file mythplayer.cpp.

Referenced by HandleProgramEditorActions().

◆ WrapTimecode()

void MythPlayer::WrapTimecode ( int64_t &  timecode,
TCTypes  tc_type 
)
protected

◆ InitAVSync()

void MythPlayer::InitAVSync ( void  )
protected

Definition at line 1821 of file mythplayer.cpp.

Referenced by VideoStart().

◆ AVSync()

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

Reimplemented in MythDVDPlayer.

Definition at line 1881 of file mythplayer.cpp.

Referenced by MythDVDPlayer::AVSync(), and DisplayNormalFrame().

◆ AVSync2()

void MythPlayer::AVSync2 ( VideoFrame buffer)
protected

Definition at line 2182 of file mythplayer.cpp.

Referenced by AVSync().

◆ ResetAVSync()

void MythPlayer::ResetAVSync ( void  )
protected

Definition at line 1808 of file mythplayer.cpp.

Referenced by AVSync(), and ClearAfterSeek().

◆ AVSyncGetAudiotime()

int64_t MythPlayer::AVSyncGetAudiotime ( void  )
protected

Definition at line 1871 of file mythplayer.cpp.

◆ SetFrameInterval()

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

Definition at line 1789 of file mythplayer.cpp.

Referenced by InitAVSync(), SetFrameRate(), and SetVideoParams().

◆ FallbackDeint()

void MythPlayer::FallbackDeint ( void  )
protected

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

Definition at line 688 of file mythplayer.cpp.

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

◆ WaitForTime()

void MythPlayer::WaitForTime ( int64_t  framedue)
protected

Definition at line 2173 of file mythplayer.cpp.

Referenced by AVSync2().

◆ SwitchToProgram()

void MythPlayer::SwitchToProgram ( void  )
protected

Definition at line 2980 of file mythplayer.cpp.

Referenced by EventLoop().

◆ JumpToProgram()

void MythPlayer::JumpToProgram ( void  )
protected

Definition at line 3130 of file mythplayer.cpp.

Referenced by EventLoop().

◆ JumpToStream()

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

Definition at line 5782 of file mythplayer.cpp.

Referenced by EventLoop().

◆ syncWithAudioStretch()

void MythPlayer::syncWithAudioStretch ( )
private

Definition at line 6116 of file mythplayer.cpp.

Referenced by ChangeSpeed(), and SetDecoder().

Friends And Related Function Documentation

◆ PlayerContext

friend class PlayerContext
friend

Definition at line 127 of file mythplayer.h.

◆ CC708Reader

friend class CC708Reader
friend

Definition at line 128 of file mythplayer.h.

Referenced by MythCCExtractorPlayer::GetCC708Reader().

◆ CC608Reader

friend class CC608Reader
friend

Definition at line 129 of file mythplayer.h.

Referenced by MythCCExtractorPlayer::GetCC608Reader().

◆ DecoderThread

friend class DecoderThread
friend

Definition at line 130 of file mythplayer.h.

Referenced by DecoderStart().

◆ DetectLetterbox

friend class DetectLetterbox
friend

Definition at line 131 of file mythplayer.h.

Referenced by MythPlayer().

◆ TeletextScreen

friend class TeletextScreen
friend

Definition at line 132 of file mythplayer.h.

◆ SubtitleScreen

friend class SubtitleScreen
friend

Definition at line 133 of file mythplayer.h.

◆ InteractiveScreen

friend class InteractiveScreen
friend

Definition at line 134 of file mythplayer.h.

◆ BDOverlayScreen

friend class BDOverlayScreen
friend

Definition at line 135 of file mythplayer.h.

◆ VideoPerformanceTest

friend class VideoPerformanceTest
friend

Definition at line 136 of file mythplayer.h.

◆ TV

friend class TV
friend

Definition at line 138 of file mythplayer.h.

◆ Transcode

friend class Transcode
friend

Definition at line 139 of file mythplayer.h.

Member Data Documentation

◆ kNightModeBrightenssAdjustment

const int MythPlayer::kNightModeBrightenssAdjustment = 10
static

Definition at line 372 of file mythplayer.h.

Referenced by ToggleNightMode().

◆ kNightModeContrastAdjustment

const int MythPlayer::kNightModeContrastAdjustment = 10
static

Definition at line 373 of file mythplayer.h.

Referenced by ToggleNightMode().

◆ kInaccuracyNone

const double MythPlayer::kInaccuracyNone = 0
static

◆ kInaccuracyDefault

const double MythPlayer::kInaccuracyDefault = 0.1
static

Definition at line 375 of file mythplayer.h.

Referenced by EventLoop().

◆ kInaccuracyEditor

const double MythPlayer::kInaccuracyEditor = 0.5
static

Definition at line 376 of file mythplayer.h.

Referenced by HandleProgramEditorActions().

◆ kInaccuracyFull

const double MythPlayer::kInaccuracyFull = -1.0
static

Definition at line 377 of file mythplayer.h.

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

◆ detect_letter_box

DetectLetterbox* MythPlayer::detect_letter_box
protected

◆ playerFlags

PlayerFlags MythPlayer::playerFlags
protected

◆ decoder

DecoderBase* MythPlayer::decoder
protected

Definition at line 637 of file mythplayer.h.

Referenced by AutoDeint(), AVSync(), AVSync2(), calcSliderPos(), ChangeCaptionTrack(), MythDVDPlayer::ChangeSpeed(), ChangeSpeed(), ChangeTrack(), ClearAfterSeek(), DecoderGetFrame(), MythDVDPlayer::DecoderGetFrameFFREW(), DecoderGetFrameFFREW(), DecoderGetFrameREW(), DecoderLoop(), DisableCaptions(), DisplayNormalFrame(), MythDVDPlayer::DoJumpChapter(), MythDVDPlayer::EnableCaptions(), EnableCaptions(), EventLoop(), FallbackDeint(), MythDVDPlayer::FastForward(), FileChanged(), ForceDeinterlacer(), ForceSetupAudioStream(), 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(), SetDisablePassThrough(), SetEof(), SetFrameInterval(), SetStreamPos(), MythDVDPlayer::SetTrack(), SetTrack(), SetTranscoding(), SetVideoByComponentTag(), SetWatchingRecording(), SwitchToProgram(), syncWithAudioStretch(), TranscodeGetNextFrame(), UpdateFFRewSkip(), UpdateStoredFrameNum(), VideoLoop(), VideoStart(), WaitForSeek(), and WriteStoredData().

◆ decoder_change_lock

QMutex MythPlayer::decoder_change_lock
mutableprotected

◆ videoOutput

VideoOutput* MythPlayer::videoOutput
protected

◆ player_ctx

PlayerContext* MythPlayer::player_ctx
protected

Definition at line 640 of file mythplayer.h.

Referenced by AVSync(), AVSync2(), MythDVDPlayer::CalcMaxFFTime(), CalcMaxFFTime(), CalcRWTime(), calcSliderPos(), MythDVDPlayer::ChangeSpeed(), CheckTVChain(), MythBDPlayer::CreateDecoder(), MythDVDPlayer::CreateDecoder(), CreateDecoder(), MythDVDPlayer::DecoderGetFrameREW(), DecoderLoop(), MythDVDPlayer::DisableCaptions(), DisableEdit(), MythDVDPlayer::DisplayDVDButton(), MythBDPlayer::DisplayMenu(), DisplayNormalFrame(), MythBDPlayer::DisplayPauseFrame(), MythDVDPlayer::DisplayPauseFrame(), DoFastForward(), MythDVDPlayer::DoJumpChapter(), DoRewind(), MythDVDPlayer::EnableCaptions(), EnableEdit(), MythDVDPlayer::EventEnd(), EventLoop(), MythBDPlayer::EventStart(), MythDVDPlayer::EventStart(), EventStart(), FileChanged(), FindFrame(), MythDVDPlayer::GetBookmark(), MythBDPlayer::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(), MythBDPlayer::SetBookmark(), MythDVDPlayer::SetBookmark(), SetBookmark(), SetPlayerInfo(), SetPlayingInfo(), SetStream(), MythDVDPlayer::SetTrack(), SetVideoFilters(), SetWatched(), MythDVDPlayer::StillFrameCheck(), MythBDPlayer::SwitchAngle(), MythDVDPlayer::SwitchAngle(), MythBDPlayer::SwitchTitle(), SwitchToProgram(), TranscodeGetNextFrame(), TranslatePositionFrameToMs(), UnpauseBuffer(), MythBDPlayer::VideoLoop(), MythDVDPlayer::VideoLoop(), VideoLoop(), MythBDPlayer::VideoStart(), MythDVDPlayer::VideoStart(), VideoStart(), and WaitForSeek().

◆ decoderThread

DecoderThread* MythPlayer::decoderThread
protected

◆ playerThread

QThread* MythPlayer::playerThread
protected

◆ parentWidget

QWidget* MythPlayer::parentWidget
protected

Definition at line 648 of file mythplayer.h.

Referenced by InitVideo(), and SetPlayerInfo().

◆ embedding

bool MythPlayer::embedding
protected

Definition at line 649 of file mythplayer.h.

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

◆ embedRect

QRect MythPlayer::embedRect
protected

Definition at line 650 of file mythplayer.h.

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

◆ defaultDisplayAspect

float MythPlayer::defaultDisplayAspect
protected

Definition at line 651 of file mythplayer.h.

Referenced by MythPlayer().

◆ decoderThreadPause

QWaitCondition MythPlayer::decoderThreadPause
protected

Definition at line 654 of file mythplayer.h.

Referenced by PauseDecoder().

◆ decoderThreadUnpause

QWaitCondition MythPlayer::decoderThreadUnpause
protected

Definition at line 655 of file mythplayer.h.

Referenced by UnpauseDecoder().

◆ decoderPauseLock

QMutex MythPlayer::decoderPauseLock
mutableprotected

Definition at line 656 of file mythplayer.h.

Referenced by PauseDecoder(), and UnpauseDecoder().

◆ decoderSeekLock

QMutex MythPlayer::decoderSeekLock
mutableprotected

Definition at line 657 of file mythplayer.h.

Referenced by DecoderLoop(), and WaitForSeek().

◆ totalDecoderPause

bool MythPlayer::totalDecoderPause
protected

Definition at line 658 of file mythplayer.h.

Referenced by DecoderLoop(), and SetDecoder().

◆ decoderPaused

bool MythPlayer::decoderPaused
protected

Definition at line 659 of file mythplayer.h.

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

◆ inJumpToProgramPause

bool MythPlayer::inJumpToProgramPause
protected

Definition at line 660 of file mythplayer.h.

Referenced by DecoderLoop(), and JumpToProgram().

◆ pauseDecoder

bool MythPlayer::pauseDecoder
protected

Definition at line 661 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and PauseDecoder().

◆ unpauseDecoder

bool MythPlayer::unpauseDecoder
protected

Definition at line 662 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and UnpauseDecoder().

◆ killdecoder

bool volatile MythPlayer::killdecoder
protected

◆ decoderSeek

int64_t MythPlayer::decoderSeek
protected

Definition at line 664 of file mythplayer.h.

Referenced by DecoderLoop(), and WaitForSeek().

◆ decodeOneFrame

bool MythPlayer::decodeOneFrame
protected

◆ needNewPauseFrame

bool MythPlayer::needNewPauseFrame
protected

◆ bufferPauseLock

QMutex MythPlayer::bufferPauseLock
mutableprotected

Definition at line 667 of file mythplayer.h.

Referenced by PauseBuffer(), and UnpauseBuffer().

◆ videoPauseLock

QMutex MythPlayer::videoPauseLock
mutableprotected

Definition at line 668 of file mythplayer.h.

Referenced by PauseVideo(), and UnpauseVideo().

◆ pauseLock

QMutex MythPlayer::pauseLock
mutableprotected

Definition at line 669 of file mythplayer.h.

Referenced by Pause(), and Play().

◆ bufferPaused

bool MythPlayer::bufferPaused
protected

Definition at line 670 of file mythplayer.h.

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

◆ videoPaused

bool MythPlayer::videoPaused
protected

◆ allpaused

bool MythPlayer::allpaused
protected

◆ playing

bool MythPlayer::playing
protected

Definition at line 673 of file mythplayer.h.

Referenced by IsPlaying(), and SetPlaying().

◆ playingWaitCond

QWaitCondition MythPlayer::playingWaitCond
mutableprotected

Definition at line 675 of file mythplayer.h.

Referenced by IsPlaying(), and SetPlaying().

◆ vidExitLock

QMutex MythPlayer::vidExitLock
mutableprotected

◆ playingLock

QMutex MythPlayer::playingLock
mutableprotected

Definition at line 677 of file mythplayer.h.

Referenced by IsPlaying(), and SetPlaying().

◆ m_double_framerate

bool MythPlayer::m_double_framerate
protected

Output fps is double Video (input) rate.

Definition at line 678 of file mythplayer.h.

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

◆ m_double_process

bool MythPlayer::m_double_process
protected

Output filter must processed at double rate.

Definition at line 679 of file mythplayer.h.

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

◆ m_deint_possible

bool MythPlayer::m_deint_possible
protected

Definition at line 680 of file mythplayer.h.

Referenced by SetScanType().

◆ livetv

bool MythPlayer::livetv
protected

◆ watchingrecording

bool MythPlayer::watchingrecording
protected

Definition at line 682 of file mythplayer.h.

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

◆ transcoding

bool MythPlayer::transcoding
protected

Definition at line 683 of file mythplayer.h.

Referenced by DecoderLoop(), OpenFile(), and SetTranscoding().

◆ hasFullPositionMap

bool MythPlayer::hasFullPositionMap
protected

Definition at line 684 of file mythplayer.h.

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

◆ limitKeyRepeat

bool MythPlayer::limitKeyRepeat
mutableprotected

Definition at line 685 of file mythplayer.h.

Referenced by CalcMaxFFTime(), and DoRewind().

◆ errorLock

QMutex MythPlayer::errorLock
mutableprotected

Definition at line 686 of file mythplayer.h.

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

◆ errorMsg

QString MythPlayer::errorMsg
protected

Reason why NVP exited with a error.

Definition at line 687 of file mythplayer.h.

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

◆ errorType

int MythPlayer::errorType
protected

Definition at line 688 of file mythplayer.h.

Referenced by SetErrored().

◆ jumpchapter

int MythPlayer::jumpchapter
protected

◆ bookmarkseek

uint64_t MythPlayer::bookmarkseek
protected

◆ clearSavedPosition

int MythPlayer::clearSavedPosition
protected

Definition at line 695 of file mythplayer.h.

Referenced by InitialSeek(), and MythPlayer().

◆ endExitPrompt

int MythPlayer::endExitPrompt
protected

Definition at line 696 of file mythplayer.h.

Referenced by EventLoop(), and MythPlayer().

◆ fftime

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

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

◆ videobuf_retries

int MythPlayer::videobuf_retries
protected

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

Definition at line 705 of file mythplayer.h.

Referenced by DecoderGetFrame().

◆ framesPlayed

uint64_t MythPlayer::framesPlayed
protected

◆ framesPlayedExtra

uint64_t MythPlayer::framesPlayedExtra
protected

◆ totalFrames

uint64_t MythPlayer::totalFrames
protected

◆ totalLength

long long MythPlayer::totalLength
protected

◆ totalDuration

int64_t MythPlayer::totalDuration
protected

Definition at line 712 of file mythplayer.h.

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

◆ rewindtime

long long MythPlayer::rewindtime
protected

Definition at line 713 of file mythplayer.h.

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

◆ m_latestVideoTimecode

int64_t MythPlayer::m_latestVideoTimecode
protected

Definition at line 714 of file mythplayer.h.

Referenced by ReleaseNextVideoFrame().

◆ m_avTimer

QElapsedTimer MythPlayer::m_avTimer
protected

Definition at line 715 of file mythplayer.h.

Referenced by AVSync2(), MythPlayer(), and WaitForTime().

◆ video_disp_dim

QSize MythPlayer::video_disp_dim
protected

Video (input) width & height.

Definition at line 720 of file mythplayer.h.

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

◆ video_dim

QSize MythPlayer::video_dim
protected

Video (input) buffer width & height.

Definition at line 721 of file mythplayer.h.

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

◆ video_frame_rate

double MythPlayer::video_frame_rate
protected

◆ video_aspect

float MythPlayer::video_aspect
protected

Video (input) Apect Ratio.

Definition at line 723 of file mythplayer.h.

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

◆ forced_video_aspect

float MythPlayer::forced_video_aspect
protected

Definition at line 724 of file mythplayer.h.

Referenced by ReinitVideo().

◆ resetScan

FrameScanType MythPlayer::resetScan
protected

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

Definition at line 726 of file mythplayer.h.

Referenced by EventLoop(), and SetScanType().

◆ m_scan

FrameScanType MythPlayer::m_scan
protected

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

Definition at line 728 of file mythplayer.h.

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

◆ m_scan_locked

bool MythPlayer::m_scan_locked
protected

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

Definition at line 730 of file mythplayer.h.

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

◆ m_scan_tracker

int MythPlayer::m_scan_tracker
protected

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

Definition at line 732 of file mythplayer.h.

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

◆ m_scan_initialized

bool MythPlayer::m_scan_initialized
protected

Set when SetScanType runs the first time.

Definition at line 734 of file mythplayer.h.

Referenced by SetScanType().

◆ keyframedist

uint MythPlayer::keyframedist
protected

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

Definition at line 736 of file mythplayer.h.

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

◆ m_codecName

QString MythPlayer::m_codecName
protected

Codec Name - used by playback profile.

Definition at line 738 of file mythplayer.h.

Referenced by InitVideo(), and SetVideoParams().

◆ buffering

bool MythPlayer::buffering
protected

Definition at line 741 of file mythplayer.h.

Referenced by SetBuffering().

◆ buffering_start

QTime MythPlayer::buffering_start
protected

Definition at line 742 of file mythplayer.h.

Referenced by PrebufferEnoughFrames(), and SetBuffering().

◆ buffering_last_msg

QTime MythPlayer::buffering_last_msg
protected

Definition at line 743 of file mythplayer.h.

Referenced by PrebufferEnoughFrames(), and SetBuffering().

◆ textDisplayMode

uint MythPlayer::textDisplayMode
protected

◆ prevTextDisplayMode

uint MythPlayer::prevTextDisplayMode
protected

Definition at line 747 of file mythplayer.h.

Referenced by DisableTeletext(), and EnableTeletext().

◆ prevNonzeroTextDisplayMode

uint MythPlayer::prevNonzeroTextDisplayMode
protected

Definition at line 748 of file mythplayer.h.

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

◆ vbimode

uint MythPlayer::vbimode
protected

VBI decoder to use.

Definition at line 752 of file mythplayer.h.

◆ ttPageNum

int MythPlayer::ttPageNum
protected

VBI page to display when in PAL vbimode.

Definition at line 753 of file mythplayer.h.

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

◆ subReader

SubtitleReader MythPlayer::subReader
protected

Definition at line 756 of file mythplayer.h.

◆ ttxReader

TeletextReader MythPlayer::ttxReader
protected

Definition at line 757 of file mythplayer.h.

◆ captionsEnabledbyDefault

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

Referenced by MythPlayer(), and VideoStart().

◆ textDesired

bool MythPlayer::textDesired
protected

◆ enableCaptions

bool MythPlayer::enableCaptions
protected

Definition at line 762 of file mythplayer.h.

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

◆ disableCaptions

bool MythPlayer::disableCaptions
protected

Definition at line 763 of file mythplayer.h.

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

◆ enableForcedSubtitles

bool MythPlayer::enableForcedSubtitles
protected

Definition at line 764 of file mythplayer.h.

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

◆ disableForcedSubtitles

bool MythPlayer::disableForcedSubtitles
protected

Definition at line 765 of file mythplayer.h.

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

◆ allowForcedSubtitles

bool MythPlayer::allowForcedSubtitles
protected

Definition at line 766 of file mythplayer.h.

Referenced by DoEnableForcedSubtitles(), and SetAllowForcedSubtitles().

◆ cc608

CC608Reader MythPlayer::cc608
protected

Definition at line 769 of file mythplayer.h.

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

◆ cc708

CC708Reader MythPlayer::cc708
protected

Definition at line 770 of file mythplayer.h.

Referenced by SetTrack().

◆ itvVisible

bool MythPlayer::itvVisible
protected

Definition at line 773 of file mythplayer.h.

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

◆ interactiveTV

InteractiveTV* MythPlayer::interactiveTV
protected

◆ itvEnabled

bool MythPlayer::itvEnabled
protected

Definition at line 775 of file mythplayer.h.

Referenced by GetInteractiveTV(), and MythPlayer().

◆ itvLock

QMutex MythPlayer::itvLock
protected

◆ streamLock

QMutex MythPlayer::streamLock
protected

Definition at line 777 of file mythplayer.h.

Referenced by EventLoop(), and SetStream().

◆ m_newStream

QString MythPlayer::m_newStream
protected

Definition at line 778 of file mythplayer.h.

Referenced by EventLoop(), and SetStream().

◆ osd

OSD* MythPlayer::osd
protected

◆ reinit_osd

bool MythPlayer::reinit_osd
protected

Definition at line 782 of file mythplayer.h.

Referenced by EventLoop(), and ReinitOSD().

◆ osdLock

QMutex MythPlayer::osdLock
protected

◆ audio

AudioPlayer MythPlayer::audio
protected

◆ m_audiograph

AudioOutputGraph MythPlayer::m_audiograph
protected

Definition at line 787 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

◆ pip_players

PIPMap MythPlayer::pip_players
protected

◆ pip_active

volatile bool MythPlayer::pip_active
protected

Definition at line 791 of file mythplayer.h.

◆ pip_visible

volatile bool MythPlayer::pip_visible
protected

Definition at line 792 of file mythplayer.h.

◆ pip_default_loc

PIPLocation MythPlayer::pip_default_loc
protected

Definition at line 793 of file mythplayer.h.

Referenced by GetNextPIPLocation(), and MythPlayer().

◆ videofiltersLock

QMutex MythPlayer::videofiltersLock
protected

◆ videoFiltersForProgram

QString MythPlayer::videoFiltersForProgram
protected

Definition at line 797 of file mythplayer.h.

Referenced by InitFilters(), and SetVideoFilters().

◆ videoFiltersOverride

QString MythPlayer::videoFiltersOverride
protected

Definition at line 798 of file mythplayer.h.

Referenced by InitFilters(), and SetVideoFilters().

◆ postfilt_width

int MythPlayer::postfilt_width
protected

Post-Filter (output) width.

Definition at line 799 of file mythplayer.h.

Referenced by InitFilters().

◆ postfilt_height

int MythPlayer::postfilt_height
protected

Post-Filter (output) height.

Definition at line 800 of file mythplayer.h.

Referenced by InitFilters().

◆ videoFilters

FilterChain* MythPlayer::videoFilters
protected

◆ FiltMan

FilterManager* MythPlayer::FiltMan
protected

Definition at line 802 of file mythplayer.h.

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

◆ commBreakMap

CommBreakMap MythPlayer::commBreakMap
protected

◆ forcePositionMapSync

bool MythPlayer::forcePositionMapSync
protected

◆ deleteMap

DeleteMap MythPlayer::deleteMap
protected

◆ pausedBeforeEdit

bool MythPlayer::pausedBeforeEdit
protected

Definition at line 809 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

◆ editUpdateTimer

QTime MythPlayer::editUpdateTimer
protected

Definition at line 810 of file mythplayer.h.

Referenced by EnableEdit(), and EventLoop().

◆ speedBeforeEdit

float MythPlayer::speedBeforeEdit
protected

Definition at line 811 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

◆ decoder_lock

QMutex MythPlayer::decoder_lock
protected

Lock for next_play_speed and next_normal_speed.

Definition at line 815 of file mythplayer.h.

◆ next_play_speed

float MythPlayer::next_play_speed
protected

◆ next_normal_speed

bool MythPlayer::next_normal_speed
protected

Definition at line 817 of file mythplayer.h.

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

◆ play_speed

float MythPlayer::play_speed
protected

◆ normal_speed

bool MythPlayer::normal_speed
protected

◆ frame_interval

int MythPlayer::frame_interval
protected

◆ m_frame_interval

int MythPlayer::m_frame_interval
protected

used to detect changes to frame_interval

Definition at line 822 of file mythplayer.h.

Referenced by SetScanType().

◆ m_fpsMultiplier

int MythPlayer::m_fpsMultiplier
protected

used to detect changes

Definition at line 823 of file mythplayer.h.

Referenced by DisplayNormalFrame(), SetFrameInterval(), and UpdateFFRewSkip().

◆ ffrew_skip

int MythPlayer::ffrew_skip
protected

◆ ffrew_adjust

int MythPlayer::ffrew_adjust
protected

Definition at line 826 of file mythplayer.h.

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

◆ fileChanged

bool MythPlayer::fileChanged
protected

Definition at line 827 of file mythplayer.h.

Referenced by EventLoop(), FileChanged(), and FileChangedCallback().

◆ videosync

VideoSync* MythPlayer::videosync
protected

◆ avsync_delay

int MythPlayer::avsync_delay
protected

Definition at line 831 of file mythplayer.h.

Referenced by AVSync(), and VideoStart().

◆ avsync_adjustment

int MythPlayer::avsync_adjustment
protected

Definition at line 832 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

◆ avsync_avg

int MythPlayer::avsync_avg
protected

Definition at line 833 of file mythplayer.h.

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

◆ avsync_predictor

int MythPlayer::avsync_predictor
protected

Definition at line 834 of file mythplayer.h.

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

◆ avsync_predictor_enabled

bool MythPlayer::avsync_predictor_enabled
protected

Definition at line 835 of file mythplayer.h.

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

◆ refreshrate

int MythPlayer::refreshrate
protected

Definition at line 836 of file mythplayer.h.

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

◆ lastsync

bool MythPlayer::lastsync
protected

Definition at line 837 of file mythplayer.h.

Referenced by AVSync(), and VideoStart().

◆ decode_extra_audio

bool MythPlayer::decode_extra_audio
protected

Definition at line 838 of file mythplayer.h.

Referenced by MythPlayer().

◆ repeat_delay

int MythPlayer::repeat_delay
protected

Definition at line 839 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

◆ disp_timecode

int64_t MythPlayer::disp_timecode
protected

◆ avsync_audiopaused

bool MythPlayer::avsync_audiopaused
protected

Definition at line 841 of file mythplayer.h.

Referenced by AVSync(), AVSync2(), and PrebufferEnoughFrames().

◆ max_diverge

float MythPlayer::max_diverge
protected

Definition at line 842 of file mythplayer.h.

Referenced by AVSync(), InitAVSync(), and MythPlayer().

◆ avsync_averaging

int MythPlayer::avsync_averaging
protected

Definition at line 844 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

◆ avsync_interval

int MythPlayer::avsync_interval
protected

Definition at line 845 of file mythplayer.h.

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

◆ avsync_next

int MythPlayer::avsync_next
protected

Definition at line 846 of file mythplayer.h.

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

◆ prevtc

int MythPlayer::prevtc
protected

32 bit timecode if last VideoFrame shown

Definition at line 849 of file mythplayer.h.

Referenced by AVSync(), and ResetAVSync().

◆ prevrp

int MythPlayer::prevrp
protected

repeat_pict of last frame

Definition at line 850 of file mythplayer.h.

Referenced by AVSync().

◆ tc_wrap

int64_t MythPlayer::tc_wrap[TCTYPESMAX]
protected

◆ tc_lastval

int64_t MythPlayer::tc_lastval[TCTYPESMAX]
protected

Definition at line 852 of file mythplayer.h.

Referenced by ClearAfterSeek(), and MythPlayer().

◆ savedAudioTimecodeOffset

int64_t MythPlayer::savedAudioTimecodeOffset
protected

Definition at line 853 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

◆ rtcbase

int64_t MythPlayer::rtcbase
protected

Definition at line 856 of file mythplayer.h.

Referenced by AVSync2(), ChangeSpeed(), InitAVSync(), Play(), PrebufferEnoughFrames(), and ResetAVSync().

◆ maxtcval

int64_t MythPlayer::maxtcval
protected

Definition at line 857 of file mythplayer.h.

Referenced by AVSync2().

◆ maxtcframes

int MythPlayer::maxtcframes
protected

Definition at line 858 of file mythplayer.h.

Referenced by AVSync2().

◆ avsync2adjustms

int64_t MythPlayer::avsync2adjustms
protected

Definition at line 859 of file mythplayer.h.

Referenced by AVSync2(), and MythPlayer().

◆ numdroppedframes

int MythPlayer::numdroppedframes
protected

Definition at line 860 of file mythplayer.h.

Referenced by AVSync2().

◆ prior_audiotimecode

int64_t MythPlayer::prior_audiotimecode
protected

Definition at line 861 of file mythplayer.h.

Referenced by AVSync2(), InitAVSync(), Play(), and ResetAVSync().

◆ prior_videotimecode

int64_t MythPlayer::prior_videotimecode
protected

Definition at line 862 of file mythplayer.h.

Referenced by AVSync2(), InitAVSync(), Play(), and ResetAVSync().

◆ m_timeOffsetBase

int64_t MythPlayer::m_timeOffsetBase
protected

Definition at line 863 of file mythplayer.h.

Referenced by AVSync2().

◆ m_tv

TV* MythPlayer::m_tv
protected

Definition at line 866 of file mythplayer.h.

Referenced by SetPlayerInfo(), and VideoStart().

◆ isDummy

bool MythPlayer::isDummy
protected

Definition at line 867 of file mythplayer.h.

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

◆ bufferingCounter

int MythPlayer::bufferingCounter
protected

Definition at line 870 of file mythplayer.h.

Referenced by PrebufferEnoughFrames(), and StartPlaying().

◆ output_jmeter

Jitterometer* MythPlayer::output_jmeter
protected

Definition at line 873 of file mythplayer.h.

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

◆ disable_passthrough

bool MythPlayer::disable_passthrough
private

Definition at line 877 of file mythplayer.h.

Referenced by SetDecoder(), SetDisablePassThrough(), and syncWithAudioStretch().


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