chromium/third_party/mediapipe/src/mediapipe/framework/tool/options_util.cc


#include "mediapipe/framework/tool/options_util.h"

#include <memory>
#include <string>
#include <variant>

#include "absl/strings/ascii.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "mediapipe/framework/calculator_context.h"
#include "mediapipe/framework/input_stream_shard.h"
#include "mediapipe/framework/output_side_packet.h"
#include "mediapipe/framework/packet.h"
#include "mediapipe/framework/packet_set.h"
#include "mediapipe/framework/packet_type.h"
#include "mediapipe/framework/port/advanced_proto_inc.h"
#include "mediapipe/framework/port/status.h"
#include "mediapipe/framework/tool/name_util.h"
#include "mediapipe/framework/tool/options_field_util.h"
#include "mediapipe/framework/tool/options_registry.h"
#include "mediapipe/framework/tool/options_syntax_util.h"
#include "mediapipe/framework/tool/proto_util_lite.h"

namespace mediapipe {
namespace tool {

FieldPath;
GetGraphOptions;
GetNodeOptions;
MergeFieldValues;
MergeMessages;

// Returns the type for the root options message if specified.
std::string ExtensionType(const std::string& option_fields_tag) {}

// Constructs a FieldPath for field names starting at a message type.
FieldPath GetPath(const std::string& path_tag,
                  const std::string& message_type) {}

// Returns the message type for a FieldData.
std::string MessageType(FieldData message) {}

// Assigns the value from a StatusOr if avialable.
#define ASSIGN_IF_OK(lhs, rexpr)

// Copy literal options from graph_options to node_options.
absl::Status CopyLiteralOptions(CalculatorGraphConfig::Node parent_node,
                                CalculatorGraphConfig* config) {}

// Makes all configuration modifications needed for graph options.
absl::Status DefineGraphOptions(const CalculatorGraphConfig::Node& parent_node,
                                CalculatorGraphConfig* config) {}

}  // namespace tool
}  // namespace mediapipe