Get all properties for a specific frame
| 211 | |
| 212 | // Get all properties for a specific frame |
| 213 | std::string Stabilizer::PropertiesJSON(int64_t requested_frame) const { |
| 214 | |
| 215 | // Generate JSON properties list |
| 216 | Json::Value root = BasePropertiesJSON(requested_frame); |
| 217 | |
| 218 | root["zoom"] = add_property_json("Zoom", zoom.GetValue(requested_frame), "float", "", &zoom, 0.0, 2.0, false, requested_frame); |
| 219 | |
| 220 | // Return formatted string |
| 221 | return root.toStyledString(); |
| 222 | } |