MythTV
master
|
#include <libmythtv/visualisations/vulkan/mythvisualcirclesvulkan.h>
Public Member Functions | |
MythVisualCirclesVulkan (AudioPlayer *Audio, MythRenderVulkan *Render) | |
~MythVisualCirclesVulkan () override | |
Public Member Functions inherited from VideoVisualCircles | |
VideoVisualCircles (AudioPlayer *Audio, MythRender *Render) | |
QString | Name () override |
Public Member Functions inherited from VideoVisualSpectrum | |
VideoVisualSpectrum (AudioPlayer *Audio, MythRender *Render) | |
~VideoVisualSpectrum () override | |
void | Draw (QRect Area, MythPainter *Painter, QPaintDevice *Device) override |
QString | Name () override |
void | prepare () override |
Public Member Functions inherited from VideoVisual | |
VideoVisual (AudioPlayer *audio, MythRender *render) | |
~VideoVisual () override | |
bool | NeedsPrepare () const |
virtual void | Prepare (const QRect) |
void | add (const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p) override |
Public Member Functions inherited from MythTV::Visual | |
Visual () | |
virtual | ~Visual () |
QMutex * | mutex () |
Public Member Functions inherited from MythVisualVulkan | |
MythVisualVulkan (MythRenderVulkan *Render, std::vector< VkDynamicState > Dynamic, std::vector< int > Stages, const MythShaderMap *Sources, const MythBindingMap *Bindings) | |
virtual | ~MythVisualVulkan () |
Public Member Functions inherited from MythVulkanObject | |
MythVulkanObject (MythRenderVulkan *Render) | |
MythVulkanObject (MythVulkanObject *Other) | |
bool | IsValidVulkan () const |
MythRenderVulkan * | Render () |
VkDevice | Device () |
QVulkanDeviceFunctions * | Funcs () |
MythWindowVulkan * | Window () |
Protected Member Functions | |
void | DrawPriv (MythPainter *, QPaintDevice *) override |
Protected Member Functions inherited from VideoVisualCircles | |
bool | InitialisePriv () override |
Protected Member Functions inherited from VideoVisualSpectrum | |
virtual bool | Initialise (QRect Area) |
Protected Member Functions inherited from VideoVisual | |
VisualNode * | GetNode (void) |
void | DeleteNodes (void) |
std::chrono::milliseconds | SetLastUpdate (void) |
Protected Member Functions inherited from MythVulkanObject | |
void | CheckValid () |
Private Member Functions | |
MythRenderVulkan * | InitialiseVulkan (QRect Area) override |
void | TearDownVulkan () override |
Private Attributes | |
CirclesBuffer | m_pushBuffer { } |
QRect | m_vulkanArea |
Additional Inherited Members | |
Static Public Member Functions inherited from VideoVisual | |
static VideoVisual * | Create (const QString &name, AudioPlayer *audio, MythRender *render) |
static QStringList | GetVisualiserList (RenderType type) |
Static Public Member Functions inherited from MythVulkanObject | |
static MythVulkanObject * | Create (MythRenderVulkan *Render) |
Protected Attributes inherited from VideoVisualSpectrum | |
int | m_numSamples { 64 } |
QVector< double > | m_magnitudes |
double | m_range { 1.0 } |
LogScale | m_scale |
double | m_scaleFactor { 2.0 } |
double | m_falloff { 3.0 } |
AVComplexFloat * | m_dftL { nullptr } |
AVComplexFloat * | m_dftR { nullptr } |
AVTXContext * | m_fftContext { nullptr } |
av_tx_fn | m_fft { nullptr } |
Protected Attributes inherited from VideoVisual | |
AudioPlayer * | m_audio { nullptr } |
bool | m_needsPrepare { false } |
bool | m_disabled { false } |
QRect | m_area |
MythRender * | m_render { nullptr } |
QList< VisualNode * > | m_nodes |
QDateTime | m_lastUpdate |
Protected Attributes inherited from MythVisualVulkan | |
MythShaderVulkan * | m_vulkanShader { nullptr } |
VkPipeline | m_pipeline { MYTH_NULL_DISPATCH } |
VkDescriptorPool | m_descriptorPool { MYTH_NULL_DISPATCH } |
VkDescriptorSet | m_projectionDescriptor { MYTH_NULL_DISPATCH } |
MythUniformBufferVulkan * | m_projectionUniform { nullptr } |
std::vector< VkDynamicState > | m_dynamicState { } |
std::vector< int > | m_shaderStages { } |
const MythShaderMap * | m_shaderSources { nullptr } |
const MythBindingMap * | m_shaderBindings { nullptr } |
Protected Attributes inherited from MythVulkanObject | |
bool | m_vulkanValid { true } |
MythRenderVulkan * | m_vulkanRender { nullptr } |
VkDevice | m_vulkanDevice { nullptr } |
QVulkanDeviceFunctions * | m_vulkanFuncs { nullptr } |
MythWindowVulkan * | m_vulkanWindow { nullptr } |
Static Protected Attributes inherited from VideoVisualSpectrum | |
static constexpr float | kScale { 1.0F } |
Definition at line 18 of file mythvisualcirclesvulkan.h.
MythVisualCirclesVulkan::MythVisualCirclesVulkan | ( | AudioPlayer * | Audio, |
MythRenderVulkan * | Render | ||
) |
Definition at line 247 of file mythvisualcirclesvulkan.cpp.
|
override |
Definition at line 255 of file mythvisualcirclesvulkan.cpp.
|
overrideprotectedvirtual |
Reimplemented from VideoVisualCircles.
Definition at line 260 of file mythvisualcirclesvulkan.cpp.
|
overrideprivatevirtual |
Reimplemented from MythVisualVulkan.
Definition at line 305 of file mythvisualcirclesvulkan.cpp.
Referenced by DrawPriv().
|
overrideprivatevirtual |
Reimplemented from MythVisualVulkan.
Definition at line 338 of file mythvisualcirclesvulkan.cpp.
Referenced by InitialiseVulkan(), and ~MythVisualCirclesVulkan().
|
private |
Definition at line 31 of file mythvisualcirclesvulkan.h.
Referenced by DrawPriv(), and InitialiseVulkan().
|
private |
Definition at line 32 of file mythvisualcirclesvulkan.h.
Referenced by InitialiseVulkan(), and TearDownVulkan().