MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / handleSysImage

Method handleSysImage

sources/base/SystemControl.cpp:79–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void SystemControl::handleSysImage(const QString& name, const Image<ColorRgb>& image)
80{
81 if (!_sysCaptEnabled)
82 return;
83
84 if (_sysCaptName != name)
85 {
86 _sysCaptName = name;
87 _hyperhdr->registerInput(_sysCaptPrio, hyperhdr::COMP_SYSTEMGRABBER, "System", _sysCaptName);
88 }
89
90 _alive = true;
91
92 if (!_sysInactiveTimer->isActive() && _sysInactiveTimer->remainingTime() < 0)
93 _sysInactiveTimer->start();
94
95 _hyperhdr->setInputImage(_sysCaptPrio, image);
96}
97
98void SystemControl::setSysCaptureEnable(bool enable)
99{

Callers

nothing calls this directly

Calls 4

setInputImageMethod · 0.80
registerInputMethod · 0.45
isActiveMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected