MythTV
master
|
#include <libmythtv/mythvideooutnull.h>
Public Member Functions | |
~MythVideoOutputNull () override=default | |
bool | Init (QSize VideoDim, QSize VideoDispDim, float VideoAspect, QRect DisplayVisibleRect, MythCodecID CodecID) override |
void | SetDeinterlacing (bool Enable, bool DoubleRate, MythDeintType Force=DEINT_NONE) override |
void | PrepareFrame (MythVideoFrame *Frame, FrameScanType Scan) override |
void | RenderFrame (MythVideoFrame *Frame, FrameScanType Scan) override |
void | RenderEnd () override |
void | EndFrame () override |
bool | InputChanged (QSize VideoDim, QSize VideoDispDim, float VideoAspect, MythCodecID CodecID, bool &AspectOnly, int ReferenceFrames, bool ForceChange) override |
Tells video output to discard decoded frames and wait for new ones. More... | |
Public Member Functions inherited from MythVideoOutput | |
~MythVideoOutput () override=default | |
virtual void | SetVideoFrameRate (float VideoFrameRate) |
virtual void | GetOSDBounds (QRect &Total, QRect &Visible, float &VisibleAspect, float &FontScaling, float ThemeAspect) const |
virtual void | SetFramesPlayed (long long FramesPlayed) |
virtual long long | GetFramesPlayed () |
bool | IsErrored () const |
VideoErrorState | GetError () const |
void | SetPrebuffering (bool Normal) |
Sets whether to use a normal number of buffers or fewer buffers. More... | |
virtual void | ClearAfterSeek () |
Tells video output to toss decoded buffers due to a seek. More... | |
virtual int | ValidVideoFrames () const |
Returns number of frames that are fully decoded. More... | |
int | FreeVideoFrames () |
Returns number of frames available for decoding onto. More... | |
bool | EnoughFreeFrames () |
Returns true iff enough frames are available to decode onto. More... | |
bool | EnoughDecodedFrames () |
Returns true iff there are plenty of decoded frames ready for display. More... | |
virtual MythVideoFrame * | GetNextFreeFrame () |
Blocks until it is possible to return a frame for decoding onto. More... | |
virtual void | ReleaseFrame (MythVideoFrame *Frame) |
Releases a frame from the ready for decoding queue onto the queue of frames ready for display. More... | |
virtual void | DeLimboFrame (MythVideoFrame *Frame) |
Releases a frame for reuse if it is in limbo. More... | |
virtual void | StartDisplayingFrame () |
Tell GetLastShownFrame() to return the next frame from the head of the queue of frames to display. More... | |
virtual void | DoneDisplayingFrame (MythVideoFrame *Frame) |
Releases frame returned from GetLastShownFrame() onto the queue of frames ready for decoding onto. More... | |
virtual void | DiscardFrame (MythVideoFrame *Frame) |
Releases frame from any queue onto the queue of frames ready for decoding onto. More... | |
virtual void | DiscardFrames (bool KeyFrame, bool Flushed) |
Releases all frames not being actively displayed from any queue onto the queue of frames ready for decoding onto. More... | |
virtual void | CheckFrameStates () |
virtual MythVideoFrame * | GetLastDecodedFrame () |
virtual MythVideoFrame * | GetLastShownFrame () |
Returns frame from the head of the ready to be displayed queue, if StartDisplayingFrame has been called. More... | |
QString | GetFrameStatus () const |
Returns string with status of each frame for debugging. More... | |
QRect | GetImageRect (QRect Rect, QRect *DisplayRect=nullptr) |
translates caption/dvd button rectangle into 'screen' space More... | |
QRect | GetSafeRect () |
Returns a QRect describing an area of the screen on which it is 'safe' to render the On Screen Display. More... | |
PictureAttributeSupported | GetSupportedPictureAttributes () |
virtual void | InitPictureAttributes () |
bool | HasSoftwareFrames () const |
virtual void | UpdatePauseFrame (std::chrono::milliseconds &, FrameScanType=kScan_Progressive) |
Public Member Functions inherited from MythVideoBounds | |
MythVideoBounds () | |
~MythVideoBounds () override=default | |
bool | InitBounds (QSize VideoDim, QSize VideoDispDim, float Aspect, QRect WindowRect) |
void | SetDisplay (MythDisplay *mDisplay) |
bool | IsEmbedding (void) const |
bool | IsEmbeddingAndHidden () const |
QSize | GetVideoDim (void) const |
QSize | GetVideoDispDim (void) const |
float | GetOverridenVideoAspect (void) const |
QRect | GetDisplayVisibleRect (void) const |
QRect | GetWindowRect (void) const |
QRect | GetRawWindowRect (void) const |
QRect | GetVideoRect (void) const |
QRect | GetDisplayVideoRect (void) const |
QRect | GetEmbeddingRect (void) const |
bool | UsingGuiSize (void) const |
AdjustFillMode | GetAdjustFill (void) const |
float | GetVideoAspect (void) const |
float | GetDisplayAspect (void) const |
StereoscopicMode | GetStereoOverride () const |
bool | VideoIsFullScreen (void) const |
Check whether the video display rect covers the entire window/framebuffer. More... | |
QRegion | GetBoundingRegion (void) const |
Return the region of DisplayVisibleRect that lies outside of DisplayVideoRect. More... | |
Static Public Member Functions | |
static MythVideoOutputNull * | Create (QSize VideoDim, QSize VideoDispDim, float VideoAspect, MythCodecID CodecID) |
static void | GetRenderOptions (RenderOptions &Options) |
Static Public Member Functions inherited from MythVideoOutput | |
static void | GetRenderOptions (RenderOptions &Options, MythRender *Render) |
Protected Member Functions | |
MythVideoOutputNull ()=default | |
Protected Member Functions inherited from MythVideoOutput | |
MythVideoOutput () | |
QRect | GetVisibleOSDBounds (float &VisibleAspect, float &FontScaling, float ThemeAspect) const |
Returns visible portions of total OSD bounds. More... | |
Additional Inherited Members | |
Public Slots inherited from MythVideoBounds | |
void | RefreshVideoBoundsState () |
Send out latest state to listeners. More... | |
void | ScreenChanged (QScreen *screen) |
void | PhysicalDPIChanged (qreal) |
void | SourceChanged (QSize VideoDim, QSize VideoDispDim, float Aspect) |
Update for new source video dimensions and aspect ratio. More... | |
void | VideoAspectRatioChanged (float Aspect) |
Calls SetVideoAspectRatio(float aspect), then calls MoveResize() to apply changes. More... | |
virtual void | EmbedPlayback (bool Embed, QRect Rect) |
void | ToggleAdjustFill (AdjustFillMode AdjustFillMode=kAdjustFill_Toggle) |
Sets up letterboxing for various standard video frame and monitor dimensions, then calls MoveResize() to apply them. More... | |
void | ToggleAspectOverride (AspectOverrideMode AspectMode=kAspect_Toggle) |
Enforce different aspect ratio than detected, then calls VideoAspectRatioChanged(float) to apply them. More... | |
void | ResizeDisplayWindow (QRect Rect, bool SaveVisibleRect) |
Resize Display Window. More... | |
void | MoveResize (void) |
performs all the calculations for video framing and any resizing. More... | |
void | Zoom (ZoomDirection Direction) |
Sets up zooming into to different parts of the video. More... | |
void | ToggleMoveBottomLine (void) |
void | SaveBottomLine (void) |
void | SetVideoScalingAllowed (bool Change) |
Disable or enable underscan/overscan. More... | |
void | SetDisplayAspect (float DisplayAspect) |
void | SetWindowSize (QSize Size) |
void | SetITVResize (QRect Rect) |
void | SetRotation (int Rotation) |
Set the rotation in degrees. More... | |
void | SetStereoOverride (StereoscopicMode Mode) |
Signals inherited from MythVideoBounds | |
void | UpdateOSDMessage (const QString &Message) |
void | VideoSizeChanged (const QSize &VideoDim, const QSize &VideoDispDim) |
void | VideoRectsChanged (const QRect &DisplayVideoRect, const QRect &VideoRect) |
void | VisibleRectChanged (const QRect &DisplayVisibleRect) |
void | WindowRectChanged (const QRect &WindowRect) |
void | VideoBoundsStateChanged (MythVideoBoundsState VideoState) |
Protected Attributes inherited from MythVideoOutput | |
MythVideoColourSpace | m_videoColourSpace |
LetterBoxColour | m_dbLetterboxColour { kLetterBoxColour_Black } |
uint8_t | m_clearColor { 0 } |
uint8_t | m_clearAlpha { 255 } |
MythCodecID | m_videoCodecID { kCodec_NONE } |
int | m_maxReferenceFrames { 16 } |
MythVideoProfilePtr | m_videoProfile { nullptr } |
VideoBuffers | m_videoBuffers |
VideoErrorState | m_errorState { kError_None } |
long long | m_framesPlayed { 0 } |
MythAVCopy | m_copyFrame |
MythDeinterlacer | m_deinterlacer |
const VideoFrameTypes * | m_renderFormats { &MythVideoFrame::kDefaultRenderFormats } |
bool | m_deinterlacing { false } |
bool | m_deinterlacing2X { false } |
MythDeintType | m_forcedDeinterlacer { DEINT_NONE } |
Protected Attributes inherited from MythVideoBounds | |
MythDisplay * | m_display {nullptr} |
Definition at line 7 of file mythvideooutnull.h.
|
overridedefault |
|
protecteddefault |
Referenced by Create().
|
static |
Definition at line 52 of file mythvideooutnull.cpp.
Referenced by MythPlayer::InitVideo().
|
static |
Definition at line 15 of file mythvideooutnull.cpp.
Referenced by MythVideoOutput::GetRenderOptions().
|
overridevirtual |
Reimplemented from MythVideoOutput.
Definition at line 105 of file mythvideooutnull.cpp.
|
overridevirtual |
Reimplemented from MythVideoOutput.
Definition at line 131 of file mythvideooutnull.cpp.
|
overridevirtual |
Implements MythVideoOutput.
Definition at line 154 of file mythvideooutnull.cpp.
|
overridevirtual |
Implements MythVideoOutput.
Definition at line 145 of file mythvideooutnull.cpp.
|
inlineoverridevirtual |
Implements MythVideoOutput.
Definition at line 20 of file mythvideooutnull.h.
|
inlineoverridevirtual |
Implements MythVideoOutput.
Definition at line 21 of file mythvideooutnull.h.
|
overridevirtual |
Tells video output to discard decoded frames and wait for new ones.
Reimplemented from MythVideoOutput.
Definition at line 62 of file mythvideooutnull.cpp.