MythTV
master
|
#include <videovisualmonoscope.h>
Public Member Functions | |
VideoVisualMonoScope (AudioPlayer *Audio, MythRender *Render, bool Fade) | |
QString | Name () override |
![]() | |
VideoVisual (AudioPlayer *audio, MythRender *render) | |
~VideoVisual () override | |
bool | NeedsPrepare () const |
virtual void | Prepare (const QRect) |
virtual void | Draw (QRect area, MythPainter *painter, QPaintDevice *device)=0 |
void | add (const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p) override |
void | prepare () override |
![]() | |
Visual () | |
virtual | ~Visual () |
QMutex * | mutex () |
Protected Member Functions | |
void | InitCommon (QRect Area) |
bool | UpdateVertices (float *Buffer) |
void | UpdateTime () |
![]() | |
VisualNode * | GetNode (void) |
void | DeleteNodes (void) |
std::chrono::milliseconds | SetLastUpdate (void) |
Protected Attributes | |
std::chrono::milliseconds | m_lastTime { 0ms } |
float | m_hue { 0.0 } |
float | m_rate { 1.0 } |
float | m_lineWidth { 1.0 } |
float | m_maxLineWidth { 1.0 } |
bool | m_fade { false } |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static VideoVisual * | Create (const QString &name, AudioPlayer *audio, MythRender *render) |
static QStringList | GetVisualiserList (RenderType type) |
Definition at line 11 of file videovisualmonoscope.h.
VideoVisualMonoScope::VideoVisualMonoScope | ( | AudioPlayer * | Audio, |
MythRender * | Render, | ||
bool | Fade | ||
) |
Definition at line 14 of file videovisualmonoscope.cpp.
|
overridevirtual |
Implements VideoVisual.
Definition at line 20 of file videovisualmonoscope.cpp.
|
protected |
Definition at line 25 of file videovisualmonoscope.cpp.
Referenced by MythVisualMonoScopeOpenGL::Initialise(), and MythVisualMonoScopeVulkan::InitialiseVulkan().
|
protected |
Definition at line 34 of file videovisualmonoscope.cpp.
Referenced by MythVisualMonoScopeOpenGL::Draw(), and MythVisualMonoScopeVulkan::Prepare().
|
protected |
Definition at line 74 of file videovisualmonoscope.cpp.
Referenced by MythVisualMonoScopeOpenGL::Draw(), and MythVisualMonoScopeVulkan::Prepare().
|
protected |
Definition at line 23 of file videovisualmonoscope.h.
Referenced by InitCommon(), and UpdateTime().
|
protected |
Definition at line 24 of file videovisualmonoscope.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), InitCommon(), MythVisualMonoScopeVulkan::Prepare(), and UpdateTime().
|
protected |
Definition at line 25 of file videovisualmonoscope.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), InitCommon(), MythVisualMonoScopeVulkan::Prepare(), and UpdateTime().
|
protected |
Definition at line 26 of file videovisualmonoscope.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), MythVisualMonoScopeVulkan::Draw(), InitCommon(), and MythVisualMonoScopeVulkan::InitialiseVulkan().
|
protected |
Definition at line 27 of file videovisualmonoscope.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), MythVisualMonoScopeVulkan::Draw(), MythVisualMonoScopeOpenGL::Initialise(), and MythVisualMonoScopeVulkan::InitialiseVulkan().
Definition at line 28 of file videovisualmonoscope.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), MythVisualMonoScopeVulkan::Draw(), MythVisualMonoScopeOpenGL::Initialise(), MythVisualMonoScopeVulkan::InitialiseVulkan(), Name(), and MythVisualMonoScopeVulkan::Prepare().