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:45
MythCodecID
MythCodecID
Definition: mythcodecid.h:11
MythVulkanObject
Definition: mythrendervulkan.h:32
Frame
Definition: zmdefines.h:102
MythVideoOutputVulkan::Init
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecId) override
Definition: mythvideooutputvulkan.cpp:76
MythVideoOutputVulkan::PrepareFrame
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutputvulkan.cpp:94
MythVideoVulkan
Definition: mythvideovulkan.h:18
RenderOptions
Definition: mythvideoprofile.h:41
MythPainterVulkan
Definition: mythpaintervulkan.h:19
mythvideooutgpu.h
MythVideoOutputVulkan::EndFrame
void EndFrame() override
Definition: mythvideooutputvulkan.cpp:130
MythVideoOutputVulkan::~MythVideoOutputVulkan
~MythVideoOutputVulkan() override=default
MythDisplay
Definition: mythdisplay.h:22
MythVideoOutputVulkan::GetAllowedRenderers
static QStringList GetAllowedRenderers(MythCodecID CodecId)
Definition: mythvideooutputvulkan.cpp:29
MythVideoOutputVulkan::GetRenderOptions
static void GetRenderOptions(RenderOptions &Options)
Definition: mythvideooutputvulkan.cpp:14
MythVideoOutputVulkan::RenderFrame
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutputvulkan.cpp:99
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:121
MythRenderVulkan
Definition: mythrendervulkan.h:57
FrameScanType
FrameScanType
Definition: videoouttypes.h:94
MythVideoProfilePtr
std::shared_ptr< MythVideoProfile > MythVideoProfilePtr
Definition: mythvideogpu.h:18
mythrendervulkan.h
MythVideoFrame
Definition: mythframe.h:87
MythVulkanObject::Render
MythRenderVulkan * Render()
Definition: mythrendervulkan.cpp:68
MythMainWindow
Definition: mythmainwindow.h:28