|
MythTV
0.27pre
|
This class serves as the base class for all video output methods. More...
#include <videooutbase.h>


Public Member Functions | |
| VideoOutput () | |
| This constructor for VideoOutput must be followed by an Init(int,int,float,WId,int,int,int,int,WId) call. | |
| virtual | ~VideoOutput () |
| Shuts down video output. | |
| virtual bool | Init (const QSize &video_dim_buf, const QSize &video_dim_disp, float aspect, WId winid, const QRect &win_rect, MythCodecID codec_id) |
| Performs most of the initialization for VideoOutput. | |
| virtual void | InitOSD (OSD *osd) |
| virtual void | SetVideoFrameRate (float) |
| virtual bool | IsPreferredRenderer (QSize video_size) |
| virtual bool | SetDeinterlacingEnabled (bool) |
| Attempts to enable/disable deinterlacing using existing deinterlace method when enabling. | |
| virtual bool | SetupDeinterlace (bool i, const QString &ovrf="") |
| Attempts to enable or disable deinterlacing. | |
| virtual void | FallbackDeint (void) |
| Fallback to non-frame-rate-doubling deinterlacing method. | |
| virtual void | BestDeint (void) |
| Change to the best deinterlacing method. | |
| virtual bool | NeedsDoubleFramerate (void) const |
| Should Prepare() and Show() be called twice for every ProcessFrame(). | |
| virtual bool | IsBobDeint (void) const |
| virtual bool | IsExtraProcessingRequired (void) const |
| Should Prepare() and Show() and ProcessFrame be called twice for every Frameloop(). | |
| virtual bool | ApproveDeintFilter (const QString &filtername) const |
| Approves bobdeint filter for XVideo and otherwise defers to VideoOutput::ApproveDeintFilter(const QString&). | |
| void | GetDeinterlacers (QStringList &deinterlacers) |
| QString | GetDeinterlacer (void) |
| virtual void | PrepareFrame (VideoFrame *buffer, FrameScanType, OSD *osd)=0 |
| virtual void | Show (FrameScanType)=0 |
| virtual void | WindowResized (const QSize &new_size) |
| virtual bool | InputChanged (const QSize &video_dim_buf, const QSize &video_dim_disp, float aspect, MythCodecID myth_codec_id, void *codec_private, bool &aspect_changed) |
| Tells video output to discard decoded frames and wait for new ones. | |
| virtual void | VideoAspectRatioChanged (float aspect) |
| Calls SetVideoAspectRatio(float aspect), then calls MoveResize() to apply changes. | |
| virtual void | ResizeDisplayWindow (const QRect &, bool) |
| Resize Display Window. | |
| virtual void | EmbedInWidget (const QRect &rect) |
| Tells video output to embed video in an existing window. | |
| virtual void | StopEmbedding (void) |
| Tells video output to stop embedding video in an existing window. | |
| virtual void | ResizeForGui (void) |
| If we are using DisplayRes support, return the screen size and refresh rate to those used for the GUI. | |
| virtual void | ResizeForVideo (uint width=0, uint height=0) |
| Sets display parameters based on video resolution. | |
| virtual void | MoveResizeWindow (QRect new_rect)=0 |
| virtual void | MoveResize (void) |
| performs all the calculations for video framing and any resizing. | |
| virtual void | Zoom (ZoomDirection direction) |
| Sets up zooming into to different parts of the video, the zoom is actually applied in MoveResize(). | |
| virtual void | GetOSDBounds (QRect &total, QRect &visible, float &visibleAspect, float &fontScale, float themeAspect) const |
| QRect | GetMHEGBounds (void) |
| virtual void | DrawSlice (VideoFrame *frame, int x, int y, int w, int h) |
| Informs video output of new data for frame, used for hardware accelerated decoding. | |
| virtual void | DrawUnusedRects (bool sync=true)=0 |
| Draws non-video portions of the screen. | |
| virtual float | GetDisplayAspect (void) const |
| Returns current display aspect ratio. | |
| AspectOverrideMode | GetAspectOverride (void) const |
| Returns current aspect override mode. | |
| virtual void | ToggleAspectOverride (AspectOverrideMode aspectOverrideMode=kAspect_Toggle) |
| Enforce different aspect ration than detected, then calls VideoAspectRatioChanged(float) to apply them. | |
| AdjustFillMode | GetAdjustFill (void) const |
| Returns current adjust fill mode. | |
| virtual void | ToggleAdjustFill (AdjustFillMode adjustFillMode=kAdjustFill_Toggle) |
| Sets up letterboxing for various standard video frame and monitor dimensions, then calls MoveResize() to apply them. | |
| QString | GetZoomString (void) const |
| virtual void | ProcessFrame (VideoFrame *frame, OSD *osd, FilterChain *filterList, const PIPMap &pipPlayers, FrameScanType scan=kScan_Ignore)=0 |
| void | CropToDisplay (VideoFrame *frame) |
| void | ExposeEvent (void) |
| Tells video output that a full repaint is needed. | |
| PictureAttributeSupported | GetSupportedPictureAttributes (void) |
| int | ChangePictureAttribute (PictureAttribute, bool direction) |
| virtual int | SetPictureAttribute (PictureAttribute, int newValue) |
| Sets a specified picture attribute. | |
| int | GetPictureAttribute (PictureAttribute) |
| virtual void | InitPictureAttributes (void) |
| bool | AllowPreviewEPG (void) const |
| virtual bool | IsPIPSupported (void) const |
| virtual bool | IsPBPSupported (void) const |
| virtual bool | NeedExtraAudioDecode (void) const |
| virtual bool | hasHWAcceleration (void) const |
| Return true if HW Acceleration is running. | |
| virtual void * | GetDecoderContext (unsigned char *buf, uint8_t *&id) |
| virtual void | SetFramesPlayed (long long fp) |
| Sets the number of frames played. | |
| virtual long long | GetFramesPlayed (void) |
| Returns the number of frames played. | |
| bool | IsErrored () const |
| Returns true if a fatal error has been encountered. | |
| VideoErrorState | GetError (void) const |
| Returns error type. | |
| void | SetPrebuffering (bool normal) |
| Sets whether to use a normal number of buffers or fewer buffers. | |
| virtual void | ClearAfterSeek (void) |
| Tells video output to toss decoded buffers due to a seek. | |
| virtual int | ValidVideoFrames (void) const |
| Returns number of frames that are fully decoded. | |
| int | FreeVideoFrames (void) |
| Returns number of frames available for decoding onto. | |
| bool | EnoughFreeFrames (void) |
| Returns true iff enough frames are available to decode onto. | |
| bool | EnoughDecodedFrames (void) |
| Returns true iff there are plenty of decoded frames ready for display. | |
| bool | EnoughPrebufferedFrames (void) |
| Returns true iff we have at least the minimum number of decoded frames ready for display. | |
| bool | IsEmbedding (void) |
| Returns if videooutput is embedding. | |
| virtual VideoFrame * | GetNextFreeFrame (void) |
| Blocks until it is possible to return a frame for decoding onto. | |
| virtual void | ReleaseFrame (VideoFrame *frame) |
| Releases a frame from the ready for decoding queue onto the queue of frames ready for display. | |
| virtual void | DeLimboFrame (VideoFrame *frame) |
| Releases a frame for reuse if it is in limbo. | |
| virtual void | StartDisplayingFrame (void) |
| Tell GetLastShownFrame() to return the next frame from the head of the queue of frames to display. | |
| virtual void | DoneDisplayingFrame (VideoFrame *frame) |
| Releases frame returned from GetLastShownFrame() onto the queue of frames ready for decoding onto. | |
| virtual void | DiscardFrame (VideoFrame *frame) |
| Releases frame from any queue onto the queue of frames ready for decoding onto. | |
| virtual void | DiscardFrames (bool kf) |
| Releases all frames not being actively displayed from any queue onto the queue of frames ready for decoding onto. | |
| virtual void | ClearDummyFrame (VideoFrame *frame) |
| Clears the frame to black. | |
| virtual void | CheckFrameStates (void) |
| virtual VideoFrame * | GetLastDecodedFrame (void) |
| virtual VideoFrame * | GetLastShownFrame (void) |
| Returns frame from the head of the ready to be displayed queue, if StartDisplayingFrame has been called. | |
| QString | GetFrameStatus (void) const |
| Returns string with status of each frame for debugging. | |
| virtual void | UpdatePauseFrame (int64_t &disp_timecode)=0 |
| Updates frame displayed when video is paused. | |
| void | SetVideoResize (const QRect &videoRect) |
| Tells the player to resize the video frame (used for ITV) | |
| void | SetVideoScalingAllowed (bool change) |
| Disable or enable underscan/overscan. | |
| bool | IsVideoScalingAllowed (void) const |
| check if video underscan/overscan is allowed | |
| virtual void | SetVideoFlip (void) |
| Tells the player to flip the video frames for proper display. | |
| virtual QRect | GetPIPRect (PIPLocation location, MythPlayer *pipplayer=NULL, bool do_pixel_adj=true) const |
| returns QRect of PIP based on PIPLocation | |
| virtual void | RemovePIP (MythPlayer *pipplayer) |
| virtual void | SetPIPState (PIPState setting) |
| virtual QString | GetOSDRenderer (void) const |
| \ brief return OSD renderer type for this videoOutput | |
| virtual MythPainter * | GetOSDPainter (void) |
| virtual bool | GetScreenShot (int width=0, int height=0, QString filename="") |
| QString | GetFilters (void) const |
| QRect | GetImageRect (const QRect &rect, QRect *display=NULL) |
| translates caption/dvd button rectangle into 'screen' space | |
| QRect | GetSafeRect (void) |
| Returns a QRect describing an area of the screen on which it is 'safe' to render the On Screen Display. | |
| bool | EnableVisualisation (AudioPlayer *audio, bool enable, const QString &name=QString("")) |
| virtual bool | CanVisualise (AudioPlayer *audio, MythRender *render) |
| virtual bool | SetupVisualisation (AudioPlayer *audio, MythRender *render, const QString &name) |
| VideoVisual * | GetVisualisation (void) |
| QString | GetVisualiserName (void) |
| virtual QStringList | GetVisualiserList (void) |
| void | DestroyVisualisation (void) |
| virtual bool | StereoscopicModesAllowed (void) const |
| void | SetStereoscopicMode (StereoscopicMode mode) |
| StereoscopicMode | GetStereoscopicMode (void) const |
Static Public Member Functions | |
| static void | GetRenderOptions (render_opts &opts) |
| static VideoOutput * | Create (const QString &decoder, MythCodecID codec_id, void *codec_priv, PIPState pipState, const QSize &video_dim_buf, const QSize &video_dim_disp, float video_aspect, QWidget *parentwidget, const QRect &embed_rect, float video_prate, uint playerFlags) |
| Depending on compile-time configure settings and run-time renderer settings, create a relevant VideoOutput subclass. | |
| static int | CalcHueBase (const QString &adaptor_name) |
Protected Member Functions | |
| void | InitBuffers (int numdecode, bool extra_for_pause, int need_free, int needprebuffer_normal, int needprebuffer_small, int keepprebuffer) |
| void | InitDisplayMeasurements (uint width, uint height, bool resize) |
| Init display measurements based on database settings and actual screen parameters. | |
| virtual void | ShowPIPs (VideoFrame *frame, const PIPMap &pipPlayers) |
| virtual void | ShowPIP (VideoFrame *frame, MythPlayer *pipplayer, PIPLocation loc) |
| Composites PiP image onto a video frame. | |
| virtual bool | DisplayOSD (VideoFrame *frame, OSD *osd) |
| If the OSD has changed, this will convert the OSD buffer to the OSDSurface's color format. | |
| QRect | GetVisibleOSDBounds (float &, float &, float) const |
| Returns visible portions of total OSD bounds. | |
| QRect | GetTotalOSDBounds (void) const |
| Returns total OSD bounds. | |
| virtual bool | hasFullScreenOSD (void) const |
| void | DoPipResize (int pipwidth, int pipheight) |
| Sets up Picture in Picture image resampler. | |
| void | ShutdownPipResize (void) |
| Shuts down Picture in Picture image resampler. | |
| void | ResizeVideo (VideoFrame *frame) |
| void | DoVideoResize (const QSize &inDim, const QSize &outDim) |
| Sets up Picture in Picture image resampler. | |
| virtual void | ShutdownVideoResize (void) |
Static Protected Member Functions | |
| static void | CopyFrame (VideoFrame *to, const VideoFrame *from) |
| Copies frame data from one VideoFrame to another. | |
This class serves as the base class for all video output methods.
The basic use is:
Note: Show() may be called multiple times between PrepareFrame() and DoneDisplayingFrame(). But if a frame is ever removed from available via GetNextFreeFrame(), you must either call DoneDisplayFrame() or call DiscardFrame(VideoFrame*) on it.
Note: ProcessFrame() may be called multiple times on a frame, to update an OSD for example.
The VideoBuffers class handles the buffer tracking, see it for more details on the states a buffer can take before it becomes available for reuse.
Definition at line 45 of file videooutbase.h.
| VideoOutput::VideoOutput | ( | ) |
This constructor for VideoOutput must be followed by an Init(int,int,float,WId,int,int,int,int,WId) call.
Definition at line 386 of file videooutbase.cpp.
|
virtual |
Shuts down video output.
Definition at line 450 of file videooutbase.cpp.
|
static |
Reimplemented in VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputNullVAAPI, and VideoOutputOpenGLVAAPI.
Definition at line 62 of file videooutbase.cpp.
Referenced by VideoDisplayProfile::init_statics().
|
static |
Depending on compile-time configure settings and run-time renderer settings, create a relevant VideoOutput subclass.
Definition at line 112 of file videooutbase.cpp.
Referenced by MythPlayer::InitVideo(), VideoOutputOpenGL::SetupContext(), and SetupVisualisation().
|
virtual |
Performs most of the initialization for VideoOutput.
Reimplemented in VideoOutputNullVDPAU, VideoOutputXv, VideoOutputVDPAU, VideoOutputD3D, VideoOutputNullVAAPI, VideoOutputOpenGL, VideoOutputOpenGLVAAPI, VideoOutputNull, and VideoOutputQuartz.
Definition at line 478 of file videooutbase.cpp.
Referenced by Create().
Definition at line 509 of file videooutbase.cpp.
Referenced by MythPlayer::VideoStart().
|
virtual |
Reimplemented in VideoOutputQuartz.
Definition at line 536 of file videooutbase.cpp.
Referenced by MythPlayer::ChangeSpeed(), Create(), and MythPlayer::ReinitVideo().
|
virtual |
Definition at line 522 of file videooutbase.cpp.
Referenced by MythPlayer::ReinitVideo().
Attempts to enable/disable deinterlacing using existing deinterlace method when enabling.
Reimplemented in VideoOutputNullVDPAU, VideoOutputOpenGL, VideoOutputXv, VideoOutputOpenGLVAAPI, VideoOutputNullVAAPI, and VideoOutputVDPAU.
Definition at line 547 of file videooutbase.cpp.
Referenced by MythPlayer::SetScanType().
Attempts to enable or disable deinterlacing.
| overridefilter | optional, explicitly use this nondefault deint filter |
Reimplemented in VideoOutputNullVDPAU, VideoOutputOpenGL, VideoOutputXv, VideoOutputOpenGLVAAPI, VideoOutputVDPAU, VideoOutputNullVAAPI, and VideoOutputNull.
Definition at line 566 of file videooutbase.cpp.
Referenced by BestDeint(), FallbackDeint(), MythPlayer::ForceDeinterlacer(), SetDeinterlacingEnabled(), and MythPlayer::VideoStart().
Fallback to non-frame-rate-doubling deinterlacing method.
Definition at line 653 of file videooutbase.cpp.
Referenced by MythPlayer::ChangeSpeed(), and MythPlayer::FallbackDeint().
Change to the best deinterlacing method.
Definition at line 663 of file videooutbase.cpp.
Referenced by MythPlayer::ChangeSpeed(), VideoOutputOpenGLVAAPI::InputChanged(), VideoOutputOpenGL::InputChanged(), VideoOutputD3D::InputChanged(), VideoOutputVDPAU::InputChanged(), InputChanged(), and VideoOutputOpenGL::ProcessFrame().
Should Prepare() and Show() be called twice for every ProcessFrame().
Definition at line 688 of file videooutbase.cpp.
Referenced by MythPlayer::ChangeSpeed(), MythPlayer::ForceDeinterlacer(), MythPlayer::SetScanType(), and MythPlayer::VideoStart().
Definition at line 697 of file videooutbase.cpp.
Referenced by VideoOutputOpenGL::PrepareFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), and VideoOutputXv::ProcessFrame().
Should Prepare() and Show() and ProcessFrame be called twice for every Frameloop().
All adaptive full framerate deinterlacers require an extra ProcessFrame() call.
Definition at line 678 of file videooutbase.cpp.
Referenced by MythPlayer::ChangeSpeed(), MythPlayer::ForceDeinterlacer(), MythPlayer::SetScanType(), and MythPlayer::VideoStart().
|
virtual |
Approves bobdeint filter for XVideo and otherwise defers to VideoOutput::ApproveDeintFilter(const QString&).
Approves all deinterlace filters, except ones which must be supported by a specific video output class.
Reimplemented in VideoOutputD3D, VideoOutputOpenGL, VideoOutputNullVDPAU, VideoOutputXv, VideoOutputOpenGLVAAPI, VideoOutputNullVAAPI, and VideoOutputVDPAU.
Definition at line 707 of file videooutbase.cpp.
Referenced by SetupDeinterlace().
| void VideoOutput::GetDeinterlacers | ( | QStringList & | deinterlacers | ) |
Definition at line 716 of file videooutbase.cpp.
Referenced by TV::PlaybackMenuInit().
| QString VideoOutput::GetDeinterlacer | ( | void | ) |
Definition at line 724 of file videooutbase.cpp.
Referenced by TV::PlaybackMenuInit().
|
pure virtual |
Implemented in VideoOutputNullVDPAU, VideoOutputXv, VideoOutputNullVAAPI, VideoOutputVDPAU, VideoOutputD3D, VideoOutputQuartz, VideoOutputOpenGL, and VideoOutputNull.
Referenced by MythPlayer::AVSync(), MythPlayer::DisplayPauseFrame(), and VideoPerformanceTest::Test().
|
pure virtual |
Implemented in VideoOutputNullVDPAU, VideoOutputXv, VideoOutputNullVAAPI, VideoOutputVDPAU, VideoOutputD3D, VideoOutputOpenGL, VideoOutputQuartz, and VideoOutputNull.
Referenced by MythPlayer::AVSync(), MythPlayer::DisplayPauseFrame(), and VideoPerformanceTest::Test().
|
inlinevirtual |
Reimplemented in VideoOutputXv, and VideoOutputD3D.
Definition at line 80 of file videooutbase.h.
Referenced by MythPlayer::WindowResized().
|
virtual |
Tells video output to discard decoded frames and wait for new ones.
Reimplemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputD3D, VideoOutputQuartz, VideoOutputOpenGL, VideoOutputOpenGLVAAPI, VideoOutputNull, and VideoOutputNullVAAPI.
Definition at line 747 of file videooutbase.cpp.
Referenced by MythPlayer::ReinitVideo().
|
virtual |
Calls SetVideoAspectRatio(float aspect), then calls MoveResize() to apply changes.
| aspect | video aspect ratio to use |
Reimplemented in VideoOutputXv, VideoOutputVDPAU, and VideoOutputQuartz.
Definition at line 737 of file videooutbase.cpp.
Referenced by MythPlayer::CheckAspectRatio(), Init(), VideoOutputOpenGLVAAPI::InputChanged(), VideoOutputOpenGL::InputChanged(), and VideoOutputD3D::InputChanged().
Resize Display Window.
Definition at line 769 of file videooutbase.cpp.
Referenced by PlayerContext::ResizePIPWindow(), and VideoOutputOpenGL::SetupOpenGL().
|
virtual |
Tells video output to embed video in an existing window.
Reimplemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputD3D, VideoOutputOpenGL, VideoOutputNullVAAPI, VideoOutputQuartz, and VideoOutputNull.
Definition at line 778 of file videooutbase.cpp.
Referenced by VideoOutputNull::EmbedInWidget(), VideoOutputOpenGL::EmbedInWidget(), VideoOutputXv::EmbedInWidget(), MythPlayer::EmbedInWidget(), Init(), and MythPlayer::InitVideo().
Tells video output to stop embedding video in an existing window.
Reimplemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputD3D, VideoOutputOpenGL, VideoOutputNullVAAPI, VideoOutputQuartz, and VideoOutputNull.
Definition at line 788 of file videooutbase.cpp.
Referenced by Init(), VideoOutputNull::StopEmbedding(), and MythPlayer::StopEmbedding().
If we are using DisplayRes support, return the screen size and refresh rate to those used for the GUI.
Reimplemented in VideoOutputQuartz.
Definition at line 1670 of file videooutbase.cpp.
Referenced by TV::DoEditSchedule(), and ~VideoOutput().
Sets display parameters based on video resolution.
If we are using DisplayRes support we use the video size to determine the desired screen size and refresh rate. If we are also not using "GuiSizeForTV" we also resize the video output window.
| width,height | Resolution of the video we will be playing |
Reimplemented in VideoOutputQuartz.
Definition at line 1687 of file videooutbase.cpp.
Referenced by TV::customEvent(), InitDisplayMeasurements(), and VideoOutputXv::InputChanged().
|
pure virtual |
Implemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputOpenGL, VideoOutputVDPAU, VideoOutputNullVAAPI, VideoOutputQuartz, VideoOutputNull, and VideoOutputD3D.
Referenced by InitDisplayMeasurements(), and ResizeForVideo().
performs all the calculations for video framing and any resizing.
First we apply playback over/underscanning and offsetting, then we letterbox settings, and finally we apply manual scale & move properties for "Zoom Mode".
Reimplemented in VideoOutputXv, VideoOutputOpenGL, and VideoOutputQuartz.
Definition at line 886 of file videooutbase.cpp.
Referenced by VideoOutputVDPAU::EmbedInWidget(), VideoOutputNull::Init(), VideoOutputD3D::Init(), VideoOutputVDPAU::Init(), VideoOutputNull::InputChanged(), VideoOutputD3D::InputChanged(), VideoOutputVDPAU::InputChanged(), ResizeForVideo(), VideoOutputVDPAU::StopEmbedding(), VideoOutputNull::Zoom(), VideoOutputD3D::Zoom(), and VideoOutputVDPAU::Zoom().
|
virtual |
Sets up zooming into to different parts of the video, the zoom is actually applied in MoveResize().
Reimplemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputD3D, VideoOutputNullVAAPI, VideoOutputQuartz, VideoOutputOpenGL, and VideoOutputNull.
Definition at line 897 of file videooutbase.cpp.
Referenced by MythPlayer::Zoom().
|
virtual |
Definition at line 807 of file videooutbase.cpp.
Referenced by SubtitleScreen::DisplayAVSubtitles(), SubtitleScreen::DisplayDVDButton(), MythPlayer::ReinitOSD(), InteractiveScreen::UpdateArea(), and MythPlayer::VideoStart().
| QRect VideoOutput::GetMHEGBounds | ( | void | ) |
Definition at line 861 of file videooutbase.cpp.
Referenced by SubtitleScreen::InitialiseAssTrack(), MythPlayer::ReinitOSD(), SubtitleScreen::RenderAssTrack(), and MythPlayer::VideoStart().
Informs video output of new data for frame, used for hardware accelerated decoding.
Reimplemented in VideoOutputNullVDPAU, and VideoOutputVDPAU.
Definition at line 798 of file videooutbase.cpp.
Referenced by MythPlayer::DrawSlice().
Draws non-video portions of the screen.
| sync | if set any queued up draws are sent immediately to the graphics context and we block until they have completed. |
Implemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputQuartz, VideoOutputNullVAAPI, VideoOutputD3D, VideoOutputOpenGL, and VideoOutputNull.
|
virtual |
Returns current display aspect ratio.
Definition at line 1282 of file videooutbase.cpp.
Referenced by GetVisibleOSDBounds().
| AspectOverrideMode VideoOutput::GetAspectOverride | ( | void | ) | const |
Returns current aspect override mode.
Definition at line 1272 of file videooutbase.cpp.
Referenced by MythPlayer::GetAspectOverride().
|
virtual |
Enforce different aspect ration than detected, then calls VideoAspectRatioChanged(float) to apply them.
Reimplemented in VideoOutputQuartz.
Definition at line 909 of file videooutbase.cpp.
Referenced by MythPlayer::ToggleAspectOverride().
| AdjustFillMode VideoOutput::GetAdjustFill | ( | void | ) | const |
Returns current adjust fill mode.
Definition at line 1277 of file videooutbase.cpp.
Referenced by MythPlayer::GetAdjustFill().
|
virtual |
Sets up letterboxing for various standard video frame and monitor dimensions, then calls MoveResize() to apply them.
Reimplemented in VideoOutputQuartz.
Definition at line 921 of file videooutbase.cpp.
Referenced by MythPlayer::ToggleAdjustFill().
|
inline |
Definition at line 126 of file videooutbase.h.
Referenced by TV::ManualZoomHandleAction().
|
pure virtual |
Implemented in VideoOutputNullVDPAU, VideoOutputXv, VideoOutputNull, VideoOutputOpenGLVAAPI, VideoOutputNullVAAPI, VideoOutputVDPAU, VideoOutputD3D, VideoOutputOpenGL, and VideoOutputQuartz.
Referenced by MythPlayer::AVSync(), MythDVDPlayer::DisplayLastFrame(), MythPlayer::DisplayNormalFrame(), MythPlayer::DisplayPauseFrame(), and VideoPerformanceTest::Test().
| void VideoOutput::CropToDisplay | ( | VideoFrame * | frame | ) |
Definition at line 1890 of file videooutbase.cpp.
Referenced by VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), and VideoOutputXv::ProcessFrame().
Tells video output that a full repaint is needed.
Definition at line 1660 of file videooutbase.cpp.
Referenced by MythPlayer::ExposeEvent(), and MythPlayer::UnpauseVideo().
|
inline |
Definition at line 138 of file videooutbase.h.
Referenced by TV::GetStatus(), TV::NextPictureAdjustType(), TV::PlaybackMenuInit(), MythPlayer::ToggleNightMode(), and MythPlayer::ToggleStudioLevels().
| int VideoOutput::ChangePictureAttribute | ( | PictureAttribute | attributeType, |
| bool | direction | ||
| ) |
Definition at line 926 of file videooutbase.cpp.
Referenced by TV::DoChangePictureAttribute().
|
virtual |
Sets a specified picture attribute.
| attribute | Picture attribute to set. |
| newValue | Value to set attribute to. |
Reimplemented in VideoOutputXv, VideoOutputVDPAU, VideoOutputOpenGLVAAPI, and VideoOutputOpenGL.
Definition at line 953 of file videooutbase.cpp.
Referenced by ChangePictureAttribute(), TV::DoChangePictureAttribute(), MythPlayer::ToggleNightMode(), and MythPlayer::ToggleStudioLevels().
| int VideoOutput::GetPictureAttribute | ( | PictureAttribute | attributeType | ) |
Definition at line 958 of file videooutbase.cpp.
Referenced by ChangePictureAttribute(), TV::DoTogglePictureAttribute(), TV::GetStatus(), TV::PlaybackMenuInit(), MythPlayer::ToggleNightMode(), and MythPlayer::ToggleStudioLevels().
Reimplemented in VideoOutputXv, VideoOutputVDPAU, VideoOutputOpenGLVAAPI, and VideoOutputOpenGL.
Definition at line 143 of file videooutbase.h.
Definition at line 871 of file videooutbase.cpp.
Referenced by TV::DoEditSchedule().
Reimplemented in VideoOutputXv, VideoOutputVDPAU, VideoOutputD3D, and VideoOutputOpenGL.
Definition at line 147 of file videooutbase.h.
Referenced by PlayerContext::IsPIPSupported().
Reimplemented in VideoOutputXv, and VideoOutputVDPAU.
Definition at line 148 of file videooutbase.h.
Referenced by PlayerContext::IsPBPSupported().
Reimplemented in VideoOutputXv, VideoOutputVDPAU, and VideoOutputQuartz.
Definition at line 149 of file videooutbase.h.
Referenced by MythPlayer::CheckExtraAudioDecode().
Return true if HW Acceleration is running.
Reimplemented in VideoOutputVDPAU, and VideoOutputD3D.
Definition at line 152 of file videooutbase.h.
Referenced by TV::PlaybackMenuInit(), and MythPlayer::PrebufferEnoughFrames().
|
inlinevirtual |
Reimplemented in VideoOutputD3D, VideoOutputOpenGLVAAPI, and VideoOutputNullVAAPI.
Definition at line 153 of file videooutbase.h.
Referenced by MythPlayer::GetDecoderContext().
|
inlinevirtual |
Sets the number of frames played.
Definition at line 156 of file videooutbase.h.
Referenced by MythPlayer::SetFramesPlayed().
|
inlinevirtual |
Returns the number of frames played.
Definition at line 158 of file videooutbase.h.
Referenced by MythPlayer::Pause(), and MythPlayer::VideoLoop().
Returns true if a fatal error has been encountered.
Definition at line 161 of file videooutbase.h.
Referenced by MythPlayer::AVSync(), MythPlayer::DisplayPauseFrame(), VideoOutputNullVDPAU::DrawSlice(), VideoOutputD3D::PrepareFrame(), VideoOutputXv::PrepareFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), VideoOutputOpenGL::Show(), VideoOutputD3D::Show(), and VideoOutputXv::Show().
|
inline |
Returns error type.
Definition at line 163 of file videooutbase.h.
Referenced by MythPlayer::SetErrored().
Sets whether to use a normal number of buffers or fewer buffers.
Definition at line 166 of file videooutbase.h.
Referenced by MythPlayer::ChangeSpeed().
Tells video output to toss decoded buffers due to a seek.
Reimplemented in VideoOutputXv, VideoOutputNullVDPAU, and VideoOutputVDPAU.
Definition at line 168 of file videooutbase.h.
Referenced by MythPlayer::ClearAfterSeek().
Returns number of frames that are fully decoded.
Definition at line 171 of file videooutbase.h.
Referenced by MythPlayer::EventLoop(), MythPlayer::GetPlaybackData(), MythPlayer::GetRawVideoFrame(), MythPlayer::GetScreenGrabAtFrame(), MythPlayer::IsReallyNearEnd(), MythPlayer::PrebufferEnoughFrames(), MythPlayer::RefreshPauseFrame(), MythBDPlayer::VideoLoop(), and MythDVDPlayer::VideoLoop().
Returns number of frames available for decoding onto.
Definition at line 174 of file videooutbase.h.
Referenced by MythPlayer::GetFreeVideoFrames(), MythPlayer::GetPlaybackData(), and MythDVDPlayer::VideoLoop().
Returns true iff enough frames are available to decode onto.
Definition at line 176 of file videooutbase.h.
Referenced by MythPlayer::DecoderGetFrame(), MythPlayer::PrebufferEnoughFrames(), and MythDVDPlayer::VideoLoop().
Returns true iff there are plenty of decoded frames ready for display.
Definition at line 179 of file videooutbase.h.
Referenced by MythPlayer::PrebufferEnoughFrames().
Returns true iff we have at least the minimum number of decoded frames ready for display.
Definition at line 182 of file videooutbase.h.
Referenced by MythPlayer::PrebufferEnoughFrames().
Returns if videooutput is embedding.
Definition at line 1655 of file videooutbase.cpp.
Referenced by MythPlayer::IsEmbedding().
|
inlinevirtual |
Blocks until it is possible to return a frame for decoding onto.
Definition at line 190 of file videooutbase.h.
Referenced by MythPlayer::GetNextVideoFrame().
|
inlinevirtual |
Releases a frame from the ready for decoding queue onto the queue of frames ready for display.
Reimplemented in VideoOutputNullVDPAU, and VideoOutputNullVAAPI.
Definition at line 194 of file videooutbase.h.
Referenced by MythPlayer::ReleaseNextVideoFrame().
|
inlinevirtual |
Releases a frame for reuse if it is in limbo.
Definition at line 196 of file videooutbase.h.
Referenced by MythPlayer::DeLimboFrame().
Tell GetLastShownFrame() to return the next frame from the head of the queue of frames to display.
Definition at line 199 of file videooutbase.h.
Referenced by MythPlayer::DisplayNormalFrame(), MythPlayer::GetRawVideoFrame(), MythCCExtractorPlayer::OnGotNewFrame(), and VideoPerformanceTest::Test().
|
inlinevirtual |
Releases frame returned from GetLastShownFrame() onto the queue of frames ready for decoding onto.
Reimplemented in VideoOutputNullVDPAU, and VideoOutputNullVAAPI.
Definition at line 202 of file videooutbase.h.
Referenced by MythPlayer::DisplayNormalFrame(), MythCCExtractorPlayer::OnGotNewFrame(), VideoPerformanceTest::Test(), and Transcode::TranscodeFile().
|
inlinevirtual |
Releases frame from any queue onto the queue of frames ready for decoding onto.
Definition at line 206 of file videooutbase.h.
Referenced by MythPlayer::DiscardVideoFrame().
Releases all frames not being actively displayed from any queue onto the queue of frames ready for decoding onto.
Definition at line 209 of file videooutbase.h.
Referenced by VideoOutputNullVAAPI::DeleteBuffers(), VideoOutputOpenGL::DestroyCPUResources(), MythPlayer::DiscardVideoFrames(), and InputChanged().
|
virtual |
Clears the frame to black.
Subclasses may choose to mark the frame as a dummy and act appropriately
Reimplemented in VideoOutputVDPAU.
Definition at line 1311 of file videooutbase.cpp.
Referenced by MythPlayer::ClearDummyVideoFrame().
Definition at line 213 of file videooutbase.h.
|
inlinevirtual |
Reimplemented in VideoOutputNullVDPAU, and VideoOutputNullVAAPI.
Definition at line 216 of file videooutbase.h.
Referenced by MythPlayer::GetScreenGrabAtFrame(), VideoDecodeBuffer::run(), MythPlayer::SeekForScreenGrab(), and MythPlayer::TranscodeGetNextFrame().
|
inlinevirtual |
Returns frame from the head of the ready to be displayed queue, if StartDisplayingFrame has been called.
Reimplemented in VideoOutputNullVDPAU, and VideoOutputNullVAAPI.
Definition at line 221 of file videooutbase.h.
Referenced by TV::DiscMenuHandleAction(), SubtitleScreen::DisplayAVSubtitles(), MythPlayer::DisplayNormalFrame(), SubtitleScreen::DisplayRawTextSubtitles(), SubtitleScreen::DisplayTextSubtitles(), SubtitleScreen::ExpireSubtitles(), MythPlayer::GetCurrentFrame(), CC608Reader::GetOutputText(), MythPlayer::GetRawVideoFrame(), MythBDPlayer::GoToMenu(), MythCCExtractorPlayer::OnGotNewFrame(), VideoOutputVDPAU::PrepareFrame(), VideoOutputXv::ShowXVideo(), and VideoPerformanceTest::Test().
|
inline |
Returns string with status of each frame for debugging.
Definition at line 225 of file videooutbase.h.
Referenced by MythPlayer::PrebufferEnoughFrames().
|
pure virtual |
Updates frame displayed when video is paused.
Implemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputQuartz, VideoOutputNullVAAPI, VideoOutputD3D, VideoOutputNull, VideoOutputOpenGL, and VideoOutputOpenGLVAAPI.
Referenced by MythPlayer::RefreshPauseFrame(), MythBDPlayer::VideoLoop(), and MythDVDPlayer::VideoLoop().
| void VideoOutput::SetVideoResize | ( | const QRect & | videoRect | ) |
Tells the player to resize the video frame (used for ITV)
Definition at line 1320 of file videooutbase.cpp.
Referenced by InteractiveScreen::Close(), and MythPlayer::SetVideoResize().
Disable or enable underscan/overscan.
Definition at line 1339 of file videooutbase.cpp.
Referenced by Create().
check if video underscan/overscan is allowed
Definition at line 1287 of file videooutbase.cpp.
Tells the player to flip the video frames for proper display.
Reimplemented in VideoOutputVDPAU.
Definition at line 239 of file videooutbase.h.
Referenced by MythPlayer::InitVideo().
|
virtual |
returns QRect of PIP based on PIPLocation
Reimplemented in VideoOutputXv.
Definition at line 974 of file videooutbase.cpp.
Referenced by VideoOutputXv::GetPIPRect(), TV::ResizePIPWindow(), VideoOutputOpenGL::ShowPIP(), VideoOutputD3D::ShowPIP(), VideoOutputVDPAU::ShowPIP(), and ShowPIP().
|
inlinevirtual |
Reimplemented in VideoOutputD3D, and VideoOutputOpenGL.
Definition at line 245 of file videooutbase.h.
Referenced by MythPlayer::RemovePIPPlayer().
Definition at line 1637 of file videooutbase.cpp.
Referenced by Create().
|
virtual |
\ brief return OSD renderer type for this videoOutput
Definition at line 966 of file videooutbase.cpp.
|
inlinevirtual |
Reimplemented in VideoOutputXv, VideoOutputNullVDPAU, VideoOutputVDPAU, VideoOutputD3D, VideoOutputOpenGL, and VideoOutputNullVAAPI.
Definition at line 250 of file videooutbase.h.
Referenced by SubtitleScreen::AddScaledImage(), BDOverlayScreen::DisplayBDOverlay(), SubtitleScreen::DisplayScaledAVSubtitles(), TeletextScreen::OptimiseDisplayedArea(), MythPlayer::PreProcessNormalFrame(), MythPlayer::ReinitOSD(), MythPlayer::ReinitVideo(), SubtitleScreen::RenderAssTrack(), and MythPlayer::VideoStart().
|
inlinevirtual |
Reimplemented in VideoOutputVDPAU.
Definition at line 251 of file videooutbase.h.
Referenced by MythPlayer::GetScreenShot().
| QString VideoOutput::GetFilters | ( | void | ) | const |
Definition at line 515 of file videooutbase.cpp.
Referenced by MythPlayer::InitFilters(), VideoOutputVDPAU::ParseOptions(), VideoOutputOpenGL::SetupOpenGL(), and VideoOutputOpenGL::ShowPIP().
| QRect VideoOutput::GetImageRect | ( | const QRect & | rect, |
| QRect * | display = NULL |
||
| ) |
translates caption/dvd button rectangle into 'screen' space
Definition at line 1556 of file videooutbase.cpp.
Referenced by SubtitleScreen::AddScaledImage(), BDOverlayScreen::DisplayBDOverlay(), and SubtitleScreen::DisplayScaledAVSubtitles().
| QRect VideoOutput::GetSafeRect | ( | void | ) |
Returns a QRect describing an area of the screen on which it is 'safe' to render the On Screen Display.
For 'fullscreen' OSDs this will still translate to a subset of the video frame area to ensure consistency of presentation for subtitling etc.
Definition at line 1626 of file videooutbase.cpp.
Referenced by SubtitleScreen::DisplayCC608Subtitles(), SubtitleScreen::DisplayCC708Subtitles(), SubtitleScreen::DisplayRawTextSubtitles(), SubtitleScreen::DisplayTextSubtitles(), and TeletextScreen::Pulse().
| bool VideoOutput::EnableVisualisation | ( | AudioPlayer * | audio, |
| bool | enable, | ||
| const QString & | name = QString("") |
||
| ) |
Definition at line 1449 of file videooutbase.cpp.
Referenced by MythPlayer::EnableVisualisation().
|
virtual |
Reimplemented in VideoOutputVDPAU, VideoOutputNullVDPAU, VideoOutputD3D, VideoOutputOpenGL, and VideoOutputNullVAAPI.
Definition at line 1460 of file videooutbase.cpp.
|
virtual |
Reimplemented in VideoOutputVDPAU, VideoOutputNullVDPAU, VideoOutputD3D, VideoOutputOpenGL, VideoOutputNullVAAPI, and VideoOutputNull.
Definition at line 1465 of file videooutbase.cpp.
Referenced by EnableVisualisation().
|
inline |
Definition at line 265 of file videooutbase.h.
Referenced by MythPlayer::IsVisualising().
| QString VideoOutput::GetVisualiserName | ( | void | ) |
Definition at line 1473 of file videooutbase.cpp.
Referenced by MythPlayer::GetVisualiserName().
|
virtual |
Reimplemented in VideoOutputVDPAU, and VideoOutputOpenGL.
Definition at line 1480 of file videooutbase.cpp.
Referenced by MythPlayer::GetVisualiserList().
Definition at line 1485 of file videooutbase.cpp.
Referenced by EnableVisualisation(), and SetupVisualisation().
|
static |
Definition at line 1858 of file videooutbase.cpp.
Referenced by VAAPIContext::CreateDisplay(), and VideoOutputXv::InitXVideo().
Reimplemented in VideoOutputOpenGL.
Definition at line 274 of file videooutbase.h.
Referenced by TV::Handle3D(), and TV::PlaybackMenuInit().
|
inline |
Definition at line 275 of file videooutbase.h.
Referenced by TV::Handle3D().
|
inline |
Definition at line 276 of file videooutbase.h.
Referenced by TV::PlaybackMenuInit().
|
protected |
Init display measurements based on database settings and actual screen parameters.
Definition at line 1744 of file videooutbase.cpp.
Referenced by VideoOutputOpenGL::CreateGPUResources(), VideoOutputD3D::Init(), VideoOutputVDPAU::Init(), VideoOutputXv::Init(), and VideoOutputOpenGL::ProcessFrame().
|
protectedvirtual |
Definition at line 1041 of file videooutbase.cpp.
Referenced by VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputVDPAU::ProcessFrame(), and VideoOutputXv::ProcessFrame().
|
protectedvirtual |
Composites PiP image onto a video frame.
Note: This only works with memory backed VideoFrames.
| frame | Frame to composite PiP onto. |
| pipplayer | Picture-in-Picture Player. |
| loc | Location of this PiP on the frame. |
Reimplemented in VideoOutputD3D, and VideoOutputOpenGL.
Definition at line 1058 of file videooutbase.cpp.
Referenced by ShowPIPs().
|
protectedvirtual |
If the OSD has changed, this will convert the OSD buffer to the OSDSurface's color format.
If the destination format is either IA44 or AI44 the osd is converted to greyscale.
Definition at line 1354 of file videooutbase.cpp.
Referenced by VideoOutputQuartz::ProcessFrame(), and VideoOutputXv::ProcessFrame().
|
protected |
Returns visible portions of total OSD bounds.
| visible_aspect | physical aspect ratio of bounds returned |
| font_scaling | scaling to apply to fonts |
Definition at line 822 of file videooutbase.cpp.
Referenced by GetImageRect(), GetOSDBounds(), and GetSafeRect().
|
protected |
Returns total OSD bounds.
Definition at line 849 of file videooutbase.cpp.
Referenced by DisplayOSD(), GetOSDBounds(), VideoOutputOpenGL::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), and ChromaKeyOSD::ProcessOSD().
Reimplemented in VideoOutputOpenGL, and VideoOutputD3D.
Definition at line 292 of file videooutbase.h.
Referenced by GetImageRect(), GetMHEGBounds(), GetTotalOSDBounds(), and GetVisibleOSDBounds().
|
staticprotected |
Copies frame data from one VideoFrame to another.
Note: The frames must have the same width, height, and format.
| to | The destination frame. |
| from | The source frame |
Definition at line 1499 of file videooutbase.cpp.
Referenced by VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), VideoOutputOpenGLVAAPI::UpdatePauseFrame(), VideoOutputOpenGL::UpdatePauseFrame(), VideoOutputNull::UpdatePauseFrame(), VideoOutputD3D::UpdatePauseFrame(), VideoOutputQuartz::UpdatePauseFrame(), and VideoOutputXv::UpdatePauseFrame().
Sets up Picture in Picture image resampler.
| pipwidth | input width |
| pipheight | input height |
Definition at line 987 of file videooutbase.cpp.
Referenced by ShowPIP().
Shuts down Picture in Picture image resampler.
Definition at line 1017 of file videooutbase.cpp.
Referenced by DoPipResize(), and ~VideoOutput().
|
protected |
Definition at line 1201 of file videooutbase.cpp.
Referenced by DisplayOSD().
|
protected |
Sets up Picture in Picture image resampler.
| inDim | input width and height |
| outDim | output width and height |
Definition at line 1178 of file videooutbase.cpp.
Referenced by ResizeVideo().
Definition at line 1292 of file videooutbase.cpp.
Referenced by DoVideoResize(), ResizeVideo(), SetVideoResize(), and ~VideoOutput().
|
protected |
Definition at line 303 of file videooutbase.h.
Referenced by AllowPreviewEPG(), Create(), VideoOutputOpenGL::CreateBuffers(), VideoOutputXv::CreateBuffers(), VideoOutputD3D::CreateDecoder(), VideoOutputOpenGL::CreateGPUResources(), VideoOutputQuartz::CreateQuartzBuffers(), VideoOutputXv::CreateShmImages(), VideoOutputOpenGLVAAPI::CreateVAAPIContext(), VideoOutputVDPAU::CreateVideoSurfaces(), VideoOutputNullVDPAU::CreateVideoSurfaces(), CropToDisplay(), DisplayOSD(), VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), VideoOutputVDPAU::DrawUnusedRects(), VideoOutputXv::DrawUnusedRects(), VideoOutputNull::EmbedInWidget(), VideoOutputQuartz::EmbedInWidget(), VideoOutputOpenGL::EmbedInWidget(), VideoOutputD3D::EmbedInWidget(), VideoOutputVDPAU::EmbedInWidget(), VideoOutputXv::EmbedInWidget(), EmbedInWidget(), ExposeEvent(), GetAdjustFill(), GetAspectOverride(), GetDisplayAspect(), GetImageRect(), GetMHEGBounds(), VideoOutputXv::GetPIPRect(), GetPIPRect(), GetTotalOSDBounds(), GetVisibleOSDBounds(), VideoOutputQuartz::Init(), VideoOutputNull::Init(), VideoOutputOpenGLVAAPI::Init(), VideoOutputOpenGL::Init(), VideoOutputNullVAAPI::Init(), VideoOutputD3D::Init(), VideoOutputVDPAU::Init(), VideoOutputXv::Init(), Init(), VideoOutputNullVAAPI::InitBuffers(), VideoOutputD3D::InitBuffers(), VideoOutputNullVDPAU::InitBuffers(), VideoOutputVDPAU::InitBuffers(), InitDisplayMeasurements(), VideoOutputVDPAU::InitPictureAttributes(), VideoOutputVDPAU::InitRender(), VideoOutputXv::InitSetupBuffers(), VideoOutputXv::InitVideoBuffers(), VideoOutputXv::InitXlib(), VideoOutputXv::InitXShm(), VideoOutputXv::InitXVideo(), VideoOutputNullVAAPI::InputChanged(), VideoOutputNull::InputChanged(), VideoOutputOpenGLVAAPI::InputChanged(), VideoOutputOpenGL::InputChanged(), VideoOutputQuartz::InputChanged(), VideoOutputD3D::InputChanged(), VideoOutputVDPAU::InputChanged(), VideoOutputNullVDPAU::InputChanged(), VideoOutputXv::InputChanged(), InputChanged(), IsEmbedding(), IsPreferredRenderer(), IsVideoScalingAllowed(), VideoOutputQuartz::MoveResize(), VideoOutputOpenGL::MoveResize(), VideoOutputXv::MoveResize(), MoveResize(), VideoOutputOpenGL::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), VideoOutputXv::PrepareFrameMem(), VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), ChromaKeyOSD::ProcessOSD(), ResizeDisplayWindow(), VideoOutputQuartz::ResizeForVideo(), ResizeForVideo(), VideoOutputVDPAU::RestoreDisplay(), SetPIPState(), VideoOutputD3D::SetupContext(), VideoOutputXv::SetupDeinterlace(), SetupDeinterlace(), VideoOutputOpenGL::SetupOpenGL(), SetVideoScalingAllowed(), VideoOutputD3D::Show(), VideoOutputVDPAU::Show(), VideoOutputXv::Show(), VideoOutputOpenGL::ShowPIP(), VideoOutputD3D::ShowPIP(), VideoOutputVDPAU::ShowPIP(), ShowPIP(), VideoOutputXv::ShowXVideo(), VideoOutputNull::StopEmbedding(), VideoOutputQuartz::StopEmbedding(), VideoOutputOpenGL::StopEmbedding(), VideoOutputD3D::StopEmbedding(), VideoOutputVDPAU::StopEmbedding(), VideoOutputXv::StopEmbedding(), StopEmbedding(), VideoOutputQuartz::ToggleAdjustFill(), ToggleAdjustFill(), ToggleAspectOverride(), VideoAspectRatioChanged(), VideoOutputXv::WindowResized(), Zoom(), and VideoOutputXv::~VideoOutputXv().
|
protected |
Screen dimensions in millimeters from DB.
Definition at line 304 of file videooutbase.h.
Referenced by InitDisplayMeasurements(), and VideoOutput().
|
protected |
Definition at line 305 of file videooutbase.h.
Referenced by GetPictureAttribute(), VideoOutputOpenGL::InitPictureAttributes(), VideoOutputOpenGLVAAPI::InitPictureAttributes(), VideoOutputVDPAU::InitPictureAttributes(), VideoOutputXv::InitPictureAttributes(), VideoOutputVDPAU::SetPictureAttribute(), VideoOutputXv::SetPictureAttribute(), SetPictureAttribute(), VideoOutputOpenGL::SetupOpenGL(), and VideoOutputOpenGL::ShowPIP().
|
protected |
Definition at line 306 of file videooutbase.h.
Referenced by VideoOutputQuartz::Init(), Init(), VideoOutputQuartz::InputChanged(), VideoOutputQuartz::VideoAspectRatioChanged(), and VideoOutput().
|
protected |
Definition at line 307 of file videooutbase.h.
Referenced by Init(), and VideoOutput().
|
protected |
Definition at line 308 of file videooutbase.h.
Referenced by VideoOutputXv::Init(), VideoOutputVDPAU::InitBuffers(), VideoOutputOpenGL::PrepareFrame(), and VideoOutput().
|
protected |
Definition at line 309 of file videooutbase.h.
|
protected |
Definition at line 312 of file videooutbase.h.
Referenced by VideoOutputD3D::ApproveDeintFilter(), VideoOutputVDPAU::ClearDummyFrame(), VideoOutputOpenGLVAAPI::CreateBuffers(), VideoOutputD3D::CreateBuffers(), VideoOutputD3D::CreateDecoder(), VideoOutputD3D::CreatePauseFrame(), VideoOutputQuartz::CreateQuartzBuffers(), VideoOutputOpenGLVAAPI::CreateVAAPIContext(), VideoOutputNullVAAPI::CreateVAAPIContext(), VideoOutputVDPAU::CreateVideoSurfaces(), VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), VideoOutputVDPAU::FrameIsInUse(), VideoOutputD3D::hasHWAcceleration(), VideoOutputVDPAU::hasHWAcceleration(), VideoOutputOpenGLVAAPI::Init(), VideoOutputNullVAAPI::Init(), VideoOutputD3D::Init(), VideoOutputVDPAU::Init(), VideoOutputNullVDPAU::Init(), Init(), VideoOutputNullVAAPI::InitBuffers(), VideoOutputD3D::InitBuffers(), VideoOutputNullVDPAU::InitBuffers(), VideoOutputVDPAU::InitBuffers(), VideoOutputOpenGL::InitPictureAttributes(), VideoOutputOpenGLVAAPI::InitPictureAttributes(), VideoOutputXv::InitSetupBuffers(), VideoOutputNullVDPAU::InitShadowBuffers(), VideoOutputNullVAAPI::InputChanged(), VideoOutputOpenGLVAAPI::InputChanged(), VideoOutputOpenGL::InputChanged(), VideoOutputQuartz::InputChanged(), VideoOutputD3D::InputChanged(), VideoOutputVDPAU::InputChanged(), VideoOutputNullVDPAU::InputChanged(), VideoOutputXv::InputChanged(), InputChanged(), VideoOutputQuartz::NeedExtraAudioDecode(), VideoOutputVDPAU::NeedExtraAudioDecode(), VideoOutputVDPAU::ParseOptions(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputVDPAU::ProcessFrame(), VideoOutputOpenGLVAAPI::ProcessFrame(), VideoOutputOpenGLVAAPI::SetPictureAttribute(), VideoOutputOpenGL::SetupOpenGL(), VideoOutputD3D::UpdateFrame(), VideoOutputOpenGLVAAPI::UpdatePauseFrame(), VideoOutputD3D::UpdatePauseFrame(), VideoOutputVDPAU::UpdatePauseFrame(), and VideoOutputVDPAU::UpdateReferenceFrames().
|
protected |
Definition at line 313 of file videooutbase.h.
Referenced by VideoOutputXv::CreateOSD(), VideoOutputQuartz::CreateQuartzBuffers(), FallbackDeint(), GetDeinterlacers(), GetFilters(), GetOSDRenderer(), VideoOutputNull::Init(), VideoOutputNullVAAPI::Init(), VideoOutputVDPAU::Init(), VideoOutputNullVDPAU::Init(), Init(), InitOSD(), VideoOutputXv::InitSetupBuffers(), VideoOutputXv::InitVideoBuffers(), VideoOutputNull::InputChanged(), InputChanged(), IsPreferredRenderer(), ResizeForVideo(), VideoOutputOpenGL::SetProfile(), VideoOutputOpenGLVAAPI::SetProfile(), VideoOutputD3D::SetProfile(), VideoOutputVDPAU::SetupDeinterlace(), VideoOutputOpenGL::SetupDeinterlace(), SetupDeinterlace(), SetVideoFrameRate(), VideoOutput(), and ~VideoOutput().
|
protected |
Definition at line 316 of file videooutbase.h.
Referenced by DoPipResize(), and ShowPIP().
|
protected |
Definition at line 317 of file videooutbase.h.
Referenced by DoPipResize(), ShowPIP(), and ShutdownPipResize().
|
protected |
Definition at line 318 of file videooutbase.h.
Referenced by DoPipResize(), and ShutdownPipResize().
|
protected |
Definition at line 319 of file videooutbase.h.
Referenced by DoPipResize(), ShowPIP(), and ShutdownPipResize().
|
protected |
Definition at line 320 of file videooutbase.h.
Referenced by DoPipResize(), ShowPIP(), and ShutdownPipResize().
|
protected |
Definition at line 321 of file videooutbase.h.
Referenced by DoPipResize(), ShowPIP(), and ShutdownPipResize().
|
protected |
Definition at line 322 of file videooutbase.h.
Referenced by ShowPIP(), and VideoOutput().
|
protected |
Definition at line 325 of file videooutbase.h.
Referenced by DisplayOSD(), DoVideoResize(), VideoOutputOpenGL::MoveResize(), VideoOutputOpenGL::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), SetVideoResize(), VideoOutputXv::ShowXVideo(), and ShutdownVideoResize().
|
protected |
Definition at line 326 of file videooutbase.h.
Referenced by VideoOutputOpenGL::MoveResize(), VideoOutputOpenGL::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), ResizeVideo(), SetVideoResize(), and VideoOutputXv::ShowXVideo().
|
protected |
Definition at line 327 of file videooutbase.h.
Referenced by DoVideoResize(), and ShutdownVideoResize().
|
protected |
Definition at line 328 of file videooutbase.h.
Referenced by DoVideoResize(), and ShutdownVideoResize().
|
protected |
Definition at line 329 of file videooutbase.h.
Referenced by DoVideoResize(), ResizeVideo(), and ShutdownVideoResize().
|
protected |
Definition at line 330 of file videooutbase.h.
Referenced by DoVideoResize(), ResizeVideo(), and ShutdownVideoResize().
|
protected |
Definition at line 333 of file videooutbase.h.
Referenced by VideoOutputXv::DrawUnusedRects(), IsBobDeint(), IsExtraProcessingRequired(), NeedsDoubleFramerate(), VideoOutputOpenGL::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), ChromaKeyOSD::ProcessOSD(), VideoOutputVDPAU::SetDeinterlacingEnabled(), VideoOutputOpenGLVAAPI::SetDeinterlacingEnabled(), VideoOutputOpenGL::SetDeinterlacingEnabled(), SetDeinterlacingEnabled(), VideoOutputVDPAU::SetupDeinterlace(), VideoOutputOpenGLVAAPI::SetupDeinterlace(), VideoOutputOpenGL::SetupDeinterlace(), SetupDeinterlace(), VideoOutputOpenGL::SetupOpenGL(), VideoOutputXv::ShowXVideo(), and VideoOutputXv::~VideoOutputXv().
|
protected |
Definition at line 334 of file videooutbase.h.
Referenced by VideoOutputXv::DrawUnusedRects(), GetDeinterlacer(), IsBobDeint(), IsExtraProcessingRequired(), NeedsDoubleFramerate(), VideoOutputOpenGL::ProcessFrame(), ChromaKeyOSD::ProcessOSD(), VideoOutputXv::SetDeinterlacingEnabled(), VideoOutputOpenGL::SetDeinterlacingEnabled(), VideoOutputVDPAU::SetupDeinterlace(), VideoOutputOpenGL::SetupDeinterlace(), SetupDeinterlace(), VideoOutputOpenGL::SetupOpenGL(), and VideoOutputXv::ShowXVideo().
|
protected |
Definition at line 335 of file videooutbase.h.
Referenced by VideoOutputOpenGL::SetDeinterlacingEnabled(), SetDeinterlacingEnabled(), VideoOutputOpenGL::SetupDeinterlace(), SetupDeinterlace(), and ~VideoOutput().
|
protected |
Definition at line 336 of file videooutbase.h.
Referenced by VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), VideoOutputOpenGL::SetDeinterlacingEnabled(), SetDeinterlacingEnabled(), VideoOutputOpenGL::SetupDeinterlace(), SetupDeinterlace(), and ~VideoOutput().
|
protected |
Definition at line 337 of file videooutbase.h.
Referenced by VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), and SetupDeinterlace().
|
protected |
VideoBuffers instance used to track video output buffers.
Definition at line 340 of file videooutbase.h.
Referenced by VideoOutputNullVDPAU::BufferSizeCheck(), VideoOutputNullVDPAU::CheckFrameStates(), VideoOutputVDPAU::CheckFrameStates(), VideoOutputOpenGLVAAPI::CreateBuffers(), VideoOutputOpenGL::CreateBuffers(), VideoOutputD3D::CreateBuffers(), VideoOutputXv::CreateBuffers(), VideoOutputNull::CreatePauseFrame(), VideoOutputOpenGL::CreatePauseFrame(), VideoOutputD3D::CreatePauseFrame(), VideoOutputXv::CreatePauseFrame(), VideoOutputQuartz::CreateQuartzBuffers(), VideoOutputOpenGLVAAPI::CreateVAAPIContext(), VideoOutputNullVAAPI::DeleteBuffers(), VideoOutputNullVDPAU::DeleteBuffers(), VideoOutputVDPAU::DeleteBuffers(), VideoOutputXv::DeleteBuffers(), VideoOutputQuartz::DeleteQuartzBuffers(), VideoOutputOpenGL::DestroyCPUResources(), VideoOutputNullVAAPI::DiscardFrame(), VideoOutputNullVDPAU::DiscardFrame(), VideoOutputVDPAU::DiscardFrame(), VideoOutputXv::DiscardFrame(), VideoOutputNullVDPAU::DiscardFrames(), VideoOutputVDPAU::DiscardFrames(), VideoOutputXv::DiscardFrames(), VideoOutputNullVAAPI::DoneDisplayingFrame(), VideoOutputNullVDPAU::DoneDisplayingFrame(), VideoOutputVDPAU::DoneDisplayingFrame(), VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), VideoOutputNullVAAPI::GetLastDecodedFrame(), VideoOutputNullVDPAU::GetLastDecodedFrame(), VideoOutputNullVAAPI::GetLastShownFrame(), VideoOutputNullVDPAU::GetLastShownFrame(), VideoOutputQuartz::Init(), VideoOutputNull::Init(), VideoOutputNullVAAPI::InitBuffers(), VideoOutputD3D::InitBuffers(), VideoOutputNullVDPAU::InitBuffers(), VideoOutputVDPAU::InitBuffers(), VideoOutputNullVDPAU::InitShadowBuffers(), VideoOutputXv::InitVideoBuffers(), VideoOutputNull::InputChanged(), VideoOutputNull::PrepareFrame(), VideoOutputOpenGL::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputXv::PrepareFrameMem(), VideoOutputXv::PrepareFrameXv(), VideoOutputQuartz::ProcessFrame(), VideoOutputOpenGL::ProcessFrame(), VideoOutputD3D::ProcessFrame(), VideoOutputXv::ProcessFrame(), VideoOutputNullVAAPI::ReleaseFrame(), VideoOutputNullVDPAU::ReleaseFrame(), VideoOutputD3D::TearDown(), VideoOutputOpenGLVAAPI::UpdatePauseFrame(), VideoOutputOpenGL::UpdatePauseFrame(), VideoOutputNull::UpdatePauseFrame(), VideoOutputD3D::UpdatePauseFrame(), VideoOutputQuartz::UpdatePauseFrame(), VideoOutputVDPAU::UpdatePauseFrame(), VideoOutputXv::UpdatePauseFrame(), and VideoOutputNull::~VideoOutputNull().
|
protected |
Definition at line 343 of file videooutbase.h.
Referenced by VideoOutputOpenGLVAAPI::CreateVAAPIContext(), VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), VideoOutputNullVAAPI::InputChanged(), VideoOutputNull::InputChanged(), VideoOutputOpenGLVAAPI::InputChanged(), VideoOutputOpenGL::InputChanged(), VideoOutputD3D::InputChanged(), VideoOutputVDPAU::InputChanged(), VideoOutputNullVDPAU::InputChanged(), and VideoOutputXv::InputChanged().
|
protected |
Definition at line 344 of file videooutbase.h.
Referenced by VideoOutputNull::PrepareFrame(), VideoOutputOpenGL::PrepareFrame(), VideoOutputQuartz::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), VideoOutputXv::PrepareFrameMem(), VideoOutputXv::PrepareFrameXv(), VideoOutputNull::UpdatePauseFrame(), VideoOutputXv::UpdatePauseFrame(), and VideoOutputVDPAU::UpdateReferenceFrames().
|
protected |
Definition at line 347 of file videooutbase.h.
Referenced by InitDisplayMeasurements(), ResizeForGui(), ResizeForVideo(), VideoOutputOpenGL::VideoOutputOpenGL(), VideoOutputVDPAU::VideoOutputVDPAU(), VideoOutputXv::VideoOutputXv(), and ~VideoOutput().
|
protected |
Definition at line 350 of file videooutbase.h.
Referenced by InitDisplayMeasurements(), and VideoOutputXv::WindowResized().
|
protected |
Definition at line 351 of file videooutbase.h.
Referenced by InitDisplayMeasurements(), and VideoOutputXv::WindowResized().
|
protected |
Definition at line 354 of file videooutbase.h.
Referenced by DisplayOSD(), and ~VideoOutput().
|
protected |
Definition at line 355 of file videooutbase.h.
Referenced by DisplayOSD(), and ~VideoOutput().
|
protected |
Definition at line 358 of file videooutbase.h.
Referenced by DestroyVisualisation(), DisplayOSD(), GetVisualiserName(), VideoOutputOpenGL::PrepareFrame(), VideoOutputD3D::PrepareFrame(), VideoOutputVDPAU::PrepareFrame(), and SetupVisualisation().
|
protected |
Definition at line 361 of file videooutbase.h.
Referenced by VideoOutputOpenGL::PrepareFrame().
1.8.1.2