MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / JsonValue

Method JsonValue

src/effects/ColorMap.cpp:326–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326Json::Value ColorMap::JsonValue() const
327{
328 Json::Value root = EffectBase::JsonValue();
329 root["type"] = info.class_name;
330 root["lut_path"] = lut_path;
331 root["intensity"] = intensity.JsonValue();
332 root["intensity_r"] = intensity_r.JsonValue();
333 root["intensity_g"] = intensity_g.JsonValue();
334 root["intensity_b"] = intensity_b.JsonValue();
335 return root;
336}
337
338void ColorMap::SetJson(const std::string value)
339{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected