Loading...
Searching...
No Matches
ControlTree.hpp File Reference
Turn a list of control descriptions into device-tree nodes. More...
Detailed Description
Turn a list of control descriptions into device-tree nodes.
Two very different things end up as settings under a video device: what the driver publishes (gain, exposure, white balance – discovered at runtime and different on every camera) and what score itself offers (scale mode, and the demosaic's own corrections). They share no vocabulary, so this takes the one thing they do have in common – a name, a type, a domain and something to do on write – and builds the nodes from that.
Kept free of V4L2 so the score-side group is not obliged to invent a fake driver control to describe itself.
Go to the source code of this file.
Classes | |
| struct | Gfx::TreeControl |
| One settable thing, described independently of where it came from. More... | |
Namespaces | |
| namespace | Gfx |
| Binds the rendering pipeline to ossia processes. | |
Functions | |
| std::vector< ossia::net::parameter_base * > | Gfx::addControlGroup (ossia::net::device_base &dev, ossia::net::node_base &parent, const std::string &group, const std::vector< TreeControl > &controls) |
Creates <parent>/<group>/<name> for each control. | |