MythTV  master
mythvideooutnull.h
Go to the documentation of this file.
1 #ifndef MYTH_VIDEOOUT_NULL_H_
2 #define MYTH_VIDEOOUT_NULL_H_
3 
4 // MythTV
5 #include "mythvideoout.h"
6 
8 {
9  public:
10  static MythVideoOutputNull* Create(QSize VideoDim, QSize VideoDispDim, float VideoAspect, MythCodecID CodecID);
11  static void GetRenderOptions(RenderOptions& Options);
12  ~MythVideoOutputNull() override = default;
13 
14  bool Init(QSize VideoDim, QSize VideoDispDim,
15  float Aspect, QRect DisplayVisibleRect, MythCodecID CodecID) override;
16  void SetDeinterlacing(bool Enable, bool DoubleRate, MythDeintType Force = DEINT_NONE) override;
17 
18  void PrepareFrame (MythVideoFrame* Frame, FrameScanType Scan) override;
19  void RenderFrame (MythVideoFrame* Frame, FrameScanType Scan) override;
20  void RenderEnd () override { }
21  void EndFrame () override { }
22  bool InputChanged(QSize VideoDim, QSize VideoDispDim,
23  float Aspect, MythCodecID CodecID,
24  bool& AspectOnly,
25  int ReferenceFrames, bool ForceChange) override;
26 
27  protected:
28  MythVideoOutputNull() = default;
29 
30  private:
31  Q_DISABLE_COPY(MythVideoOutputNull)
32 };
33 #endif
MythVideoOutputNull::Create
static MythVideoOutputNull * Create(QSize VideoDim, QSize VideoDispDim, float VideoAspect, MythCodecID CodecID)
Definition: mythvideooutnull.cpp:52
MythVideoOutput
Definition: mythvideoout.h:35
mythvideoout.h
MythVideoOutputNull::MythVideoOutputNull
MythVideoOutputNull()=default
Frame
Definition: zmdefines.h:93
DEINT_NONE
@ DEINT_NONE
Definition: mythframe.h:69
MythVideoOutputNull::Init
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecID) override
Definition: mythvideooutnull.cpp:105
FrameScanType
FrameScanType
Definition: videoouttypes.h:94
MythVideoOutputNull
Definition: mythvideooutnull.h:7
MythVideoOutputNull::PrepareFrame
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutnull.cpp:154
MythCodecID
MythCodecID
Definition: mythcodecid.h:10
RenderOptions
Definition: mythvideoprofile.h:45
MythVideoOutputNull::InputChanged
bool InputChanged(QSize VideoDim, QSize VideoDispDim, float Aspect, MythCodecID CodecID, bool &AspectOnly, int ReferenceFrames, bool ForceChange) override
Tells video output to discard decoded frames and wait for new ones.
Definition: mythvideooutnull.cpp:62
MythVideoOutputNull::~MythVideoOutputNull
~MythVideoOutputNull() override=default
MythVideoOutputNull::RenderFrame
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutnull.cpp:145
MythVideoOutputNull::GetRenderOptions
static void GetRenderOptions(RenderOptions &Options)
Definition: mythvideooutnull.cpp:15
MythDeintType
MythDeintType
Definition: mythframe.h:67
MythVideoOutputNull::EndFrame
void EndFrame() override
Definition: mythvideooutnull.h:21
MythVideoOutputNull::RenderEnd
void RenderEnd() override
Definition: mythvideooutnull.h:20
MythVideoFrame
Definition: mythframe.h:88
MythVideoOutputNull::SetDeinterlacing
void SetDeinterlacing(bool Enable, bool DoubleRate, MythDeintType Force=DEINT_NONE) override
Definition: mythvideooutnull.cpp:131