| 399 | } |
| 400 | |
| 401 | void Sharpen::SetJsonValue(Json::Value root) |
| 402 | { |
| 403 | EffectBase::SetJsonValue(root); |
| 404 | if (!root["amount"].isNull()) |
| 405 | amount.SetJsonValue(root["amount"]); |
| 406 | if (!root["radius"].isNull()) |
| 407 | radius.SetJsonValue(root["radius"]); |
| 408 | if (!root["threshold"].isNull()) |
| 409 | threshold.SetJsonValue(root["threshold"]); |
| 410 | if (!root["mode"].isNull()) |
| 411 | mode = root["mode"].asInt(); |
| 412 | if (!root["channel"].isNull()) |
| 413 | channel = root["channel"].asInt(); |
| 414 | if (!root["mask_mode"].isNull()) |
| 415 | mask_mode = root["mask_mode"].asInt(); |
| 416 | } |
| 417 | |
| 418 | // UI property definitions |
| 419 | std::string Sharpen::PropertiesJSON(int64_t t) const |
nothing calls this directly
no outgoing calls
no test coverage detected