MythTV  master
Classes | Macros | Variables
synaesthesia.cpp File Reference
#include "config.h"
#include <cinttypes>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <QCoreApplication>
#include <QPainter>
#include <QImage>
#include <compat.h>
#include <mythlogging.h>
#include "mainvisual.h"
#include "synaesthesia.h"
Include dependency graph for synaesthesia.cpp:

Go to the source code of this file.

Classes

class  SynaesthesiaFactory
 

Macros

#define sBOUND(x)   ((x) > 255 ? 255 : (x))
 
#define sPEAKIFY(x)   int(sBOUND((x) - (x)*(255-(x))/255/2))
 
#define sMAX(x, y)   ((x) > (y) ? (x) : (y))
 
#define output   ((unsigned char*)m_outputBmp.data)
 
#define lastOutput   ((unsigned char*)m_lastOutputBmp.data)
 
#define lastLastOutput   ((unsigned char*)m_lastLastOutputBmp.data)
 

Variables

SynaesthesiaFactory SynaesthesiaFactory
 

Macro Definition Documentation

◆ sBOUND

#define sBOUND (   x)    ((x) > 255 ? 255 : (x))

◆ sPEAKIFY

#define sPEAKIFY (   x)    int(sBOUND((x) - (x)*(255-(x))/255/2))

◆ sMAX

#define sMAX (   x,
 
)    ((x) > (y) ? (x) : (y))

◆ output

#define output   ((unsigned char*)m_outputBmp.data)

Definition at line 220 of file synaesthesia.cpp.

◆ lastOutput

#define lastOutput   ((unsigned char*)m_lastOutputBmp.data)

Definition at line 221 of file synaesthesia.cpp.

◆ lastLastOutput

#define lastLastOutput   ((unsigned char*)m_lastLastOutputBmp.data)

Definition at line 222 of file synaesthesia.cpp.

Variable Documentation

◆ SynaesthesiaFactory