#include <mythplugins/mythmusic/mythmusic/synaesthesia.h>
|
void | setupPalette (void) |
|
void | coreInit (void) |
|
void | fft (double *x, double *y) |
|
void | setStarSize (double lsize) |
|
void | addPixel (int x, int y, int br1, int br2) const |
|
unsigned char | getPixel (int x, int y, int where) const |
|
void | fadePixelWave (int x, int y, int where, int step) |
|
void | fadeWave (void) |
|
void | fadePixelHeat (int x, int y, int where, int step) |
|
void | fadeHeat (void) |
|
void | fadeFade (void) const |
|
void | fade (void) |
|
Definition at line 29 of file synaesthesia.h.
◆ Synaesthesia()
Synaesthesia::Synaesthesia |
( |
void |
| ) |
|
◆ ~Synaesthesia()
Synaesthesia::~Synaesthesia |
( |
| ) |
|
|
override |
◆ resize()
void Synaesthesia::resize |
( |
const QSize & |
size | ) |
|
|
overridevirtual |
◆ process()
◆ draw()
bool Synaesthesia::draw |
( |
QPainter * |
p, |
|
|
const QColor & |
back |
|
) |
| |
|
overridevirtual |
◆ handleKeyPress()
void Synaesthesia::handleKeyPress |
( |
[[maybe_unused] ] const QString & |
action | ) |
|
|
inlineoverridevirtual |
◆ setupPalette()
void Synaesthesia::setupPalette |
( |
void |
| ) |
|
|
private |
◆ coreInit()
void Synaesthesia::coreInit |
( |
void |
| ) |
|
|
private |
◆ bitReverser()
int Synaesthesia::bitReverser |
( |
int |
i | ) |
|
|
staticprivate |
◆ fft()
void Synaesthesia::fft |
( |
double * |
x, |
|
|
double * |
y |
|
) |
| |
|
private |
◆ setStarSize()
void Synaesthesia::setStarSize |
( |
double |
lsize | ) |
|
|
private |
◆ addPixel()
void Synaesthesia::addPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
br1, |
|
|
int |
br2 |
|
) |
| const |
|
inlineprivate |
◆ addPixelFast()
void Synaesthesia::addPixelFast |
( |
unsigned char * |
p, |
|
|
int |
br1, |
|
|
int |
br2 |
|
) |
| |
|
inlinestaticprivate |
◆ getPixel()
unsigned char Synaesthesia::getPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
where |
|
) |
| const |
|
inlineprivate |
◆ fadePixelWave()
void Synaesthesia::fadePixelWave |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
where, |
|
|
int |
step |
|
) |
| |
|
inlineprivate |
◆ fadeWave()
void Synaesthesia::fadeWave |
( |
void |
| ) |
|
|
private |
◆ fadePixelHeat()
void Synaesthesia::fadePixelHeat |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
where, |
|
|
int |
step |
|
) |
| |
|
inlineprivate |
◆ fadeHeat()
void Synaesthesia::fadeHeat |
( |
void |
| ) |
|
|
private |
◆ fadeFade()
void Synaesthesia::fadeFade |
( |
void |
| ) |
const |
|
private |
◆ fade()
void Synaesthesia::fade |
( |
void |
| ) |
|
|
private |
◆ m_size
QSize Synaesthesia::m_size {0,0} |
|
private |
◆ m_cosTable
◆ m_negSinTable
◆ m_bitReverse
◆ m_scaleDown
std::array<int,256> Synaesthesia::m_scaleDown {} |
|
private |
◆ m_maxStarRadius
int Synaesthesia::m_maxStarRadius {1} |
|
private |
◆ m_fadeMode
int Synaesthesia::m_fadeMode {Stars} |
|
private |
◆ m_pointsAreDiamonds
bool Synaesthesia::m_pointsAreDiamonds {true} |
|
private |
◆ m_brightnessTwiddler
double Synaesthesia::m_brightnessTwiddler {0.3} |
|
private |
◆ m_starSize
double Synaesthesia::m_starSize {0.5} |
|
private |
◆ m_outWidth
int Synaesthesia::m_outWidth {0} |
|
private |
◆ m_outHeight
int Synaesthesia::m_outHeight {0} |
|
private |
◆ m_outputBmp
Bitmap<unsigned short> Synaesthesia::m_outputBmp |
|
private |
◆ m_lastOutputBmp
Bitmap<unsigned short> Synaesthesia::m_lastOutputBmp |
|
private |
◆ m_lastLastOutputBmp
Bitmap<unsigned short> Synaesthesia::m_lastLastOutputBmp |
|
private |
◆ m_outputImage
QImage* Synaesthesia::m_outputImage {nullptr} |
|
private |
◆ m_palette
std::array<uint8_t,768> Synaesthesia::m_palette {} |
|
private |
◆ m_fgRedSlider
double Synaesthesia::m_fgRedSlider {0.0} |
|
private |
◆ m_fgGreenSlider
double Synaesthesia::m_fgGreenSlider {0.5} |
|
private |
◆ m_bgRedSlider
double Synaesthesia::m_bgRedSlider {0.75} |
|
private |
◆ m_bgGreenSlider
double Synaesthesia::m_bgGreenSlider {0.4} |
|
private |
◆ m_energyAvg
double Synaesthesia::m_energyAvg {80.0} |
|
private |
The documentation for this class was generated from the following files: