Namespace List > mediapipe > tool
Namespaces
Classes
Public Types
Public Functions
Type |
Name |
struct |
ABSL_DEPRECATED ("Prefer using mediapipe::tool::TagMap instead, since this structure does " "not " "consider the TAG:INDEX:name notation.")
|
void |
AddCallbackCalculator (const std::string & stream_name, CalculatorGraphConfig * config, std::string * callback_side_packet_name, bool use_std_function)
|
void |
AddCallbackWithHeaderCalculator (const std::string & stream_name, const std::string & stream_header, CalculatorGraphConfig * config, std::string * callback_side_packet_name, bool use_std_function)
|
void |
AddMultiStreamCallback (const std::vector< std::string > & streams, std::function< void(const std::vector< Packet > &)> callback, CalculatorGraphConfig * config, std::pair< std::string, Packet > * side_packet)
|
void |
AddMultiStreamCallback (const std::vector< std::string > & streams, std::function< void(const std::vector< Packet > &)> callback, CalculatorGraphConfig * config, std::map< std::string, Packet > * side_packets, bool observe_timestamp_bounds)
|
void |
AddPostStreamPacketSink (const std::string & stream_name, CalculatorGraphConfig * config, Packet * post_stream_packet)
|
void |
AddSidePacketSink (const std::string & side_packet_name, CalculatorGraphConfig * config, Packet * dumped_packet)
|
absl::Status |
AddStatusPrefix (absl::string_view prefix, const absl::Status & status)
|
void |
AddVectorSink (const std::string & stream_name, CalculatorGraphConfig * config, std::vector< Packet > * dumped_data)
|
CalculatorGraphConfig::Node * |
BuildDemuxNode (const std::map< TagIndex, std::string > & input_tags, const CalculatorGraphConfig::Node & container_node, CalculatorGraphConfig * config)
|
CalculatorGraphConfig::Node * |
BuildMuxNode (const std::map< TagIndex, std::string > & output_tags, CalculatorGraphConfig * config)
|
CalculatorGraphConfig::Node * |
BuildTimestampNode (CalculatorGraphConfig * config, bool async_selection)
|
std::string |
CanonicalNodeName (const CalculatorGraphConfig & graph_config, int node_id)
|
std::string |
CatStream (const std::pair< std::string, int > & tag_index, const std::string & name)
|
std::string |
CatTag (const std::string & tag, int index)
|
int |
ChannelCount (const std::shared_ptr< tool::TagMap > & map)
|
std::string |
ChannelName (const std::string & name, int channel)
|
std::string |
ChannelTag (const std::string & tag, int channel)
|
std::set< std::string > |
ChannelTags (const std::shared_ptr< tool::TagMap > & map)
|
void |
ClearContainerOptions (SwitchContainerOptions * result)
|
void |
ClearContainerOptions (CalculatorGraphConfig::Node * dest)
|
absl::Status |
CombinedStatus (absl::string_view general_comment, const std::vector< absl::Status > & statuses)
|
absl::Status |
ConnectSubgraphStreams (const CalculatorGraphConfig::Node & subgraph_node, CalculatorGraphConfig * subgraph_config)
|
bool |
ContainsTag (const proto_ns::RepeatedPtrField< std::string > & tags, TagIndex item)
|
absl::Status |
CopyLiteralOptions (CalculatorGraphConfig::Node parent_node, CalculatorGraphConfig * config)
|
void |
CopyOptions (const CalculatorGraphConfig::Node & source, CalculatorGraphConfig::Node * dest)
|
absl::StatusOr< std::shared_ptr< TagMap > > |
CreateTagMap (const std::vector< std::string > & tag_index_names)
|
absl::StatusOr< std::shared_ptr< TagMap > > |
CreateTagMap (int num_entries)
|
absl::StatusOr< std::shared_ptr< TagMap > > |
CreateTagMapFromTags (const std::vector< std::string > & tags)
|
absl::Status |
DefineGraphOptions (const CalculatorGraphConfig::Node & parent_node, CalculatorGraphConfig * config)
|
void |
EraseTag (const std::string & stream, std::map< TagIndex, std::string > * streams)
|
void |
EraseTag (const std::string & stream, proto_ns::RepeatedPtrField< std::string > * streams)
|
absl::Status |
ExpandSubgraphs (CalculatorGraphConfig * config, const GraphRegistry * graph_registry, const Subgraph::SubgraphOptions * graph_options, const GraphServiceManager * service_manager)
|
std::string |
ExtensionType (const std::string & option_fields_tag)
|
absl::StatusOr< std::unique_ptr< PacketSet > > |
FillPacketSet (const PacketTypeSet & input_side_packet_types, const std::map< std::string, Packet > & input_side_packets, int * missing_packet_count_ptr)
|
absl::Status |
FindCorrespondingStreams (std::map< std::string, std::string > * stream_map, const proto_ns::RepeatedPtrField< ProtoString > & src_streams, const proto_ns::RepeatedPtrField< ProtoString > & dst_streams)
|
absl::Status |
FindIgnoredStreams (const proto_ns::RepeatedPtrField< ProtoString > & src_streams, const proto_ns::RepeatedPtrField< ProtoString > & dst_streams, std::set< std::string > * result)
|
std::string |
FormatValue (T v)
|
int |
GetChannelIndex (const CalculatorContext & cc, int previous_index)
|
void |
GetContainerNodeStreams (const CalculatorGraphConfig::Node & node, CalculatorGraphConfig::Node * result)
|
T * |
GetExtension (CalculatorOptions & options)
|
T * |
GetExtension (const CalculatorOptions & options)
|
void |
GetExtension (const CalculatorOptions & options, T * result)
|
absl::Status |
GetFieldValues (uint32_t field_id, CodedInputStream * in, CodedOutputStream * out, std::vector< std::string > * field_values)
|
void |
GetNodeOptions (const CalculatorGraphConfig::Node & node_config, T * result)
|
FieldPath |
GetPath (const std::string & path_tag, const std::string & message_type)
|
absl::Status |
GetTagAndNameInfo (const proto_ns::RepeatedPtrField< ProtoString > & tags_and_names, TagAndNameInfo * info)
|
size_t |
GetTypeHash ()
|
std::string |
GetUnusedNodeName (const CalculatorGraphConfig & config, const std::string & node_name_base)
|
std::string |
GetUnusedSidePacketName (const CalculatorGraphConfig & config, const std::string & input_side_packet_name_base)
|
bool |
HasExtension (const CalculatorOptions & options)
|
bool |
HasTag (const proto_ns::RepeatedPtrField< std::string > & streams, std::string tag)
|
bool |
IsLengthDelimited (WireFormatLite::WireType wire_type)
|
CalculatorGraphConfig |
MakeSingleNodeGraph (CalculatorGraphConfig::Node node)
|
T |
MergeOptions (const T & base, const T & options)
|
std::string |
MessageType (FieldData message)
|
bool |
ParseChannelTag (const std::string & channel_name, std::string * name, std::string * num)
|
std::string |
ParseNameFromStream (const std::string & stream)
|
absl::Status |
ParseTagAndName (absl::string_view tag_and_name, std::string * tag, std::string * name)
|
std::pair< std::string, int > |
ParseTagIndex (const std::string & tag_index)
|
absl::Status |
ParseTagIndex (const std::string & tag_index, std::string * tag, int * index)
|
std::pair< std::string, int > |
ParseTagIndexFromStream (const std::string & stream)
|
absl::Status |
ParseTagIndexName (const std::string & tag_index_name, std::string * tag, int * index, std::string * name)
|
void |
ParseTags (const proto_ns::RepeatedPtrField< std::string > & streams, std::map< TagIndex, std::string > * result)
|
absl::Status |
ParseValue (const std::string & text, T * result)
|
absl::Status |
ParseValue< bool > (const std::string & text, bool * result)
|
absl::Status |
ParseValue< double > (const std::string & text, double * result)
|
absl::Status |
ParseValue< float > (const std::string & text, float * result)
|
absl::Status |
ParseValue< std::string > (const std::string & text, std::string * result)
|
|
REGISTER_CALCULATOR (CallbackCalculator)
|
absl::Status |
ReadFieldValue (uint32_t tag, CodedInputStream * in, std::string * result)
|
absl::Status |
ReadPackedValues (WireFormatLite::WireType wire_type, CodedInputStream * in, std::vector< std::string > * field_values)
|
absl::Status |
ReadValue (absl::string_view field_bytes, FieldType field_type, absl::string_view message_type, FieldData * result)
|
void |
Relay (const InputStreamShard & input, OutputStreamShard * output)
|
absl::Status |
RemoveIgnoredStreams (proto_ns::RepeatedPtrField< ProtoString > * streams, const std::set< std::string > & missing_streams)
|
T |
RetrieveOptions (const T & base, const Packet & options_packet)
|
T |
RetrieveOptions (const T & base, const PacketSet & packet_set, const std::string & tag_name="OPTIONS")
|
T |
RetrieveOptions (const T & base, const InputStreamShardSet & stream_set, const std::string & tag_name="OPTIONS")
|
void |
SetFieldValues (uint32_t field_id, WireFormatLite::WireType wire_type, const std::vector< std::string > & field_values, CodedOutputStream * out)
|
absl::Status |
SetFromTagAndNameInfo (const TagAndNameInfo & info, proto_ns::RepeatedPtrField< ProtoString > * tags_and_names)
|
void |
SetNodeOptions (CalculatorGraphConfig::Node & node_config, const T & value)
|
absl::Status |
StatusFail (absl::string_view message)
|
absl::Status |
StatusInvalid (absl::string_view message)
|
absl::Status |
StatusStop ()
|
absl::Status |
SyntaxStatus (bool ok, const std::string & text, T * result)
|
absl::Status |
TransformNames (CalculatorGraphConfig * config, const std::function< std::string(absl::string_view)> & transform)
|
absl::Status |
TransformStreamNames (proto_ns::RepeatedPtrField< ProtoString > * streams, const std::function< std::string(absl::string_view)> & transform)
|
std::string |
UniqueName (std::string name, std::set< std::string > * names)
|
absl::Status |
ValidateContract (const CalculatorGraphConfig::Node & subgraph_node, const Subgraph::SubgraphOptions & subgraph_options)
|
absl::Status |
ValidateInput (const InputCollection & input_collection)
|
absl::Status |
ValidateName (const std::string & name)
|
absl::Status |
ValidateNumber (const std::string & number)
|
absl::Status |
ValidateSubgraphFields (const CalculatorGraphConfig::Node & subgraph_node)
|
absl::Status |
ValidateTag (const std::string & tag)
|
absl::Status |
WritePrimitive (void(*)(T, proto_ns::io::CodedOutputStream *) writer, const std::string & text, CodedOutputStream * out)
|
bool |
operator== (const TagMap::TagData & d1, const TagMap::TagData & d2)
|
Public Static Functions
Type |
Name |
absl::Status |
DeserializeValue (const FieldValue & bytes, FieldType field_type, std::string * result)
|
absl::Status |
PrefixNames (std::string prefix, CalculatorGraphConfig * config)
|
absl::Status |
ReadPrimitive (CodedInputStream * input, std::string * result)
|
ValueT |
ReadValue (absl::string_view field_bytes, absl::Status * status)
|
absl::Status |
SerializeValue (const std::string & text, FieldType field_type, FieldValue * field_value)
|
Public Types Documentation
typedef FieldAccess
using mediapipe::tool::FieldAccess = typedef ProtoUtilLite::FieldAccess;
typedef FieldType
typedef ProtoUtilLite::FieldType mediapipe::tool::FieldType;
typedef FieldValue
typedef ProtoUtilLite::FieldValue mediapipe::tool::FieldValue;
typedef ProtoPath
typedef ProtoUtilLite::ProtoPath mediapipe::tool::ProtoPath;
typedef ProtoPathEntry
using mediapipe::tool::ProtoPathEntry = typedef ProtoUtilLite::ProtoPathEntry;
typedef TagIndex
using mediapipe::tool::TagIndex = typedef std::pair<std::string, int>;
typedef ProtoUtilLite::WireFormatLite mediapipe::tool::WireFormatLite;
Public Functions Documentation
function ABSL_DEPRECATED
struct mediapipe::tool::ABSL_DEPRECATED (
"Prefer using mediapipe::tool::TagMap instead,
since this structure does " "not " "consider the TAG:INDEX:name notation."
)
function AddCallbackCalculator
void mediapipe::tool::AddCallbackCalculator (
const std::string & stream_name,
CalculatorGraphConfig * config,
std::string * callback_side_packet_name,
bool use_std_function
)
void mediapipe::tool::AddCallbackWithHeaderCalculator (
const std::string & stream_name,
const std::string & stream_header,
CalculatorGraphConfig * config,
std::string * callback_side_packet_name,
bool use_std_function
)
function AddMultiStreamCallback
void mediapipe::tool::AddMultiStreamCallback (
const std::vector< std::string > & streams,
std::function< void(const std::vector< Packet > &)> callback,
CalculatorGraphConfig * config,
std::pair< std::string, Packet > * side_packet
)
function AddMultiStreamCallback
void mediapipe::tool::AddMultiStreamCallback (
const std::vector< std::string > & streams,
std::function< void(const std::vector< Packet > &)> callback,
CalculatorGraphConfig * config,
std::map< std::string, Packet > * side_packets,
bool observe_timestamp_bounds
)
function AddPostStreamPacketSink
void mediapipe::tool::AddPostStreamPacketSink (
const std::string & stream_name,
CalculatorGraphConfig * config,
Packet * post_stream_packet
)
function AddSidePacketSink
void mediapipe::tool::AddSidePacketSink (
const std::string & side_packet_name,
CalculatorGraphConfig * config,
Packet * dumped_packet
)
function AddStatusPrefix
absl::Status mediapipe::tool::AddStatusPrefix (
absl::string_view prefix,
const absl::Status & status
)
function AddVectorSink
void mediapipe::tool::AddVectorSink (
const std::string & stream_name,
CalculatorGraphConfig * config,
std::vector< Packet > * dumped_data
)
function BuildDemuxNode
CalculatorGraphConfig::Node * mediapipe::tool::BuildDemuxNode (
const std::map< TagIndex, std::string > & input_tags,
const CalculatorGraphConfig::Node & container_node,
CalculatorGraphConfig * config
)
function BuildMuxNode
CalculatorGraphConfig::Node * mediapipe::tool::BuildMuxNode (
const std::map< TagIndex, std::string > & output_tags,
CalculatorGraphConfig * config
)
function BuildTimestampNode
CalculatorGraphConfig::Node * mediapipe::tool::BuildTimestampNode (
CalculatorGraphConfig * config,
bool async_selection
)
function CanonicalNodeName
std::string mediapipe::tool::CanonicalNodeName (
const CalculatorGraphConfig & graph_config,
int node_id
)
function CatStream
std::string mediapipe::tool::CatStream (
const std::pair< std::string, int > & tag_index,
const std::string & name
)
function CatTag
std::string mediapipe::tool::CatTag (
const std::string & tag,
int index
)
function ChannelCount
int mediapipe::tool::ChannelCount (
const std::shared_ptr< tool::TagMap > & map
)
function ChannelName
std::string mediapipe::tool::ChannelName (
const std::string & name,
int channel
)
function ChannelTag
std::string mediapipe::tool::ChannelTag (
const std::string & tag,
int channel
)
std::set< std::string > mediapipe::tool::ChannelTags (
const std::shared_ptr< tool::TagMap > & map
)
function ClearContainerOptions
void mediapipe::tool::ClearContainerOptions (
SwitchContainerOptions * result
)
function ClearContainerOptions
void mediapipe::tool::ClearContainerOptions (
CalculatorGraphConfig::Node * dest
)
function CombinedStatus
absl::Status mediapipe::tool::CombinedStatus (
absl::string_view general_comment,
const std::vector< absl::Status > & statuses
)
function ConnectSubgraphStreams
absl::Status mediapipe::tool::ConnectSubgraphStreams (
const CalculatorGraphConfig::Node & subgraph_node,
CalculatorGraphConfig * subgraph_config
)
function ContainsTag
bool mediapipe::tool::ContainsTag (
const proto_ns::RepeatedPtrField< std::string > & tags,
TagIndex item
)
function CopyLiteralOptions
absl::Status mediapipe::tool::CopyLiteralOptions (
CalculatorGraphConfig::Node parent_node,
CalculatorGraphConfig * config
)
function CopyOptions
void mediapipe::tool::CopyOptions (
const CalculatorGraphConfig::Node & source,
CalculatorGraphConfig::Node * dest
)
function CreateTagMap
absl::StatusOr< std::shared_ptr< TagMap > > mediapipe::tool::CreateTagMap (
const std::vector< std::string > & tag_index_names
)
function CreateTagMap
absl::StatusOr< std::shared_ptr< TagMap > > mediapipe::tool::CreateTagMap (
int num_entries
)
absl::StatusOr< std::shared_ptr< TagMap > > mediapipe::tool::CreateTagMapFromTags (
const std::vector< std::string > & tags
)
function DefineGraphOptions
absl::Status mediapipe::tool::DefineGraphOptions (
const CalculatorGraphConfig::Node & parent_node,
CalculatorGraphConfig * config
)
function EraseTag
void mediapipe::tool::EraseTag (
const std::string & stream,
std::map< TagIndex, std::string > * streams
)
function EraseTag
void mediapipe::tool::EraseTag (
const std::string & stream,
proto_ns::RepeatedPtrField< std::string > * streams
)
function ExpandSubgraphs
absl::Status mediapipe::tool::ExpandSubgraphs (
CalculatorGraphConfig * config,
const GraphRegistry * graph_registry,
const Subgraph::SubgraphOptions * graph_options,
const GraphServiceManager * service_manager
)
function ExtensionType
std::string mediapipe::tool::ExtensionType (
const std::string & option_fields_tag
)
function FillPacketSet
absl::StatusOr< std::unique_ptr< PacketSet > > mediapipe::tool::FillPacketSet (
const PacketTypeSet & input_side_packet_types,
const std::map< std::string, Packet > & input_side_packets,
int * missing_packet_count_ptr
)
function FindCorrespondingStreams
absl::Status mediapipe::tool::FindCorrespondingStreams (
std::map< std::string, std::string > * stream_map,
const proto_ns::RepeatedPtrField< ProtoString > & src_streams,
const proto_ns::RepeatedPtrField< ProtoString > & dst_streams
)
function FindIgnoredStreams
absl::Status mediapipe::tool::FindIgnoredStreams (
const proto_ns::RepeatedPtrField< ProtoString > & src_streams,
const proto_ns::RepeatedPtrField< ProtoString > & dst_streams,
std::set< std::string > * result
)
template<typename T>
std::string mediapipe::tool::FormatValue (
T v
)
function GetChannelIndex
int mediapipe::tool::GetChannelIndex (
const CalculatorContext & cc,
int previous_index
)
function GetContainerNodeStreams
void mediapipe::tool::GetContainerNodeStreams (
const CalculatorGraphConfig::Node & node,
CalculatorGraphConfig::Node * result
)
function GetExtension
template<class T, typename std::enable_if< IsExtension< T >::value, int >::type>
T * mediapipe::tool::GetExtension (
CalculatorOptions & options
)
function GetExtension
template<class T, typename std::enable_if<!IsExtension< T >::value, int >::type>
T * mediapipe::tool::GetExtension (
const CalculatorOptions & options
)
function GetExtension
template<class T>
void mediapipe::tool::GetExtension (
const CalculatorOptions & options,
T * result
)
function GetFieldValues
absl::Status mediapipe::tool::GetFieldValues (
uint32_t field_id,
CodedInputStream * in,
CodedOutputStream * out,
std::vector< std::string > * field_values
)
function GetNodeOptions
template<class T>
void mediapipe::tool::GetNodeOptions (
const CalculatorGraphConfig::Node & node_config,
T * result
)
function GetPath
FieldPath mediapipe::tool::GetPath (
const std::string & path_tag,
const std::string & message_type
)
function GetTagAndNameInfo
absl::Status mediapipe::tool::GetTagAndNameInfo (
const proto_ns::RepeatedPtrField< ProtoString > & tags_and_names,
TagAndNameInfo * info
)
function GetTypeHash
template<typename T>
size_t mediapipe::tool::GetTypeHash ()
function GetUnusedNodeName
std::string mediapipe::tool::GetUnusedNodeName (
const CalculatorGraphConfig & config,
const std::string & node_name_base
)
function GetUnusedSidePacketName
std::string mediapipe::tool::GetUnusedSidePacketName (
const CalculatorGraphConfig & config,
const std::string & input_side_packet_name_base
)
function HasExtension
template<class T, typename std::enable_if< IsExtension< T >::value, int >::type>
bool mediapipe::tool::HasExtension (
const CalculatorOptions & options
)
function HasTag
bool mediapipe::tool::HasTag (
const proto_ns::RepeatedPtrField< std::string > & streams,
std::string tag
)
function IsLengthDelimited
bool mediapipe::tool::IsLengthDelimited (
WireFormatLite::WireType wire_type
)
function MakeSingleNodeGraph
CalculatorGraphConfig mediapipe::tool::MakeSingleNodeGraph (
CalculatorGraphConfig::Node node
)
function MergeOptions
template<typename T>
inline T mediapipe::tool::MergeOptions (
const T & base,
const T & options
)
function MessageType
std::string mediapipe::tool::MessageType (
FieldData message
)
function ParseChannelTag
bool mediapipe::tool::ParseChannelTag (
const std::string & channel_name,
std::string * name,
std::string * num
)
function ParseNameFromStream
std::string mediapipe::tool::ParseNameFromStream (
const std::string & stream
)
function ParseTagAndName
absl::Status mediapipe::tool::ParseTagAndName (
absl::string_view tag_and_name,
std::string * tag,
std::string * name
)
function ParseTagIndex
std::pair< std::string, int > mediapipe::tool::ParseTagIndex (
const std::string & tag_index
)
function ParseTagIndex
absl::Status mediapipe::tool::ParseTagIndex (
const std::string & tag_index,
std::string * tag,
int * index
)
function ParseTagIndexFromStream
std::pair< std::string, int > mediapipe::tool::ParseTagIndexFromStream (
const std::string & stream
)
function ParseTagIndexName
absl::Status mediapipe::tool::ParseTagIndexName (
const std::string & tag_index_name,
std::string * tag,
int * index,
std::string * name
)
void mediapipe::tool::ParseTags (
const proto_ns::RepeatedPtrField< std::string > & streams,
std::map< TagIndex, std::string > * result
)
function ParseValue
template<typename T>
absl::Status mediapipe::tool::ParseValue (
const std::string & text,
T * result
)
function ParseValue< bool >
template<>
absl::Status mediapipe::tool::ParseValue< bool > (
const std::string & text,
bool * result
)
function ParseValue< double >
template<>
absl::Status mediapipe::tool::ParseValue< double > (
const std::string & text,
double * result
)
function ParseValue< float >
template<>
absl::Status mediapipe::tool::ParseValue< float > (
const std::string & text,
float * result
)
function ParseValue< std::string >
template<>
absl::Status mediapipe::tool::ParseValue< std::string > (
const std::string & text,
std::string * result
)
function REGISTER_CALCULATOR
mediapipe::tool::REGISTER_CALCULATOR (
CallbackCalculator
)
function ReadFieldValue
absl::Status mediapipe::tool::ReadFieldValue (
uint32_t tag,
CodedInputStream * in,
std::string * result
)
function ReadPackedValues
absl::Status mediapipe::tool::ReadPackedValues (
WireFormatLite::WireType wire_type,
CodedInputStream * in,
std::vector< std::string > * field_values
)
function ReadValue
absl::Status mediapipe::tool::ReadValue (
absl::string_view field_bytes,
FieldType field_type,
absl::string_view message_type,
FieldData * result
)
function Relay
void mediapipe::tool::Relay (
const InputStreamShard & input,
OutputStreamShard * output
)
function RemoveIgnoredStreams
absl::Status mediapipe::tool::RemoveIgnoredStreams (
proto_ns::RepeatedPtrField< ProtoString > * streams,
const std::set< std::string > & missing_streams
)
function RetrieveOptions
template<typename T>
inline T mediapipe::tool::RetrieveOptions (
const T & base,
const Packet & options_packet
)
function RetrieveOptions
template<typename T>
inline T mediapipe::tool::RetrieveOptions (
const T & base,
const PacketSet & packet_set,
const std::string & tag_name="OPTIONS"
)
function RetrieveOptions
template<typename T>
inline T mediapipe::tool::RetrieveOptions (
const T & base,
const InputStreamShardSet & stream_set,
const std::string & tag_name="OPTIONS"
)
function SetFieldValues
void mediapipe::tool::SetFieldValues (
uint32_t field_id,
WireFormatLite::WireType wire_type,
const std::vector< std::string > & field_values,
CodedOutputStream * out
)
function SetFromTagAndNameInfo
absl::Status mediapipe::tool::SetFromTagAndNameInfo (
const TagAndNameInfo & info,
proto_ns::RepeatedPtrField< ProtoString > * tags_and_names
)
function SetNodeOptions
template<class T>
void mediapipe::tool::SetNodeOptions (
CalculatorGraphConfig::Node & node_config,
const T & value
)
function StatusFail
absl::Status mediapipe::tool::StatusFail (
absl::string_view message
)
function StatusInvalid
absl::Status mediapipe::tool::StatusInvalid (
absl::string_view message
)
function StatusStop
absl::Status mediapipe::tool::StatusStop ()
function SyntaxStatus
template<typename T>
absl::Status mediapipe::tool::SyntaxStatus (
bool ok,
const std::string & text,
T * result
)
absl::Status mediapipe::tool::TransformNames (
CalculatorGraphConfig * config,
const std::function< std::string(absl::string_view)> & transform
)
absl::Status mediapipe::tool::TransformStreamNames (
proto_ns::RepeatedPtrField< ProtoString > * streams,
const std::function< std::string(absl::string_view)> & transform
)
function UniqueName
std::string mediapipe::tool::UniqueName (
std::string name,
std::set< std::string > * names
)
function ValidateContract
absl::Status mediapipe::tool::ValidateContract (
const CalculatorGraphConfig::Node & subgraph_node,
const Subgraph::SubgraphOptions & subgraph_options
)
absl::Status mediapipe::tool::ValidateInput (
const InputCollection & input_collection
)
function ValidateName
absl::Status mediapipe::tool::ValidateName (
const std::string & name
)
function ValidateNumber
absl::Status mediapipe::tool::ValidateNumber (
const std::string & number
)
function ValidateSubgraphFields
absl::Status mediapipe::tool::ValidateSubgraphFields (
const CalculatorGraphConfig::Node & subgraph_node
)
function ValidateTag
absl::Status mediapipe::tool::ValidateTag (
const std::string & tag
)
function WritePrimitive
template<typename T>
absl::Status mediapipe::tool::WritePrimitive (
void(*)(T, proto_ns::io::CodedOutputStream *) writer,
const std::string & text,
CodedOutputStream * out
)
function operator==
inline bool mediapipe::tool::operator== (
const TagMap::TagData & d1,
const TagMap::TagData & d2
)
Public Static Functions Documentation
function DeserializeValue
static absl::Status mediapipe::tool::DeserializeValue (
const FieldValue & bytes,
FieldType field_type,
std::string * result
)
function PrefixNames
static absl::Status mediapipe::tool::PrefixNames (
std::string prefix,
CalculatorGraphConfig * config
)
function ReadPrimitive
template<typename CType, FieldType DeclaredType>
static absl::Status mediapipe::tool::ReadPrimitive (
CodedInputStream * input,
std::string * result
)
function ReadValue
template<typename ValueT, FieldType kFieldType>
static ValueT mediapipe::tool::ReadValue (
absl::string_view field_bytes,
absl::Status * status
)
function SerializeValue
static absl::Status mediapipe::tool::SerializeValue (
const std::string & text,
FieldType field_type,
FieldValue * field_value
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/collection_item_id.h