Internal change
PiperOrigin-RevId: 520486540
This commit is contained in:
parent
6be4aedcf7
commit
df67b35348
|
@ -12,20 +12,25 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//visibility:private"])
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "callback_packet_calculator_proto",
|
||||
srcs = ["callback_packet_calculator.proto"],
|
||||
visibility = ["//mediapipe/framework:__subpackages__"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
deps = ["//mediapipe/framework:calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "callback_packet_calculator_cc_proto",
|
||||
srcs = ["callback_packet_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
visibility = ["//mediapipe/framework:__subpackages__"],
|
||||
deps = [":callback_packet_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
load(
|
||||
"//mediapipe/framework/tool:mediapipe_graph.bzl",
|
||||
"mediapipe_binary_graph",
|
||||
|
@ -23,35 +23,28 @@ licenses(["notice"])
|
|||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "flow_to_image_calculator_proto",
|
||||
srcs = ["flow_to_image_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
deps = ["//mediapipe/framework:calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "opencv_video_encoder_calculator_proto",
|
||||
srcs = ["opencv_video_encoder_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
deps = ["//mediapipe/framework:calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "motion_analysis_calculator_proto",
|
||||
srcs = ["motion_analysis_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
"//mediapipe/util/tracking:motion_analysis_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "flow_packager_calculator_proto",
|
||||
srcs = ["flow_packager_calculator.proto"],
|
||||
deps = [
|
||||
|
@ -60,45 +53,114 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "box_tracker_calculator_proto",
|
||||
srcs = ["box_tracker_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
"//mediapipe/util/tracking:box_tracker_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "tracked_detection_manager_calculator_proto",
|
||||
srcs = ["tracked_detection_manager_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
"//mediapipe/util/tracking:tracked_detection_manager_config_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "box_detector_calculator_proto",
|
||||
srcs = ["box_detector_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
"//mediapipe/util/tracking:box_detector_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "video_pre_stream_calculator_proto",
|
||||
srcs = ["video_pre_stream_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_options_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "motion_analysis_calculator_cc_proto",
|
||||
srcs = ["motion_analysis_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
"//mediapipe/util/tracking:motion_analysis_cc_proto",
|
||||
],
|
||||
deps = [":motion_analysis_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "flow_packager_calculator_cc_proto",
|
||||
srcs = ["flow_packager_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
"//mediapipe/util/tracking:flow_packager_cc_proto",
|
||||
],
|
||||
deps = [":flow_packager_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "box_tracker_calculator_cc_proto",
|
||||
srcs = ["box_tracker_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
"//mediapipe/util/tracking:box_tracker_cc_proto",
|
||||
],
|
||||
deps = [":box_tracker_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "tracked_detection_manager_calculator_cc_proto",
|
||||
srcs = ["tracked_detection_manager_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
"//mediapipe/util/tracking:tracked_detection_manager_config_cc_proto",
|
||||
],
|
||||
deps = [":tracked_detection_manager_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "box_detector_calculator_cc_proto",
|
||||
srcs = ["box_detector_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
"//mediapipe/util/tracking:box_detector_cc_proto",
|
||||
],
|
||||
deps = [":box_detector_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "video_pre_stream_calculator_cc_proto",
|
||||
srcs = ["video_pre_stream_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
deps = [":video_pre_stream_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "flow_to_image_calculator_cc_proto",
|
||||
srcs = ["flow_to_image_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
deps = [":flow_to_image_calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "opencv_video_encoder_calculator_cc_proto",
|
||||
srcs = ["opencv_video_encoder_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
deps = [":opencv_video_encoder_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "flow_to_image_calculator",
|
||||
srcs = ["flow_to_image_calculator.cc"],
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
|
||||
# Copyright 2019 The MediaPipe Authors.
|
||||
#
|
||||
|
@ -40,15 +40,22 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "border_detection_calculator_proto",
|
||||
srcs = ["border_detection_calculator.proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "border_detection_calculator_cc_proto",
|
||||
srcs = ["border_detection_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [":border_detection_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "content_zooming_calculator_state",
|
||||
hdrs = ["content_zooming_calculator_state.h"],
|
||||
|
@ -78,15 +85,27 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "content_zooming_calculator_proto",
|
||||
srcs = ["content_zooming_calculator.proto"],
|
||||
deps = [
|
||||
"//mediapipe/examples/desktop/autoflip/quality:kinematic_path_solver_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "content_zooming_calculator_cc_proto",
|
||||
srcs = ["content_zooming_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/examples/desktop/autoflip/quality:kinematic_path_solver_cc_proto",
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = [
|
||||
"//mediapipe/examples:__subpackages__",
|
||||
],
|
||||
deps = [
|
||||
"//mediapipe/examples/desktop/autoflip/quality:kinematic_path_solver_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
":content_zooming_calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -158,7 +177,7 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "video_filtering_calculator_proto",
|
||||
srcs = ["video_filtering_calculator.proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -167,6 +186,14 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "video_filtering_calculator_cc_proto",
|
||||
srcs = ["video_filtering_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":video_filtering_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "video_filtering_calculator_test",
|
||||
srcs = ["video_filtering_calculator_test.cc"],
|
||||
|
@ -182,7 +209,7 @@ cc_test(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "scene_cropping_calculator_proto",
|
||||
srcs = ["scene_cropping_calculator.proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -192,6 +219,17 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "scene_cropping_calculator_cc_proto",
|
||||
srcs = ["scene_cropping_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/examples/desktop/autoflip/quality:cropping_cc_proto",
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":scene_cropping_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "scene_cropping_calculator",
|
||||
srcs = ["scene_cropping_calculator.cc"],
|
||||
|
@ -258,16 +296,26 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "signal_fusing_calculator_proto",
|
||||
srcs = ["signal_fusing_calculator.proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [
|
||||
"//mediapipe/examples/desktop/autoflip:autoflip_messages_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "signal_fusing_calculator_cc_proto",
|
||||
srcs = ["signal_fusing_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/examples/desktop/autoflip:autoflip_messages_cc_proto",
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [":signal_fusing_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "signal_fusing_calculator_test",
|
||||
srcs = ["signal_fusing_calculator_test.cc"],
|
||||
|
@ -305,13 +353,20 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "shot_boundary_calculator_proto",
|
||||
srcs = ["shot_boundary_calculator.proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = ["//mediapipe/framework:calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "shot_boundary_calculator_cc_proto",
|
||||
srcs = ["shot_boundary_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [":shot_boundary_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "shot_boundary_calculator_test",
|
||||
srcs = ["shot_boundary_calculator_test.cc"],
|
||||
|
@ -358,16 +413,26 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "face_to_region_calculator_proto",
|
||||
srcs = ["face_to_region_calculator.proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [
|
||||
"//mediapipe/examples/desktop/autoflip/quality:visual_scorer_proto",
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "face_to_region_calculator_cc_proto",
|
||||
srcs = ["face_to_region_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/examples/desktop/autoflip/quality:visual_scorer_cc_proto",
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [":face_to_region_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "face_to_region_calculator_test",
|
||||
srcs = ["face_to_region_calculator_test.cc"],
|
||||
|
@ -389,15 +454,22 @@ cc_test(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "localization_to_region_calculator_proto",
|
||||
srcs = ["localization_to_region_calculator.proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [
|
||||
"//mediapipe/framework:calculator_proto",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "localization_to_region_calculator_cc_proto",
|
||||
srcs = ["localization_to_region_calculator.proto"],
|
||||
cc_deps = ["//mediapipe/framework:calculator_cc_proto"],
|
||||
visibility = ["//mediapipe/examples:__subpackages__"],
|
||||
deps = [":localization_to_region_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "localization_to_region_calculator",
|
||||
srcs = ["localization_to_region_calculator.cc"],
|
||||
|
|
|
@ -16,17 +16,23 @@
|
|||
# Description:
|
||||
# Working with dense optical flow in mediapipe.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "optical_flow_field_data_proto",
|
||||
srcs = ["optical_flow_field_data.proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "optical_flow_field_data_cc_proto",
|
||||
srcs = ["optical_flow_field_data.proto"],
|
||||
deps = [":optical_flow_field_data_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "optical_flow_field",
|
||||
srcs = ["optical_flow_field.cc"],
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
|
@ -22,32 +22,56 @@ package(
|
|||
features = ["-layering_check"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "default_input_stream_handler_proto",
|
||||
srcs = ["default_input_stream_handler.proto"],
|
||||
deps = ["//mediapipe/framework:mediapipe_options_proto"],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "fixed_size_input_stream_handler_proto",
|
||||
srcs = ["fixed_size_input_stream_handler.proto"],
|
||||
deps = ["//mediapipe/framework:mediapipe_options_proto"],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "sync_set_input_stream_handler_proto",
|
||||
srcs = ["sync_set_input_stream_handler.proto"],
|
||||
deps = ["//mediapipe/framework:mediapipe_options_proto"],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "timestamp_align_input_stream_handler_proto",
|
||||
srcs = ["timestamp_align_input_stream_handler.proto"],
|
||||
deps = ["//mediapipe/framework:mediapipe_options_proto"],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "default_input_stream_handler_cc_proto",
|
||||
srcs = ["default_input_stream_handler.proto"],
|
||||
cc_deps = ["//mediapipe/framework:mediapipe_options_cc_proto"],
|
||||
deps = [":default_input_stream_handler_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "fixed_size_input_stream_handler_cc_proto",
|
||||
srcs = ["fixed_size_input_stream_handler.proto"],
|
||||
cc_deps = ["//mediapipe/framework:mediapipe_options_cc_proto"],
|
||||
deps = [":fixed_size_input_stream_handler_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "sync_set_input_stream_handler_cc_proto",
|
||||
srcs = ["sync_set_input_stream_handler.proto"],
|
||||
cc_deps = ["//mediapipe/framework:mediapipe_options_cc_proto"],
|
||||
deps = [":sync_set_input_stream_handler_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "timestamp_align_input_stream_handler_cc_proto",
|
||||
srcs = ["timestamp_align_input_stream_handler.proto"],
|
||||
cc_deps = ["//mediapipe/framework:mediapipe_options_cc_proto"],
|
||||
deps = [":timestamp_align_input_stream_handler_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
|
|
@ -90,6 +90,7 @@ def mediapipe_proto_library_impl(
|
|||
visibility = visibility,
|
||||
testonly = testonly,
|
||||
compatible_with = compatible_with,
|
||||
alwayslink = alwayslink,
|
||||
))
|
||||
|
||||
if def_cc_proto:
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
load("//mediapipe/gpu:metal.bzl", "metal_library")
|
||||
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework:mediapipe_cc_test.bzl", "mediapipe_cc_test")
|
||||
load("//mediapipe/framework:more_selects.bzl", "more_selects")
|
||||
|
||||
|
@ -982,7 +982,7 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "gl_surface_sink_calculator_proto",
|
||||
srcs = ["gl_surface_sink_calculator.proto"],
|
||||
deps = [
|
||||
|
@ -991,6 +991,17 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "gl_surface_sink_calculator_cc_proto",
|
||||
srcs = ["gl_surface_sink_calculator.proto"],
|
||||
cc_deps = [
|
||||
":scale_mode_cc_proto",
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":gl_surface_sink_calculator_proto"],
|
||||
)
|
||||
|
||||
### Metal calculators
|
||||
|
||||
metal_library(
|
||||
|
@ -1006,13 +1017,23 @@ objc_library(
|
|||
deps = [":simple_shaders_mtl"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "copy_calculator_proto",
|
||||
srcs = ["copy_calculator.proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = ["//mediapipe/framework:calculator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "copy_calculator_cc_proto",
|
||||
srcs = ["copy_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":copy_calculator_proto"],
|
||||
)
|
||||
|
||||
objc_library(
|
||||
name = "metal_copy_calculator",
|
||||
srcs = ["MetalCopyCalculator.mm"],
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "iris_to_render_data_calculator_proto",
|
||||
srcs = ["iris_to_render_data_calculator.proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -27,6 +27,18 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "iris_to_render_data_calculator_cc_proto",
|
||||
srcs = ["iris_to_render_data_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
"//mediapipe/util:color_cc_proto",
|
||||
"//mediapipe/util:render_data_cc_proto",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":iris_to_render_data_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "iris_to_render_data_calculator",
|
||||
srcs = ["iris_to_render_data_calculator.cc"],
|
||||
|
@ -44,7 +56,7 @@ cc_library(
|
|||
alwayslink = 1,
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "iris_to_depth_calculator_proto",
|
||||
srcs = ["iris_to_depth_calculator.proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -53,6 +65,16 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "iris_to_depth_calculator_cc_proto",
|
||||
srcs = ["iris_to_depth_calculator.proto"],
|
||||
cc_deps = [
|
||||
"//mediapipe/framework:calculator_cc_proto",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":iris_to_depth_calculator_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "iris_to_depth_calculator",
|
||||
srcs = ["iris_to_depth_calculator.cc"],
|
||||
|
|
|
@ -13,24 +13,24 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_proto_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "tone_models_proto",
|
||||
srcs = ["tone_models.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "tone_estimation_proto",
|
||||
srcs = ["tone_estimation.proto"],
|
||||
deps = [":tone_models_proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "region_flow_computation_proto",
|
||||
srcs = ["region_flow_computation.proto"],
|
||||
deps = [
|
||||
|
@ -38,17 +38,17 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "motion_saliency_proto",
|
||||
srcs = ["motion_saliency.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "motion_estimation_proto",
|
||||
srcs = ["motion_estimation.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "motion_analysis_proto",
|
||||
srcs = ["motion_analysis.proto"],
|
||||
deps = [
|
||||
|
@ -58,33 +58,33 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "region_flow_proto",
|
||||
srcs = ["region_flow.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "motion_models_proto",
|
||||
srcs = ["motion_models.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "camera_motion_proto",
|
||||
srcs = ["camera_motion.proto"],
|
||||
deps = [":motion_models_proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "push_pull_filtering_proto",
|
||||
srcs = ["push_pull_filtering.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "frame_selection_solution_evaluator_proto",
|
||||
srcs = ["frame_selection_solution_evaluator.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "frame_selection_proto",
|
||||
srcs = ["frame_selection.proto"],
|
||||
deps = [
|
||||
|
@ -94,7 +94,7 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "flow_packager_proto",
|
||||
srcs = ["flow_packager.proto"],
|
||||
deps = [
|
||||
|
@ -103,7 +103,7 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "tracking_proto",
|
||||
srcs = ["tracking.proto"],
|
||||
deps = [
|
||||
|
@ -111,18 +111,18 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "box_tracker_proto",
|
||||
srcs = ["box_tracker.proto"],
|
||||
deps = [":tracking_proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "tracked_detection_manager_config_proto",
|
||||
srcs = ["tracked_detection_manager_config.proto"],
|
||||
)
|
||||
|
||||
mediapipe_proto_library(
|
||||
proto_library(
|
||||
name = "box_detector_proto",
|
||||
srcs = ["box_detector.proto"],
|
||||
deps = [
|
||||
|
@ -131,6 +131,135 @@ mediapipe_proto_library(
|
|||
],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "tone_models_cc_proto",
|
||||
srcs = ["tone_models.proto"],
|
||||
deps = [":tone_models_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "tone_estimation_cc_proto",
|
||||
srcs = ["tone_estimation.proto"],
|
||||
cc_deps = [":tone_models_cc_proto"],
|
||||
deps = [":tone_estimation_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "region_flow_computation_cc_proto",
|
||||
srcs = ["region_flow_computation.proto"],
|
||||
cc_deps = [
|
||||
":tone_estimation_cc_proto",
|
||||
":tone_models_cc_proto",
|
||||
],
|
||||
deps = [":region_flow_computation_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "motion_saliency_cc_proto",
|
||||
srcs = ["motion_saliency.proto"],
|
||||
deps = [":motion_saliency_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "motion_estimation_cc_proto",
|
||||
srcs = ["motion_estimation.proto"],
|
||||
deps = [":motion_estimation_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "motion_analysis_cc_proto",
|
||||
srcs = ["motion_analysis.proto"],
|
||||
cc_deps = [
|
||||
":motion_estimation_cc_proto",
|
||||
":motion_saliency_cc_proto",
|
||||
":region_flow_computation_cc_proto",
|
||||
],
|
||||
deps = [":motion_analysis_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "region_flow_cc_proto",
|
||||
srcs = ["region_flow.proto"],
|
||||
cc_deps = [":motion_models_cc_proto"],
|
||||
deps = [":region_flow_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "motion_models_cc_proto",
|
||||
srcs = ["motion_models.proto"],
|
||||
deps = [":motion_models_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "camera_motion_cc_proto",
|
||||
srcs = ["camera_motion.proto"],
|
||||
cc_deps = [":motion_models_cc_proto"],
|
||||
deps = [":camera_motion_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "push_pull_filtering_cc_proto",
|
||||
srcs = ["push_pull_filtering.proto"],
|
||||
deps = [":push_pull_filtering_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "frame_selection_solution_evaluator_cc_proto",
|
||||
srcs = ["frame_selection_solution_evaluator.proto"],
|
||||
deps = [":frame_selection_solution_evaluator_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "frame_selection_cc_proto",
|
||||
srcs = ["frame_selection.proto"],
|
||||
cc_deps = [
|
||||
":camera_motion_cc_proto",
|
||||
":frame_selection_solution_evaluator_cc_proto",
|
||||
":region_flow_cc_proto",
|
||||
],
|
||||
deps = [":frame_selection_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "flow_packager_cc_proto",
|
||||
srcs = ["flow_packager.proto"],
|
||||
cc_deps = [
|
||||
":motion_models_cc_proto",
|
||||
":region_flow_cc_proto",
|
||||
],
|
||||
deps = [":flow_packager_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "tracking_cc_proto",
|
||||
srcs = ["tracking.proto"],
|
||||
cc_deps = [":motion_models_cc_proto"],
|
||||
deps = [":tracking_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "box_tracker_cc_proto",
|
||||
srcs = ["box_tracker.proto"],
|
||||
cc_deps = [":tracking_cc_proto"],
|
||||
deps = [":box_tracker_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "tracked_detection_manager_config_cc_proto",
|
||||
srcs = ["tracked_detection_manager_config.proto"],
|
||||
deps = [":tracked_detection_manager_config_proto"],
|
||||
)
|
||||
|
||||
mediapipe_cc_proto_library(
|
||||
name = "box_detector_cc_proto",
|
||||
srcs = ["box_detector.proto"],
|
||||
cc_deps = [
|
||||
":box_tracker_cc_proto",
|
||||
":region_flow_cc_proto",
|
||||
],
|
||||
deps = [":box_detector_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "motion_models",
|
||||
srcs = ["motion_models.cc"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user