hyperion.ng
|
Provide utility methods for Hyperion class. More...
Classes | |
struct | BlackBorder |
Result structure of the detected blackborder. More... | |
class | BlackBorderDetector |
The BlackBorderDetector performs detection of black-borders on a single image. More... | |
class | BlackBorderProcessor |
The BlackBorder processor is a wrapper around the black-border detector for keeping track of detected borders and count of the type and size of detected borders. More... | |
class | ImageToLedsMap |
The ImageToLedsMap holds a mapping of indices into an image to leds. More... | |
Enumerations | |
enum | Components { COMP_INVALID, COMP_ALL, COMP_SMOOTHING, COMP_BLACKBORDER, COMP_FORWARDER, COMP_UDPLISTENER, COMP_BOBLIGHTSERVER, COMP_GRABBER, COMP_V4L, COMP_COLOR, COMP_IMAGE, COMP_EFFECT, COMP_LEDDEVICE, COMP_FLATBUFSERVER, COMP_PROTOSERVER } |
Enumeration of components in Hyperion. | |
Functions | |
const char * | componentToString (Components c) |
const char * | componentToIdString (Components c) |
Components | stringToComponent (QString component) |
void | handleInitialEffect (Hyperion *hyperion, const QJsonObject &FGEffectConfig) |
ColorOrder | createColorOrder (const QJsonObject &deviceConfig) |
RgbTransform * | createRgbTransform (const QJsonObject &colorConfig) |
RgbChannelAdjustment * | createRgbChannelAdjustment (const QJsonObject &colorConfig, const QString channelName, const int defaultR, const int defaultG, const int defaultB) |
ColorAdjustment * | createColorAdjustment (const QJsonObject &adjustmentConfig) |
MultiColorAdjustment * | createLedColorsAdjustment (const unsigned ledCnt, const QJsonObject &colorConfig) |
LedString | createLedString (const QJsonArray &ledConfigArray, const ColorOrder deviceOrder) |
Construct the 'led-string' with the integration area definition per led and the color ordering of the RGB channels. More... | |
LedString | createLedStringClone (const QJsonArray &ledConfigArray, const ColorOrder deviceOrder) |
QSize | getLedLayoutGridSize (const QJsonArray &ledConfigArray) |
Provide utility methods for Hyperion class.
LedString hyperion::createLedString | ( | const QJsonArray & | ledConfigArray, |
const ColorOrder | deviceOrder | ||
) |
Construct the 'led-string' with the integration area definition per led and the color ordering of the RGB channels.
ledsConfig | The configuration of the led areas |
deviceOrder | The default RGB channel ordering |