MythTV
master
|
#include <libmythtv/vulkan/mythvideovulkan.h>
Public Member Functions | |
MythVideoVulkan (MythVulkanObject *Vulkan, MythVideoColourSpace *ColourSpace, MythVideoBounds *Bounds, const MythVideoProfilePtr &VideoProfile, const QString &Profile) | |
~MythVideoVulkan () override | |
void | StartFrame () override |
void | PrepareFrame (MythVideoFrame *Frame, FrameScanType=kScan_Progressive) override |
void | RenderFrame (MythVideoFrame *, bool, FrameScanType, StereoscopicMode, bool=false) override |
void | EndFrame () override |
void | ResetFrameFormat () override |
void | ResetTextures () override |
![]() | |
~MythVideoGPU () override | |
virtual QString | GetProfile () const |
bool | IsValid () const |
void | SetProfile (const QString &Profile) |
void | SetMasterViewport (QSize Size) |
QSize | GetVideoDim () const |
![]() | |
MythVulkanObject (MythRenderVulkan *Render) | |
MythVulkanObject (MythVulkanObject *Other) | |
bool | IsValidVulkan () const |
MythRenderVulkan * | Render () |
VkDevice | Device () |
QVulkanDeviceFunctions * | Funcs () |
MythWindowVulkan * | Window () |
Protected Member Functions | |
void | ColourSpaceUpdate (bool) override |
![]() | |
MythVideoGPU (MythRender *Render, MythVideoColourSpace *ColourSpace, MythVideoBounds *Bounds, const MythVideoProfilePtr &VideoProfile, QString Profile) | |
![]() | |
void | CheckValid () |
Private Member Functions | |
bool | SetupFrameFormat (VideoFrameType InputType, VideoFrameType OutputType, QSize Size, VkCommandBuffer CmdBuffer) |
Private Attributes | |
std::vector< MythVideoTextureVulkan * > | m_inputTextures |
Additional Inherited Members | |
![]() | |
enum | VideoResize : std::uint8_t { None = 0x000, Deinterlacer = 0x001, Sampling = 0x002, Performance = 0x004, Framebuffer = 0x008, ToneMap = 0x010, Bicubic = 0x020 } |
![]() | |
void | UpdateColourSpace (bool PrimariesChanged) |
void | SetVideoDimensions (QSize VideoDim, QSize VideoDispDim) |
void | SetVideoRects (QRect DisplayVideoRect, QRect VideoRect) |
void | SetViewportRect (QRect DisplayVisibleRect) |
void | UpscalerChanged (const QString &Upscaler) |
![]() | |
void | OutputChanged (QSize VideoDim, QSize VideoDispDim, float) |
![]() | |
static QString | VideoResizeToString (VideoResizing Resize) |
![]() | |
static MythVulkanObject * | Create (MythRenderVulkan *Render) |
![]() | |
MythRender * | m_render { nullptr } |
uint64_t | m_discontinuityCounter { 0 } |
QString | m_profile |
VideoFrameType | m_inputType { FMT_NONE } |
VideoFrameType | m_outputType { FMT_NONE } |
QSize | m_videoDispDim |
QSize | m_videoDim |
QSize | m_masterViewportSize |
QRect | m_displayVideoRect |
QRect | m_videoRect |
MythVideoColourSpace * | m_videoColourSpace { nullptr } |
QSize | m_inputTextureSize |
VideoResizing | m_resizing { None } |
int | m_lastRotation { 0 } |
MythDeintType | m_deinterlacer { MythDeintType::DEINT_NONE } |
bool | m_deinterlacer2x { false } |
bool | m_valid { false } |
bool | m_viewportControl { true } |
uint | m_lastStereo { 0 } |
StereoscopicMode | m_stereoMode { kStereoscopicModeSideBySideDiscard } |
bool | m_bicubicUpsize { false } |
![]() | |
bool | m_vulkanValid { true } |
MythRenderVulkan * | m_vulkanRender { nullptr } |
VkDevice | m_vulkanDevice { nullptr } |
QVulkanDeviceFunctions * | m_vulkanFuncs { nullptr } |
MythWindowVulkan * | m_vulkanWindow { nullptr } |
Definition at line 18 of file mythvideovulkan.h.
MythVideoVulkan::MythVideoVulkan | ( | MythVulkanObject * | Vulkan, |
MythVideoColourSpace * | ColourSpace, | ||
MythVideoBounds * | Bounds, | ||
const MythVideoProfilePtr & | VideoProfile, | ||
const QString & | Profile | ||
) |
Definition at line 15 of file mythvideovulkan.cpp.
|
override |
Definition at line 27 of file mythvideovulkan.cpp.
|
overridevirtual |
Implements MythVideoGPU.
Definition at line 67 of file mythvideovulkan.cpp.
|
overridevirtual |
Implements MythVideoGPU.
Definition at line 81 of file mythvideovulkan.cpp.
|
overridevirtual |
Implements MythVideoGPU.
Definition at line 140 of file mythvideovulkan.cpp.
|
overridevirtual |
Implements MythVideoGPU.
Definition at line 148 of file mythvideovulkan.cpp.
|
overridevirtual |
Reimplemented from MythVideoGPU.
Definition at line 32 of file mythvideovulkan.cpp.
Referenced by SetupFrameFormat(), and ~MythVideoVulkan().
|
inlineoverridevirtual |
Implements MythVideoGPU.
Definition at line 33 of file mythvideovulkan.h.
|
overrideprotectedvirtual |
Implements MythVideoGPU.
Definition at line 154 of file mythvideovulkan.cpp.
|
private |
Definition at line 38 of file mythvideovulkan.cpp.
Referenced by PrepareFrame().
|
private |
Definition at line 42 of file mythvideovulkan.h.
Referenced by ResetFrameFormat(), and SetupFrameFormat().