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 VideoAspect, 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 VideoAspect, MythCodecID CodecID,
24 bool& AspectOnly,
25 int ReferenceFrames, bool ForceChange) override;
26
27 protected:
29
30 private:
31 Q_DISABLE_COPY(MythVideoOutputNull)
32};
33#endif
void RenderEnd() 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.
void SetDeinterlacing(bool Enable, bool DoubleRate, MythDeintType Force=DEINT_NONE) override
bool Init(QSize VideoDim, QSize VideoDispDim, float VideoAspect, QRect DisplayVisibleRect, MythCodecID CodecID) override
MythVideoOutputNull()=default
static MythVideoOutputNull * Create(QSize VideoDim, QSize VideoDispDim, float VideoAspect, MythCodecID CodecID)
~MythVideoOutputNull() override=default
void EndFrame() override
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
static void GetRenderOptions(RenderOptions &Options)
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
MythCodecID
Definition: mythcodecid.h:14
MythDeintType
Definition: mythframe.h:67
@ DEINT_NONE
Definition: mythframe.h:68
FrameScanType
Definition: videoouttypes.h:95