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 {nullptr}
 
QMutex decoder_change_lock {QMutex::Recursive}
 
VideoOutputvideoOutput {nullptr}
 
PlayerContextplayer_ctx {nullptr}
 
DecoderThreaddecoderThread {nullptr}
 
QThread * playerThread {nullptr}
 
QWidget * parentWidget {nullptr}
 
bool embedding {false}
 
QRect embedRect {0,0,0,0}
 
float defaultDisplayAspect {1.7777F}
 
QWaitCondition decoderThreadPause
 
QWaitCondition decoderThreadUnpause
 
QMutex decoderPauseLock
 
QMutex decoderSeekLock
 
bool totalDecoderPause {false}
 
bool decoderPaused {false}
 
bool inJumpToProgramPause {false}
 
bool pauseDecoder {false}
 
bool unpauseDecoder {false}
 
bool volatile killdecoder {false}
 
int64_t decoderSeek {-1}
 
bool decodeOneFrame {false}
 
bool needNewPauseFrame {false}
 
QMutex bufferPauseLock
 
QMutex videoPauseLock
 
QMutex pauseLock
 
bool bufferPaused {false}
 
bool videoPaused {false}
 
bool allpaused {false}
 
bool playing {false}
 
QWaitCondition playingWaitCond
 
QMutex vidExitLock
 
QMutex playingLock
 
bool m_double_framerate {false}
 Output fps is double Video (input) rate. More...
 
bool m_double_process {false}
 Output filter must processed at double rate. More...
 
bool m_deint_possible {true}
 
bool livetv {false}
 
bool watchingrecording {false}
 
bool transcoding {false}
 
bool hasFullPositionMap {false}
 
bool limitKeyRepeat {false}
 
QMutex errorLock
 
QString errorMsg
 Reason why NVP exited with a error. More...
 
int errorType {kError_None}
 
int jumpchapter {0}
 
uint64_t bookmarkseek {0}
 
int clearSavedPosition {1}
 
int endExitPrompt
 
long long fftime {0}
 If fftime>0, number of frames to seek forward. More...
 
int videobuf_retries {0}
 How often we have tried to wait for a video output buffer and failed. More...
 
uint64_t framesPlayed {0}
 
uint64_t framesPlayedExtra {0}
 
uint64_t totalFrames {0}
 
long long totalLength {0}
 
int64_t totalDuration {0}
 
long long rewindtime {0}
 
int64_t m_latestVideoTimecode {-1}
 
QElapsedTimer m_avTimer
 
QSize video_disp_dim {0,0}
 Video (input) width & height. More...
 
QSize video_dim {0,0}
 Video (input) buffer width & height. More...
 
double video_frame_rate {29.97F}
 Video (input) Frame Rate (often inaccurate) More...
 
float video_aspect {4.0F / 3.0F}
 Video (input) Apect Ratio. More...
 
float forced_video_aspect {-1}
 
FrameScanType resetScan {kScan_Ignore}
 Tell the player thread to set the scan type (and hence deinterlacers) More...
 
FrameScanType m_scan {kScan_Interlaced}
 Video (input) Scan Type (interlaced, progressive, detect, ignore...) More...
 
bool m_scan_locked {false}
 Set when the user selects a scan type, overriding the detected one. More...
 
int m_scan_tracker {0}
 Used for tracking of scan type for auto-detection of interlacing. More...
 
bool m_scan_initialized {false}
 Set when SetScanType runs the first time. More...
 
uint keyframedist {30}
 Video (input) Number of frames between key frames (often inaccurate) More...
 
QString m_codecName
 Codec Name - used by playback profile. More...
 
bool buffering {false}
 
QTime buffering_start
 
QTime buffering_last_msg
 
uint textDisplayMode {kDisplayNone}
 
uint prevTextDisplayMode {kDisplayNone}
 
uint prevNonzeroTextDisplayMode {kDisplayNone}
 
uint vbimode {VBIMode::None}
 VBI decoder to use. More...
 
int ttPageNum {0x888}
 VBI page to display when in PAL vbimode. More...
 
SubtitleReader subReader
 
TeletextReader ttxReader
 
bool captionsEnabledbyDefault {false}
 This allows us to enable captions/subtitles later if the streams are not immediately available when the video starts playing. More...
 
bool textDesired {false}
 
bool enableCaptions {false}
 
bool disableCaptions {false}
 
bool enableForcedSubtitles {false}
 
bool disableForcedSubtitles {false}
 
bool allowForcedSubtitles {true}
 
CC608Reader cc608
 
CC708Reader cc708
 
bool itvVisible {false}
 
InteractiveTVinteractiveTV {nullptr}
 
bool itvEnabled {false}
 
QMutex itvLock
 
QMutex streamLock
 
QString m_newStream
 
OSDosd {nullptr}
 
bool reinit_osd {false}
 
QMutex osdLock {QMutex::Recursive}
 
AudioPlayer audio
 
AudioOutputGraph m_audiograph
 
PIPMap pip_players
 
volatile bool pip_active {false}
 
volatile bool pip_visible {true}
 
PIPLocation pip_default_loc
 
QMutex videofiltersLock
 
QString videoFiltersForProgram {}
 
QString videoFiltersOverride {}
 
int postfilt_width {0}
 Post-Filter (output) width. More...
 
int postfilt_height {0}
 Post-Filter (output) height. More...
 
FilterChainvideoFilters {nullptr}
 
FilterManagerFiltMan {nullptr}
 
CommBreakMap commBreakMap
 
bool forcePositionMapSync {false}
 
DeleteMap deleteMap
 
bool pausedBeforeEdit {false}
 
QTime editUpdateTimer
 
float speedBeforeEdit {1.0F}
 
QMutex decoder_lock {QMutex::Recursive}
 Lock for next_play_speed and next_normal_speed. More...
 
float next_play_speed {1.0F}
 
bool next_normal_speed {true}
 
float play_speed {1.0F}
 
bool normal_speed {true}
 
int frame_interval {(int)(1000000.0F / 30)}
 always adjusted for play_speed More...
 
int m_frame_interval {0}
 used to detect changes to frame_interval More...
 
int m_fpsMultiplier {1}
 used to detect changes More...
 
int ffrew_skip {1}
 
int ffrew_adjust {0}
 
bool fileChanged {false}
 
VideoSyncvideosync {nullptr}
 
int avsync_delay {0}
 
int avsync_adjustment {0}
 
int avsync_avg {0}
 
int avsync_predictor {0}
 
bool avsync_predictor_enabled {false}
 
int refreshrate {0}
 
bool lastsync {false}
 
bool decode_extra_audio {false}
 
int repeat_delay {0}
 
int64_t disp_timecode {0}
 
bool avsync_audiopaused {false}
 
float max_diverge {3.0F}
 
int avsync_averaging {4}
 
int avsync_interval {0}
 
int avsync_next {0}
 
int prevtc {0}
 32 bit timecode if last VideoFrame shown More...
 
int prevrp {0}
 repeat_pict of last frame More...
 
int64_t tc_wrap [TCTYPESMAX] {}
 
int64_t tc_lastval [TCTYPESMAX] {}
 
int64_t savedAudioTimecodeOffset {0}
 
int64_t rtcbase {0}
 
int64_t maxtcval {0}
 
int maxtcframes {0}
 
int64_t avsync2adjustms {10}
 
int numdroppedframes {0}
 
int64_t prior_audiotimecode {0}
 
int64_t prior_videotimecode {0}
 
int64_t m_timeOffsetBase {0}
 
TVm_tv {nullptr}
 
bool isDummy {false}
 
int bufferingCounter {0}
 
Jitterometeroutput_jmeter {nullptr}
 

Private Member Functions

void syncWithAudioStretch ()
 

Private Attributes

bool disable_passthrough {false}
 

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 174 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 3779 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 3884 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 795 of file mythplayer.cpp.

Referenced by AvFormatDecoder::OpenFile().

◆ SetVideoResize()

void MythPlayer::SetVideoResize ( const QRect &  videoRect)

Definition at line 5614 of file mythplayer.cpp.

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

◆ EnableFrameRateMonitor()

void MythPlayer::EnableFrameRateMonitor ( bool  enable = false)

Definition at line 2578 of file mythplayer.cpp.

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

◆ ForceDeinterlacer()

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

Definition at line 2588 of file mythplayer.cpp.

Referenced by TV::HandleDeinterlacer().

◆ SetFrameRate()

void MythPlayer::SetFrameRate ( double  fps)

Definition at line 780 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 5199 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 5238 of file mythplayer.cpp.

◆ GetFreeVideoFrames()

int MythPlayer::GetFreeVideoFrames ( void  ) const

Returns the number of frames available for decoding onto.

Definition at line 1044 of file mythplayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrames().

◆ GetAspectOverride()

AspectOverrideMode MythPlayer::GetAspectOverride ( void  ) const

Definition at line 4697 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 5254 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 5263 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 5864 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 5008 of file mythplayer.cpp.

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

◆ GetCodecDescription()

void MythPlayer::GetCodecDescription ( InfoMap infoMap)

Definition at line 5015 of file mythplayer.cpp.

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

◆ GetXDS()

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

Definition at line 5049 of file mythplayer.cpp.

Referenced by TV::ChannelEditXDSFill().

◆ GetNextPIPLocation()

PIPLocation MythPlayer::GetNextPIPLocation ( void  ) const

Definition at line 3826 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 5042 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 4211 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 4774 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 4767 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 4818 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 4794 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 5056 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ TranscodeGetNextFrame()

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

Definition at line 5085 of file mythplayer.cpp.

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

◆ WriteStoredData()

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

Definition at line 5166 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ UpdateStoredFrameNum()

long MythPlayer::UpdateStoredFrameNum ( long  curFrameNum)

Definition at line 5154 of file mythplayer.cpp.

Referenced by Transcode::TranscodeFile().

◆ SetCutList()

void MythPlayer::SetCutList ( const frm_dir_map_t newCutList)

Definition at line 5161 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 1060 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 4979 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 1070 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 1090 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 1116 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 1122 of file mythplayer.cpp.

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

Referenced by EventLoop().

◆ SetDisablePassThrough()

void MythPlayer::SetDisablePassThrough ( bool  disabled)

Definition at line 6026 of file mythplayer.cpp.

Referenced by syncWithAudioStretch().

◆ ForceSetupAudioStream()

void MythPlayer::ForceSetupAudioStream ( void  )

Definition at line 6034 of file mythplayer.cpp.

Referenced by TV::EnableUpmix().

◆ SaveScreenshot()

void MythPlayer::SaveScreenshot ( void  )

◆ ReinitVideo()

void MythPlayer::ReinitVideo ( void  )

Definition at line 483 of file mythplayer.cpp.

Referenced by SetVideoParams().

◆ PrepareAudioSample()

bool MythPlayer::PrepareAudioSample ( int64_t &  timecode)
virtual

Reimplemented in MythDVDPlayer.

Definition at line 3864 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 1524 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 1541 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 1549 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 5625 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 5637 of file mythplayer.cpp.

Referenced by MHIContext::BeginVideo().

◆ SetStream()

bool MythPlayer::SetStream ( const QString &  stream)

Definition at line 5654 of file mythplayer.cpp.

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

◆ GetStreamPos()

long MythPlayer::GetStreamPos ( )

Definition at line 5746 of file mythplayer.cpp.

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

◆ GetStreamMaxPos()

long MythPlayer::GetStreamMaxPos ( )

Definition at line 5752 of file mythplayer.cpp.

Referenced by MHIContext::GetStreamMaxPos().

◆ SetStreamPos()

long MythPlayer::SetStreamPos ( long  ms)

Definition at line 5760 of file mythplayer.cpp.

Referenced by MHIContext::SetStreamPos().

◆ StreamPlay()

void MythPlayer::StreamPlay ( bool  play = true)

Definition at line 5770 of file mythplayer.cpp.

Referenced by MHIContext::StreamPlay().

◆ CheckTVChain()

void MythPlayer::CheckTVChain ( void  )

◆ FileChangedCallback()

void MythPlayer::FileChangedCallback ( void  )

Definition at line 2990 of file mythplayer.cpp.

Referenced by DecoderBase::FileChanged().

◆ GetNumChapters()

int MythPlayer::GetNumChapters ( void  )
virtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 5498 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 5505 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 5512 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 5812 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 5870 of file mythplayer.cpp.

Referenced by TV::DoToggleStudioLevels().

◆ ToggleNightMode()

void MythPlayer::ToggleNightMode ( void  )

Definition at line 5887 of file mythplayer.cpp.

Referenced by TV::DoToggleNightMode().

◆ CanVisualise()

bool MythPlayer::CanVisualise ( void  )

Definition at line 5928 of file mythplayer.cpp.

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

◆ IsVisualising()

bool MythPlayer::IsVisualising ( void  )

Definition at line 5936 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

◆ GetVisualiserName()

QString MythPlayer::GetVisualiserName ( void  )

Definition at line 5943 of file mythplayer.cpp.

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

◆ GetVisualiserList()

QStringList MythPlayer::GetVisualiserList ( void  )

Definition at line 5950 of file mythplayer.cpp.

Referenced by TV::PlaybackMenuInit().

◆ EnableVisualisation()

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

Definition at line 5957 of file mythplayer.cpp.

Referenced by TV::EnableVisualisation().

◆ SaveTotalDuration()

void MythPlayer::SaveTotalDuration ( void  )

Definition at line 5988 of file mythplayer.cpp.

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

◆ ResetTotalDuration()

void MythPlayer::ResetTotalDuration ( void  )

Definition at line 5996 of file mythplayer.cpp.

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

◆ SaveTotalFrames()

void MythPlayer::SaveTotalFrames ( void  )

Definition at line 6004 of file mythplayer.cpp.

◆ SetErrored()

void MythPlayer::SetErrored ( const QString &  reason)

◆ OpenDummy()

void MythPlayer::OpenDummy ( void  )
protected

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

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

◆ AddPIPPlayer()

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

Definition at line 3787 of file mythplayer.cpp.

Referenced by TV::PIPAddPlayer().

◆ RemovePIPPlayer()

bool MythPlayer::RemovePIPPlayer ( MythPlayer pip)
protected

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

Referenced by TV::ManualZoomHandleAction().

◆ ToggleMoveBottomLine()

void MythPlayer::ToggleMoveBottomLine ( void  )
protected

Definition at line 4739 of file mythplayer.cpp.

Referenced by TV::ToggleMoveBottomLine().

◆ SaveBottomLine()

void MythPlayer::SaveBottomLine ( void  )
protected

Definition at line 4748 of file mythplayer.cpp.

Referenced by TV::SaveBottomLine().

◆ FileChanged()

void MythPlayer::FileChanged ( void  )
protected

Definition at line 2997 of file mythplayer.cpp.

Referenced by EventLoop().

◆ EmbedInWidget()

void MythPlayer::EmbedInWidget ( QRect  rect)
protected

Definition at line 1184 of file mythplayer.cpp.

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

◆ StopEmbedding()

void MythPlayer::StopEmbedding ( void  )
protected

Definition at line 1195 of file mythplayer.cpp.

Referenced by PlayerContext::StopEmbedding().

◆ ExposeEvent()

void MythPlayer::ExposeEvent ( void  )
protected

Definition at line 4754 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 1209 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 4918 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 4137 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 4118 of file mythplayer.cpp.

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

◆ calcSliderPos()

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

Definition at line 5334 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 5482 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 5288 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 5177 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 4711 of file mythplayer.cpp.

Referenced by TV::ToggleAspectOverride().

◆ ToggleAdjustFill()

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

Definition at line 4720 of file mythplayer.cpp.

Referenced by TV::ToggleAdjustFill().

◆ StartPlaying()

bool MythPlayer::StartPlaying ( void  )
protectedvirtual

Definition at line 3156 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 2856 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 3206 of file mythplayer.cpp.

Referenced by PlayerContext::StopPlaying().

◆ PauseDecoder()

bool MythPlayer::PauseDecoder ( void  )
protected

◆ UnpauseDecoder()

void MythPlayer::UnpauseDecoder ( void  )
protected

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

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

◆ Rewind()

bool MythPlayer::Rewind ( float  seconds)
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 2807 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 2850 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 2305 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 2504 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 2540 of file mythplayer.cpp.

Referenced by DisplayNormalFrame(), and DisplayPauseFrame().

◆ VideoStart()

void MythPlayer::VideoStart ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

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

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

◆ VideoEnd()

void MythPlayer::VideoEnd ( void  )
protectedvirtual

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

◆ DecoderEnd()

void MythPlayer::DecoderEnd ( void  )
protectedvirtual

Definition at line 3571 of file mythplayer.cpp.

Referenced by StopPlaying().

◆ DecoderPauseCheck()

void MythPlayer::DecoderPauseCheck ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3588 of file mythplayer.cpp.

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

◆ AudioEnd()

void MythPlayer::AudioEnd ( void  )
protectedvirtual

Definition at line 3498 of file mythplayer.cpp.

Referenced by StopPlaying().

◆ EventStart()

void MythPlayer::EventStart ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer, and MythBDPlayer.

Definition at line 3221 of file mythplayer.cpp.

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

◆ EventLoop()

void MythPlayer::EventLoop ( void  )
protectedvirtual

Definition at line 3239 of file mythplayer.cpp.

Referenced by TV::PlaybackLoop().

◆ InitialSeek()

void MythPlayer::InitialSeek ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3194 of file mythplayer.cpp.

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

◆ ITVHandleAction()

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

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

Referenced by TV::ITVRestart().

◆ EnableEdit()

bool MythPlayer::EnableEdit ( void  )
protected

Definition at line 4421 of file mythplayer.cpp.

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

◆ HandleProgramEditorActions()

bool MythPlayer::HandleProgramEditorActions ( QStringList &  actions)
protected

Definition at line 4510 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 4481 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 4663 of file mythplayer.cpp.

Referenced by TV::MenuItemDisplayCutlist().

◆ IsTemporaryMark()

bool MythPlayer::IsTemporaryMark ( uint64_t  frame)
protected

Definition at line 4668 of file mythplayer.cpp.

Referenced by TV::MenuItemDisplayCutlist().

◆ HasTemporaryMark()

bool MythPlayer::HasTemporaryMark ( void  )
protected

Definition at line 4673 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 5975 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 1398 of file mythplayer.cpp.

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

◆ ToggleCaptions() [2/2]

bool MythPlayer::ToggleCaptions ( uint  type)
protected

Definition at line 1404 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 1478 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 1586 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ ChangeCaptionTrack()

void MythPlayer::ChangeCaptionTrack ( int  dir)
protected

Definition at line 1601 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ HasCaptionTrack()

bool MythPlayer::HasCaptionTrack ( int  mode)
protected

Definition at line 1638 of file mythplayer.cpp.

Referenced by NextCaptionTrack(), and SetCaptionsEnabled().

◆ NextCaptionTrack()

int MythPlayer::NextCaptionTrack ( int  mode)
protected

Definition at line 1655 of file mythplayer.cpp.

Referenced by ChangeCaptionTrack(), and SetCaptionsEnabled().

◆ DoDisableForcedSubtitles()

void MythPlayer::DoDisableForcedSubtitles ( void  )
protected

Definition at line 1558 of file mythplayer.cpp.

Referenced by EventLoop().

◆ DoEnableForcedSubtitles()

void MythPlayer::DoEnableForcedSubtitles ( void  )
protected

Definition at line 1567 of file mythplayer.cpp.

Referenced by EventLoop().

◆ EnableTeletext()

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

Definition at line 1215 of file mythplayer.cpp.

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

◆ DisableTeletext()

void MythPlayer::DisableTeletext ( void  )
protected

Definition at line 1226 of file mythplayer.cpp.

Referenced by DisableCaptions(), and HandleTeletextAction().

◆ ResetTeletext()

void MythPlayer::ResetTeletext ( void  )
protected

Definition at line 1241 of file mythplayer.cpp.

Referenced by TV::ChangeChannel().

◆ HandleTeletextAction()

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

Definition at line 1264 of file mythplayer.cpp.

Referenced by TV::ProcessKeypressOrGesture().

◆ SetTeletextPage()

void MythPlayer::SetTeletextPage ( uint  page)
protected

Set Teletext NUV Caption page.

Definition at line 1253 of file mythplayer.cpp.

Referenced by TV::HandleTrackAction().

◆ AdjustAudioTimecodeOffset()

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

Definition at line 3850 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 983 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 547 of file mythplayer.cpp.

Referenced by SetVideoParams().

◆ AutoDeint()

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

Reimplemented in MythDVDPlayer.

Definition at line 598 of file mythplayer.cpp.

Referenced by DisplayNormalFrame().

◆ SetPlayingInfo()

void MythPlayer::SetPlayingInfo ( const ProgramInfo pginfo)
protected

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

Referenced by TV::HandleStateChange().

◆ GetStatusbarPos()

int MythPlayer::GetStatusbarPos ( void  ) const
protected

Definition at line 5183 of file mythplayer.cpp.

◆ PauseVideo()

void MythPlayer::PauseVideo ( void  )
protected

Definition at line 334 of file mythplayer.cpp.

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

◆ UnpauseVideo()

void MythPlayer::UnpauseVideo ( void  )
protected

Definition at line 342 of file mythplayer.cpp.

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

◆ PauseBuffer()

void MythPlayer::PauseBuffer ( void  )
protected

Definition at line 252 of file mythplayer.cpp.

Referenced by Pause().

◆ UnpauseBuffer()

void MythPlayer::UnpauseBuffer ( void  )
protected

Definition at line 264 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 816 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 5781 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 3696 of file mythplayer.cpp.

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

◆ DecoderGetFrameREW()

bool MythPlayer::DecoderGetFrameREW ( void  )
protectedvirtual

Reimplemented in MythDVDPlayer.

Definition at line 3720 of file mythplayer.cpp.

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

◆ DecoderGetFrame()

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

Definition at line 3732 of file mythplayer.cpp.

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

◆ UpdateFFRewSkip()

bool MythPlayer::UpdateFFRewSkip ( void  )
protected

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

Referenced by HandleProgramEditorActions().

◆ DoRewindSecs()

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

Definition at line 4103 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 4314 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 4375 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 5518 of file mythplayer.cpp.

Referenced by EventLoop().

◆ GetChapter()

int64_t MythPlayer::GetChapter ( int  chapter)
protectedvirtual

Reimplemented in MythBDPlayer.

Definition at line 5556 of file mythplayer.cpp.

Referenced by DoJumpChapter().

◆ HandleArbSeek()

void MythPlayer::HandleArbSeek ( bool  right)
protected

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

Referenced by VideoStart().

◆ AVSync()

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

Reimplemented in MythDVDPlayer.

Definition at line 1777 of file mythplayer.cpp.

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

◆ AVSync2()

void MythPlayer::AVSync2 ( VideoFrame buffer)
protected

Definition at line 2078 of file mythplayer.cpp.

Referenced by AVSync().

◆ ResetAVSync()

void MythPlayer::ResetAVSync ( void  )
protected

Definition at line 1704 of file mythplayer.cpp.

Referenced by AVSync(), and ClearAfterSeek().

◆ AVSyncGetAudiotime()

int64_t MythPlayer::AVSyncGetAudiotime ( void  )
protected

Definition at line 1767 of file mythplayer.cpp.

◆ SetFrameInterval()

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

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

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

◆ WaitForTime()

void MythPlayer::WaitForTime ( int64_t  framedue)
protected

Definition at line 2069 of file mythplayer.cpp.

Referenced by AVSync2().

◆ SwitchToProgram()

void MythPlayer::SwitchToProgram ( void  )
protected

Definition at line 2876 of file mythplayer.cpp.

Referenced by EventLoop().

◆ JumpToProgram()

void MythPlayer::JumpToProgram ( void  )
protected

Definition at line 3026 of file mythplayer.cpp.

Referenced by EventLoop().

◆ JumpToStream()

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

Definition at line 5678 of file mythplayer.cpp.

Referenced by EventLoop().

◆ syncWithAudioStretch()

void MythPlayer::syncWithAudioStretch ( )
private

Definition at line 6012 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 {nullptr}
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 {QMutex::Recursive}
mutableprotected

◆ videoOutput

VideoOutput* MythPlayer::videoOutput {nullptr}
protected

◆ player_ctx

PlayerContext* MythPlayer::player_ctx {nullptr}
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 {nullptr}
protected

◆ playerThread

QThread* MythPlayer::playerThread {nullptr}
protected

◆ parentWidget

QWidget* MythPlayer::parentWidget {nullptr}
protected

Definition at line 648 of file mythplayer.h.

Referenced by InitVideo(), and SetPlayerInfo().

◆ embedding

bool MythPlayer::embedding {false}
protected

Definition at line 649 of file mythplayer.h.

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

◆ embedRect

QRect MythPlayer::embedRect {0,0,0,0}
protected

Definition at line 650 of file mythplayer.h.

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

◆ defaultDisplayAspect

float MythPlayer::defaultDisplayAspect {1.7777F}
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 {false}
protected

Definition at line 658 of file mythplayer.h.

Referenced by DecoderLoop(), and SetDecoder().

◆ decoderPaused

bool MythPlayer::decoderPaused {false}
protected

Definition at line 659 of file mythplayer.h.

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

◆ inJumpToProgramPause

bool MythPlayer::inJumpToProgramPause {false}
protected

Definition at line 660 of file mythplayer.h.

Referenced by DecoderLoop(), and JumpToProgram().

◆ pauseDecoder

bool MythPlayer::pauseDecoder {false}
protected

Definition at line 661 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and PauseDecoder().

◆ unpauseDecoder

bool MythPlayer::unpauseDecoder {false}
protected

Definition at line 662 of file mythplayer.h.

Referenced by DecoderPauseCheck(), and UnpauseDecoder().

◆ killdecoder

bool volatile MythPlayer::killdecoder {false}
protected

◆ decoderSeek

int64_t MythPlayer::decoderSeek {-1}
protected

Definition at line 664 of file mythplayer.h.

Referenced by DecoderLoop(), and WaitForSeek().

◆ decodeOneFrame

bool MythPlayer::decodeOneFrame {false}
protected

◆ needNewPauseFrame

bool MythPlayer::needNewPauseFrame {false}
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 {false}
protected

Definition at line 670 of file mythplayer.h.

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

◆ videoPaused

bool MythPlayer::videoPaused {false}
protected

◆ allpaused

bool MythPlayer::allpaused {false}
protected

◆ playing

bool MythPlayer::playing {false}
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 {false}
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 {false}
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 {true}
protected

Definition at line 680 of file mythplayer.h.

Referenced by SetScanType().

◆ livetv

bool MythPlayer::livetv {false}
protected

◆ watchingrecording

bool MythPlayer::watchingrecording {false}
protected

Definition at line 682 of file mythplayer.h.

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

◆ transcoding

bool MythPlayer::transcoding {false}
protected

Definition at line 683 of file mythplayer.h.

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

◆ hasFullPositionMap

bool MythPlayer::hasFullPositionMap {false}
protected

Definition at line 684 of file mythplayer.h.

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

◆ limitKeyRepeat

bool MythPlayer::limitKeyRepeat {false}
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 {kError_None}
protected

Definition at line 688 of file mythplayer.h.

Referenced by SetErrored().

◆ jumpchapter

int MythPlayer::jumpchapter {0}
protected

◆ bookmarkseek

uint64_t MythPlayer::bookmarkseek {0}
protected

◆ clearSavedPosition

int MythPlayer::clearSavedPosition {1}
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 {0}
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 {0}
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 {0}
protected

◆ framesPlayedExtra

uint64_t MythPlayer::framesPlayedExtra {0}
protected

◆ totalFrames

uint64_t MythPlayer::totalFrames {0}
protected

◆ totalLength

long long MythPlayer::totalLength {0}
protected

◆ totalDuration

int64_t MythPlayer::totalDuration {0}
protected

Definition at line 712 of file mythplayer.h.

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

◆ rewindtime

long long MythPlayer::rewindtime {0}
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 {-1}
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 {0,0}
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 {0,0}
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 {29.97F}
protected

◆ video_aspect

float MythPlayer::video_aspect {4.0F / 3.0F}
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 {-1}
protected

Definition at line 724 of file mythplayer.h.

Referenced by ReinitVideo().

◆ resetScan

FrameScanType MythPlayer::resetScan {kScan_Ignore}
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 {kScan_Interlaced}
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 {false}
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 {0}
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 {false}
protected

Set when SetScanType runs the first time.

Definition at line 734 of file mythplayer.h.

Referenced by SetScanType().

◆ keyframedist

uint MythPlayer::keyframedist {30}
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 {false}
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 {kDisplayNone}
protected

◆ prevTextDisplayMode

uint MythPlayer::prevTextDisplayMode {kDisplayNone}
protected

Definition at line 747 of file mythplayer.h.

Referenced by DisableTeletext(), and EnableTeletext().

◆ prevNonzeroTextDisplayMode

uint MythPlayer::prevNonzeroTextDisplayMode {kDisplayNone}
protected

Definition at line 748 of file mythplayer.h.

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

◆ vbimode

uint MythPlayer::vbimode {VBIMode::None}
protected

VBI decoder to use.

Definition at line 752 of file mythplayer.h.

◆ ttPageNum

int MythPlayer::ttPageNum {0x888}
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 {false}
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 {false}
protected

◆ enableCaptions

bool MythPlayer::enableCaptions {false}
protected

Definition at line 762 of file mythplayer.h.

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

◆ disableCaptions

bool MythPlayer::disableCaptions {false}
protected

Definition at line 763 of file mythplayer.h.

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

◆ enableForcedSubtitles

bool MythPlayer::enableForcedSubtitles {false}
protected

Definition at line 764 of file mythplayer.h.

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

◆ disableForcedSubtitles

bool MythPlayer::disableForcedSubtitles {false}
protected

Definition at line 765 of file mythplayer.h.

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

◆ allowForcedSubtitles

bool MythPlayer::allowForcedSubtitles {true}
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 {false}
protected

Definition at line 773 of file mythplayer.h.

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

◆ interactiveTV

InteractiveTV* MythPlayer::interactiveTV {nullptr}
protected

◆ itvEnabled

bool MythPlayer::itvEnabled {false}
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 {nullptr}
protected

◆ reinit_osd

bool MythPlayer::reinit_osd {false}
protected

Definition at line 782 of file mythplayer.h.

Referenced by EventLoop(), and ReinitOSD().

◆ osdLock

QMutex MythPlayer::osdLock {QMutex::Recursive}
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 {false}
protected

Definition at line 791 of file mythplayer.h.

◆ pip_visible

volatile bool MythPlayer::pip_visible {true}
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 {0}
protected

Post-Filter (output) width.

Definition at line 799 of file mythplayer.h.

Referenced by InitFilters().

◆ postfilt_height

int MythPlayer::postfilt_height {0}
protected

Post-Filter (output) height.

Definition at line 800 of file mythplayer.h.

Referenced by InitFilters().

◆ videoFilters

FilterChain* MythPlayer::videoFilters {nullptr}
protected

◆ FiltMan

FilterManager* MythPlayer::FiltMan {nullptr}
protected

Definition at line 802 of file mythplayer.h.

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

◆ commBreakMap

CommBreakMap MythPlayer::commBreakMap
protected

◆ forcePositionMapSync

bool MythPlayer::forcePositionMapSync {false}
protected

◆ deleteMap

DeleteMap MythPlayer::deleteMap
protected

◆ pausedBeforeEdit

bool MythPlayer::pausedBeforeEdit {false}
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 {1.0F}
protected

Definition at line 811 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

◆ decoder_lock

QMutex MythPlayer::decoder_lock {QMutex::Recursive}
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 {1.0F}
protected

◆ next_normal_speed

bool MythPlayer::next_normal_speed {true}
protected

Definition at line 817 of file mythplayer.h.

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

◆ play_speed

float MythPlayer::play_speed {1.0F}
protected

◆ normal_speed

bool MythPlayer::normal_speed {true}
protected

◆ frame_interval

int MythPlayer::frame_interval {(int)(1000000.0F / 30)}
protected

◆ m_frame_interval

int MythPlayer::m_frame_interval {0}
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 {1}
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 {1}
protected

◆ ffrew_adjust

int MythPlayer::ffrew_adjust {0}
protected

Definition at line 826 of file mythplayer.h.

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

◆ fileChanged

bool MythPlayer::fileChanged {false}
protected

Definition at line 827 of file mythplayer.h.

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

◆ videosync

VideoSync* MythPlayer::videosync {nullptr}
protected

◆ avsync_delay

int MythPlayer::avsync_delay {0}
protected

Definition at line 831 of file mythplayer.h.

Referenced by AVSync(), and VideoStart().

◆ avsync_adjustment

int MythPlayer::avsync_adjustment {0}
protected

Definition at line 832 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

◆ avsync_avg

int MythPlayer::avsync_avg {0}
protected

Definition at line 833 of file mythplayer.h.

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

◆ avsync_predictor

int MythPlayer::avsync_predictor {0}
protected

Definition at line 834 of file mythplayer.h.

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

◆ avsync_predictor_enabled

bool MythPlayer::avsync_predictor_enabled {false}
protected

Definition at line 835 of file mythplayer.h.

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

◆ refreshrate

int MythPlayer::refreshrate {0}
protected

Definition at line 836 of file mythplayer.h.

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

◆ lastsync

bool MythPlayer::lastsync {false}
protected

Definition at line 837 of file mythplayer.h.

Referenced by AVSync(), and VideoStart().

◆ decode_extra_audio

bool MythPlayer::decode_extra_audio {false}
protected

Definition at line 838 of file mythplayer.h.

Referenced by MythPlayer().

◆ repeat_delay

int MythPlayer::repeat_delay {0}
protected

Definition at line 839 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

◆ disp_timecode

int64_t MythPlayer::disp_timecode {0}
protected

◆ avsync_audiopaused

bool MythPlayer::avsync_audiopaused {false}
protected

Definition at line 841 of file mythplayer.h.

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

◆ max_diverge

float MythPlayer::max_diverge {3.0F}
protected

Definition at line 842 of file mythplayer.h.

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

◆ avsync_averaging

int MythPlayer::avsync_averaging {4}
protected

Definition at line 844 of file mythplayer.h.

Referenced by AVSync(), and InitAVSync().

◆ avsync_interval

int MythPlayer::avsync_interval {0}
protected

Definition at line 845 of file mythplayer.h.

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

◆ avsync_next

int MythPlayer::avsync_next {0}
protected

Definition at line 846 of file mythplayer.h.

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

◆ prevtc

int MythPlayer::prevtc {0}
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 {0}
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().

◆ savedAudioTimecodeOffset

int64_t MythPlayer::savedAudioTimecodeOffset {0}
protected

Definition at line 853 of file mythplayer.h.

Referenced by DisableEdit(), and EnableEdit().

◆ rtcbase

int64_t MythPlayer::rtcbase {0}
protected

Definition at line 856 of file mythplayer.h.

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

◆ maxtcval

int64_t MythPlayer::maxtcval {0}
protected

Definition at line 857 of file mythplayer.h.

Referenced by AVSync2().

◆ maxtcframes

int MythPlayer::maxtcframes {0}
protected

Definition at line 858 of file mythplayer.h.

Referenced by AVSync2().

◆ avsync2adjustms

int64_t MythPlayer::avsync2adjustms {10}
protected

Definition at line 859 of file mythplayer.h.

Referenced by AVSync2(), and MythPlayer().

◆ numdroppedframes

int MythPlayer::numdroppedframes {0}
protected

Definition at line 860 of file mythplayer.h.

Referenced by AVSync2().

◆ prior_audiotimecode

int64_t MythPlayer::prior_audiotimecode {0}
protected

Definition at line 861 of file mythplayer.h.

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

◆ prior_videotimecode

int64_t MythPlayer::prior_videotimecode {0}
protected

Definition at line 862 of file mythplayer.h.

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

◆ m_timeOffsetBase

int64_t MythPlayer::m_timeOffsetBase {0}
protected

Definition at line 863 of file mythplayer.h.

Referenced by AVSync2().

◆ m_tv

TV* MythPlayer::m_tv {nullptr}
protected

Definition at line 866 of file mythplayer.h.

Referenced by SetPlayerInfo(), and VideoStart().

◆ isDummy

bool MythPlayer::isDummy {false}
protected

Definition at line 867 of file mythplayer.h.

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

◆ bufferingCounter

int MythPlayer::bufferingCounter {0}
protected

Definition at line 870 of file mythplayer.h.

Referenced by PrebufferEnoughFrames(), and StartPlaying().

◆ output_jmeter

Jitterometer* MythPlayer::output_jmeter {nullptr}
protected

Definition at line 873 of file mythplayer.h.

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

◆ disable_passthrough

bool MythPlayer::disable_passthrough {false}
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: