MythTV  master
mythvideooutputvulkan.h
Go to the documentation of this file.
1 #ifndef MYTHVULKANVIDEOOUTPUT_H
2 #define MYTHVULKANVIDEOOUTPUT_H
3 
4 // MythTV
5 #include "mythvideooutgpu.h"
7 
9 class MythVideoVulkan;
10 
11 #define VULKAN_RENDERER QString("vulkan")
12 
14 {
15  Q_OBJECT
16 
17  public:
18  static void GetRenderOptions (RenderOptions& Options);
19  static QStringList GetAllowedRenderers (MythCodecID CodecId);
20 
22  MythPainterVulkan* Painter, MythDisplay* Display,
23  const MythVideoProfilePtr& VideoProfile, QString& Profile);
24  ~MythVideoOutputVulkan() override = default;
25 
26  bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect,
27  QRect DisplayVisibleRect, MythCodecID CodecId) override;
28  void PrepareFrame (MythVideoFrame* Frame, FrameScanType Scan) override;
29  void RenderFrame (MythVideoFrame* Frame, FrameScanType Scan) override;
30  void RenderEnd () override;
31  void EndFrame () override;
32 };
33 
34 #endif
MythVideoOutputVulkan::MythVideoOutputVulkan
MythVideoOutputVulkan(MythMainWindow *MainWindow, MythRenderVulkan *Render, MythPainterVulkan *Painter, MythDisplay *Display, const MythVideoProfilePtr &VideoProfile, QString &Profile)
Definition: mythvideooutputvulkan.cpp:44
MythVulkanObject
Definition: mythrendervulkan.h:29
Frame
Definition: zmdefines.h:93
MythVideoOutputVulkan::Init
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecId) override
Definition: mythvideooutputvulkan.cpp:75
FrameScanType
FrameScanType
Definition: videoouttypes.h:94
MythVideoOutputVulkan::PrepareFrame
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutputvulkan.cpp:93
MythVideoVulkan
Definition: mythvideovulkan.h:18
MythCodecID
MythCodecID
Definition: mythcodecid.h:10
RenderOptions
Definition: mythvideoprofile.h:45
MythPainterVulkan
Definition: mythpaintervulkan.h:19
mythvideooutgpu.h
MythVideoOutputVulkan::EndFrame
void EndFrame() override
Definition: mythvideooutputvulkan.cpp:129
MythVideoOutputVulkan::~MythVideoOutputVulkan
~MythVideoOutputVulkan() override=default
MythDisplay
Definition: mythdisplay.h:22
MythVideoOutputVulkan::GetAllowedRenderers
static QStringList GetAllowedRenderers(MythCodecID CodecId)
Definition: mythvideooutputvulkan.cpp:28
MythVideoOutputVulkan::GetRenderOptions
static void GetRenderOptions(RenderOptions &Options)
Definition: mythvideooutputvulkan.cpp:13
MythVideoOutputVulkan::RenderFrame
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutputvulkan.cpp:98
MythVideoOutputVulkan
Definition: mythvideooutputvulkan.h:13
MythVideoOutputGPU
Common code shared between GPU accelerated sub-classes (e.g. OpenGL)
Definition: mythvideooutgpu.h:12
MythVideoOutputVulkan::RenderEnd
void RenderEnd() override
Definition: mythvideooutputvulkan.cpp:120
MythRenderVulkan
Definition: mythrendervulkan.h:54
MythVideoProfilePtr
std::shared_ptr< MythVideoProfile > MythVideoProfilePtr
Definition: mythvideogpu.h:18
mythrendervulkan.h
MythVideoFrame
Definition: mythframe.h:88
MythVulkanObject::Render
MythRenderVulkan * Render()
Definition: mythrendervulkan.cpp:68
MythMainWindow
Definition: mythmainwindow.h:35