20 lines
568 B
C++
20 lines
568 B
C++
#pragma once
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
#include "utils/simple_json.h"
|
|
|
|
namespace rk3588 {
|
|
|
|
// Expand root config supporting:
|
|
// - templates/instances -> graphs
|
|
// - ${placeholder} replacement from instance.params
|
|
// The output is a normalized root containing at least {"queue", "graphs"}.
|
|
bool ExpandRootConfig(const SimpleJson& in_root, SimpleJson& out_root, std::string& err);
|
|
|
|
// Deep structural equality for SimpleJson (used to decide whether a node's config changed).
|
|
bool JsonDeepEqual(const SimpleJson& a, const SimpleJson& b);
|
|
|
|
} // namespace rk3588
|