Initial commit

This commit is contained in:
Untriex Programming
2021-08-31 22:06:02 +02:00
commit 9b6723e11e
5142 changed files with 1455625 additions and 0 deletions

View File

@@ -0,0 +1,114 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/gpu/copy_calculator.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
try:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
except AttributeError:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='mediapipe/gpu/copy_calculator.proto',
package='mediapipe',
syntax='proto2',
serialized_options=None,
serialized_pb=_b('\n#mediapipe/gpu/copy_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"\xd7\x01\n\x15\x43opyCalculatorOptions\x12\x41\n\x08rotation\x18\x01 \x01(\x0e\x32).mediapipe.CopyCalculatorOptions.Rotation:\x04NONE\"+\n\x08Rotation\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03\x43\x43W\x10\x01\x12\x0c\n\x08\x43\x43W_FLIP\x10\x02\x32N\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\xb4\xf2\x91M \x01(\x0b\x32 .mediapipe.CopyCalculatorOptions')
,
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
_COPYCALCULATOROPTIONS_ROTATION = _descriptor.EnumDescriptor(
name='Rotation',
full_name='mediapipe.CopyCalculatorOptions.Rotation',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='CCW', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='CCW_FLIP', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=181,
serialized_end=224,
)
_sym_db.RegisterEnumDescriptor(_COPYCALCULATOROPTIONS_ROTATION)
_COPYCALCULATOROPTIONS = _descriptor.Descriptor(
name='CopyCalculatorOptions',
full_name='mediapipe.CopyCalculatorOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='rotation', full_name='mediapipe.CopyCalculatorOptions.rotation', index=0,
number=1, type=14, cpp_type=8, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
_descriptor.FieldDescriptor(
name='ext', full_name='mediapipe.CopyCalculatorOptions.ext', index=0,
number=161773876, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=True, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
nested_types=[],
enum_types=[
_COPYCALCULATOROPTIONS_ROTATION,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=89,
serialized_end=304,
)
_COPYCALCULATOROPTIONS.fields_by_name['rotation'].enum_type = _COPYCALCULATOROPTIONS_ROTATION
_COPYCALCULATOROPTIONS_ROTATION.containing_type = _COPYCALCULATOROPTIONS
DESCRIPTOR.message_types_by_name['CopyCalculatorOptions'] = _COPYCALCULATOROPTIONS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
CopyCalculatorOptions = _reflection.GeneratedProtocolMessageType('CopyCalculatorOptions', (_message.Message,), dict(
DESCRIPTOR = _COPYCALCULATOROPTIONS,
__module__ = 'mediapipe.gpu.copy_calculator_pb2'
# @@protoc_insertion_point(class_scope:mediapipe.CopyCalculatorOptions)
))
_sym_db.RegisterMessage(CopyCalculatorOptions)
_COPYCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _COPYCALCULATOROPTIONS
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_COPYCALCULATOROPTIONS.extensions_by_name['ext'])
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,85 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/gpu/gl_context_options.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
try:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
except AttributeError:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='mediapipe/gpu/gl_context_options.proto',
package='mediapipe',
syntax='proto2',
serialized_options=None,
serialized_pb=_b('\n&mediapipe/gpu/gl_context_options.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\"v\n\x10GlContextOptions\x12\x17\n\x0fgl_context_name\x18\x01 \x01(\t2I\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x82\x89\x82j \x01(\x0b\x32\x1b.mediapipe.GlContextOptions')
,
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,])
_GLCONTEXTOPTIONS = _descriptor.Descriptor(
name='GlContextOptions',
full_name='mediapipe.GlContextOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='gl_context_name', full_name='mediapipe.GlContextOptions.gl_context_name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
_descriptor.FieldDescriptor(
name='ext', full_name='mediapipe.GlContextOptions.ext', index=0,
number=222332034, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=True, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=91,
serialized_end=209,
)
DESCRIPTOR.message_types_by_name['GlContextOptions'] = _GLCONTEXTOPTIONS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
GlContextOptions = _reflection.GeneratedProtocolMessageType('GlContextOptions', (_message.Message,), dict(
DESCRIPTOR = _GLCONTEXTOPTIONS,
__module__ = 'mediapipe.gpu.gl_context_options_pb2'
# @@protoc_insertion_point(class_scope:mediapipe.GlContextOptions)
))
_sym_db.RegisterMessage(GlContextOptions)
_GLCONTEXTOPTIONS.extensions_by_name['ext'].message_type = _GLCONTEXTOPTIONS
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_GLCONTEXTOPTIONS.extensions_by_name['ext'])
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,129 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/gpu/gl_scaler_calculator.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
try:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
except AttributeError:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
from mediapipe.gpu import scale_mode_pb2 as mediapipe_dot_gpu_dot_scale__mode__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='mediapipe/gpu/gl_scaler_calculator.proto',
package='mediapipe',
syntax='proto2',
serialized_options=None,
serialized_pb=_b('\n(mediapipe/gpu/gl_scaler_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1emediapipe/gpu/scale_mode.proto\"\xa6\x02\n\x19GlScalerCalculatorOptions\x12\x14\n\x0coutput_width\x18\x01 \x01(\x05\x12\x15\n\routput_height\x18\x02 \x01(\x05\x12\x17\n\x0coutput_scale\x18\x07 \x01(\x02:\x01\x31\x12\x10\n\x08rotation\x18\x03 \x01(\x05\x12\x15\n\rflip_vertical\x18\x04 \x01(\x08\x12\x17\n\x0f\x66lip_horizontal\x18\x05 \x01(\x08\x12-\n\nscale_mode\x18\x06 \x01(\x0e\x32\x19.mediapipe.ScaleMode.Mode2R\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x96\xcd\xaaO \x01(\x0b\x32$.mediapipe.GlScalerCalculatorOptions')
,
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_gpu_dot_scale__mode__pb2.DESCRIPTOR,])
_GLSCALERCALCULATOROPTIONS = _descriptor.Descriptor(
name='GlScalerCalculatorOptions',
full_name='mediapipe.GlScalerCalculatorOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='output_width', full_name='mediapipe.GlScalerCalculatorOptions.output_width', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_height', full_name='mediapipe.GlScalerCalculatorOptions.output_height', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='output_scale', full_name='mediapipe.GlScalerCalculatorOptions.output_scale', index=2,
number=7, type=2, cpp_type=6, label=1,
has_default_value=True, default_value=float(1),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='rotation', full_name='mediapipe.GlScalerCalculatorOptions.rotation', index=3,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='flip_vertical', full_name='mediapipe.GlScalerCalculatorOptions.flip_vertical', index=4,
number=4, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='flip_horizontal', full_name='mediapipe.GlScalerCalculatorOptions.flip_horizontal', index=5,
number=5, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='scale_mode', full_name='mediapipe.GlScalerCalculatorOptions.scale_mode', index=6,
number=6, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
_descriptor.FieldDescriptor(
name='ext', full_name='mediapipe.GlScalerCalculatorOptions.ext', index=0,
number=166373014, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=True, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=126,
serialized_end=420,
)
_GLSCALERCALCULATOROPTIONS.fields_by_name['scale_mode'].enum_type = mediapipe_dot_gpu_dot_scale__mode__pb2._SCALEMODE_MODE
DESCRIPTOR.message_types_by_name['GlScalerCalculatorOptions'] = _GLSCALERCALCULATOROPTIONS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
GlScalerCalculatorOptions = _reflection.GeneratedProtocolMessageType('GlScalerCalculatorOptions', (_message.Message,), dict(
DESCRIPTOR = _GLSCALERCALCULATOROPTIONS,
__module__ = 'mediapipe.gpu.gl_scaler_calculator_pb2'
# @@protoc_insertion_point(class_scope:mediapipe.GlScalerCalculatorOptions)
))
_sym_db.RegisterMessage(GlScalerCalculatorOptions)
_GLSCALERCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _GLSCALERCALCULATOROPTIONS
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_GLSCALERCALCULATOROPTIONS.extensions_by_name['ext'])
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,87 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/gpu/gl_surface_sink_calculator.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from mediapipe.framework import calculator_pb2 as mediapipe_dot_framework_dot_calculator__pb2
try:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe_dot_framework_dot_calculator__options__pb2
except AttributeError:
mediapipe_dot_framework_dot_calculator__options__pb2 = mediapipe_dot_framework_dot_calculator__pb2.mediapipe.framework.calculator_options_pb2
from mediapipe.gpu import scale_mode_pb2 as mediapipe_dot_gpu_dot_scale__mode__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='mediapipe/gpu/gl_surface_sink_calculator.proto',
package='mediapipe',
syntax='proto2',
serialized_options=None,
serialized_pb=_b('\n.mediapipe/gpu/gl_surface_sink_calculator.proto\x12\tmediapipe\x1a$mediapipe/framework/calculator.proto\x1a\x1emediapipe/gpu/scale_mode.proto\"\xae\x01\n\x1eGlSurfaceSinkCalculatorOptions\x12\x33\n\x10\x66rame_scale_mode\x18\x01 \x01(\x0e\x32\x19.mediapipe.ScaleMode.Mode2W\n\x03\x65xt\x12\x1c.mediapipe.CalculatorOptions\x18\x8a\xfb\x83t \x01(\x0b\x32).mediapipe.GlSurfaceSinkCalculatorOptions')
,
dependencies=[mediapipe_dot_framework_dot_calculator__pb2.DESCRIPTOR,mediapipe_dot_gpu_dot_scale__mode__pb2.DESCRIPTOR,])
_GLSURFACESINKCALCULATOROPTIONS = _descriptor.Descriptor(
name='GlSurfaceSinkCalculatorOptions',
full_name='mediapipe.GlSurfaceSinkCalculatorOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='frame_scale_mode', full_name='mediapipe.GlSurfaceSinkCalculatorOptions.frame_scale_mode', index=0,
number=1, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
_descriptor.FieldDescriptor(
name='ext', full_name='mediapipe.GlSurfaceSinkCalculatorOptions.ext', index=0,
number=243334538, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=True, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=132,
serialized_end=306,
)
_GLSURFACESINKCALCULATOROPTIONS.fields_by_name['frame_scale_mode'].enum_type = mediapipe_dot_gpu_dot_scale__mode__pb2._SCALEMODE_MODE
DESCRIPTOR.message_types_by_name['GlSurfaceSinkCalculatorOptions'] = _GLSURFACESINKCALCULATOROPTIONS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
GlSurfaceSinkCalculatorOptions = _reflection.GeneratedProtocolMessageType('GlSurfaceSinkCalculatorOptions', (_message.Message,), dict(
DESCRIPTOR = _GLSURFACESINKCALCULATOROPTIONS,
__module__ = 'mediapipe.gpu.gl_surface_sink_calculator_pb2'
# @@protoc_insertion_point(class_scope:mediapipe.GlSurfaceSinkCalculatorOptions)
))
_sym_db.RegisterMessage(GlSurfaceSinkCalculatorOptions)
_GLSURFACESINKCALCULATOROPTIONS.extensions_by_name['ext'].message_type = _GLSURFACESINKCALCULATOROPTIONS
mediapipe_dot_framework_dot_calculator__options__pb2.CalculatorOptions.RegisterExtension(_GLSURFACESINKCALCULATOROPTIONS.extensions_by_name['ext'])
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,91 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/gpu/gpu_origin.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='mediapipe/gpu/gpu_origin.proto',
package='mediapipe',
syntax='proto2',
serialized_options=None,
serialized_pb=_b('\n\x1emediapipe/gpu/gpu_origin.proto\x12\tmediapipe\"@\n\tGpuOrigin\"3\n\x04Mode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x10\n\x0c\x43ONVENTIONAL\x10\x01\x12\x0c\n\x08TOP_LEFT\x10\x02')
)
_GPUORIGIN_MODE = _descriptor.EnumDescriptor(
name='Mode',
full_name='mediapipe.GpuOrigin.Mode',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='DEFAULT', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='CONVENTIONAL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='TOP_LEFT', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=58,
serialized_end=109,
)
_sym_db.RegisterEnumDescriptor(_GPUORIGIN_MODE)
_GPUORIGIN = _descriptor.Descriptor(
name='GpuOrigin',
full_name='mediapipe.GpuOrigin',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
_GPUORIGIN_MODE,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=45,
serialized_end=109,
)
_GPUORIGIN_MODE.containing_type = _GPUORIGIN
DESCRIPTOR.message_types_by_name['GpuOrigin'] = _GPUORIGIN
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
GpuOrigin = _reflection.GeneratedProtocolMessageType('GpuOrigin', (_message.Message,), dict(
DESCRIPTOR = _GPUORIGIN,
__module__ = 'mediapipe.gpu.gpu_origin_pb2'
# @@protoc_insertion_point(class_scope:mediapipe.GpuOrigin)
))
_sym_db.RegisterMessage(GpuOrigin)
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,95 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mediapipe/gpu/scale_mode.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='mediapipe/gpu/scale_mode.proto',
package='mediapipe',
syntax='proto2',
serialized_options=None,
serialized_pb=_b('\n\x1emediapipe/gpu/scale_mode.proto\x12\tmediapipe\"I\n\tScaleMode\"<\n\x04Mode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0b\n\x07STRETCH\x10\x01\x12\x07\n\x03\x46IT\x10\x02\x12\x11\n\rFILL_AND_CROP\x10\x03')
)
_SCALEMODE_MODE = _descriptor.EnumDescriptor(
name='Mode',
full_name='mediapipe.ScaleMode.Mode',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='DEFAULT', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='STRETCH', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='FIT', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='FILL_AND_CROP', index=3, number=3,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=58,
serialized_end=118,
)
_sym_db.RegisterEnumDescriptor(_SCALEMODE_MODE)
_SCALEMODE = _descriptor.Descriptor(
name='ScaleMode',
full_name='mediapipe.ScaleMode',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
_SCALEMODE_MODE,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=45,
serialized_end=118,
)
_SCALEMODE_MODE.containing_type = _SCALEMODE
DESCRIPTOR.message_types_by_name['ScaleMode'] = _SCALEMODE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
ScaleMode = _reflection.GeneratedProtocolMessageType('ScaleMode', (_message.Message,), dict(
DESCRIPTOR = _SCALEMODE,
__module__ = 'mediapipe.gpu.scale_mode_pb2'
# @@protoc_insertion_point(class_scope:mediapipe.ScaleMode)
))
_sym_db.RegisterMessage(ScaleMode)
# @@protoc_insertion_point(module_scope)