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 void GetRenderOptions(RenderOptions &Options);
12  ~MythVideoOutputNull() override;
13 
14  bool Init(const QSize &video_dim_buf, const QSize &video_dim_disp,
15  float aspect, MythDisplay *Display,
16  const QRect &win_rect, MythCodecID codec_id) override;
17  void SetDeinterlacing(bool Enable, bool DoubleRate, MythDeintType Force = DEINT_NONE) override;
18  void PrepareFrame(VideoFrame *buffer, FrameScanType t, OSD *osd) override; // VideoOutput
19  void Show(FrameScanType scan) override; // VideoOutput
20  void CreatePauseFrame(void);
21  bool InputChanged(const QSize &video_dim_buf,
22  const QSize &video_dim_disp,
23  float aspect,
24  MythCodecID av_codec_id,
25  bool &aspect_only,
26  MythMultiLocker* Locks,
27  int ReferenceFrames,
28  bool ForceChange) override; // VideoOutput
29  void EmbedInWidget(const QRect &rect) override; // VideoOutput
30  void StopEmbedding(void) override; // VideoOutput
31  void UpdatePauseFrame(int64_t &disp_timecode, FrameScanType Scan = kScan_Progressive) override; // VideoOutput
32  void ProcessFrame(VideoFrame *frame, OSD *osd,
33  const PIPMap &pipPlayers,
34  FrameScanType scan) override; // VideoOutput
35  static QStringList GetAllowedRenderers(MythCodecID myth_codec_id,
36  const QSize &video_dim);
37  bool SetupVisualisation(AudioPlayer */*Audio*/, MythRender */*Render*/,
38  const QString &/*Name*/) override // VideoOutput
39  { return false; }
40 
41  private:
42  QMutex m_globalLock {QMutex::Recursive};
44 };
45 #endif
void UpdatePauseFrame(int64_t &disp_timecode, FrameScanType Scan=kScan_Progressive) override
QMap< MythPlayer *, PIPLocation > PIPMap
Definition: mythvideoout.h:32
def scan(profile, smoonURL, gate)
Definition: scan.py:57
bool Init(const QSize &video_dim_buf, const QSize &video_dim_disp, float aspect, MythDisplay *Display, const QRect &win_rect, MythCodecID codec_id) override
MythCodecID
Definition: mythcodecid.h:10
static void GetRenderOptions(RenderOptions &Options)
void StopEmbedding(void) override
void PrepareFrame(VideoFrame *buffer, FrameScanType t, OSD *osd) override
FrameScanType
Definition: videoouttypes.h:78
MythDeintType
Definition: mythframe.h:120
bool InputChanged(const QSize &video_dim_buf, const QSize &video_dim_disp, float aspect, MythCodecID av_codec_id, bool &aspect_only, MythMultiLocker *Locks, int ReferenceFrames, bool ForceChange) override
Tells video output to discard decoded frames and wait for new ones.
bool SetupVisualisation(AudioPlayer *, MythRender *, const QString &) override
static QStringList GetAllowedRenderers(MythCodecID myth_codec_id, const QSize &video_dim)
~MythVideoOutputNull() override
void ProcessFrame(VideoFrame *frame, OSD *osd, const PIPMap &pipPlayers, FrameScanType scan) override
void EmbedInWidget(const QRect &rect) override
Tells video output to embed video in an existing window.
void SetDeinterlacing(bool Enable, bool DoubleRate, MythDeintType Force=DEINT_NONE) override
Definition: osd.h:131
void Show(FrameScanType scan) override