#include <NuppelVideoPlayer.h>

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) |
| OSD * | GetOSD (void) |
| Non-const gets. | |
| VideoOutput * | getVideoOutput (void) |
| AudioOutput * | getAudioOutput (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. | |
| LiveTVChain * | GetTVChain (void) |
| InteractiveTV * | GetInteractiveTV (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 |
| VideoFrame * | GetNextVideoFrame (bool allow_unsafe=true) |
| Removes a frame from the available queue for decoding onto. | |
| VideoFrame * | GetRawVideoFrame (long long frameNumber=-1) |
| Returns a specific frame from the video. | |
| VideoFrame * | GetCurrentFrame (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) |
| CC708Window & | GetCCWin (uint service_num, uint window_id) |
| CC708Window & | GetCCWin (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. | |
| DecoderBase * | GetDecoder (void) |
| Returns the stream decoder currently in use. | |
| const DecoderBase * | GetDecoder (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 | |
| DecoderBase * | decoder |
| QMutex | decoder_change_lock |
| VideoOutput * | videoOutput |
| RemoteEncoder * | nvr_enc |
| ProgramInfo * | m_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. | |
| RingBuffer * | ringBuffer |
| 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< AVSubtitle > | nonDisplayedAVSubtitles |
| 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 |
| InteractiveTV * | interactiveTV |
| bool | itvEnabled |
| QMutex | itvLock |
| OSD * | osd |
| OSDSet * | timedisplay |
| QString | dialogname |
| int | dialogtype |
| AudioOutput * | audioOutput |
| 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 |
| NuppelVideoPlayer * | pipplayer |
| NuppelVideoPlayer * | setpipplayer |
| 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 |
| ImgReSampleContext * | yuv_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. | |
| FilterChain * | videoFilters |
| FilterManager * | FiltMan |
| 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 |
| VideoSync * | videosync |
| 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 |
| LiveTVChain * | livetvchain |
| TV * | m_tv |
| bool | isDummy |
| bool | hidedvdbutton |
| true if dvd button is hidden | |
| int | need_change_dvd_track |
| bool | dvd_stillframe_showing |
| Jitterometer * | output_jmeter |
| 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.
| bool NuppelVideoPlayer::InitVideo | ( | void | ) |
Definition at line 592 of file NuppelVideoPlayer.cpp.
Referenced by GetScreenGrabAtFrame(), CommDetector2::go(), ClassicCommDetector::go(), InitForTranscode(), RebuildSeekTable(), and StartPlaying().
| int NuppelVideoPlayer::OpenFile | ( | bool | skipDsp = false, |
|
| uint | retries = 4, |
|||
| bool | allow_libmpeg2 = true | |||
| ) |
Definition at line 1050 of file NuppelVideoPlayer.cpp.
Referenced by GetScreenGrabAtFrame(), CommDetector2::go(), ClassicCommDetector::go(), JumpToProgram(), RebuildSeekTable(), StartPlaying(), SwitchToProgram(), and Transcode::TranscodeFile().
| 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 | ) |
| void NuppelVideoPlayer::ExposeEvent | ( | void | ) |
| bool NuppelVideoPlayer::IsEmbedding | ( | void | ) |
| void NuppelVideoPlayer::DrawUnusedRects | ( | bool | sync | ) |
| void NuppelVideoPlayer::SetNoAudio | ( | void | ) | [inline] |
Definition at line 124 of file NuppelVideoPlayer.h.
| void NuppelVideoPlayer::SetAudioStretchFactor | ( | float | factor | ) | [inline] |
| void NuppelVideoPlayer::SetAudioOutput | ( | AudioOutput * | ao | ) | [inline] |
| 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 | |||
| ) |
Definition at line 3712 of file NuppelVideoPlayer.cpp.
Referenced by NuppelDecoder::OpenFile(), AvFormatDecoder::ScanStreams(), and AvFormatDecoder::SetupAudioStream().
| void NuppelVideoPlayer::SetEffDsp | ( | int | dsprate | ) |
Definition at line 3726 of file NuppelVideoPlayer.cpp.
Referenced by NuppelDecoder::GetFrame(), NuppelDecoder::OpenFile(), and AvFormatDecoder::SetupAudioStream().
| void NuppelVideoPlayer::SetAudioCodec | ( | void * | ac | ) |
Definition at line 3721 of file NuppelVideoPlayer.cpp.
Referenced by AvFormatDecoder::SetupAudioStream().
| void NuppelVideoPlayer::SetParentWidget | ( | QWidget * | widget | ) | [inline] |
| 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] |
Definition at line 135 of file NuppelVideoPlayer.h.
Referenced by CommDetector2::go(), ClassicCommDetector::go(), and Transcode::TranscodeFile().
| 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 | ) |
| void NuppelVideoPlayer::SetRingBuffer | ( | RingBuffer * | rbuf | ) | [inline] |
Definition at line 140 of file NuppelVideoPlayer.h.
Referenced by BuildVideoMarkup(), FlagCommercials(), PreviewGenerator::GetScreenGrab(), TV::SetupPipPlayer(), TV::SetupPlayer(), PlaybackBox::startPlayer(), and Transcode::TranscodeFile().
| 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] |
Definition at line 145 of file NuppelVideoPlayer.h.
Referenced by IvtvDecoder::DoFastForward(), DecoderBase::DoFastForward(), AvFormatDecoder::DoFastForward(), DecoderBase::DoRewind(), DecoderBase::UpdateDVDFramesPlayed(), IvtvDecoder::UpdateFramesPlayed(), and DecoderBase::UpdateFramesPlayed().
| void NuppelVideoPlayer::SetEof | ( | void | ) | [inline] |
Definition at line 146 of file NuppelVideoPlayer.h.
Referenced by NuppelDecoder::GetFrame(), IvtvDecoder::GetFrame(), and AvFormatDecoder::GetFrame().
| 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] |
| void NuppelVideoPlayer::SetTranscoding | ( | bool | value | ) |
| void NuppelVideoPlayer::SetWatchingRecording | ( | bool | mode | ) |
Definition at line 377 of file NuppelVideoPlayer.cpp.
Referenced by CheckTVChain(), TV::customEvent(), FlagCommercials(), and TV::SetupPlayer().
| void NuppelVideoPlayer::SetWatched | ( | bool | forceWatched = false |
) |
Definition at line 3951 of file NuppelVideoPlayer.cpp.
Referenced by TV::customEvent(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), and TV::RunTV().
| void NuppelVideoPlayer::SetBookmark | ( | void | ) |
Definition at line 3994 of file NuppelVideoPlayer.cpp.
Referenced by TV::customEvent(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), and TV::TreeMenuSelected().
| void NuppelVideoPlayer::SetKeyframeDistance | ( | int | keyframedistance | ) |
Definition at line 855 of file NuppelVideoPlayer.cpp.
Referenced by AvFormatDecoder::HandleGopStart(), IvtvDecoder::MpegPreProcessPkt(), and DecoderBase::SyncPositionMap().
| void NuppelVideoPlayer::SetVideoParams | ( | int | w, | |
| int | h, | |||
| double | fps, | |||
| int | keydist, | |||
| float | a = 1.33333, |
|||
| FrameScanType | scan = kScan_Ignore, |
|||
| bool | video_codec_changed = false | |||
| ) |
Definition at line 989 of file NuppelVideoPlayer.cpp.
Referenced by NuppelDecoder::GetFrame(), AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::InitVideoCodec(), AvFormatDecoder::MpegPreProcessPkt(), OpenDummy(), NuppelDecoder::OpenFile(), IvtvDecoder::OpenFile(), and AvFormatDecoder::ScanStreams().
| void NuppelVideoPlayer::SetFileLength | ( | int | total, | |
| int | frames | |||
| ) |
Definition at line 1032 of file NuppelVideoPlayer.cpp.
Referenced by AvFormatDecoder::HandleGopStart(), IvtvDecoder::MpegPreProcessPkt(), NuppelDecoder::OpenFile(), IvtvDecoder::OpenFile(), AvFormatDecoder::OpenFile(), and DecoderBase::SyncPositionMap().
| void NuppelVideoPlayer::Zoom | ( | ZoomDirection | direction | ) |
| void NuppelVideoPlayer::ClearBookmark | ( | void | ) |
| 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] |
| void NuppelVideoPlayer::SetScanType | ( | FrameScanType | scan | ) |
Definition at line 919 of file NuppelVideoPlayer.cpp.
Referenced by AutoDeint(), EmbedInWidget(), SetVideoParams(), StopEmbedding(), and TV::TreeMenuSelected().
| 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] |
| 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 | ) |
| void NuppelVideoPlayer::ToggleAspectOverride | ( | AspectOverrideMode | aspectMode = kAspect_Toggle |
) |
| void NuppelVideoPlayer::ToggleAdjustFill | ( | AdjustFillMode | adjustfillMode = kAdjustFill_Toggle |
) |
| QSize NuppelVideoPlayer::GetVideoBufferSize | ( | void | ) | const [inline] |
Definition at line 180 of file NuppelVideoPlayer.h.
Referenced by TemplateFinder::nuppelVideoPlayerInited(), PGMConverter::nuppelVideoPlayerInited(), HistogramAnalyzer::nuppelVideoPlayerInited(), VideoOutput::ShowPip(), VideoOutputXv::ShowPip(), and Transcode::TranscodeFile().
| QSize NuppelVideoPlayer::GetVideoSize | ( | void | ) | const [inline] |
Definition at line 181 of file NuppelVideoPlayer.h.
Referenced by DVDRingBufferPriv::DVDButtonUpdate(), AvFormatDecoder::GetFrame(), ClassicCommDetector::Init(), SceneChangeDetector::nuppelVideoPlayerInited(), and BlankFrameDetector::nuppelVideoPlayerInited().
| float NuppelVideoPlayer::GetVideoAspect | ( | void | ) | const [inline] |
Definition at line 182 of file NuppelVideoPlayer.h.
Referenced by PlaybackBox::drawVideo(), VideoOutput::GetPIPRect(), ClassicCommDetector::go(), VideoOutput::ShowPip(), VideoOutputXv::ShowPip(), and Transcode::TranscodeFile().
| float NuppelVideoPlayer::GetFrameRate | ( | void | ) | const [inline] |
Definition at line 183 of file NuppelVideoPlayer.h.
Referenced by TV::customEvent(), CommDetector2::getCommercialBreakList(), CommDetector2::go(), ClassicCommDetector::go(), ClassicCommDetector::Init(), IvtvVideoLoop(), TemplateMatcher::nuppelVideoPlayerInited(), SceneChangeDetector::nuppelVideoPlayerInited(), BlankFrameDetector::nuppelVideoPlayerInited(), ClassicLogoDetector::searchForLogo(), TV::StartOSD(), TemplateFinder::TemplateFinder(), Transcode::TranscodeFile(), and TV::VideoThemeCheck().
| 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] |
Definition at line 192 of file NuppelVideoPlayer.h.
Referenced by DoFlagCommercials(), CommDetector2::getCommercialBreakList(), CommDetector2::go(), ClassicCommDetector::go(), and Transcode::TranscodeFile().
| long long NuppelVideoPlayer::GetFramesPlayed | ( | void | ) | const [inline] |
Definition at line 193 of file NuppelVideoPlayer.h.
Referenced by TV::DoArbSeek(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), and TV::SwapPIP().
| 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 |
| QString NuppelVideoPlayer::GetXDS | ( | const QString & | key | ) | const |
| bool NuppelVideoPlayer::GetRawAudioState | ( | void | ) | const |
| bool NuppelVideoPlayer::GetLimitKeyRepeat | ( | void | ) | const [inline] |
| 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] |
| bool NuppelVideoPlayer::IsErrored | ( | void | ) | const [inline] |
Definition at line 204 of file NuppelVideoPlayer.h.
Referenced by OpenFile(), TV::RunTV(), SetVideoParams(), StartPlaying(), SwitchToProgram(), and Transcode::TranscodeFile().
| bool NuppelVideoPlayer::IsPlaying | ( | void | ) | const [inline] |
Definition at line 205 of file NuppelVideoPlayer.h.
Referenced by PlaybackBox::drawVideo(), PlaybackBox::killPlayer(), TV::RunTV(), TV::StartPlayer(), TV::SwapPIP(), and TV::TogglePIPView().
| bool NuppelVideoPlayer::AtNormalSpeed | ( | void | ) | const [inline] |
| bool NuppelVideoPlayer::IsDecoderThreadAlive | ( | void | ) | const [inline] |
Definition at line 207 of file NuppelVideoPlayer.h.
Referenced by TV::HandleStateChange(), TV::StartPlayer(), TV::SwapPIP(), and TV::TogglePIPView().
| 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.
| 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] |
| 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 | |||
| ) |
Definition at line 5973 of file NuppelVideoPlayer.cpp.
Referenced by AutoCommercialSkip(), TV::DoSkipCommercials(), DoSkipCommercials(), EnableEdit(), TV::ProcessNetworkControlCommand(), TV::RunTV(), TV::SetAutoCommercialSkip(), SetBookmark(), TV::SetManualZoom(), TV::ToggleAutoExpire(), TV::ToggleOSD(), and TV::UpdateOSDSeekMessage().
| OSD* NuppelVideoPlayer::GetOSD | ( | void | ) | [inline] |
Non-const gets.
Definition at line 221 of file NuppelVideoPlayer.h.
Referenced by DVDRingBufferPriv::ClearSubtitlesOSD(), DisableTeletext(), DisplayNormalFrame(), EnableTeletext(), AvFormatDecoder::GetFrame(), TV::GetOSD(), HandleTeletextAction(), ITVRestart(), ResetTeletext(), TV::StartOSD(), StartPlaying(), and TextWrite().
| VideoOutput* NuppelVideoPlayer::getVideoOutput | ( | void | ) | [inline] |
Definition at line 222 of file NuppelVideoPlayer.h.
Referenced by TV::BuildOSDTreeMenu(), AvFormatDecoderPrivate::DecodeMPEG2Video(), TV::DoChangePictureAttribute(), TV::doEditSchedule(), DecoderBase::DoFastForward(), AvFormatDecoder::DoFastForward(), DecoderBase::DoRewind(), TV::DoTogglePictureAttribute(), AvFormatDecoder::GenerateDummyVideoFrame(), NuppelDecoder::GetFrame(), AvFormatDecoder::GetFrame(), next(), IvtvDecoder::ReadWrite(), release_avf_buffer(), release_nuppel_buffer(), IvtvDecoder::SeekReset(), IvtvDecoder::StepFrames(), Transcode::TranscodeFile(), DecoderBase::UpdateDVDFramesPlayed(), IvtvDecoder::UpdateFramesPlayed(), and TV::VideoThemeCheck().
| AudioOutput* NuppelVideoPlayer::getAudioOutput | ( | void | ) | [inline] |
Definition at line 223 of file NuppelVideoPlayer.h.
Referenced by TV::ChangeChannel(), TV::ChangeVolume(), TV::DoNVPSeek(), TV::DoSkipCommercials(), TV::DoTogglePictureAttribute(), next(), TV::SwapPIP(), TV::ToggleMute(), and TV::UnMute().
| 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!
| 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!
| 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] |
Definition at line 228 of file NuppelVideoPlayer.h.
Referenced by DecoderBase::PosMapFromEnc(), IvtvDecoder::ReadWrite(), and TV::RunTV().
| InteractiveTV * NuppelVideoPlayer::GetInteractiveTV | ( | void | ) |
Definition at line 6462 of file NuppelVideoPlayer.cpp.
Referenced by AvFormatDecoder::AvFormatDecoder(), DisplayNormalFrame(), ITVHandleAction(), ITVRestart(), TV::ProcessKeypress(), ReinitOSD(), and StartPlaying().
| 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] |
Definition at line 234 of file NuppelVideoPlayer.h.
Referenced by PlaybackBox::killPlayer(), SpawnDecode(), TV::StopStuff(), TV::SwapPIP(), TV::SwitchCards(), and TV::TogglePIPView().
| 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().
Definition at line 455 of file NuppelVideoPlayer.cpp.
Referenced by TV::ChangeSpeed(), TV::ChangeTimeStretch(), TV::DoPause(), TV::DoPlay(), GetFrameFFREW(), GetFrameNormal(), TV::NormalSpeed(), PrebufferEnoughFrames(), TV::SetFFRew(), TV::StopFFRew(), and TV::UnpauseLiveTV().
| 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 | ) |
| 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 | ) |
Definition at line 4445 of file NuppelVideoPlayer.cpp.
Referenced by AutoCommercialSkip(), DoSkipCommercials(), GetRawVideoFrame(), and StartPlaying().
| void NuppelVideoPlayer::SkipCommercials | ( | int | direction | ) |
| void NuppelVideoPlayer::TranscodeWriteText | ( | void(*)(void *, unsigned char *, int, int, int) | func, | |
| void * | ptr | |||
| ) |
| bool NuppelVideoPlayer::WriteStoredData | ( | RingBuffer * | outRingBuffer, | |
| bool | writevideo, | |||
| long | timecodeOffset | |||
| ) |
| long NuppelVideoPlayer::UpdateStoredFrameNum | ( | long | curFrameNum | ) |
| void NuppelVideoPlayer::SetCutList | ( | QMap< long long, int > | newCutList | ) |
| bool NuppelVideoPlayer::EnableEdit | ( | void | ) |
Definition at line 4596 of file NuppelVideoPlayer.cpp.
Referenced by TV::ProcessKeypress(), and TV::StartProgramEditMode().
| bool NuppelVideoPlayer::DoKeypress | ( | QKeyEvent * | e | ) |
| bool NuppelVideoPlayer::GetEditMode | ( | void | ) | const [inline] |
| 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.
| 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 | |||
| ) |
Definition at line 1490 of file NuppelVideoPlayer.cpp.
Referenced by VideoOutput::ShowPip(), VideoOutputXv::ShowPip(), and VideoOutputIvtv::ShowPip().
| 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 | ) |
Definition at line 1507 of file NuppelVideoPlayer.cpp.
Referenced by VideoOutput::ShowPip(), VideoOutputXv::ShowPip(), and VideoOutputIvtv::ShowPip().
| void NuppelVideoPlayer::DiscardVideoFrame | ( | VideoFrame * | buffer | ) |
Places frame in the available frames queue.
Definition at line 1318 of file NuppelVideoPlayer.cpp.
Referenced by NuppelDecoder::GetFrame(), AvFormatDecoder::GetFrame(), GetScreenGrabAtFrame(), CommDetector2::go(), ClassicCommDetector::go(), ClassicLogoDetector::searchForLogo(), NuppelDecoder::SeekReset(), and AvFormatDecoder::SeekReset().
| 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.
| 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 | |||
| ) |
| 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.
| 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.
| 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 | ) |
Definition at line 678 of file NuppelVideoPlayer.cpp.
Referenced by ReinitVideo(), StopEmbedding(), ToggleAdjustFill(), ToggleAspectOverride(), and Zoom().
| void NuppelVideoPlayer::ReinitVideo | ( | void | ) |
| QString NuppelVideoPlayer::ReinitAudio | ( | void | ) |
Definition at line 751 of file NuppelVideoPlayer.cpp.
Referenced by NuppelDecoder::OpenFile(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::SetupAudioStream(), StartPlaying(), and Transcode::TranscodeFile().
| 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] |
Definition at line 303 of file NuppelVideoPlayer.h.
Referenced by DVDRingBufferPriv::DecodeSubtitles(), TV::FillMenuTracks(), TV::HandleTrackAction(), TV::ProcessKeypress(), DVDRingBufferPriv::safe_read(), AvFormatDecoder::ScanStreams(), and SetDVDBookmark().
| void NuppelVideoPlayer::ResetCaptions | ( | uint | mode_override = 0 |
) |
Definition at line 1644 of file NuppelVideoPlayer.cpp.
Referenced by TV::ChangeChannel(), DisableCaptions(), SetCaptionsEnabled(), and TV::StartPlayer().
Definition at line 1663 of file NuppelVideoPlayer.cpp.
Referenced by ChangeCaptionTrack(), DVDRingBufferPriv::DecodeSubtitles(), ReinitVideo(), SetCaptionsEnabled(), SetTeletextPage(), SetTrack(), and ToggleCaptions().
Definition at line 1712 of file NuppelVideoPlayer.cpp.
Referenced by ChangeCaptionTrack(), DVDRingBufferPriv::DecodeSubtitles(), DisableTeletext(), SetCaptionsEnabled(), SetTrack(), and ToggleCaptions().
| bool NuppelVideoPlayer::ToggleCaptions | ( | void | ) |
Definition at line 1819 of file NuppelVideoPlayer.cpp.
Definition at line 1853 of file NuppelVideoPlayer.cpp.
Referenced by ChangeCaptionTrack(), CommDetector2::go(), ClassicCommDetector::go(), InitVideo(), ReinitVideo(), DVDRingBufferPriv::safe_read(), AvFormatDecoder::ScanStreams(), ToggleCaptions(), and TracksChanged().
| bool NuppelVideoPlayer::LoadExternalSubtitles | ( | const QString & | subtitleFileName | ) |
Loads subtitles from an external file.
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 | ) |
| 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] |
| CC708Window& NuppelVideoPlayer::GetCCWin | ( | uint | service_num, | |
| uint | window_id | |||
| ) | [inline] |
Definition at line 325 of file NuppelVideoPlayer.h.
Referenced by ClearWindows(), DefineWindow(), DeleteWindows(), DisplayWindows(), HideWindows(), SetPenAttributes(), SetPenColor(), SetPenLocation(), SetWindowAttributes(), TextWrite(), and ToggleWindows().
| 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] |
| 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] |
| 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] |
| void NuppelVideoPlayer::HideWindows | ( | uint | service_num, | |
| int | window_map | |||
| ) | [virtual] |
| void NuppelVideoPlayer::ClearWindows | ( | uint | service_num, | |
| int | window_map | |||
| ) | [virtual] |
| void NuppelVideoPlayer::ToggleWindows | ( | uint | service_num, | |
| int | window_map | |||
| ) | [virtual] |
| 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] |
| 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] |
| void NuppelVideoPlayer::SetPenColor | ( | uint | service_num, | |
| int | fg_color, | |||
| int | fg_opacity, | |||
| int | bg_color, | |||
| int | bg_opacity, | |||
| int | edge_color | |||
| ) | [virtual] |
| void NuppelVideoPlayer::SetPenLocation | ( | uint | service_num, | |
| int | row, | |||
| int | column | |||
| ) | [virtual] |
| void NuppelVideoPlayer::Delay | ( | uint | service_num, | |
| int | tenths_of_seconds | |||
| ) | [virtual] |
| 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] |
| void NuppelVideoPlayer::TextWrite | ( | uint | service_num, | |
| short * | unicode_string, | |||
| short | len | |||
| ) | [virtual] |
| QStringList NuppelVideoPlayer::GetTracks | ( | uint | type | ) | const |
| 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 |
Definition at line 6543 of file NuppelVideoPlayer.cpp.
Referenced by ChangeCaptionTrack(), ChangeTrack(), DisableCaptions(), EnableCaptions(), TV::FillMenuTracks(), SetDVDBookmark(), and SetTrack().
| 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 | ) |
| 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 | ) |
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] |
| long long NuppelVideoPlayer::ResetAudioTimecodeOffset | ( | void | ) | [inline] |
| long long NuppelVideoPlayer::ResyncAudioTimecodeOffset | ( | void | ) | [inline] |
| 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 | ) |
Definition at line 3043 of file NuppelVideoPlayer.cpp.
Referenced by FileChangedCallback(), JumpToProgram(), TV::RunTV(), and SwitchToProgram().
| void NuppelVideoPlayer::FileChangedCallback | ( | void | ) |
| void NuppelVideoPlayer::ChangeDVDTrack | ( | bool | ffw | ) |
Definition at line 6995 of file NuppelVideoPlayer.cpp.
Referenced by TV::DVDJumpBack(), and TV::DVDJumpForward().
| void NuppelVideoPlayer::ActivateDVDButton | ( | void | ) |
| 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] |
| void NuppelVideoPlayer::DisplayPauseFrame | ( | void | ) | [protected] |
Definition at line 2523 of file NuppelVideoPlayer.cpp.
Referenced by DisplayNormalFrame(), and OutputVideoLoop().
| void NuppelVideoPlayer::DisplayNormalFrame | ( | void | ) | [protected] |
| void NuppelVideoPlayer::OutputVideoLoop | ( | void | ) | [protected] |
| 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] |
| 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] |
| void NuppelVideoPlayer::AutoDeint | ( | VideoFrame * | frame | ) | [private] |
| void NuppelVideoPlayer::SetPlaybackInfo | ( | ProgramInfo * | pginfo | ) | [private] |
Definition at line 552 of file NuppelVideoPlayer.cpp.
Referenced by JumpToProgram(), NuppelVideoPlayer(), SwitchToProgram(), and ~NuppelVideoPlayer().
| void NuppelVideoPlayer::SetPrebuffering | ( | bool | prebuffer | ) | [private] |
Definition at line 571 of file NuppelVideoPlayer.cpp.
Referenced by CheckPrebuffering(), ClearAfterSeek(), GetFrame(), and PrebufferEnoughFrames().
| 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] |
Definition at line 5284 of file NuppelVideoPlayer.cpp.
Referenced by CheckPrebuffering(), DoPause(), DoPlay(), FallbackDeint(), GetFrame(), kickoffOutputVideoLoop(), OpenFile(), OutputVideoLoop(), Pause(), SetScanType(), and StartPlaying().
| 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] |
| 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] |
Returns the stream decoder currently in use.
Definition at line 437 of file NuppelVideoPlayer.h.
Referenced by ChangeTrack(), DisplayNormalFrame(), DoChangeDVDTrack(), DoFastForward(), DoKeypress(), DoPause(), DoPlay(), DoRewind(), FastForward(), FileChangedCallback(), GetEncodingType(), GetFrame(), GetFrameFFREW(), GetFrameNormal(), GetRawAudioState(), GetTrack(), GetTracks(), GetXDS(), HandleArbSeek(), InitForTranscode(), InitVideo(), IsNearEnd(), IsReallyNearEnd(), ITVHandleAction(), ITVRestart(), JumpToFrame(), JumpToProgram(), OpenFile(), Pause(), RebuildSeekTable(), ReinitVideo(), ResetPlaying(), Rewind(), SetAudioByComponentTag(), SetRecorder(), SetTranscoding(), SetVideoByComponentTag(), SetWatchingRecording(), StartPlaying(), SwitchToProgram(), TranscodeGetNextFrame(), UpdateStoredFrameNum(), and WriteStoredData().
| const DecoderBase* NuppelVideoPlayer::GetDecoder | ( | void | ) | const [inline, private] |
| bool NuppelVideoPlayer::DecodeFrame | ( | struct rtframeheader * | frameheader, | |
| unsigned char * | strm, | |||
| unsigned char * | outbuf | |||
| ) | [private] |
| bool NuppelVideoPlayer::PrebufferEnoughFrames | ( | void | ) | [private] |
| void NuppelVideoPlayer::CheckPrebuffering | ( | void | ) | [private] |
Definition at line 1374 of file NuppelVideoPlayer.cpp.
Referenced by GetFrameFFREW(), and GetFrameNormal().
| bool NuppelVideoPlayer::GetFrameNormal | ( | int | onlyvideo | ) | [private] |
| bool NuppelVideoPlayer::GetFrameFFREW | ( | void | ) | [private] |
Definition at line 1454 of file NuppelVideoPlayer.cpp.
Referenced by AutoCommercialSkip(), GetFrameNormal(), GetRawVideoFrame(), GetScreenGrabAtFrame(), RebuildSeekTable(), StartPlaying(), and TranscodeGetNextFrame().
| 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] |
Definition at line 4413 of file NuppelVideoPlayer.cpp.
Referenced by GetScreenGrabAtFrame(), JumpToFrame(), JumpToProgram(), and StartPlaying().
| bool NuppelVideoPlayer::DoRewind | ( | void | ) | [private] |
Definition at line 4207 of file NuppelVideoPlayer.cpp.
Referenced by JumpToFrame(), and StartPlaying().
| void NuppelVideoPlayer::DoChangeDVDTrack | ( | void | ) | [private] |
| 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
| 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] |
| 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] |
| void NuppelVideoPlayer::AutoCommercialSkip | ( | void | ) | [private] |
| void NuppelVideoPlayer::MergeShortCommercials | ( | void | ) | [private] |
Definition at line 6091 of file NuppelVideoPlayer.cpp.
Referenced by AutoCommercialSkip(), and DoSkipCommercials().
| void NuppelVideoPlayer::SaveCutList | ( | void | ) | [private] |
| 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] |
| 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] |
| 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] |
Definition at line 4567 of file NuppelVideoPlayer.cpp.
Referenced by ClearAfterSeek(), DoSkipCommercials(), SetAutoCommercialSkip(), SetCommBreakMap(), and StartPlaying().
| void NuppelVideoPlayer::HandleArbSeek | ( | bool | right | ) | [private] |
| 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] |
| 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] |
| 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] |
| void NuppelVideoPlayer::AVSync | ( | void | ) | [private] |
| void NuppelVideoPlayer::ShutdownAVSync | ( | void | ) | [private] |
| 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] |
| 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] |
| 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] |
| void NuppelVideoPlayer::JumpToProgram | ( | void | ) | [private] |
| 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().
DecoderBase* NuppelVideoPlayer::decoder [private] |
Definition at line 520 of file NuppelVideoPlayer.h.
Referenced by ChangeCaptionTrack(), DefineWindow(), DisableCaptions(), DoPlay(), EnableCaptions(), EnableTeletext(), IsIVTVDecoder(), SetCaptionsEnabled(), SetDecoder(), SetTrack(), and StartPlaying().
QMutex NuppelVideoPlayer::decoder_change_lock [private] |
Definition at line 521 of file NuppelVideoPlayer.h.
Referenced by ChangeCaptionTrack(), ChangeTrack(), ITVHandleAction(), ITVRestart(), Pause(), SetCaptionsEnabled(), SetDecoder(), SetTeletextPage(), SetTrack(), SetWatchingRecording(), and ToggleCaptions().
VideoOutput* NuppelVideoPlayer::videoOutput [private] |
Definition at line 522 of file NuppelVideoPlayer.h.
Referenced by AVSync(), CheckPrebuffering(), ClearAfterSeek(), DiscardVideoFrame(), DiscardVideoFrames(), DisplayAVSubtitles(), DisplayDVDButton(), DisplayNormalFrame(), DisplayPauseFrame(), DisplayTextSubtitles(), DoPause(), DoPlay(), DrawSlice(), DrawUnusedRects(), EmbedInWidget(), ExpireSubtitles(), ExposeEvent(), FallbackDeint(), FastForward(), GetAdjustFill(), GetAspectOverride(), GetCurrentFrame(), GetFrame(), GetNextVideoFrame(), GetRawVideoFrame(), GetScreenGrabAtFrame(), InitAVSync(), InitFilters(), InitVideo(), IsEmbedding(), IsReallyNearEnd(), IvtvVideoLoop(), OpenDummy(), OutputVideoLoop(), Pause(), PrebufferEnoughFrames(), ReinitOSD(), ReinitVideo(), ReleaseNextVideoFrame(), Rewind(), SetForcedAspectRatio(), SetScanType(), SetVideoParams(), SetVideoResize(), ShowText(), StartPlaying(), StopEmbedding(), ToggleAdjustFill(), ToggleAspectOverride(), TranscodeGetNextFrame(), Zoom(), and ~NuppelVideoPlayer().
RemoteEncoder* NuppelVideoPlayer::nvr_enc [private] |
Definition at line 523 of file NuppelVideoPlayer.h.
Referenced by CalcMaxFFTime(), calcSliderPos(), GetSecondsBehind(), GetStatusbarPos(), IsNearEnd(), OpenFile(), SetRecorder(), and StartPlaying().
ProgramInfo* NuppelVideoPlayer::m_playbackinfo [private] |
Definition at line 524 of file NuppelVideoPlayer.h.
Referenced by ClearBookmark(), DisableEdit(), DoSkipCommercials(), EnableEdit(), FileChangedCallback(), GetBookmark(), GetDVDBookmark(), GetRawVideoFrame(), GetScreenGrabAtFrame(), IsNearEnd(), LoadCommBreakList(), LoadCutList(), OpenDummy(), OpenFile(), RebuildSeekTable(), SaveCutList(), SetBookmark(), SetDVDBookmark(), SetPlaybackInfo(), SetWatched(), StartPlaying(), and TranscodeGetNextFrame().
QWidget* NuppelVideoPlayer::parentWidget [private] |
WId NuppelVideoPlayer::embedid [private] |
int NuppelVideoPlayer::embx [private] |
int NuppelVideoPlayer::emby [private] |
int NuppelVideoPlayer::embw [private] |
int NuppelVideoPlayer::embh [private] |
Definition at line 530 of file NuppelVideoPlayer.h.
Referenced by EmbedInWidget(), and StopEmbedding().
bool NuppelVideoPlayer::embed_saved_scan_lock [private] |
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] |
Definition at line 537 of file NuppelVideoPlayer.h.
Referenced by GetCurrentFrame(), OutputVideoLoop(), ReinitVideo(), and ReleaseCurrentFrame().
QMutex NuppelVideoPlayer::pauseUnpauseLock [mutable, private] |
Definition at line 538 of file NuppelVideoPlayer.h.
Referenced by IsVideoActuallyPaused(), PauseVideo(), SetVideoActuallyPaused(), and UnpauseVideo().
QMutex NuppelVideoPlayer::internalPauseLock [mutable, private] |
Definition at line 539 of file NuppelVideoPlayer.h.
Referenced by AutoCommercialSkip(), EnableEdit(), Pause(), Play(), and StartPlaying().
bool NuppelVideoPlayer::eof [private] |
At end of file/ringbuffer.
Definition at line 540 of file NuppelVideoPlayer.h.
Referenced by JumpToProgram(), OpenFile(), PauseDecoder(), PauseVideo(), RebuildSeekTable(), StartPlaying(), SwitchToProgram(), TranscodeGetNextFrame(), and UnpauseVideo().
bool NuppelVideoPlayer::m_double_framerate [private] |
Output fps is double Video (input) rate.
Definition at line 541 of file NuppelVideoPlayer.h.
Referenced by AVSync(), DoPause(), DoPlay(), FallbackDeint(), OutputVideoLoop(), and SetScanType().
bool NuppelVideoPlayer::m_double_process [private] |
Output filter must processed at double rate.
Definition at line 542 of file NuppelVideoPlayer.h.
Referenced by AVSync(), DoPause(), DoPlay(), FallbackDeint(), OutputVideoLoop(), and SetScanType().
bool NuppelVideoPlayer::m_can_double [private] |
VideoOutput capable of doubling frame rate.
Definition at line 543 of file NuppelVideoPlayer.h.
Referenced by DoPlay(), OutputVideoLoop(), and SetScanType().
bool NuppelVideoPlayer::m_deint_possible [private] |
bool NuppelVideoPlayer::paused [private] |
Definition at line 545 of file NuppelVideoPlayer.h.
Referenced by DisplayNormalFrame(), DoFastForward(), DoPause(), DoPlay(), DoRewind(), SetPrebuffering(), and StartPlaying().
bool NuppelVideoPlayer::pausevideo [private] |
Definition at line 546 of file NuppelVideoPlayer.h.
Referenced by DisplayDVDButton(), IsPaused(), IvtvVideoLoop(), OutputVideoLoop(), PauseVideo(), and UnpauseVideo().
bool NuppelVideoPlayer::actuallypaused [private] |
Definition at line 547 of file NuppelVideoPlayer.h.
Referenced by DoPause(), DoPlay(), IsPaused(), and PauseDecoder().
bool NuppelVideoPlayer::video_actually_paused [private] |
Definition at line 548 of file NuppelVideoPlayer.h.
Referenced by DisplayPauseFrame(), IsVideoActuallyPaused(), PauseVideo(), SetVideoActuallyPaused(), and UnpauseVideo().
bool NuppelVideoPlayer::playing [private] |
Definition at line 549 of file NuppelVideoPlayer.h.
Referenced by InitForTranscode(), RebuildSeekTable(), and StartPlaying().
bool NuppelVideoPlayer::decoder_thread_alive [private] |
Definition at line 550 of file NuppelVideoPlayer.h.
bool NuppelVideoPlayer::killplayer [private] |
Definition at line 551 of file NuppelVideoPlayer.h.
Referenced by RebuildSeekTable(), and StartPlaying().
bool NuppelVideoPlayer::killvideo [private] |
Definition at line 552 of file NuppelVideoPlayer.h.
Referenced by IvtvVideoLoop(), OutputVideoLoop(), and StartPlaying().