NuppelVideoPlayer Class Reference

#include <NuppelVideoPlayer.h>

Inheritance diagram for NuppelVideoPlayer:

CC608Reader CC708Reader

List of all members.


Detailed Description

Definition at line 103 of file NuppelVideoPlayer.h.


Public Member Functions

 NuppelVideoPlayer (QString inUseID="Unknown", const ProgramInfo *info=NULL)
 ~NuppelVideoPlayer ()
bool InitVideo (void)
int OpenFile (bool skipDsp=false, uint retries=4, bool allow_libmpeg2=true)
void OpenDummy (void)
void EmbedInWidget (WId wid, int x, int y, int w, int h)
void StopEmbedding (void)
void ExposeEvent (void)
bool IsEmbedding (void)
void DrawUnusedRects (bool sync)
void SetNoAudio (void)
void SetAudioStretchFactor (float factor)
void SetAudioOutput (AudioOutput *ao)
void SetAudioInfo (const QString &main, const QString &passthru, uint rate)
void SetAudioParams (int bits, int channels, int samplerate, bool passthru)
void SetEffDsp (int dsprate)
void SetAudioCodec (void *ac)
void SetParentWidget (QWidget *widget)
void SetAsPIP (void)
void SetNullVideo (void)
void SetFileName (QString lfilename)
void SetExactSeeks (bool exact)
void SetAutoCommercialSkip (int autoskip)
void SetCommBreakMap (QMap< long long, int > &newMap)
void SetRingBuffer (RingBuffer *rbuf)
void SetLiveTVChain (LiveTVChain *tvchain)
void SetLength (int len)
void SetVideoFilters (const QString &override)
void SetFramesPlayed (long long played)
void SetEof (void)
void SetPipPlayer (NuppelVideoPlayer *pip)
void SetRecorder (RemoteEncoder *recorder)
void SetParentPlayer (TV *tv)
void SetTranscoding (bool value)
void SetWatchingRecording (bool mode)
void SetWatched (bool forceWatched=false)
void SetBookmark (void)
void SetKeyframeDistance (int keyframedistance)
void SetVideoParams (int w, int h, double fps, int keydist, float a=1.33333, FrameScanType scan=kScan_Ignore, bool video_codec_changed=false)
void SetFileLength (int total, int frames)
void Zoom (ZoomDirection direction)
void ClearBookmark (void)
void SetForcedAspectRatio (int mpeg2_aspect_value, int letterbox_permission)
void NextScanType (void)
void SetScanType (FrameScanType)
FrameScanType GetScanType (void) const
bool IsScanTypeLocked (void) const
void SetOSDFontName (const QString osdfonts[22], const QString &prefix)
void SetOSDThemeName (const QString themename)
void SetVideoResize (const QRect &videoRect)
void ToggleAspectOverride (AspectOverrideMode aspectMode=kAspect_Toggle)
void ToggleAdjustFill (AdjustFillMode adjustfillMode=kAdjustFill_Toggle)
QSize GetVideoBufferSize (void) const
QSize GetVideoSize (void) const
float GetVideoAspect (void) const
float GetFrameRate (void) const
int GetSecondsBehind (void) const
AspectOverrideMode GetAspectOverride (void) const
AdjustFillMode GetAdjustFill (void) const
int GetFFRewSkip (void) const
float GetAudioStretchFactor (void) const
float GetNextPlaySpeed (void) const
int GetLength (void) const
long long GetTotalFrameCount (void) const
long long GetFramesPlayed (void) const
long long GetBookmark (void) const
QString GetEncodingType (void) const
QString GetXDS (const QString &key) const
bool GetAudioBufferStatus (uint &fill, uint &total) const
bool GetRawAudioState (void) const
bool GetLimitKeyRepeat (void) const
bool GetEof (void) const
bool PipPlayerSet (void) const
bool IsErrored (void) const
bool IsPlaying (void) const
bool AtNormalSpeed (void) const
bool IsDecoderThreadAlive (void) const
bool IsReallyNearEnd (void) const
 Returns true iff really near end of recording.
bool IsNearEnd (long long framesRemaining=-1) const
 Returns true iff near end of recording.
bool PlayingSlowForPrebuffer (void) const
bool HasAudioIn (void) const
bool HasAudioOut (void) const
long long CalcMaxFFTime (long long ff, bool setjump=true) const
long long CalcRWTime (long long rw) const
void calcSliderPos (struct StatusPosInfo &posInfo, bool paddedFields=false)
OSDGetOSD (void)
 Non-const gets.
VideoOutputgetVideoOutput (void)
AudioOutputgetAudioOutput (void)
char * GetScreenGrabAtFrame (long long frameNum, bool absolute, int &buflen, int &vw, int &vh, float &ar)
 Returns a one RGB frame grab from a video.
char * GetScreenGrab (int secondsin, int &buflen, int &vw, int &vh, float &ar)
 Returns a one RGB frame grab from a video.
LiveTVChainGetTVChain (void)
InteractiveTVGetInteractiveTV (void)
void StartPlaying (void)
void ResetPlaying (void)
void StopPlaying (void)
void PauseDecoder (void)
void Pause (bool waitvideo=true)
bool Play (float speed=1.0, bool normal=true, bool unpauseaudio=true)
bool IsPaused (bool *is_pause_still_possible=NULL) const
bool FastForward (float seconds)
bool Rewind (float seconds)
bool RebuildSeekTable (bool showPercentage=true, StatusCallback cb=NULL, void *cbData=NULL)
void JumpToFrame (long long frame)
void SkipCommercials (int direction)
int FlagCommercials (bool showPercentage, bool fullSpeed, bool inJobQueue)
void InitForTranscode (bool copyaudio, bool copyvideo)
bool TranscodeGetNextFrame (QMap< long long, int >::Iterator &dm_iter, int *did_ff, bool *is_key, bool honorCutList)
void TranscodeWriteText (void(*func)(void *, unsigned char *, int, int, int), void *ptr)
bool WriteStoredData (RingBuffer *outRingBuffer, bool writevideo, long timecodeOffset)
long UpdateStoredFrameNum (long curFrameNum)
void SetCutList (QMap< long long, int > newCutList)
bool EnableEdit (void)
bool DoKeypress (QKeyEvent *e)
bool GetEditMode (void) const
VideoFrameGetNextVideoFrame (bool allow_unsafe=true)
 Removes a frame from the available queue for decoding onto.
VideoFrameGetRawVideoFrame (long long frameNumber=-1)
 Returns a specific frame from the video.
VideoFrameGetCurrentFrame (int &w, int &h)
void ReleaseNextVideoFrame (VideoFrame *buffer, long long timecode)
 Places frame on the queue of frames ready for display.
void ReleaseNextVideoFrame (void)
void ReleaseCurrentFrame (VideoFrame *frame)
void DiscardVideoFrame (VideoFrame *buffer)
 Places frame in the available frames queue.
void DiscardVideoFrames (bool next_frame_keyframe)
 Places frames in the available frames queue.
void DrawSlice (VideoFrame *frame, int x, int y, int w, int h)
const QImage & GetARGBFrame (QSize &size)
 Returns a QImage scaled to near the size specified in 'size'.
const unsigned char * GetScaledFrame (QSize &size)
 Returns a scaled version of the latest decoded frame.
void ShutdownYUVResize (void)
void SaveScreenshot (void)
void ReinitOSD (void)
void ReinitVideo (void)
QString ReinitAudio (void)
void AddAudioData (char *buffer, int len, long long timecode)
 Sends audio to AudioOuput::AddSamples(char*,int,long long).
void AddAudioData (short int *lbuffer, short int *rbuffer, int samples, long long timecode)
 Sends audio to AudioOuput::AddSamples(char *buffers[],int,long long).
void AddTextData (unsigned char *buffer, int len, long long timecode, char type)
void AddAVSubtitle (const AVSubtitle &subtitle)
 Adds a new AVSubtitle to be shown.
uint GetCaptionMode (void) const
void ResetCaptions (uint mode_override=0)
void DisableCaptions (uint mode, bool osd_msg=true)
void EnableCaptions (uint mode, bool osd_msg=true)
bool ToggleCaptions (void)
bool ToggleCaptions (uint mode)
void SetCaptionsEnabled (bool, bool osd_msg=true)
bool LoadExternalSubtitles (const QString &subtitleFileName)
 Loads subtitles from an external file.
void EnableTeletext (void)
void DisableTeletext (void)
void ResetTeletext (void)
bool HandleTeletextAction (const QString &action)
void SetTeletextPage (uint page)
 Set Teletext NUV Caption page.
void FlushTxtBuffers (void)
CC708WindowGetCCWin (uint service_num, uint window_id)
CC708WindowGetCCWin (uint svc_num)
void SetCurrentWindow (uint service_num, int window_id)
void DefineWindow (uint service_num, int window_id, int priority, int visible, int anchor_point, int relative_pos, int anchor_vertical, int anchor_horizontal, int row_count, int column_count, int row_lock, int column_lock, int pen_style, int window_style)
void DeleteWindows (uint service_num, int window_map)
void DisplayWindows (uint service_num, int window_map)
void HideWindows (uint service_num, int window_map)
void ClearWindows (uint service_num, int window_map)
void ToggleWindows (uint service_num, int window_map)
void SetWindowAttributes (uint service_num, int fill_color, int fill_opacity, int border_color, int border_type, int scroll_dir, int print_dir, int effect_dir, int display_effect, int effect_speed, int justify, int word_wrap)
void SetPenAttributes (uint service_num, int pen_size, int offset, int text_tag, int font_tag, int edge_type, int underline, int italics)
void SetPenColor (uint service_num, int fg_color, int fg_opacity, int bg_color, int bg_opacity, int edge_color)
void SetPenLocation (uint service_num, int row, int column)
void Delay (uint service_num, int tenths_of_seconds)
void DelayCancel (uint service_num)
void Reset (uint service_num)
void TextWrite (uint service_num, short *unicode_string, short len)
QStringList GetTracks (uint type) const
int SetTrack (uint type, int trackNo)
int GetTrack (uint type) const
int ChangeTrack (uint type, int dir)
void ChangeCaptionTrack (int dir)
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.
bool ITVHandleAction (const QString &action)
void ITVRestart (uint chanid, uint cardid, bool isLiveTV)
 Restart the MHEG/MHP engine.
bool SetAudioByComponentTag (int tag)
 Selects the audio stream using the DVB component tag.
bool SetVideoByComponentTag (int tag)
 Selects the video stream using the DVB component tag.
long long AdjustAudioTimecodeOffset (long long v)
long long ResetAudioTimecodeOffset (void)
long long ResyncAudioTimecodeOffset (void)
long long GetAudioTimecodeOffset (void) const
void SaveAudioTimecodeOffset (long long v)
void CheckTVChain ()
void FileChangedCallback ()
void ChangeDVDTrack (bool ffw)
void ActivateDVDButton (void)
void GoToDVDMenu (QString str)
void GoToDVDProgram (bool direction)
 Go forward or back by one DVD program.
void HideDVDButton (bool hide)

Protected Member Functions

void DisplayPauseFrame (void)
void DisplayNormalFrame (void)
void OutputVideoLoop (void)
void IvtvVideoLoop (void)
 Handles the compositing of the OSD and PiP window.

Static Protected Member Functions

static void * kickoffOutputVideoLoop (void *player)

Private Member Functions

void InitFilters (void)
FrameScanType detectInterlace (FrameScanType newScan, FrameScanType scan, float fps, int video_height)
void AutoDeint (VideoFrame *)
void SetPlaybackInfo (ProgramInfo *pginfo)
void SetPrebuffering (bool prebuffer)
int GetStatusbarPos (void) const
bool IsInDelete (long long testframe) const
bool IsIVTVDecoder (void) const
void PauseVideo (bool wait=true)
void UnpauseVideo (bool wait=false)
void SetVideoActuallyPaused (bool val)
bool IsVideoActuallyPaused (void) const
void SetDecoder (DecoderBase *dec)
 Sets the stream decoder, deleting any existing recorder.
DecoderBaseGetDecoder (void)
 Returns the stream decoder currently in use.
const DecoderBaseGetDecoder (void) const
 Returns the stream decoder currently in use.
bool DecodeFrame (struct rtframeheader *frameheader, unsigned char *strm, unsigned char *outbuf)
bool PrebufferEnoughFrames (void)
void CheckPrebuffering (void)
bool GetFrameNormal (int onlyvideo)
bool GetFrameFFREW (void)
bool GetFrame (int onlyvideo, bool unsafe=false)
void DoPause (void)
void DoPlay (void)
bool DoFastForward (void)
bool DoRewind (void)
void DoChangeDVDTrack (void)
void ClearAfterSeek (bool clearvideobuffers=true)
 This is to support seeking.
bool FrameIsInMap (long long frameNumber, QMap< long long, int > &breakMap)
void JumpToNetFrame (long long net)
void SkipCommercialsByBlanks (void)
bool DoSkipCommercials (int direction)
void AutoCommercialSkip (void)
void MergeShortCommercials (void)
void SaveCutList (void)
void LoadCutList (void)
void LoadCommBreakList (void)
void DisableEdit (void)
void AddMark (long long frames, int type)
void DeleteMark (long long frames)
void ReverseMark (long long frames)
void SetDeleteIter (void)
void SetBlankIter (void)
void SetCommBreakIter (void)
void HandleArbSeek (bool right)
void HandleSelect (bool allowSelectNear=false)
void HandleResponse (void)
void UpdateTimeDisplay (void)
void UpdateSeekAmount (bool up)
void UpdateEditSlider (void)
float WarpFactor (void)
void WrapTimecode (long long &timecode, TCTypes tc_type)
void InitAVSync (void)
void AVSync (void)
void ShutdownAVSync (void)
void FallbackDeint (void)
 Fallback to non-frame-rate-doubling deinterlacing method.
int tbuffer_numvalid (void)
int tbuffer_numfree (void)
void ShowText (void)
 Displays Teletext and EIA-608 style text captions.
void ResetCC (void)
 Resets Teletext and EIA-608 style text caption buffers.
void UpdateCC (unsigned char *inpos)
void DisplayAVSubtitles (void)
 Displays new subtitles and removes old ones.
void DisplayTextSubtitles (void)
 Displays subtitles in textual format.
void ClearSubtitles (void)
 Hide subtitles and free the undisplayed subtitles.
void ExpireSubtitles (void)
 Discard non-displayed subtitles.
void SwitchToProgram (void)
void JumpToProgram (void)
void DisplayDVDButton (void)
long long GetDVDBookmark (void) const
void SetDVDBookmark (long long frames)

Private Attributes

DecoderBasedecoder
QMutex decoder_change_lock
VideoOutputvideoOutput
RemoteEncodernvr_enc
ProgramInfom_playbackinfo
QWidget * parentWidget
WId embedid
int embx
int emby
int embw
int embh
FrameScanType embed_saved_scan_type
bool embed_saved_scan_lock
QWaitCondition decoderThreadPaused
QWaitCondition videoThreadPaused
QWaitCondition videoThreadUnpaused
QMutex vidExitLock
QMutex pauseUnpauseLock
QMutex internalPauseLock
bool eof
 At end of file/ringbuffer.
bool m_double_framerate
 Output fps is double Video (input) rate.
bool m_double_process
 Output filter must processed at double rate.
bool m_can_double
 VideoOutput capable of doubling frame rate.
bool m_deint_possible
bool paused
bool pausevideo
bool actuallypaused
bool video_actually_paused
bool playing
bool decoder_thread_alive
bool killplayer
bool killvideo
bool livetv
bool watchingrecording
bool editmode
bool resetvideo
bool using_null_videoout
bool no_audio_in
bool no_audio_out
bool transcoding
bool hasFullPositionMap
bool limitKeyRepeat
bool errored
long long bookmarkseek
bool previewFromBookmark
long long fftime
 If fftime>0, number of frames to seek forward.
int seekamountpos
 1..9 == keyframe..10 minutes. 0 == cut point
int seekamount
 Seekable frame increment when not using exact seeks.
bool exactseeks
 Iff true we ignore seek amount and try to seek to an exact frame ignoring key frame restrictions.
int videobuf_retries
 How often we have tried to wait for a video output buffer and failed.
long long framesPlayed
long long totalFrames
long long totalLength
long long rewindtime
QString m_recusage
QSize video_disp_dim
 Video (input) width & height.
QSize video_dim
 Video (input) buffer width & height.
double video_frame_rate
 Video (input) Frame Rate (often inaccurate).
float video_aspect
 Video (input) Apect Ratio.
float forced_video_aspect
FrameScanType m_scan
 Video (input) Scan Type (interlaced, progressive, detect, ignore...).
bool m_scan_locked
 Set when the user selects a scan type, overriding the detected one.
int m_scan_tracker
 Used for tracking of scan type for auto-detection of interlacing.
int keyframedist
 Video (input) Number of frames between key frames (often inaccurate).
QString filename
 Filename if we create our own ringbuf.
bool weMadeBuffer
 Iff true, we can delete ringBuffer.
RingBufferringBuffer
 Pointer to the RingBuffer we read from.
QWaitCondition prebuffering_wait
 QWaitContition used by prebuffering.
QMutex prebuffering_lock
 Mutex used to control access to prebuf.
bool prebuffering
 Iff true, don't play until done prebuf.
int prebuffer_tries
 Number of times prebuf wait attempted.
bool db_prefer708
uint textDisplayMode
uint prevTextDisplayMode
uint vbimode
 VBI decoder to use.
int ttPageNum
 VBI page to display when in PAL vbimode.
int ccmode
 VBI text to display when in NTSC vbimode.
int wtxt
 Write position for VBI text.
int rtxt
 Read position for VBI text.
QMutex text_buflock
 Lock for rtxt and wtxt VBI text positions.
int text_size
 Maximum size of a text buffer.
struct TextContainer txtbuffers [MAXTBUFFER+1]
 VBI text buffers.
QString ccline
int cccol
int ccrow
QMutex subtitleLock
bool textDesired
 This allows us to enable captions/subtitles later if the streams are not immediately available when the video starts playing.
bool osdHasSubtitles
long long osdSubtitlesExpireAt
MythDeque< AVSubtitlenonDisplayedAVSubtitles
 Subtitles loaded from the video stream by libavcodec.
TextSubtitles textSubtitles
 Subtitles loaded from an external subtitle file.
CC708Service CC708services [64]
QString osdfontname
QString osdccfontname
QString osd708fontnames [20]
QString osdprefix
QString osdtheme
bool itvVisible
InteractiveTVinteractiveTV
bool itvEnabled
QMutex itvLock
OSDosd
OSDSettimedisplay
QString dialogname
int dialogtype
AudioOutputaudioOutput
QString audio_main_device
QString audio_passthru_device
int audio_channels
int audio_bits
int audio_samplerate
float audio_stretchfactor
void * audio_codec
bool audio_passthru
NuppelVideoPlayerpipplayer
NuppelVideoPlayersetpipplayer
bool needsetpipplayer
unsigned char * argb_buf
QSize argb_size
QImage argb_scaled_img
yuv2rgb_fun yuv2argb_conv
bool yuv_need_copy
QSize yuv_desired_size
ImgReSampleContextyuv_scaler
unsigned char * yuv_frame_scaled
QSize yuv_scaler_in_size
QSize yuv_scaler_out_size
QMutex yuv_lock
QWaitCondition yuv_wait
QMutex videofiltersLock
QString videoFiltersForProgram
QString videoFiltersOverride
int postfilt_width
 Post-Filter (output) width.
int postfilt_height
 Post-Filter (output) height.
FilterChainvideoFilters
FilterManagerFiltMan
QMutex commBreakMapLock
int skipcommercials
int autocommercialskip
int commrewindamount
int commnotifyamount
int lastCommSkipDirection
time_t lastCommSkipTime
long long lastCommSkipStart
time_t lastSkipTime
long long deleteframe
bool hasdeletetable
bool hasblanktable
bool hascommbreaktable
QMap< long long, int > deleteMap
QMap< long long, int > blankMap
QMap< long long, int > commBreakMap
QMap< long long, int >::Iterator deleteIter
QMap< long long, int >::Iterator blankIter
QMap< long long, int >::Iterator commBreakIter
QDateTime lastIgnoredManualSkip
bool forcePositionMapSync
QMutex decoder_lock
 Lock for next_play_speed and next_normal_speed.
float next_play_speed
bool next_normal_speed
float play_speed
bool normal_speed
int frame_interval
 always adjusted for play_speed
int ffrew_skip
VideoSyncvideosync
int delay
int vsynctol
int avsync_delay
int avsync_adjustment
int avsync_avg
int avsync_oldavg
int refreshrate
bool lastsync
bool m_playing_slower
bool decode_extra_audio
float m_stored_audio_stretchfactor
bool audio_paused
bool usevideotimebase
float warpfactor
float warpfactor_avg
short int * warplbuff
short int * warprbuff
int warpbuffsize
int prevtc
 32 bit timecode if last VideoFrame shown
int tc_avcheck_framecounter
long long tc_wrap [TCTYPESMAX]
long long tc_lastval [TCTYPESMAX]
long long tc_diff_estimate
long long savedAudioTimecodeOffset
LiveTVChainlivetvchain
TVm_tv
bool isDummy
bool hidedvdbutton
 true if dvd button is hidden
int need_change_dvd_track
bool dvd_stillframe_showing
Jitterometeroutput_jmeter

Constructor & Destructor Documentation

NuppelVideoPlayer::NuppelVideoPlayer ( QString  inUseID = "Unknown",
const ProgramInfo info = NULL 
)

Definition at line 142 of file NuppelVideoPlayer.cpp.

NuppelVideoPlayer::~NuppelVideoPlayer ( void   ) 

Definition at line 296 of file NuppelVideoPlayer.cpp.


Member Function Documentation

bool NuppelVideoPlayer::InitVideo ( void   ) 

int NuppelVideoPlayer::OpenFile ( bool  skipDsp = false,
uint  retries = 4,
bool  allow_libmpeg2 = true 
)

void NuppelVideoPlayer::OpenDummy ( void   ) 

Definition at line 1038 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::EmbedInWidget ( WId  wid,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 1592 of file NuppelVideoPlayer.cpp.

Referenced by TV::EmbedOutput(), and TV::SetupPlayer().

void NuppelVideoPlayer::StopEmbedding ( void   ) 

Definition at line 1618 of file NuppelVideoPlayer.cpp.

Referenced by TV::StopEmbeddingOutput().

void NuppelVideoPlayer::ExposeEvent ( void   ) 

Definition at line 4943 of file NuppelVideoPlayer.cpp.

Referenced by TV::eventFilter().

bool NuppelVideoPlayer::IsEmbedding ( void   ) 

Definition at line 4949 of file NuppelVideoPlayer.cpp.

Referenced by TV::IsEmbedding().

void NuppelVideoPlayer::DrawUnusedRects ( bool  sync  ) 

Definition at line 1638 of file NuppelVideoPlayer.cpp.

Referenced by TV::DrawUnusedRects().

void NuppelVideoPlayer::SetNoAudio ( void   )  [inline]

Definition at line 124 of file NuppelVideoPlayer.h.

void NuppelVideoPlayer::SetAudioStretchFactor ( float  factor  )  [inline]

Definition at line 125 of file NuppelVideoPlayer.h.

Referenced by TV::SetupPlayer().

void NuppelVideoPlayer::SetAudioOutput ( AudioOutput ao  )  [inline]

Definition at line 126 of file NuppelVideoPlayer.h.

Referenced by Transcode::TranscodeFile().

void NuppelVideoPlayer::SetAudioInfo ( const QString &  main,
const QString &  passthru,
uint  rate 
)

Definition at line 393 of file NuppelVideoPlayer.cpp.

Referenced by TV::SetupPipPlayer(), and TV::SetupPlayer().

void NuppelVideoPlayer::SetAudioParams ( int  bits,
int  channels,
int  samplerate,
bool  passthru 
)

void NuppelVideoPlayer::SetEffDsp ( int  dsprate  ) 

void NuppelVideoPlayer::SetAudioCodec ( void *  ac  ) 

Definition at line 3721 of file NuppelVideoPlayer.cpp.

Referenced by AvFormatDecoder::SetupAudioStream().

void NuppelVideoPlayer::SetParentWidget ( QWidget *  widget  )  [inline]

Definition at line 133 of file NuppelVideoPlayer.h.

Referenced by TV::SetupPlayer().

void NuppelVideoPlayer::SetAsPIP ( void   )  [inline]

Definition at line 134 of file NuppelVideoPlayer.h.

Referenced by TV::SetupPipPlayer(), and PlaybackBox::startPlayer().

void NuppelVideoPlayer::SetNullVideo ( void   )  [inline]

void NuppelVideoPlayer::SetFileName ( QString  lfilename  )  [inline]

Definition at line 136 of file NuppelVideoPlayer.h.

void NuppelVideoPlayer::SetExactSeeks ( bool  exact  )  [inline]

Definition at line 137 of file NuppelVideoPlayer.h.

Referenced by TV::SetupPipPlayer(), and TV::SetupPlayer().

void NuppelVideoPlayer::SetAutoCommercialSkip ( int  autoskip  ) 

Definition at line 4590 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::SetCommBreakMap ( QMap< long long, int > &  newMap  ) 

Definition at line 5819 of file NuppelVideoPlayer.cpp.

Referenced by TV::customEvent().

void NuppelVideoPlayer::SetRingBuffer ( RingBuffer rbuf  )  [inline]

void NuppelVideoPlayer::SetLiveTVChain ( LiveTVChain tvchain  )  [inline]

Definition at line 141 of file NuppelVideoPlayer.h.

Referenced by TV::SetupPipPlayer(), and TV::SetupPlayer().

void NuppelVideoPlayer::SetLength ( int  len  )  [inline]

Definition at line 142 of file NuppelVideoPlayer.h.

Referenced by TV::customEvent(), TV::SetupPipPlayer(), and TV::SetupPlayer().

void NuppelVideoPlayer::SetVideoFilters ( const QString &  override  )  [inline]

Definition at line 143 of file NuppelVideoPlayer.h.

Referenced by PlaybackBox::startPlayer(), and Transcode::TranscodeFile().

void NuppelVideoPlayer::SetFramesPlayed ( long long  played  )  [inline]

void NuppelVideoPlayer::SetEof ( void   )  [inline]

void NuppelVideoPlayer::SetPipPlayer ( NuppelVideoPlayer pip  )  [inline]

Definition at line 147 of file NuppelVideoPlayer.h.

Referenced by TV::SwapPIP(), and TV::TogglePIPView().

void NuppelVideoPlayer::SetRecorder ( RemoteEncoder recorder  ) 

Definition at line 386 of file NuppelVideoPlayer.cpp.

Referenced by FlagCommercials(), TV::SetupPipPlayer(), and TV::SetupPlayer().

void NuppelVideoPlayer::SetParentPlayer ( TV tv  )  [inline]

Definition at line 150 of file NuppelVideoPlayer.h.

Referenced by TV::SetupPlayer().

void NuppelVideoPlayer::SetTranscoding ( bool  value  ) 

Definition at line 3745 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

void NuppelVideoPlayer::SetWatchingRecording ( bool  mode  ) 

void NuppelVideoPlayer::SetWatched ( bool  forceWatched = false  ) 

void NuppelVideoPlayer::SetBookmark ( void   ) 

void NuppelVideoPlayer::SetKeyframeDistance ( int  keyframedistance  ) 

void NuppelVideoPlayer::SetVideoParams ( int  w,
int  h,
double  fps,
int  keydist,
float  a = 1.33333,
FrameScanType  scan = kScan_Ignore,
bool  video_codec_changed = false 
)

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

void NuppelVideoPlayer::Zoom ( ZoomDirection  direction  ) 

Definition at line 4934 of file NuppelVideoPlayer.cpp.

Referenced by TV::ProcessKeypress().

void NuppelVideoPlayer::ClearBookmark ( void   ) 

Definition at line 4019 of file NuppelVideoPlayer.cpp.

Referenced by TV::ProcessKeypress().

void NuppelVideoPlayer::SetForcedAspectRatio ( int  mpeg2_aspect_value,
int  letterbox_permission 
)

Definition at line 4896 of file NuppelVideoPlayer.cpp.

Referenced by DVDRingBufferPriv::safe_read().

void NuppelVideoPlayer::NextScanType ( void   )  [inline]

Definition at line 165 of file NuppelVideoPlayer.h.

Referenced by TV::ProcessKeypress().

void NuppelVideoPlayer::SetScanType ( FrameScanType  scan  ) 

FrameScanType NuppelVideoPlayer::GetScanType ( void   )  const [inline]

Definition at line 168 of file NuppelVideoPlayer.h.

Referenced by TV::BuildOSDTreeMenu(), TV::PlayMesg(), and TV::ProcessKeypress().

bool NuppelVideoPlayer::IsScanTypeLocked ( void   )  const [inline]

Definition at line 169 of file NuppelVideoPlayer.h.

Referenced by TV::BuildOSDTreeMenu().

void NuppelVideoPlayer::SetOSDFontName ( const QString  osdfonts[22],
const QString &  prefix 
)

Definition at line 7473 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetOSDThemeName ( const QString  themename  ) 

Definition at line 7483 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetVideoResize ( const QRect &  videoRect  ) 

Definition at line 6515 of file NuppelVideoPlayer.cpp.

Referenced by MHIContext::DrawVideo().

void NuppelVideoPlayer::ToggleAspectOverride ( AspectOverrideMode  aspectMode = kAspect_Toggle  ) 

Definition at line 4916 of file NuppelVideoPlayer.cpp.

Referenced by TV::ToggleAspectOverride().

void NuppelVideoPlayer::ToggleAdjustFill ( AdjustFillMode  adjustfillMode = kAdjustFill_Toggle  ) 

Definition at line 4925 of file NuppelVideoPlayer.cpp.

Referenced by TV::ToggleAdjustFill().

QSize NuppelVideoPlayer::GetVideoBufferSize ( void   )  const [inline]

QSize NuppelVideoPlayer::GetVideoSize ( void   )  const [inline]

float NuppelVideoPlayer::GetVideoAspect ( void   )  const [inline]

float NuppelVideoPlayer::GetFrameRate ( void   )  const [inline]

int NuppelVideoPlayer::GetSecondsBehind ( void   )  const

Definition at line 5957 of file NuppelVideoPlayer.cpp.

AspectOverrideMode NuppelVideoPlayer::GetAspectOverride ( void   )  const

Definition at line 4882 of file NuppelVideoPlayer.cpp.

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

AdjustFillMode NuppelVideoPlayer::GetAdjustFill ( void   )  const

Definition at line 4889 of file NuppelVideoPlayer.cpp.

Referenced by TV::BuildOSDTreeMenu(), and TV::ToggleAdjustFill().

int NuppelVideoPlayer::GetFFRewSkip ( void   )  const [inline]

Definition at line 188 of file NuppelVideoPlayer.h.

Referenced by DecoderBase::DVDFindPosition(), and DVDRingBufferPriv::Seek().

float NuppelVideoPlayer::GetAudioStretchFactor ( void   )  const [inline]

Definition at line 189 of file NuppelVideoPlayer.h.

Referenced by PrebufferEnoughFrames(), and TV::VideoThemeCheck().

float NuppelVideoPlayer::GetNextPlaySpeed ( void   )  const [inline]

Definition at line 190 of file NuppelVideoPlayer.h.

Referenced by DecoderBase::DVDFindPosition(), and TV::RunTV().

int NuppelVideoPlayer::GetLength ( void   )  const [inline]

Definition at line 191 of file NuppelVideoPlayer.h.

long long NuppelVideoPlayer::GetTotalFrameCount ( void   )  const [inline]

long long NuppelVideoPlayer::GetFramesPlayed ( void   )  const [inline]

long long NuppelVideoPlayer::GetBookmark ( void   )  const

Definition at line 4031 of file NuppelVideoPlayer.cpp.

Referenced by GetScreenGrabAtFrame(), OpenFile(), and TV::ProcessKeypress().

QString NuppelVideoPlayer::GetEncodingType ( void   )  const

Definition at line 5630 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

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

Definition at line 5689 of file NuppelVideoPlayer.cpp.

Referenced by TV::ChannelEditXDSFill().

bool NuppelVideoPlayer::GetAudioBufferStatus ( uint fill,
uint total 
) const

Definition at line 3732 of file NuppelVideoPlayer.cpp.

Referenced by AvFormatDecoder::GetFrame().

bool NuppelVideoPlayer::GetRawAudioState ( void   )  const

Definition at line 5684 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

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

Definition at line 201 of file NuppelVideoPlayer.h.

Referenced by TV::DoSeek().

bool NuppelVideoPlayer::GetEof ( void   )  const [inline]

Definition at line 202 of file NuppelVideoPlayer.h.

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

bool NuppelVideoPlayer::PipPlayerSet ( void   )  const [inline]

Definition at line 203 of file NuppelVideoPlayer.h.

Referenced by TV::TogglePIPView().

bool NuppelVideoPlayer::IsErrored ( void   )  const [inline]

bool NuppelVideoPlayer::IsPlaying ( void   )  const [inline]

bool NuppelVideoPlayer::AtNormalSpeed ( void   )  const [inline]

Definition at line 206 of file NuppelVideoPlayer.h.

Referenced by TV::RunTV().

bool NuppelVideoPlayer::IsDecoderThreadAlive ( void   )  const [inline]

bool NuppelVideoPlayer::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 4331 of file NuppelVideoPlayer.cpp.

Referenced by SwitchToProgram().

bool NuppelVideoPlayer::IsNearEnd ( long long  framesRemaining = -1  )  const

Returns true iff near end of recording.

Parameters:
margin minimum number of frames we want before being near end, defaults to 2 seconds of video.

Definition at line 4366 of file NuppelVideoPlayer.cpp.

Referenced by GetFrameNormal(), TV::RunTV(), and TV::VideoThemeCheck().

bool NuppelVideoPlayer::PlayingSlowForPrebuffer ( void   )  const [inline]

Definition at line 210 of file NuppelVideoPlayer.h.

Referenced by TV::RunTV().

bool NuppelVideoPlayer::HasAudioIn ( void   )  const [inline]

Definition at line 211 of file NuppelVideoPlayer.h.

bool NuppelVideoPlayer::HasAudioOut ( void   )  const [inline]

Definition at line 212 of file NuppelVideoPlayer.h.

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

Definition at line 4267 of file NuppelVideoPlayer.cpp.

Referenced by TV::DoArbSeek(), FastForward(), GetFrameFFREW(), and StartPlaying().

long long NuppelVideoPlayer::CalcRWTime ( long long  rw  )  const

Definition at line 4251 of file NuppelVideoPlayer.cpp.

Referenced by GetFrameFFREW(), and StartPlaying().

void NuppelVideoPlayer::calcSliderPos ( struct StatusPosInfo posInfo,
bool  paddedFields = false 
)

OSD* NuppelVideoPlayer::GetOSD ( void   )  [inline]

VideoOutput* NuppelVideoPlayer::getVideoOutput ( void   )  [inline]

AudioOutput* NuppelVideoPlayer::getAudioOutput ( void   )  [inline]

char * NuppelVideoPlayer::GetScreenGrabAtFrame ( long long  frameNum,
bool  absolute,
int &  bufflen,
int &  vw,
int &  vh,
float &  ar 
)

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

Definition at line 5449 of file NuppelVideoPlayer.cpp.

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

char * NuppelVideoPlayer::GetScreenGrab ( int  secondsin,
int &  buflen,
int &  vw,
int &  vh,
float &  ar 
)

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

Definition at line 5425 of file NuppelVideoPlayer.cpp.

Referenced by PreviewGenerator::GetScreenGrab().

LiveTVChain* NuppelVideoPlayer::GetTVChain ( void   )  [inline]

InteractiveTV * NuppelVideoPlayer::GetInteractiveTV ( void   ) 

void NuppelVideoPlayer::StartPlaying ( void   ) 

Definition at line 3252 of file NuppelVideoPlayer.cpp.

Referenced by SpawnDecode(), and SpawnPreviewVideoThread().

void NuppelVideoPlayer::ResetPlaying ( void   ) 

Definition at line 3030 of file NuppelVideoPlayer.cpp.

Referenced by JumpToProgram(), and SwitchToProgram().

void NuppelVideoPlayer::StopPlaying ( void   )  [inline]

void NuppelVideoPlayer::PauseDecoder ( void   ) 

Definition at line 408 of file NuppelVideoPlayer.cpp.

Referenced by Pause(), TV::PauseLiveTV(), and TV::SwitchCards().

void NuppelVideoPlayer::Pause ( bool  waitvideo = true  ) 

Definition at line 426 of file NuppelVideoPlayer.cpp.

Referenced by TV::DoPause(), EnableEdit(), and TV::StartProgramEditMode().

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

bool NuppelVideoPlayer::IsPaused ( bool is_pause_still_possible = NULL  )  const

Definition at line 483 of file NuppelVideoPlayer.cpp.

Referenced by EnableEdit().

bool NuppelVideoPlayer::FastForward ( float  seconds  ) 

Definition at line 2990 of file NuppelVideoPlayer.cpp.

Referenced by TV::DoNVPSeek(), and TV::SwapPIP().

bool NuppelVideoPlayer::Rewind ( float  seconds  ) 

Definition at line 3007 of file NuppelVideoPlayer.cpp.

Referenced by TV::DoNVPSeek().

bool NuppelVideoPlayer::RebuildSeekTable ( bool  showPercentage = true,
StatusCallback  cb = NULL,
void *  cbData = NULL 
)

Definition at line 5835 of file NuppelVideoPlayer.cpp.

Referenced by BuildVideoMarkup(), and FlagCommercials().

void NuppelVideoPlayer::JumpToFrame ( long long  frame  ) 

void NuppelVideoPlayer::SkipCommercials ( int  direction  ) 

Definition at line 3024 of file NuppelVideoPlayer.cpp.

Referenced by TV::DoSkipCommercials().

int NuppelVideoPlayer::FlagCommercials ( bool  showPercentage,
bool  fullSpeed,
bool  inJobQueue 
)

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

Definition at line 5715 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

bool NuppelVideoPlayer::TranscodeGetNextFrame ( QMap< long long, int >::Iterator &  dm_iter,
int *  did_ff,
bool is_key,
bool  honorCutList 
)

Definition at line 5742 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

void NuppelVideoPlayer::TranscodeWriteText ( void(*)(void *, unsigned char *, int, int, int)  func,
void *  ptr 
)

Definition at line 5696 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

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

Definition at line 5810 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

long NuppelVideoPlayer::UpdateStoredFrameNum ( long  curFrameNum  ) 

Definition at line 5796 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

void NuppelVideoPlayer::SetCutList ( QMap< long long, int >  newCutList  ) 

Definition at line 5801 of file NuppelVideoPlayer.cpp.

Referenced by Transcode::TranscodeFile().

bool NuppelVideoPlayer::EnableEdit ( void   ) 

Definition at line 4596 of file NuppelVideoPlayer.cpp.

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

bool NuppelVideoPlayer::DoKeypress ( QKeyEvent *  e  ) 

Definition at line 4706 of file NuppelVideoPlayer.cpp.

Referenced by TV::ProcessKeypress().

bool NuppelVideoPlayer::GetEditMode ( void   )  const [inline]

Definition at line 269 of file NuppelVideoPlayer.h.

Referenced by TV::ProcessKeypress().

VideoFrame * NuppelVideoPlayer::GetNextVideoFrame ( bool  allow_unsafe = true  ) 

Removes a frame from the available queue for decoding onto.

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

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

Definition at line 1297 of file NuppelVideoPlayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrame(), get_avf_buffer(), get_avf_buffer_xvmc(), NuppelDecoder::GetFrame(), and AvFormatDecoder::GetFrame().

VideoFrame * NuppelVideoPlayer::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 5614 of file NuppelVideoPlayer.cpp.

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

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

void NuppelVideoPlayer::ReleaseNextVideoFrame ( VideoFrame buffer,
long long  timecode 
)

Places frame on the queue of frames ready for display.

Definition at line 1305 of file NuppelVideoPlayer.cpp.

Referenced by AvFormatDecoder::GenerateDummyVideoFrame(), NuppelDecoder::GetFrame(), and AvFormatDecoder::GetFrame().

void NuppelVideoPlayer::ReleaseNextVideoFrame ( void   )  [inline]

Definition at line 276 of file NuppelVideoPlayer.h.

void NuppelVideoPlayer::ReleaseCurrentFrame ( VideoFrame frame  ) 

void NuppelVideoPlayer::DiscardVideoFrame ( VideoFrame buffer  ) 

void NuppelVideoPlayer::DiscardVideoFrames ( bool  next_frame_keyframe  ) 

Places frames in the available frames queue.

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

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

Definition at line 1335 of file NuppelVideoPlayer.cpp.

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

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

Definition at line 1341 of file NuppelVideoPlayer.cpp.

Referenced by render_slice_xvmc().

const QImage & NuppelVideoPlayer::GetARGBFrame ( QSize &  size  ) 

Returns a QImage scaled to near the size specified in 'size'.

The QImage returned is only valid until the next call to this function or GetScaledFrame(QSize&). And if the size width and height are not multiples of two they will be scaled down to the nearest multiple of two.

Parameters:
size Used the pass the desired size of the frame in, and will contain the actual size of the returned image.

Definition at line 1567 of file NuppelVideoPlayer.cpp.

Referenced by PlaybackBox::drawVideo().

const unsigned char * NuppelVideoPlayer::GetScaledFrame ( QSize &  size  ) 

Returns a scaled version of the latest decoded frame.

The buffer returned is only valid until the next call to this function or GetARGBFrame(QSize&). If the size width and height are not multiples of two they will be scaled down to the nearest multiple of two.

Parameters:
size Used the pass the desired size of the frame in, and will contain the actual size of the returned image.

Definition at line 1542 of file NuppelVideoPlayer.cpp.

Referenced by GetARGBFrame().

void NuppelVideoPlayer::ShutdownYUVResize ( void   ) 

Definition at line 1513 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame(), and ~NuppelVideoPlayer().

void NuppelVideoPlayer::SaveScreenshot ( void   ) 

void NuppelVideoPlayer::ReinitOSD ( void   ) 

void NuppelVideoPlayer::ReinitVideo ( void   ) 

Definition at line 698 of file NuppelVideoPlayer.cpp.

Referenced by SetVideoParams().

QString NuppelVideoPlayer::ReinitAudio ( void   ) 

void NuppelVideoPlayer::AddAudioData ( char *  buffer,
int  len,
long long  timecode 
)

Sends audio to AudioOuput::AddSamples(char*,int,long long).

This uses point sampling filter to resample audio if we are using video as the timebase rather than the audio as the timebase. This causes ringing artifacts, but hopefully not too much of it.

Definition at line 3816 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::AddAudioData ( short int *  lbuffer,
short int *  rbuffer,
int  samples,
long long  timecode 
)

Sends audio to AudioOuput::AddSamples(char *buffers[],int,long long).

This uses point sampling filter to resample audio if we are using video as the timebase rather than the audio as the timebase. This causes ringing artifacts, but hopefully not too much of it.

Definition at line 3882 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::AddTextData ( unsigned char *  buffer,
int  len,
long long  timecode,
char  type 
) [virtual]

Implements CC608Reader.

Definition at line 1346 of file NuppelVideoPlayer.cpp.

Referenced by NuppelDecoder::GetFrame().

void NuppelVideoPlayer::AddAVSubtitle ( const AVSubtitle subtitle  ) 

Adds a new AVSubtitle to be shown.

NOTE: Assumes the subtitles are pushed in the order they should be shown.

FIXME: Need to fix subtitles to use a 64bit timestamp

Definition at line 6943 of file NuppelVideoPlayer.cpp.

Referenced by AvFormatDecoder::GetFrame().

uint NuppelVideoPlayer::GetCaptionMode ( void   )  const [inline]

void NuppelVideoPlayer::ResetCaptions ( uint  mode_override = 0  ) 

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

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

bool NuppelVideoPlayer::ToggleCaptions ( void   ) 

Definition at line 1813 of file NuppelVideoPlayer.cpp.

Referenced by TV::HandleTrackAction().

bool NuppelVideoPlayer::ToggleCaptions ( uint  mode  ) 

Definition at line 1819 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetCaptionsEnabled ( bool  enable,
bool  osd_msg = true 
)

bool NuppelVideoPlayer::LoadExternalSubtitles ( const QString &  subtitleFileName  ) 

Loads subtitles from an external file.

Returns:
true iff the subtitle subtitles were loaded successfully.

Definition at line 6988 of file NuppelVideoPlayer.cpp.

Referenced by TV::LoadExternalSubtitles().

void NuppelVideoPlayer::EnableTeletext ( void   ) 

Definition at line 1766 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::DisableTeletext ( void   ) 

Definition at line 1785 of file NuppelVideoPlayer.cpp.

Referenced by DisableCaptions(), and HandleTeletextAction().

void NuppelVideoPlayer::ResetTeletext ( void   ) 

Definition at line 1803 of file NuppelVideoPlayer.cpp.

Referenced by TV::ChangeChannel(), and TV::StartPlayer().

bool NuppelVideoPlayer::HandleTeletextAction ( const QString &  action  ) 

Definition at line 1918 of file NuppelVideoPlayer.cpp.

Referenced by TV::ProcessKeypress().

void NuppelVideoPlayer::SetTeletextPage ( uint  page  ) 

Set Teletext NUV Caption page.

Definition at line 1908 of file NuppelVideoPlayer.cpp.

Referenced by TV::HandleTrackAction().

void NuppelVideoPlayer::FlushTxtBuffers ( void   )  [inline]

Definition at line 322 of file NuppelVideoPlayer.h.

Referenced by Transcode::TranscodeFile().

CC708Window& NuppelVideoPlayer::GetCCWin ( uint  service_num,
uint  window_id 
) [inline]

CC708Window& NuppelVideoPlayer::GetCCWin ( uint  svc_num  )  [inline]

Definition at line 327 of file NuppelVideoPlayer.h.

void NuppelVideoPlayer::SetCurrentWindow ( uint  service_num,
int  window_id 
) [virtual]

Implements CC708Reader.

Definition at line 7218 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::DefineWindow ( uint  service_num,
int  window_id,
int  priority,
int  visible,
int  anchor_point,
int  relative_pos,
int  anchor_vertical,
int  anchor_horizontal,
int  row_count,
int  column_count,
int  row_lock,
int  column_lock,
int  pen_style,
int  window_style 
) [virtual]

Implements CC708Reader.

Definition at line 7228 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::DeleteWindows ( uint  service_num,
int  window_map 
) [virtual]

Implements CC708Reader.

Definition at line 7269 of file NuppelVideoPlayer.cpp.

Referenced by Reset(), and ResetCaptions().

void NuppelVideoPlayer::DisplayWindows ( uint  service_num,
int  window_map 
) [virtual]

Implements CC708Reader.

Definition at line 7289 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::HideWindows ( uint  service_num,
int  window_map 
) [virtual]

Implements CC708Reader.

Definition at line 7304 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::ClearWindows ( uint  service_num,
int  window_map 
) [virtual]

Implements CC708Reader.

Definition at line 7319 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::ToggleWindows ( uint  service_num,
int  window_map 
) [virtual]

Implements CC708Reader.

Definition at line 7334 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetWindowAttributes ( uint  service_num,
int  fill_color,
int  fill_opacity,
int  border_color,
int  border_type,
int  scroll_dir,
int  print_dir,
int  effect_dir,
int  display_effect,
int  effect_speed,
int  justify,
int  word_wrap 
) [virtual]

Implements CC708Reader.

Definition at line 7352 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetPenAttributes ( uint  service_num,
int  pen_size,
int  offset,
int  text_tag,
int  font_tag,
int  edge_type,
int  underline,
int  italics 
) [virtual]

Implements CC708Reader.

Definition at line 7382 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetPenColor ( uint  service_num,
int  fg_color,
int  fg_opacity,
int  bg_color,
int  bg_opacity,
int  edge_color 
) [virtual]

Implements CC708Reader.

Definition at line 7402 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::SetPenLocation ( uint  service_num,
int  row,
int  column 
) [virtual]

Implements CC708Reader.

Definition at line 7423 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::Delay ( uint  service_num,
int  tenths_of_seconds 
) [virtual]

Implements CC708Reader.

Definition at line 7433 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::DelayCancel ( uint  service_num  )  [virtual]

Implements CC708Reader.

Definition at line 7442 of file NuppelVideoPlayer.cpp.

Referenced by Reset().

void NuppelVideoPlayer::Reset ( uint  service_num  )  [virtual]

Implements CC708Reader.

Definition at line 7450 of file NuppelVideoPlayer.cpp.

void NuppelVideoPlayer::TextWrite ( uint  service_num,
short *  unicode_string,
short  len 
) [virtual]

Implements CC708Reader.

Definition at line 7460 of file NuppelVideoPlayer.cpp.

QStringList NuppelVideoPlayer::GetTracks ( uint  type  )  const

Definition at line 6385 of file NuppelVideoPlayer.cpp.

Referenced by TV::FillMenuTracks().

int NuppelVideoPlayer::SetTrack ( uint  type,
int  trackNo 
)

Definition at line 6393 of file NuppelVideoPlayer.cpp.

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

int NuppelVideoPlayer::GetTrack ( uint  type  )  const

int NuppelVideoPlayer::ChangeTrack ( uint  type,
int  dir 
)

Definition at line 6551 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::ChangeCaptionTrack ( int  dir  ) 

Definition at line 6578 of file NuppelVideoPlayer.cpp.

Referenced by TV::HandleTrackAction().

void NuppelVideoPlayer::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 6453 of file NuppelVideoPlayer.cpp.

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

bool NuppelVideoPlayer::ITVHandleAction ( const QString &  action  ) 

Definition at line 6469 of file NuppelVideoPlayer.cpp.

Referenced by TV::ProcessKeypress().

void NuppelVideoPlayer::ITVRestart ( uint  chanid,
uint  cardid,
bool  isLiveTV 
)

Restart the MHEG/MHP engine.

Definition at line 6489 of file NuppelVideoPlayer.cpp.

Referenced by TV::ITVRestart().

bool NuppelVideoPlayer::SetAudioByComponentTag ( int  tag  ) 

Selects the audio stream using the DVB component tag.

Definition at line 6524 of file NuppelVideoPlayer.cpp.

Referenced by MHIContext::BeginAudio().

bool NuppelVideoPlayer::SetVideoByComponentTag ( int  tag  ) 

Selects the video stream using the DVB component tag.

Definition at line 6535 of file NuppelVideoPlayer.cpp.

Referenced by MHIContext::BeginVideo().

long long NuppelVideoPlayer::AdjustAudioTimecodeOffset ( long long  v  )  [inline]

Definition at line 379 of file NuppelVideoPlayer.h.

Referenced by TV::ChangeAudioSync().

long long NuppelVideoPlayer::ResetAudioTimecodeOffset ( void   )  [inline]

Definition at line 381 of file NuppelVideoPlayer.h.

Referenced by TV::ChangeAudioSync().

long long NuppelVideoPlayer::ResyncAudioTimecodeOffset ( void   )  [inline]

Definition at line 383 of file NuppelVideoPlayer.h.

Referenced by TV::ChangeAudioSync().

long long NuppelVideoPlayer::GetAudioTimecodeOffset ( void   )  const [inline]

Definition at line 385 of file NuppelVideoPlayer.h.

Referenced by TV::ChangeAudioSync(), DoFastForward(), TV::DoNVPSeek(), and DoRewind().

void NuppelVideoPlayer::SaveAudioTimecodeOffset ( long long  v  )  [inline]

Definition at line 387 of file NuppelVideoPlayer.h.

Referenced by DoFastForward(), TV::DoNVPSeek(), and DoRewind().

void NuppelVideoPlayer::CheckTVChain ( void   ) 

void NuppelVideoPlayer::FileChangedCallback ( void   ) 

Definition at line 3137 of file NuppelVideoPlayer.cpp.

Referenced by DecoderBase::FileChanged().

void NuppelVideoPlayer::ChangeDVDTrack ( bool  ffw  ) 

Definition at line 6995 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::ActivateDVDButton ( void   ) 

Definition at line 7107 of file NuppelVideoPlayer.cpp.

Referenced by TV::ProcessKeypress().

void NuppelVideoPlayer::GoToDVDMenu ( QString  str  ) 

Definition at line 7115 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::GoToDVDProgram ( bool  direction  ) 

Go forward or back by one DVD program.

Definition at line 7129 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::HideDVDButton ( bool  hide  )  [inline]

Definition at line 399 of file NuppelVideoPlayer.h.

Referenced by DVDRingBufferPriv::safe_read().

void NuppelVideoPlayer::DisplayPauseFrame ( void   )  [protected]

Definition at line 2523 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame(), and OutputVideoLoop().

void NuppelVideoPlayer::DisplayNormalFrame ( void   )  [protected]

Definition at line 2640 of file NuppelVideoPlayer.cpp.

Referenced by OutputVideoLoop().

void NuppelVideoPlayer::OutputVideoLoop ( void   )  [protected]

Definition at line 2766 of file NuppelVideoPlayer.cpp.

Referenced by kickoffOutputVideoLoop().

void NuppelVideoPlayer::IvtvVideoLoop ( void   )  [protected]

Handles the compositing of the OSD and PiP window.

Unlike OutputVideoLoop(void) this loop does not actually handle the display of the video, but only handles things that go on the composited OSD surface.

Definition at line 2925 of file NuppelVideoPlayer.cpp.

Referenced by kickoffOutputVideoLoop().

void * NuppelVideoPlayer::kickoffOutputVideoLoop ( void *  player  )  [static, protected]

Definition at line 2970 of file NuppelVideoPlayer.cpp.

Referenced by StartPlaying().

void NuppelVideoPlayer::InitFilters ( void   )  [private]

Definition at line 1205 of file NuppelVideoPlayer.cpp.

Referenced by InitVideo(), and ReinitVideo().

FrameScanType NuppelVideoPlayer::detectInterlace ( FrameScanType  newScan,
FrameScanType  scan,
float  fps,
int  video_height 
) [private]

Definition at line 827 of file NuppelVideoPlayer.cpp.

Referenced by SetVideoParams().

void NuppelVideoPlayer::AutoDeint ( VideoFrame frame  )  [private]

Definition at line 878 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame().

void NuppelVideoPlayer::SetPlaybackInfo ( ProgramInfo pginfo  )  [private]

void NuppelVideoPlayer::SetPrebuffering ( bool  prebuffer  )  [private]

int NuppelVideoPlayer::GetStatusbarPos ( void   )  const [private]

Definition at line 5939 of file NuppelVideoPlayer.cpp.

bool NuppelVideoPlayer::IsInDelete ( long long  testframe  )  const [private]

Definition at line 5236 of file NuppelVideoPlayer.cpp.

Referenced by DoFastForward(), DoRewind(), IsNearEnd(), and UpdateTimeDisplay().

bool NuppelVideoPlayer::IsIVTVDecoder ( void   )  const [private]

void NuppelVideoPlayer::PauseVideo ( bool  wait = true  )  [private]

Definition at line 500 of file NuppelVideoPlayer.cpp.

Referenced by AutoCommercialSkip(), OutputVideoLoop(), Pause(), and StartPlaying().

void NuppelVideoPlayer::UnpauseVideo ( bool  wait = false  )  [private]

Definition at line 518 of file NuppelVideoPlayer.cpp.

Referenced by AutoCommercialSkip(), OutputVideoLoop(), Play(), and StartPlaying().

void NuppelVideoPlayer::SetVideoActuallyPaused ( bool  val  )  [private]

Definition at line 535 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame(), DisplayPauseFrame(), and IvtvVideoLoop().

bool NuppelVideoPlayer::IsVideoActuallyPaused ( void   )  const [private]

Definition at line 546 of file NuppelVideoPlayer.cpp.

Referenced by IsPaused().

void NuppelVideoPlayer::SetDecoder ( DecoderBase dec  )  [private]

Sets the stream decoder, deleting any existing recorder.

Definition at line 6953 of file NuppelVideoPlayer.cpp.

Referenced by OpenDummy(), OpenFile(), and ~NuppelVideoPlayer().

DecoderBase* NuppelVideoPlayer::GetDecoder ( void   )  [inline, private]

const DecoderBase* NuppelVideoPlayer::GetDecoder ( void   )  const [inline, private]

Returns the stream decoder currently in use.

Definition at line 439 of file NuppelVideoPlayer.h.

bool NuppelVideoPlayer::DecodeFrame ( struct rtframeheader frameheader,
unsigned char *  strm,
unsigned char *  outbuf 
) [private]

bool NuppelVideoPlayer::PrebufferEnoughFrames ( void   )  [private]

Definition at line 2553 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame().

void NuppelVideoPlayer::CheckPrebuffering ( void   )  [private]

Definition at line 1374 of file NuppelVideoPlayer.cpp.

Referenced by GetFrameFFREW(), and GetFrameNormal().

bool NuppelVideoPlayer::GetFrameNormal ( int  onlyvideo  )  [private]

Definition at line 1396 of file NuppelVideoPlayer.cpp.

Referenced by GetFrame().

bool NuppelVideoPlayer::GetFrameFFREW ( void   )  [private]

Definition at line 1413 of file NuppelVideoPlayer.cpp.

Referenced by GetFrame().

bool NuppelVideoPlayer::GetFrame ( int  onlyvideo,
bool  unsafe = false 
) [private]

void NuppelVideoPlayer::DoPause ( void   )  [private]

Definition at line 4042 of file NuppelVideoPlayer.cpp.

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

void NuppelVideoPlayer::DoPlay ( void   )  [private]

Definition at line 4086 of file NuppelVideoPlayer.cpp.

Referenced by JumpToProgram(), and StartPlaying().

bool NuppelVideoPlayer::DoFastForward ( void   )  [private]

bool NuppelVideoPlayer::DoRewind ( void   )  [private]

Definition at line 4207 of file NuppelVideoPlayer.cpp.

Referenced by JumpToFrame(), and StartPlaying().

void NuppelVideoPlayer::DoChangeDVDTrack ( void   )  [private]

Definition at line 7003 of file NuppelVideoPlayer.cpp.

Referenced by StartPlaying().

void NuppelVideoPlayer::ClearAfterSeek ( bool  clearvideobuffers = true  )  [private]

This is to support seeking.

..

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

Note: caller should not hold any locks

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

Definition at line 4497 of file NuppelVideoPlayer.cpp.

Referenced by DoChangeDVDTrack(), DoFastForward(), DoPause(), DoPlay(), DoRewind(), GetRawVideoFrame(), GetScreenGrabAtFrame(), InitForTranscode(), RebuildSeekTable(), ReinitVideo(), ResetPlaying(), StartPlaying(), and TranscodeGetNextFrame().

bool NuppelVideoPlayer::FrameIsInMap ( long long  frameNumber,
QMap< long long, int > &  breakMap 
) [private]

Definition at line 5375 of file NuppelVideoPlayer.cpp.

Referenced by GetScreenGrabAtFrame().

void NuppelVideoPlayer::JumpToNetFrame ( long long  net  )  [inline, private]

Definition at line 459 of file NuppelVideoPlayer.h.

void NuppelVideoPlayer::SkipCommercialsByBlanks ( void   )  [private]

bool NuppelVideoPlayer::DoSkipCommercials ( int  direction  )  [private]

Definition at line 6215 of file NuppelVideoPlayer.cpp.

Referenced by StartPlaying().

void NuppelVideoPlayer::AutoCommercialSkip ( void   )  [private]

Definition at line 6107 of file NuppelVideoPlayer.cpp.

Referenced by StartPlaying().

void NuppelVideoPlayer::MergeShortCommercials ( void   )  [private]

Definition at line 6091 of file NuppelVideoPlayer.cpp.

Referenced by AutoCommercialSkip(), and DoSkipCommercials().

void NuppelVideoPlayer::SaveCutList ( void   )  [private]

Definition at line 5293 of file NuppelVideoPlayer.cpp.

Referenced by DisableEdit().

void NuppelVideoPlayer::LoadCutList ( void   )  [private]

Definition at line 5359 of file NuppelVideoPlayer.cpp.

Referenced by DisableEdit(), GetScreenGrabAtFrame(), and OpenFile().

void NuppelVideoPlayer::LoadCommBreakList ( void   )  [private]

Definition at line 5367 of file NuppelVideoPlayer.cpp.

Referenced by GetScreenGrabAtFrame(), and StartPlaying().

void NuppelVideoPlayer::DisableEdit ( void   )  [private]

Definition at line 4676 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress().

void NuppelVideoPlayer::AddMark ( long long  frames,
int  type 
) [private]

Definition at line 5147 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress(), EnableEdit(), and HandleResponse().

void NuppelVideoPlayer::DeleteMark ( long long  frames  )  [private]

Definition at line 5153 of file NuppelVideoPlayer.cpp.

Referenced by HandleResponse().

void NuppelVideoPlayer::ReverseMark ( long long  frames  )  [private]

Definition at line 5159 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress(), and HandleResponse().

void NuppelVideoPlayer::SetDeleteIter ( void   )  [private]

Definition at line 4544 of file NuppelVideoPlayer.cpp.

Referenced by ClearAfterSeek(), and DisableEdit().

void NuppelVideoPlayer::SetBlankIter ( void   )  [private]

void NuppelVideoPlayer::SetCommBreakIter ( void   )  [private]

void NuppelVideoPlayer::HandleArbSeek ( bool  right  )  [private]

Definition at line 5171 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress().

void NuppelVideoPlayer::HandleSelect ( bool  allowSelectNear = false  )  [private]

Definition at line 5015 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress(), and HandleResponse().

void NuppelVideoPlayer::HandleResponse ( void   )  [private]

Definition at line 5097 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress().

void NuppelVideoPlayer::UpdateTimeDisplay ( void   )  [private]

Definition at line 4985 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress(), EnableEdit(), and HandleResponse().

void NuppelVideoPlayer::UpdateSeekAmount ( bool  up  )  [private]

Definition at line 4956 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress(), and EnableEdit().

void NuppelVideoPlayer::UpdateEditSlider ( void   )  [private]

Definition at line 5142 of file NuppelVideoPlayer.cpp.

Referenced by DoKeypress(), EnableEdit(), HandleArbSeek(), and HandleResponse().

float NuppelVideoPlayer::WarpFactor ( void   )  [private]

Definition at line 2207 of file NuppelVideoPlayer.cpp.

Referenced by AVSync().

void NuppelVideoPlayer::WrapTimecode ( long long &  timecode,
TCTypes  tc_type 
) [private]

Definition at line 3753 of file NuppelVideoPlayer.cpp.

Referenced by AddAudioData(), AddTextData(), and ReleaseNextVideoFrame().

void NuppelVideoPlayer::InitAVSync ( void   )  [private]

Definition at line 2249 of file NuppelVideoPlayer.cpp.

Referenced by OutputVideoLoop().

void NuppelVideoPlayer::AVSync ( void   )  [private]

Definition at line 2294 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame().

void NuppelVideoPlayer::ShutdownAVSync ( void   )  [private]

Definition at line 2501 of file NuppelVideoPlayer.cpp.

Referenced by OutputVideoLoop().

void NuppelVideoPlayer::FallbackDeint ( void   )  [private]

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

Definition at line 863 of file NuppelVideoPlayer.cpp.

Referenced by OutputVideoLoop(), and SetScanType().

int NuppelVideoPlayer::tbuffer_numvalid ( void   )  [private]

Definition at line 1261 of file NuppelVideoPlayer.cpp.

Referenced by ShowText(), tbuffer_numfree(), and TranscodeWriteText().

int NuppelVideoPlayer::tbuffer_numfree ( void   )  [private]

Definition at line 1276 of file NuppelVideoPlayer.cpp.

Referenced by AddTextData().

void NuppelVideoPlayer::ShowText ( void   )  [private]

Displays Teletext and EIA-608 style text captions.

Definition at line 1968 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame(), and IvtvVideoLoop().

NuppelVideoPlayer::ResetCC ( void   )  [private]

Resets Teletext and EIA-608 style text caption buffers.

Adds EIA-608 style text caption to buffers.

Definition at line 2022 of file NuppelVideoPlayer.cpp.

Referenced by ClearAfterSeek(), ResetCaptions(), and UpdateCC().

void NuppelVideoPlayer::UpdateCC ( unsigned char *  inpos  )  [private]

Definition at line 2034 of file NuppelVideoPlayer.cpp.

Referenced by ShowText().

void NuppelVideoPlayer::DisplayAVSubtitles ( void   )  [private]

Displays new subtitles and removes old ones.

This version is for AVSubtitles which are added with AddAVSubtitles() when found in the input stream.

Definition at line 6686 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame().

void NuppelVideoPlayer::DisplayTextSubtitles ( void   )  [private]

Displays subtitles in textual format.

This version is for subtitles that are loaded from an external subtitle file by using the LoadExternalSubtitles() method. Subtitles are not deleted after displaying so they can be displayed again after seeking.

Definition at line 6822 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame().

void NuppelVideoPlayer::ClearSubtitles ( void   )  [private]

Hide subtitles and free the undisplayed subtitles.

Definition at line 6898 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame(), FastForward(), JumpToProgram(), Rewind(), SwitchToProgram(), and ~NuppelVideoPlayer().

void NuppelVideoPlayer::ExpireSubtitles ( void   )  [private]

Discard non-displayed subtitles.

Definition at line 6864 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame().

void NuppelVideoPlayer::SwitchToProgram ( void   )  [private]

Definition at line 3049 of file NuppelVideoPlayer.cpp.

Referenced by StartPlaying().

void NuppelVideoPlayer::JumpToProgram ( void   )  [private]

Definition at line 3163 of file NuppelVideoPlayer.cpp.

Referenced by StartPlaying().

void NuppelVideoPlayer::DisplayDVDButton ( void   )  [private]

Definition at line 7012 of file NuppelVideoPlayer.cpp.

Referenced by DisplayNormalFrame(), and DisplayPauseFrame().

long long NuppelVideoPlayer::GetDVDBookmark ( void   )  const [private]

Definition at line 7140 of file NuppelVideoPlayer.cpp.

Referenced by GetBookmark(), and StartPlaying().

void NuppelVideoPlayer::SetDVDBookmark ( long long  frames  )  [private]

Definition at line 7177 of file NuppelVideoPlayer.cpp.

Referenced by ClearBookmark(), SetBookmark(), and StartPlaying().


Member Data Documentation

QWidget* NuppelVideoPlayer::parentWidget [private]

Definition at line 527 of file NuppelVideoPlayer.h.

Referenced by InitVideo().

Definition at line 528 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and InitVideo().

int NuppelVideoPlayer::embx [private]

Definition at line 529 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and InitVideo().

int NuppelVideoPlayer::emby [private]

Definition at line 529 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and InitVideo().

int NuppelVideoPlayer::embw [private]

Definition at line 529 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and InitVideo().

int NuppelVideoPlayer::embh [private]

Definition at line 529 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and InitVideo().

Definition at line 530 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and StopEmbedding().

Definition at line 531 of file NuppelVideoPlayer.h.

Referenced by EmbedInWidget(), and StopEmbedding().

QWaitCondition NuppelVideoPlayer::decoderThreadPaused [private]

Definition at line 534 of file NuppelVideoPlayer.h.

Referenced by PauseDecoder(), and StartPlaying().

QWaitCondition NuppelVideoPlayer::videoThreadPaused [private]

Definition at line 535 of file NuppelVideoPlayer.h.

Referenced by PauseVideo(), and SetVideoActuallyPaused().

QWaitCondition NuppelVideoPlayer::videoThreadUnpaused [private]

Definition at line 536 of file NuppelVideoPlayer.h.

Referenced by SetVideoActuallyPaused(), and UnpauseVideo().

QMutex NuppelVideoPlayer::vidExitLock [mutable, private]

QMutex NuppelVideoPlayer::pauseUnpauseLock [mutable, private]

QMutex NuppelVideoPlayer::internalPauseLock [mutable, private]

Definition at line 539 of file NuppelVideoPlayer.h.

Referenced by AutoCommercialSkip(), EnableEdit(), Pause(), Play(), and StartPlaying().

Output fps is double Video (input) rate.

Definition at line 541 of file NuppelVideoPlayer.h.

Referenced by AVSync(), DoPause(), DoPlay(), FallbackDeint(), OutputVideoLoop(), and SetScanType().

Output filter must processed at double rate.

Definition at line 542 of file NuppelVideoPlayer.h.

Referenced by AVSync(), DoPause(), DoPlay(), FallbackDeint(), OutputVideoLoop(), and SetScanType().

VideoOutput capable of doubling frame rate.

Definition at line 543 of file NuppelVideoPlayer.h.

Referenced by DoPlay(), OutputVideoLoop(), and SetScanType().

Definition at line 544 of file NuppelVideoPlayer.h.

Referenced by SetScanType().

Definition at line 547 of file NuppelVideoPlayer.h.

Referenced by DoPause(), DoPlay(), IsPaused(), and PauseDecoder().

Definition at line 549 of file NuppelVideoPlayer.h.

Referenced by InitForTranscode(), RebuildSeekTable(), and StartPlaying().

Definition at line 550 of file NuppelVideoPlayer.h.

Definition at line 551 of file NuppelVideoPlayer.h.

Referenced by RebuildSeekTable(), and StartPlaying().

Definition at line 552 of file NuppelVideoPlayer.h.

Referenced by IvtvVideoLoop(), OutputVideoLoop(), and StartPlaying().