From b2586e7e3bc87849704e1d993fefc4eb7ef05591 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Wed, 19 Apr 2023 10:59:00 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 525495248 --- .../autoflip/calculators/border_detection_calculator.cc | 3 --- .../autoflip/calculators/border_detection_calculator_test.cc | 4 ---- .../autoflip/calculators/shot_boundary_calculator_test.cc | 3 --- .../desktop/autoflip/calculators/signal_fusing_calculator.cc | 2 -- mediapipe/framework/api2/node_test.cc | 2 -- mediapipe/framework/tool/options_field_util.cc | 4 ---- 6 files changed, 18 deletions(-) diff --git a/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator.cc b/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator.cc index 238bcf8be..c3c920bcf 100644 --- a/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator.cc +++ b/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator.cc @@ -28,11 +28,8 @@ #include "mediapipe/framework/port/ret_check.h" #include "mediapipe/framework/port/status.h" -using mediapipe::Adopt; -using mediapipe::CalculatorBase; using mediapipe::ImageFrame; using mediapipe::PacketTypeSet; -using mediapipe::autoflip::Border; constexpr char kDetectedBorders[] = "DETECTED_BORDERS"; constexpr int kMinBorderDistance = 5; diff --git a/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator_test.cc b/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator_test.cc index e72d54e55..431e3d161 100644 --- a/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator_test.cc +++ b/mediapipe/examples/desktop/autoflip/calculators/border_detection_calculator_test.cc @@ -28,16 +28,12 @@ #include "mediapipe/framework/port/status.h" #include "mediapipe/framework/port/status_matchers.h" -using mediapipe::Adopt; using mediapipe::CalculatorGraphConfig; using mediapipe::CalculatorRunner; using mediapipe::ImageFormat; using mediapipe::ImageFrame; using mediapipe::Packet; using mediapipe::PacketTypeSet; -using mediapipe::ParseTextProtoOrDie; -using mediapipe::Timestamp; -using mediapipe::autoflip::Border; namespace mediapipe { namespace autoflip { diff --git a/mediapipe/examples/desktop/autoflip/calculators/shot_boundary_calculator_test.cc b/mediapipe/examples/desktop/autoflip/calculators/shot_boundary_calculator_test.cc index 9ea79ba44..a45a171a4 100644 --- a/mediapipe/examples/desktop/autoflip/calculators/shot_boundary_calculator_test.cc +++ b/mediapipe/examples/desktop/autoflip/calculators/shot_boundary_calculator_test.cc @@ -31,14 +31,11 @@ #include "mediapipe/framework/port/status.h" #include "mediapipe/framework/port/status_matchers.h" -using mediapipe::Adopt; using mediapipe::CalculatorGraphConfig; using mediapipe::CalculatorRunner; using mediapipe::ImageFormat; using mediapipe::ImageFrame; using mediapipe::PacketTypeSet; -using mediapipe::ParseTextProtoOrDie; -using mediapipe::Timestamp; namespace mediapipe { namespace autoflip { diff --git a/mediapipe/examples/desktop/autoflip/calculators/signal_fusing_calculator.cc b/mediapipe/examples/desktop/autoflip/calculators/signal_fusing_calculator.cc index 85b2d96f8..ba5064a28 100644 --- a/mediapipe/examples/desktop/autoflip/calculators/signal_fusing_calculator.cc +++ b/mediapipe/examples/desktop/autoflip/calculators/signal_fusing_calculator.cc @@ -28,8 +28,6 @@ using mediapipe::Packet; using mediapipe::PacketTypeSet; using mediapipe::autoflip::DetectionSet; -using mediapipe::autoflip::SalientRegion; -using mediapipe::autoflip::SignalType; constexpr char kIsShotBoundaryTag[] = "IS_SHOT_BOUNDARY"; constexpr char kSignalInputsTag[] = "SIGNAL"; diff --git a/mediapipe/framework/api2/node_test.cc b/mediapipe/framework/api2/node_test.cc index a6c1ef7c6..152cbb0e2 100644 --- a/mediapipe/framework/api2/node_test.cc +++ b/mediapipe/framework/api2/node_test.cc @@ -19,8 +19,6 @@ namespace mediapipe { namespace api2 { namespace test { -using testing::ElementsAre; - // Returns the packet values for a vector of Packets. template std::vector PacketValues(const std::vector& packets) { diff --git a/mediapipe/framework/tool/options_field_util.cc b/mediapipe/framework/tool/options_field_util.cc index 308932d4f..248028c25 100644 --- a/mediapipe/framework/tool/options_field_util.cc +++ b/mediapipe/framework/tool/options_field_util.cc @@ -27,10 +27,6 @@ namespace options_field_util { using ::mediapipe::proto_ns::internal::WireFormatLite; using FieldType = WireFormatLite::FieldType; -using ::mediapipe::proto_ns::io::ArrayInputStream; -using ::mediapipe::proto_ns::io::CodedInputStream; -using ::mediapipe::proto_ns::io::CodedOutputStream; -using ::mediapipe::proto_ns::io::StringOutputStream; // Utility functions for OptionsFieldUtil. namespace {