Go to the documentation of this file.
11 #define LOC QString("VidOutVulkan: ")
20 for (
auto & decoder : *Options.
decoders)
21 if (decoder.endsWith(
"-dec"))
65 LOG(VB_GENERAL, LOG_ERR,
LOC +
"Failed to create valid Vulkan video");
72 LOG(VB_GENERAL, LOG_ERR,
LOC +
"Failed to initialise Vulkan video output");
76 float Aspect,
const QRect DisplayVisibleRect,
MythCodecID CodecId)
80 LOG(VB_GENERAL, LOG_ERR,
LOC +
"Fatal error");
86 LOG(VB_GENERAL, LOG_ERR,
LOC +
"Cannot initialise from this thread");
MythVideoOutputVulkan(MythMainWindow *MainWindow, MythRenderVulkan *Render, MythPainterVulkan *Painter, MythDisplay *Display, const MythVideoProfilePtr &VideoProfile, QString &Profile)
static MythRenderVulkan * GetVulkanRender(void)
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecId) override
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
static const MythVulkan4F s_DebugBlue
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
bool Init(QSize VideoDim, QSize VideoDispDim, float Aspect, QRect DisplayVisibleRect, MythCodecID CodecId) override
virtual void StartFrame()=0
void BeginDebugRegion(VkCommandBuffer CommandBuffer, const char *Name, MythVulkan4F Color)
MythRenderVulkan * m_vulkanRender
std::vector< VideoFrameType > VideoFrameTypes
MythVideoProfilePtr m_videoProfile
QMap< QString, QStringList > * safe_renderers
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
virtual void EndFrame()=0
static QStringList GetAllowedRenderers(MythCodecID CodecId)
void PrepareFrame(MythVideoFrame *Frame, FrameScanType Scan) override
static void GetRenderOptions(RenderOptions &Options)
#define codec_sw_copy(id)
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
void EndDebugRegion(VkCommandBuffer CommandBuffer)
const VideoFrameTypes * m_renderFormats
#define VERBOSE_LEVEL_CHECK(_MASK_, _LEVEL_)
void RenderFrame(MythVideoFrame *Frame, FrameScanType Scan) override
MythWindowVulkan * m_vulkanWindow
bool IsValidVulkan() const
Common code shared between GPU accelerated sub-classes (e.g. OpenGL)
void RenderEnd() override
std::shared_ptr< MythVideoProfile > MythVideoProfilePtr
MythPainterGPU * m_painter
MythVideoColourSpace m_videoColourSpace
QMap< QString, uint > * priorities