Project import generated by Copybara.
GitOrigin-RevId: ea8d45731f5a052f79745e35bfd8240d6ac568d2
This commit is contained in:
@@ -19,14 +19,10 @@
|
||||
|
||||
#include "mediapipe/framework/calculator_base.h"
|
||||
|
||||
#define REGISTER_CALCULATOR(name) \
|
||||
REGISTER_FACTORY_FUNCTION_QUALIFIED(mediapipe::CalculatorBaseRegistry, \
|
||||
calculator_registration, name, \
|
||||
absl::make_unique<name>); \
|
||||
REGISTER_FACTORY_FUNCTION_QUALIFIED( \
|
||||
mediapipe::internal::StaticAccessToCalculatorBaseRegistry, \
|
||||
access_registration, name, \
|
||||
absl::make_unique< \
|
||||
mediapipe::internal::StaticAccessToCalculatorBaseTyped<name>>)
|
||||
// Macro for registering calculators.
|
||||
#define REGISTER_CALCULATOR(name) \
|
||||
REGISTER_FACTORY_FUNCTION_QUALIFIED( \
|
||||
mediapipe::CalculatorBaseRegistry, calculator_registration, name, \
|
||||
absl::make_unique<mediapipe::internal::CalculatorBaseFactoryFor<name>>)
|
||||
|
||||
#endif // MEDIAPIPE_FRAMEWORK_CALCULATOR_REGISTRY_H_
|
||||
|
||||
Reference in New Issue
Block a user