MythTV
master
|
#include <libmythtv/visualisations/videovisualspectrum.h>
Public Member Functions | |
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 () |
Protected Member Functions | |
virtual bool | Initialise (QRect Area) |
virtual bool | InitialisePriv () |
virtual void | DrawPriv (MythPainter *Painter, QPaintDevice *Device) |
Protected Member Functions inherited from VideoVisual | |
VisualNode * | GetNode (void) |
void | DeleteNodes (void) |
std::chrono::milliseconds | SetLastUpdate (void) |
Protected Attributes | |
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 |
Static Protected Attributes | |
static constexpr float | kScale { 1.0F } |
Private Attributes | |
QVector< QRect > | m_rects |
int | m_barWidth { 1 } |
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) |
Definition at line 13 of file videovisualspectrum.h.
VideoVisualSpectrum::VideoVisualSpectrum | ( | AudioPlayer * | Audio, |
MythRender * | Render | ||
) |
Definition at line 17 of file videovisualspectrum.cpp.
|
override |
Definition at line 27 of file videovisualspectrum.cpp.
|
overridevirtual |
Implements VideoVisual.
Definition at line 36 of file videovisualspectrum.cpp.
|
inlineoverridevirtual |
Implements VideoVisual.
Definition at line 20 of file videovisualspectrum.h.
|
overridevirtual |
Reimplemented from VideoVisual.
Definition at line 115 of file videovisualspectrum.cpp.
|
protectedvirtual |
Definition at line 138 of file videovisualspectrum.cpp.
Referenced by Draw().
|
protectedvirtual |
Reimplemented in VideoVisualCircles.
Definition at line 154 of file videovisualspectrum.cpp.
Referenced by Initialise().
|
protectedvirtual |
Reimplemented in VideoVisualCircles, and MythVisualCirclesVulkan.
Definition at line 121 of file videovisualspectrum.cpp.
Referenced by Draw().
|
protected |
Definition at line 28 of file videovisualspectrum.h.
Referenced by Initialise(), and VideoVisualCircles::VideoVisualCircles().
|
protected |
Definition at line 29 of file videovisualspectrum.h.
Referenced by Draw(), VideoVisualCircles::DrawPriv(), MythVisualCirclesVulkan::DrawPriv(), DrawPriv(), Initialise(), and prepare().
|
protected |
Definition at line 30 of file videovisualspectrum.h.
Referenced by Draw(), VideoVisualCircles::DrawPriv(), MythVisualCirclesVulkan::DrawPriv(), VideoVisualCircles::InitialisePriv(), and InitialisePriv().
|
protected |
Definition at line 31 of file videovisualspectrum.h.
Referenced by Draw(), VideoVisualCircles::DrawPriv(), MythVisualCirclesVulkan::DrawPriv(), DrawPriv(), Initialise(), VideoVisualCircles::InitialisePriv(), and InitialisePriv().
|
protected |
Definition at line 32 of file videovisualspectrum.h.
Referenced by Draw(), VideoVisualCircles::InitialisePriv(), and InitialisePriv().
|
protected |
Definition at line 33 of file videovisualspectrum.h.
Referenced by Draw(), VideoVisualCircles::InitialisePriv(), and InitialisePriv().
|
protected |
Definition at line 35 of file videovisualspectrum.h.
Referenced by Draw(), and ~VideoVisualSpectrum().
|
protected |
Definition at line 36 of file videovisualspectrum.h.
Referenced by Draw(), and ~VideoVisualSpectrum().
|
staticconstexprprotected |
Definition at line 37 of file videovisualspectrum.h.
Referenced by VideoVisualSpectrum().
|
protected |
Definition at line 38 of file videovisualspectrum.h.
Referenced by Draw(), VideoVisualSpectrum(), and ~VideoVisualSpectrum().
|
protected |
Definition at line 39 of file videovisualspectrum.h.
Referenced by Draw(), and VideoVisualSpectrum().
|
private |
Definition at line 43 of file videovisualspectrum.h.
Referenced by DrawPriv(), and InitialisePriv().
|
private |
Definition at line 44 of file videovisualspectrum.h.
Referenced by Initialise(), and InitialisePriv().