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);
21 
22  MythVideoOutputVulkan(QString& Profile);
23  ~MythVideoOutputVulkan() override = default;
24 
25  bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect,
26  QRect DisplayVisibleRect, MythCodecID CodecId) override;
27  void PrepareFrame (MythVideoFrame* Frame, FrameScanType Scan) override;
28  void RenderFrame (MythVideoFrame* Frame, FrameScanType Scan) override;
29  void RenderEnd () override;
30  void EndFrame () override;
31 };
32 
33 #endif
MythVulkanObject
Definition: mythrendervulkan.h:29
Frame
Definition: zmdefines.h:94
MythVideoOutputVulkan::Init
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecId) override
Definition: mythvideooutputvulkan.cpp:74
FrameScanType
FrameScanType
Definition: videoouttypes.h:95
MythVideoOutputVulkan::PrepareFrame
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutputvulkan.cpp:95
MythVideoVulkan
Definition: mythvideovulkan.h:19
MythCodecID
MythCodecID
Definition: mythcodecid.h:11
RenderOptions
Definition: videodisplayprofile.h:27
MythPainterVulkan
Definition: mythpaintervulkan.h:20
MythVideoOutputVulkan::s_vulkanFrameTypes
static VideoFrameTypes s_vulkanFrameTypes
Definition: mythvideooutputvulkan.h:20
VideoFrameTypes
std::vector< VideoFrameType > VideoFrameTypes
Definition: mythframe.h:78
mythvideooutgpu.h
MythVideoOutputVulkan::EndFrame
void EndFrame() override
Definition: mythvideooutputvulkan.cpp:131
MythVideoOutputVulkan::~MythVideoOutputVulkan
~MythVideoOutputVulkan() override=default
MythVideoOutputVulkan::GetAllowedRenderers
static QStringList GetAllowedRenderers(MythCodecID CodecId)
Definition: mythvideooutputvulkan.cpp:37
MythVideoOutputVulkan::GetRenderOptions
static void GetRenderOptions(RenderOptions &Options)
Definition: mythvideooutputvulkan.cpp:22
MythVideoOutputVulkan::RenderFrame
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
Definition: mythvideooutputvulkan.cpp:100
MythVideoOutputVulkan
Definition: mythvideooutputvulkan.h:14
MythVideoOutputGPU
Common code shared between GPU accelerated sub-classes (e.g. OpenGL)
Definition: mythvideooutgpu.h:12
MythVideoOutputVulkan::MythVideoOutputVulkan
MythVideoOutputVulkan(QString &Profile)
Definition: mythvideooutputvulkan.cpp:53
MythVideoOutputVulkan::RenderEnd
void RenderEnd() override
Definition: mythvideooutputvulkan.cpp:122
mythrendervulkan.h
MythVideoFrame
Definition: mythframe.h:83