Internal change

PiperOrigin-RevId: 518559368
This commit is contained in:
MediaPipe Team 2023-03-22 07:12:05 -07:00 committed by Copybara-Service
parent 5d2a719b54
commit 18b4caa7f3
4 changed files with 47 additions and 47 deletions

View File

@ -315,11 +315,11 @@ cc_library(
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
deps = [ deps = [
"@com_google_absl//absl/flags:flag", "@com_google_absl//absl/flags:flag",
"//mediapipe/framework/deps:file_path",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
"//mediapipe/framework/port:ret_check", "//mediapipe/framework/port:ret_check",
"//mediapipe/framework/port:statusor",
"//mediapipe/framework/port:status", "//mediapipe/framework/port:status",
"//mediapipe/framework/deps:file_path", "//mediapipe/framework/port:statusor",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
"//mediapipe/framework/port:file_helpers", "//mediapipe/framework/port:file_helpers",
@ -328,8 +328,8 @@ cc_library(
"//mediapipe/framework/port:file_helpers", "//mediapipe/framework/port:file_helpers",
], ],
"//mediapipe:android": [ "//mediapipe:android": [
"//mediapipe/java/com/google/mediapipe/framework/jni:jni_util",
"//mediapipe/framework/port:file_helpers", "//mediapipe/framework/port:file_helpers",
"//mediapipe/java/com/google/mediapipe/framework/jni:jni_util",
], ],
"//mediapipe:apple": [ "//mediapipe:apple": [
"//mediapipe/framework/port:file_helpers", "//mediapipe/framework/port:file_helpers",

View File

@ -288,16 +288,16 @@ cc_library(
deps = [ deps = [
":gpu_buffer_format", ":gpu_buffer_format",
":gpu_buffer_storage", ":gpu_buffer_storage",
":gpu_buffer_storage_image_frame",
"@com_google_absl//absl/functional:bind_front", "@com_google_absl//absl/functional:bind_front",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization", "@com_google_absl//absl/synchronization",
"//mediapipe/framework/formats:image_frame", "//mediapipe/framework/formats:image_frame",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
":gpu_buffer_storage_image_frame",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
":gl_texture_view",
":gl_texture_buffer", ":gl_texture_buffer",
":gl_texture_view",
], ],
":platform_ios_with_gpu": [ ":platform_ios_with_gpu": [
":gl_texture_view", ":gl_texture_view",
@ -305,9 +305,9 @@ cc_library(
"//mediapipe/objc:CFHolder", "//mediapipe/objc:CFHolder",
], ],
":platform_macos_with_gpu": [ ":platform_macos_with_gpu": [
"//mediapipe/objc:CFHolder",
":gl_texture_view",
":gl_texture_buffer", ":gl_texture_buffer",
":gl_texture_view",
"//mediapipe/objc:CFHolder",
], ],
":disable_gpu": [], ":disable_gpu": [],
}) + select({ }) + select({
@ -324,9 +324,9 @@ cc_library(
hdrs = ["gpu_buffer_format.h"], hdrs = ["gpu_buffer_format.h"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/framework/formats:image_format_cc_proto",
"@com_google_absl//absl/container:flat_hash_map", "@com_google_absl//absl/container:flat_hash_map",
"//mediapipe/framework/deps:no_destructor", "//mediapipe/framework/deps:no_destructor",
"//mediapipe/framework/formats:image_format_cc_proto",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
@ -613,22 +613,22 @@ cc_library(
}), }),
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
deps = [ deps = [
":gl_context_options_cc_proto",
":graph_support",
"//mediapipe/framework:calculator_context",
"//mediapipe/framework:executor",
"//mediapipe/framework:calculator_node",
"//mediapipe/framework/port:ret_check",
"//mediapipe/framework/deps:no_destructor",
":gl_base", ":gl_base",
":gl_context", ":gl_context",
":gl_context_options_cc_proto",
":gpu_buffer_multi_pool", ":gpu_buffer_multi_pool",
":gpu_shared_data_header", ":gpu_shared_data_header",
":graph_support",
"//mediapipe/framework:calculator_context",
"//mediapipe/framework:calculator_node",
"//mediapipe/framework:executor",
"//mediapipe/framework/deps:no_destructor",
"//mediapipe/framework/port:ret_check",
] + select({ ] + select({
"//conditions:default": [], "//conditions:default": [],
"//mediapipe:apple": [ "//mediapipe:apple": [
":metal_shared_resources",
":cv_texture_cache_manager", ":cv_texture_cache_manager",
":metal_shared_resources",
], ],
}), }),
) )
@ -697,13 +697,13 @@ cc_library(
":gpu_buffer", ":gpu_buffer",
":gpu_shared_data_header", ":gpu_shared_data_header",
":multi_pool", ":multi_pool",
"@com_google_absl//absl/hash",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/synchronization",
"//mediapipe/framework:calculator_context", "//mediapipe/framework:calculator_context",
"//mediapipe/framework:calculator_node", "//mediapipe/framework:calculator_node",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
"//mediapipe/util:resource_cache", "//mediapipe/util:resource_cache",
"@com_google_absl//absl/hash",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/synchronization",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
":gl_texture_buffer", ":gl_texture_buffer",
@ -719,9 +719,9 @@ cc_library(
"//mediapipe:macos": [ "//mediapipe:macos": [
":cv_pixel_buffer_pool_wrapper", ":cv_pixel_buffer_pool_wrapper",
":cv_texture_cache_manager", ":cv_texture_cache_manager",
":pixel_buffer_pool_util",
":gl_texture_buffer", ":gl_texture_buffer",
":gl_texture_buffer_pool", ":gl_texture_buffer_pool",
":pixel_buffer_pool_util",
], ],
}), }),
) )
@ -789,31 +789,31 @@ cc_library(
":gpu_buffer", ":gpu_buffer",
":gpu_buffer_format", ":gpu_buffer_format",
":gpu_buffer_multi_pool", ":gpu_buffer_multi_pool",
":gpu_shared_data_internal",
":gpu_service", ":gpu_service",
":gpu_shared_data_internal",
":graph_support", ":graph_support",
":image_frame_view", ":image_frame_view",
":shader_util", ":shader_util",
"//mediapipe/framework:calculator_framework",
"@com_google_absl//absl/base:core_headers", "@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/synchronization",
"//mediapipe/framework:calculator_context", "//mediapipe/framework:calculator_context",
"//mediapipe/framework:calculator_node",
"//mediapipe/framework:calculator_contract", "//mediapipe/framework:calculator_contract",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework:calculator_node",
"//mediapipe/framework:demangle", "//mediapipe/framework:demangle",
"//mediapipe/framework:legacy_calculator_support", "//mediapipe/framework:legacy_calculator_support",
"//mediapipe/framework:packet", "//mediapipe/framework:packet",
"//mediapipe/framework:packet_set", "//mediapipe/framework:packet_set",
"//mediapipe/framework:packet_type", "//mediapipe/framework:packet_type",
"//mediapipe/framework:timestamp", "//mediapipe/framework:timestamp",
"//mediapipe/framework/deps:registration",
"//mediapipe/framework/formats:image", "//mediapipe/framework/formats:image",
"//mediapipe/framework/formats:image_frame", "//mediapipe/framework/formats:image_frame",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
"//mediapipe/framework/port:map_util",
"//mediapipe/framework/port:ret_check", "//mediapipe/framework/port:ret_check",
"//mediapipe/framework/port:status", "//mediapipe/framework/port:status",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/synchronization",
"//mediapipe/framework/deps:registration",
"//mediapipe/framework/port:map_util",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
], ],

View File

@ -30,11 +30,11 @@ cc_library(
"compat_jni.cc", "compat_jni.cc",
"graph.cc", "graph.cc",
"graph_jni.cc", "graph_jni.cc",
"graph_profiler_jni.cc",
"graph_service_jni.cc", "graph_service_jni.cc",
"packet_context_jni.cc", "packet_context_jni.cc",
"packet_creator_jni.cc", "packet_creator_jni.cc",
"packet_getter_jni.cc", "packet_getter_jni.cc",
"graph_profiler_jni.cc",
] + select({ ] + select({
"//conditions:default": [], "//conditions:default": [],
"//mediapipe:android": [ "//mediapipe:android": [
@ -54,11 +54,11 @@ cc_library(
"compat_jni.h", "compat_jni.h",
"graph.h", "graph.h",
"graph_jni.h", "graph_jni.h",
"graph_profiler_jni.h",
"graph_service_jni.h", "graph_service_jni.h",
"packet_context_jni.h", "packet_context_jni.h",
"packet_creator_jni.h", "packet_creator_jni.h",
"packet_getter_jni.h", "packet_getter_jni.h",
"graph_profiler_jni.h",
] + select({ ] + select({
"//conditions:default": [], "//conditions:default": [],
"//mediapipe:android": [ "//mediapipe:android": [
@ -84,40 +84,40 @@ cc_library(
deps = [ deps = [
":class_registry", ":class_registry",
":jni_util", ":jni_util",
"//mediapipe/framework/formats:image_format_cc_proto",
"//mediapipe/framework/formats:time_series_header_cc_proto",
"//mediapipe/framework:calculator_cc_proto",
"//mediapipe/framework:calculator_profile_cc_proto",
"//mediapipe/framework:calculator_framework",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format", "@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/synchronization", "@com_google_absl//absl/synchronization",
"@eigen_archive//:eigen3", "@eigen_archive//:eigen3",
"//mediapipe/framework:calculator_cc_proto",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework:calculator_profile_cc_proto",
"//mediapipe/framework:camera_intrinsics", "//mediapipe/framework:camera_intrinsics",
"//mediapipe/framework/formats:image", "//mediapipe/framework/formats:image",
"//mediapipe/framework/formats:image_format_cc_proto",
"//mediapipe/framework/formats:image_frame", "//mediapipe/framework/formats:image_frame",
"//mediapipe/framework/formats:matrix", "//mediapipe/framework/formats:matrix",
"//mediapipe/framework/formats:time_series_header_cc_proto",
"//mediapipe/framework/formats:video_stream_header", "//mediapipe/framework/formats:video_stream_header",
"//mediapipe/framework/stream_handler:fixed_size_input_stream_handler",
"//mediapipe/framework/tool:name_util",
"//mediapipe/framework/tool:executor_util",
"//mediapipe/framework/port:core_proto", "//mediapipe/framework/port:core_proto",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
"//mediapipe/framework/port:threadpool",
"//mediapipe/framework/port:singleton", "//mediapipe/framework/port:singleton",
"//mediapipe/framework/port:status", "//mediapipe/framework/port:status",
"//mediapipe/framework/port:threadpool",
"//mediapipe/framework/stream_handler:fixed_size_input_stream_handler",
"//mediapipe/framework/tool:executor_util",
"//mediapipe/framework/tool:name_util",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
"//mediapipe/framework/port:file_helpers", "//mediapipe/framework/port:file_helpers",
], ],
"//mediapipe:android": [ "//mediapipe:android": [
"//mediapipe/util/android/file/base",
"//mediapipe/util/android:asset_manager_util", "//mediapipe/util/android:asset_manager_util",
"//mediapipe/util/android/file/base",
], ],
}) + select({ }) + select({
"//conditions:default": [ "//conditions:default": [
"//mediapipe/gpu:gl_quad_renderer",
"//mediapipe/gpu:gl_calculator_helper", "//mediapipe/gpu:gl_calculator_helper",
"//mediapipe/gpu:gl_quad_renderer",
"//mediapipe/gpu:gl_surface_sink_calculator", "//mediapipe/gpu:gl_surface_sink_calculator",
"//mediapipe/gpu:gpu_buffer", "//mediapipe/gpu:gpu_buffer",
"//mediapipe/gpu:gpu_shared_data_internal", "//mediapipe/gpu:gpu_shared_data_internal",
@ -153,9 +153,9 @@ cc_library(
srcs = ["class_registry.cc"], srcs = ["class_registry.cc"],
hdrs = ["class_registry.h"], hdrs = ["class_registry.h"],
deps = [ deps = [
"@com_google_absl//absl/container:node_hash_map",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format", "@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/container:node_hash_map",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
], ],
@ -172,9 +172,9 @@ cc_library(
":class_registry", ":class_registry",
":loose_headers", ":loose_headers",
":mediapipe_framework_jni", ":mediapipe_framework_jni",
"@com_google_absl//absl/container:node_hash_map",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format", "@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/container:node_hash_map",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [

View File

@ -198,15 +198,15 @@ cc_library(
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
":resource_util_custom", ":resource_util_custom",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format", "@com_google_absl//absl/strings:str_format",
"//mediapipe/framework/deps:file_path", "//mediapipe/framework/deps:file_path",
"//mediapipe/framework/port:file_helpers",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",
"//mediapipe/framework/port:ret_check", "//mediapipe/framework/port:ret_check",
"//mediapipe/framework/port:singleton", "//mediapipe/framework/port:singleton",
"//mediapipe/framework/port:status", "//mediapipe/framework/port:status",
"//mediapipe/framework/port:statusor", "//mediapipe/framework/port:statusor",
"//mediapipe/framework/port:file_helpers",
"@com_google_absl//absl/strings",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
"@com_google_absl//absl/flags:flag", "@com_google_absl//absl/flags:flag",
@ -253,13 +253,13 @@ cc_library(
], ],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/types:variant",
"//mediapipe/framework/formats:detection_cc_proto", "//mediapipe/framework/formats:detection_cc_proto",
"//mediapipe/framework/formats:location", "//mediapipe/framework/formats:location",
"//mediapipe/framework/formats:location_opencv", "//mediapipe/framework/formats:location_opencv",
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/types:variant",
"//mediapipe/framework/port:status",
"//mediapipe/framework/port:map_util", "//mediapipe/framework/port:map_util",
"//mediapipe/framework/port:status",
] + select({ ] + select({
"//conditions:default": [ "//conditions:default": [
"@org_tensorflow//tensorflow/core:framework", "@org_tensorflow//tensorflow/core:framework",